irbtools 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 1.0.4
2
+ * improve error-handling
3
+ * fix broken loading of boson + interactive_editor
4
+
1
5
  1.0.3
2
6
  * fix post-install banner typo
3
7
 
data/README.rdoc CHANGED
@@ -41,8 +41,7 @@ You have the following ways:
41
41
  * <tt>Irbtools.remove_library(lib)</tt>
42
42
 
43
43
  The <tt>options_hash</tt> defines the way in which Irbtools loads the library. Following options are possible
44
- * (no options)/<tt>:start</tt> - The library is required on startup before doing anything else
45
- (before displaying the prompt)
44
+ * (no options)/<tt>:start</tt> - The library is required on startup before doing anything else (before displaying the prompt)
46
45
  * <tt>:thread => identifier</tt> - After loading everything else, the library is required in a thread (while continuing loading). You can choose any identifier, but if you take the same one for multiple libraries, they will be loaded in the same thread (in the order that you define)
47
46
  * <tt>:late => true</tt> - The library is required just before showing the prompt (note: loading threads might still be in process)
48
47
  * <tt>:late_thread => identifier</tt> - Same as <tt>:thread</tt>, but after loading late libraries.
@@ -78,6 +77,7 @@ See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented s
78
77
  * coderay[http://coderay.rubychan.de/] some colorful code displaying ;)
79
78
  * boson[http://tagaholic.me/boson/] commands repository (commands also work in the shell!)
80
79
  * methodfinder[https://github.com/citizen428/methodfinder] interesting method finder (mf)
80
+ * ori[https://github.com/dadooda/ori] object-oriented ri method
81
81
  * *fileutils* (stdlib) cd, pwd, ln_s, mv, rm, mkdir, touch ... ;)
82
82
 
83
83
  === Not included anymore
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
data/lib/irbtools.rb CHANGED
@@ -27,7 +27,7 @@ if defined?(IRB) || defined?(Ripl)
27
27
  begin
28
28
  require lib.to_s
29
29
  Irbtools.send :library_loaded, lib
30
- rescue LoadError => err
30
+ rescue Exception => err
31
31
  warn "Couldn't load an irb library: #{err}"
32
32
  end
33
33
  }
@@ -53,8 +53,9 @@ end
53
53
 
54
54
  # command framework
55
55
  Irbtools.add_library :boson, :thread => :stdlib do
56
+ # hirb issues, TODO fix cleanly
56
57
  undef install if respond_to?( :install, true )
57
- undef menu if respond_to?( :menu, true )
58
+ Hirb::Console.class_eval do undef menu end if respond_to?( :menu, true )
58
59
  Boson.start :verbose => false
59
60
  end
60
61
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: irbtools
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.3
5
+ version: 1.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jan Lelis
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-26 00:00:00 Z
13
+ date: 2011-05-28 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fancy_irb
@@ -174,7 +174,7 @@ dependencies:
174
174
  requirements:
175
175
  - - ">="
176
176
  - !ruby/object:Gem::Version
177
- version: 1.0.3
177
+ version: 1.0.4
178
178
  type: :runtime
179
179
  version_requirements: *id015
180
180
  description: irbtools is a meta gem that installs useful irb gems and configures your irb. Simply put a require "irbtools" in the .irbrc file in your home directory.