From ef7ebbc61e90dcf8ecfc2eb9e6773be32fd818ee Mon Sep 17 00:00:00 2001 From: John Mair Date: Mon, 25 Jul 2011 19:43:34 +1200 Subject: [PATCH] converted plugin load failtures from exceptions to warnings, bump to version 0.9.3pre1 --- lib/pry/plugins.rb | 2 +- lib/pry/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pry/plugins.rb b/lib/pry/plugins.rb index 3eb1eb50..5f782e47 100644 --- a/lib/pry/plugins.rb +++ b/lib/pry/plugins.rb @@ -27,7 +27,7 @@ class Pry begin require gem_name rescue LoadError - raise PluginNotFound, "The plugin '#{gem_name}' was not found!" + $stderr.puts "Warning: The plugin '#{gem_name}' was not found!" end self.active = true self.enabled = true diff --git a/lib/pry/version.rb b/lib/pry/version.rb index 0e083407..5e0bb734 100644 --- a/lib/pry/version.rb +++ b/lib/pry/version.rb @@ -1,3 +1,3 @@ class Pry - VERSION = "0.9.2" + VERSION = "0.9.3pre1" end