irbtools 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ 1.2.0
2
+ * version bumps: hirb, awesome_print, coderay, g, methodfinder, method_source
3
+ * remove RVM helpers: Sorry, were too buggy...
4
+ * fix/improve 'cd' helper method
5
+ * improve readme
6
+ * move looksee gem to irbtools-more
7
+ * more little tweaks
8
+
1
9
  1.1.1
2
10
  * fix the Ripl.after_rc bug
3
11
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2011 Jan Lelis
1
+ Copyright (c) 2010-2012 Jan Lelis
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -1,82 +1,121 @@
1
1
  = irbtools
2
- This is a meta gem that installs useful irb gems and configures them for you. It has a modular structure and supports multiple library-loading mechanisms, e.g. via <tt>autoload</tt> or threads, allowing you to use only the gems you need.
2
+ The irbtools gem is a meta gem that installs handy and useful irb gems and provides an appealing ready-to-use irb configuration. It has a modular structure and supports multiple library-loading mechanisms, e.g. via <tt>autoload</tt> or threads.
3
3
 
4
4
  == Setup
5
+
5
6
  gem install irbtools
6
7
 
7
8
  * On Linux, you need +xclip+ or +xsel+ to use the clipboard: sudo <tt>apt-get install xclip</tt>
8
9
  * On Windows, you need ansicon[https://github.com/adoxa/ansicon] to enjoy all the colors
9
- * On MacOS, you will need growl, if you want to use the +g+ gem.
10
-
11
- === Wrong display widths?
12
- When using double-width unicode chars, you need to paste the following snippet to your <tt>.irbrc</tt>.
13
-
14
- Irbtools.replace_library_callback :fancy_irb do
15
- FancyIrb.start :east_asian_width => true
16
- end
17
-
18
- This setting is deactivated by default because of performance issues.
10
+ * On MacOS, you need growl, to use the +g+ gem.
19
11
 
20
12
  == Usage
21
- To use it, put the following in your <tt>~/.irbrc</tt> file (this file is loaded every time you start irb):
13
+ To use irbtools, put the following in your <tt>~/.irbrc</tt> file (this file is loaded every time you start irb):
22
14
 
23
15
  require 'rubygems' unless defined? Gem # rubygems is only needed in 1.8
24
16
  require 'irbtools'
25
17
 
26
- If the file does not exist, just create a new one.
18
+ If the file does not exist, just create a new one. See further below on how to customize loaded libraries.
27
19
 
28
- It's possible to modify, which libraries should be loaded:
20
+ === Rails notes
21
+ To integrate irbtools into a rails console, you will have to add <tt>irbtools</tt> to your Gemfile <b>in this way:</b> (or there will be some bundler double require issues..)
29
22
 
30
- # don't require 'irbtools', but:
31
- require 'irbtools/configure'
32
- # here you can modify the libraries using the methods below
33
- Irbtools.start
23
+ gem 'irbtools', :require => false
34
24
 
35
- If you don't want to load the default set of irbtools gems, you will have to use <tt>require 'irbtools/minimal'</tt> instead of <tt>configure</tt>. You need to use the below methods for adding libraries in this case or *Irbtools* won't modify anything of your irb ;).
25
+ You can put Rails specific configuration in a <tt>~/.railsrc</tt> file that only gets loaded in Rails environments.
36
26
 
37
- === Rails notes
38
- To use irbtools within the rails console, you will have to add <tt>irbtools</tt> to your Gemfile <b>in this way:</b> (or there will be some bundler double require issues..)
27
+ See {this blog post}[http://rbjl.net/49-railsrc-rails-console-snippets] for some Rails goodies.
39
28
 
40
- gem 'irbtools', :require => 'irbtools/configure'
29
+ === This is irbtools "light"
41
30
 
42
- You can put Rails specific configuration in a <tt>~/.railsrc</tt> file that gets only loaded in Rails environments.
31
+ When installing *irbtools*, some gems won't be installed to keep windows support, e.g. better auto-completion or the looksee gem. These are packaged in the {irbtools-more}[https://github.com/janlelis/irbtools-more] gem. To use them, you need to change your <tt>.irbrc</tt> to:
43
32
 
44
- See {this blog post}[http://rbjl.net/49-railsrc-rails-console-snippets] for some Rails goodies. Please open an issue/say +1 in the comments there to get that stuff packaged into a gem.
33
+ require 'irbtools/configure'
34
+ Irbtools.add_package :more
35
+ Irbtools.start
36
+
37
+ In that case, the Gemfile line looks like this:
38
+
39
+ gem 'irbtools-more', :require => false
45
40
 
46
41
  === Included gems and libraries
47
42
 
48
43
  See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented source files to get some examples of what you can do with irbtools.
49
44
 
50
- [paint[https://github.com/janlelis/paint/]] terminal colors
51
- [wirb[https://github.com/janlelis/wirb/]] colorize ruby objects
45
+ [wirb[https://github.com/janlelis/wirb/]] Colorizes Ruby objects (used for the results)
46
+ [paint[https://github.com/janlelis/paint/]] Provides easily to use terminal colors
52
47
  [hirb[http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html]]
53
- (active record) tables and custom views for specific objects
54
- [fancy_irb[https://github.com/janlelis/fancy_irb]] use hash rockets for output and more colorization
48
+ Custom views for specific objects, e.g. tables for ActiveRecord
49
+ [fancy_irb[https://github.com/janlelis/fancy_irb]] Hash rockets for results and colorful error messages
55
50
  [every_day_irb[https://github.com/janlelis/irbtools/tree/master/lib/every_day_irb.rb]]
56
- helper methods that might be useful in every-day irb usage, e.g.: ls, cat, rq, rrq, ld, session_history, reset!, clear, dbg
57
- [clipboard[http://github.com/janlelis/clipboard]] easy clipboard access (copy & paste)
51
+ Contains helper methods that might be useful in every-day irb usage, see below for details
52
+ [clipboard[http://github.com/janlelis/clipboard]] Easy clipboard access
58
53
  [interactive_editor[https://github.com/jberkel/interactive_editor]]
59
- lets you open vim, hack something, and it gets loaded into the current session, also possible: yaml object editing
60
- [sketches[http://sketches.rubyforge.org/]] another, more flexible "start editor and it gets loaded into your irb session" plugin
61
- [zucker[http:/rubyzucker.info]] nice debug printing (q, o, c, .m, .d) + useful pseudo-constants (Info, OS, RubyVersion, RubyEngine)
62
- [ap[https://github.com/michaeldv/awesome_print]] nice debug printing (ap) [also see wp from wirb/wp]
63
- [coderay[http://coderay.rubychan.de/]] some colorful code view helpers :)
64
- [boson[http://tagaholic.me/boson/]] commands framework (commands also work in the shell!)
65
- [methodfinder[https://github.com/citizen428/methodfinder]] interesting method finder (mf)
66
- [ori[https://github.com/dadooda/ori]] object-oriented <tt>.ri</tt> method
67
- [method_locator[https://github.com/ryanlecompte/method_locator]] .method_lookup_path (improved ancestors) and .methods_for (get this method from all ancestors)
68
- [method_source[https://github.com/banister/method_source]] .src can be shown for ruby methods
69
- [looksee[https://github.com/oggy/looksee]] great loadpath inspector (.l), also can open the source of many methods in the editor (.edit)
70
- [*fileutils* (stdlib)] cd, pwd, ln_s, mv, rm, mkdir, touch ... ;)
54
+ Lets you open vim from within irb to hack something that gets loaded into the current session, also possible: yaml object editing
55
+ [sketches[http://sketches.rubyforge.org/]] Another, more flexible "start editor and it gets loaded into your irb session" plugin
56
+ [zucker[http:/rubyzucker.info]] Nice debug printing (<tt>q</tt>, <tt>o</tt>, <tt>c</tt>, <tt>Object#m</tt>, <tt>Object#d</tt>) and useful pseudo-constants (<tt>Info</tt>, <tt>OS</tt>, <tt>RubyVersion</tt>, <tt>RubyEngine</tt>)
57
+ [ap[https://github.com/michaeldv/awesome_print]] Nice debug printing commands (<tt>ap</tt>) [also possible: <tt>wp</tt> from wirb/wp]
58
+ [coderay[http://coderay.rubychan.de/]] Colorizes Ruby code (<tt>colorize</tt>, <tt>ray</tt>)
59
+ [boson[http://tagaholic.me/boson/]] "A command/task framework similar to rake and thor that opens your ruby universe to the commandline and irb."
60
+ [methodfinder[https://github.com/citizen428/methodfinder]] Interesting method finder (<tt>mf</tt>)
61
+ [ori[https://github.com/dadooda/ori]] Adds an <tt>Object#ri</tt> method
62
+ [method_locator[https://github.com/ryanlecompte/method_locator]] Provides <tt>Object#method_lookup_path</tt> (improved version of <tt>Module#ancestors</tt>) and <tt>Object#methods_for</tt> (get this method from all ancestors)
63
+ [method_source[https://github.com/banister/method_source]] <tt>Object#src</tt> can be shown for Ruby methods
64
+ [bond[http://tagaholic.me/bond/]] <b>irbtools-more:</b> Improves irb tab-completion
65
+ [looksee[https://github.com/oggy/looksee]] <b>irbtools-more:</b> Great load path inspector: <tt>Object#l</tt> (Extended version of <tt>Object#m</tt>), also provides the ability to <tt>Object#edit</tt> methods.
66
+ [drx[http://drx.rubyforge.org/]] <b>irbtools-more:</b> A tk object inspector, defines <tt>Object#see</tt>
67
+ [*fileutils* (stdlib)] Includes file system utility methods: <tt>cd</tt>, <tt>pwd</tt>, <tt>ln_s</tt>, <tt>mv</tt>, <tt>rm</tt>, <tt>mkdir</tt>, <tt>touch</tt>, ... ;)
71
68
 
72
69
  === Not included anymore
73
70
 
74
- [guessmethod[http://guessmethod.rubyforge.org/]] automatically corrects typos (method_missing hook)
71
+ [guessmethod[http://guessmethod.rubyforge.org/]] Automatically tries to corrects typos in method names
72
+ [rvm_loader] RVM helpers
73
+
74
+ === Irbtools methods
75
+
76
+ The following general helper methods are defined by <b>every_day_irb</b> (which belongs to *irbtools*)
77
+
78
+ [ls] Returns an array with the directory's content
79
+ [cat] Shortcut for <tt>File.read</tt>
80
+ [rq] Shortcut for <tt>require library.to_s</tt> (allows concise syntax like <tt>rq:mathn</tt>)
81
+ [ld] Shortcut for <tt>load library.to_s + '.rb'</tt>
82
+ [rrq/rerequire] Little hack for rerequiring a library (it's really hack and not reliable, but works in most cases)
83
+ [reset!] Restarts irb
84
+ [clear] Clears your irb terminal (<tt>system "clear"</tt>)
85
+ [session_history] Returns all issued commands as string
86
+ [dbg] Shortcut for <tt>debugger</tt> that also requires 'ruby-debug' if needed
87
+
88
+ Irbtools also defines some more helpers in combination with the loaded gems:
89
+
90
+ [cd] Improves the cd that is already provided by *FileUtils* (try <tt>cd '-'</tt>)
91
+ [rv] Displays RubyVersion (*zucker*)
92
+ [re] Displays RubyEngine (*zucker*)
93
+ [colorize] Syntax highlights a ruby string using *CodeRay*
94
+ [ray] Syntax highlights a ruby file using *CodeRay*
95
+ [copy] Shortcut for <tt>Clipboard.copy</tt>
96
+ [paste] Shortcut for <tt>Clipboard.paste</tt>
97
+ [copy_input] Copies the session_history to the clipboard
98
+ [copy_output] Copies this session's results to the clipboard
99
+ [mf] Shortcut for using the *methodfinder*
100
+
101
+ These are the custom public +Object+ methods renamed/patched for some gems
102
+
103
+ [ri] Patching the +ri+ provided by *ori* to also allow default ri syntax on toplevel
104
+ [src] Shortcut for displaying the method source using *method_source* and *coderay*
105
+ [l/ll] Alternative method name to trigger the *looksee* gem (<b>irbtools-more</b>)
75
106
 
76
- ==== RVM
77
- If you have RVM installed, you can switch your gemset or ruby with <tt>gemset</tt> and <tt>use</tt> (use <tt>gemsets</tt> and <tt>rubies</tt> to get a list). The gemset can be changed within the session, while changing ruby starts a new one. Please also note that you need to have installed irbtools for that ruby version. I recommend installing it in the <tt>global</tt> gemset.
78
107
 
79
108
  === How to load more or less libraries
109
+
110
+ It's possible to modify, which libraries should get loaded:
111
+
112
+ # don't require 'irbtools', but:
113
+ require 'irbtools/configure'
114
+ # here you can modify the libraries using the methods below
115
+ Irbtools.start
116
+
117
+ If you don't want to load the default set of irbtools gems, you will have to use <tt>require 'irbtools/minimal'</tt> instead of <tt>configure</tt>.
118
+
80
119
  You have the following methods:
81
120
  * <tt>Irbtools.add_library(lib, options_hash, &block)</tt>
82
121
  * <tt>Irbtools.remove_library(lib)</tt>
@@ -95,6 +134,15 @@ When adding a new library, you should firstly consider some way to load it via <
95
134
  If not possible, try loading via thread.
96
135
  If that is not possible either, fallback to the default loading.
97
136
 
137
+ == Troubleshooting: Unicode caused Wrong display widths?
138
+ When using double-width unicode chars, you need to paste the following snippet to your <tt>.irbrc</tt>.
139
+
140
+ Irbtools.replace_library_callback :fancy_irb do
141
+ FancyIrb.start :east_asian_width => true
142
+ end
143
+
144
+ This setting is deactivated by default because of performance issues.
145
+
98
146
  == Hint: Faster start-up
99
147
 
100
148
  You can get an about a second faster start-up time by changing the loading methods for wirb and fancy_irb to <tt>:thread</tt> (drawback: the hash rocket will not be used for the first result):
@@ -116,13 +164,7 @@ There are irbtools extension packages, which can be modified via:
116
164
 
117
165
  These packages add/modify the libraries to be loaded. For an example, see {irbtools-more}[https://github.com/janlelis/irbtools-more].
118
166
 
119
- == TODO
120
- * More speed optimizations
121
- * Fix/Improve RVM stuff
122
- * Clean way to use irbtools without bundler (already tried a little bit, but was way too hacky so far)
123
- * Show some features in README
124
-
125
167
  == Copyright
126
- Copyright (c) 2010-2011 Jan Lelis, http://rbjl.net, released under the MIT license.
168
+ Copyright (c) 2010-2012 Jan Lelis, http://rbjl.net, released under the MIT license.
127
169
 
128
- J-_-L
170
+ == J-_-L
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- require 'rake'
1
+ # require 'rake'
2
2
  require 'fileutils'
3
3
 
4
4
  def gemspec1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.2.0
data/irbtools.gemspec CHANGED
@@ -14,24 +14,22 @@ Gem::Specification.new do |s|
14
14
  s.homepage = 'https://github.com/janlelis/irbtools'
15
15
  s.required_ruby_version = '>= 1.8.7'
16
16
 
17
- s.add_dependency %q<paint>, ">= 0.8.3"
17
+ s.add_dependency %q<paint>, ">= 0.8.4"
18
18
  s.add_dependency %q<fancy_irb>, ">= 0.7.2"
19
19
  s.add_dependency %q<zucker>, ">= 11"
20
- s.add_dependency %q<hirb>, "~> 0.5.0"
21
- s.add_dependency %q<awesome_print>, "~> 0.4.0"
22
- s.add_dependency %q<clipboard>, ">= 0.9.9"
23
- s.add_dependency %q<coderay>, "~> 1.0.0"
20
+ s.add_dependency %q<hirb>, "~> 0.6.0"
21
+ s.add_dependency %q<awesome_print>, "~> 1.0.2"
22
+ s.add_dependency %q<clipboard>, "~> 1.0.0"
23
+ s.add_dependency %q<coderay>, "~> 1.0.5"
24
24
  s.add_dependency %q<boson>, ">= 0.3.4"
25
25
  s.add_dependency %q<wirb>, ">= 0.4.1"
26
26
  s.add_dependency %q<interactive_editor>, ">= 0.0.10"
27
27
  s.add_dependency %q<ori>, "~> 0.1.0"
28
28
  s.add_dependency %q<sketches>, ">= 0.1.1"
29
- s.add_dependency %q<g>, ">= 1.4.0"
30
- s.add_dependency %q<methodfinder>, ">= 1.2.3"
29
+ s.add_dependency %q<g>, ">= 1.5.0"
30
+ s.add_dependency %q<methodfinder>, ">= 1.2.5"
31
31
  s.add_dependency %q<method_locator>,">= 0.0.4"
32
- s.add_dependency %q<method_source>, ">= 0.6.7"
33
- s.add_dependency %q<looksee>, "~> 1.0.3"
34
- s.add_dependency %q<rvm_loader>, ">= 1.0.0"
32
+ s.add_dependency %q<method_source>, ">= 0.7.0"
35
33
  s.add_dependency %q<every_day_irb>, ">= #{ s.version }"
36
34
 
37
35
  len = s.homepage.size
@@ -15,19 +15,19 @@ Irbtools.add_library :yaml
15
15
  Irbtools.add_library :fileutils, :thread => :stdlib do # cd, pwd, ln_s, mv, rm, mkdir, touch ... ;)
16
16
  include FileUtils::Verbose
17
17
 
18
- # patch cd so that it also shows the current directory
19
- def cd( path = File.expand_path('~') )
18
+ # patch cd so that it also shows the current directory and got some extras
19
+ def cd( path = '~' )
20
20
  new_last_path = FileUtils.pwd
21
21
  if path == '-'
22
- if @last_path
23
- path = @last_path
22
+ if $irbtools_last_cd_path
23
+ path = $irbtools_last_cd_path
24
24
  else
25
25
  warn 'Sorry, there is no previous directory.'
26
26
  return
27
27
  end
28
28
  end
29
- cd path
30
- @last_path = new_last_path
29
+ super(File.expand_path(path))
30
+ $irbtools_last_cd_path = new_last_path
31
31
  ls
32
32
  end
33
33
  end
@@ -81,11 +81,12 @@ Irbtools.add_library :method_source, :thread => 70 do
81
81
  m = method(method_name)
82
82
 
83
83
  source = m.source || ""
84
- comment = m.comment && !m.comment.empty? ? m.comment + "\n" : ""
85
- location = m.source_location ? "#{ source.match(/^\s+/) }# in #{ m.source_location*':' }\n" : ""
84
+ indent = source.match(/\A +/)
85
+ comment = m.comment && !m.comment.empty? ? "#{ m.comment }" : ""
86
+ location = m.source_location ? "# in #{ m.source_location*':' }\n" : ""
86
87
 
87
88
  puts CodeRay.scan(
88
- location + comment + source, :ruby
89
+ location + comment + source.gsub(/^#{indent}/,""), :ruby
89
90
  ).term
90
91
  rescue
91
92
  raise unless $!.message =~ /Cannot locate source for this method/
@@ -171,11 +172,6 @@ Irbtools.add_library :boson, :late_thread => :hirb do
171
172
  Boson.start :verbose => false
172
173
  end
173
174
 
174
- # Object#l method for inspecting its load path
175
- Irbtools.add_library 'looksee', :late_thread => :c do
176
- Looksee::ObjectMixin.rename :ls => :l
177
- class Object; alias ll l end
178
- end
179
175
 
180
176
  # # # load via autoload
181
177
 
@@ -234,56 +230,4 @@ Irbtools.add_library :methodfinder, :autoload => :MethodFinder do
234
230
  end
235
231
  end
236
232
 
237
- # rvm helpers
238
- Irbtools.add_library 'rvm_loader', :autoload => :RVM do
239
- def rubies
240
- RVM.current.list_strings
241
- end
242
-
243
- def use(which = nil) # TODO with gemsets?
244
- # show current ruby if called without options
245
- if !which
246
- return RVM.current.environment_name[/^.*@|.*$/].chomp('@')
247
- end
248
-
249
- # start ruby :)
250
- begin
251
- RVM.use! which.to_s
252
- rescue RVM::IncompatibleRubyError => err
253
- err.message =~ /requires (.*?) \(/
254
- rubies = RVM.current.list_strings
255
- if rubies.include? $1
256
- # remember history...
257
- run_irb = proc{ exec "#{ $1 } -S #{ $0 }" }
258
- if defined?(Ripl) && Ripl.respond_to?(:started?) && Ripl.started?
259
- Ripl.shell.write_history if Ripl.shell.respond_to? :write_history
260
- run_irb.call
261
- else
262
- at_exit(&run_irb)
263
- exit
264
- end
265
- else
266
- warn "Sorry, that Ruby version could not be found (see rubies)!"
267
- end
268
- end
269
- end
270
- alias use_ruby use
271
-
272
- def gemsets
273
- RVM.current.gemset.list
274
- end
275
-
276
- def gemset(which = nil)
277
- if which
278
- if RVM.current.gemset.list.include? which.to_s
279
- RVM.use! RVM.current.environment_name.gsub(/(@.*?$)|$/, "@#{ which }")
280
- else
281
- warn "Sorry, that gemset could not be found (see gemsets)!"
282
- end
283
- end
284
- RVM.current.gemset_name
285
- end
286
- alias use_gemset gemset
287
- end
288
-
289
233
  # J-_-L
metadata CHANGED
@@ -1,235 +1,302 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: irbtools
3
- version: !ruby/object:Gem::Version
4
- version: 1.1.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - 0
10
+ version: 1.2.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jan Lelis
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-11-01 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-01-10 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: paint
16
- requirement: &21608260 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 0.8.3
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 55
29
+ segments:
30
+ - 0
31
+ - 8
32
+ - 4
33
+ version: 0.8.4
22
34
  type: :runtime
23
- prerelease: false
24
- version_requirements: *21608260
25
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
26
37
  name: fancy_irb
27
- requirement: &21606800 !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
28
40
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 7
45
+ segments:
46
+ - 0
47
+ - 7
48
+ - 2
32
49
  version: 0.7.2
33
50
  type: :runtime
34
- prerelease: false
35
- version_requirements: *21606800
36
- - !ruby/object:Gem::Dependency
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
37
53
  name: zucker
38
- requirement: &21605360 !ruby/object:Gem::Requirement
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
39
56
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '11'
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ hash: 21
61
+ segments:
62
+ - 11
63
+ version: "11"
44
64
  type: :runtime
45
- prerelease: false
46
- version_requirements: *21605360
47
- - !ruby/object:Gem::Dependency
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
48
67
  name: hirb
49
- requirement: &21604580 !ruby/object:Gem::Requirement
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
50
70
  none: false
51
- requirements:
71
+ requirements:
52
72
  - - ~>
53
- - !ruby/object:Gem::Version
54
- version: 0.5.0
73
+ - !ruby/object:Gem::Version
74
+ hash: 7
75
+ segments:
76
+ - 0
77
+ - 6
78
+ - 0
79
+ version: 0.6.0
55
80
  type: :runtime
56
- prerelease: false
57
- version_requirements: *21604580
58
- - !ruby/object:Gem::Dependency
81
+ version_requirements: *id004
82
+ - !ruby/object:Gem::Dependency
59
83
  name: awesome_print
60
- requirement: &21603780 !ruby/object:Gem::Requirement
84
+ prerelease: false
85
+ requirement: &id005 !ruby/object:Gem::Requirement
61
86
  none: false
62
- requirements:
87
+ requirements:
63
88
  - - ~>
64
- - !ruby/object:Gem::Version
65
- version: 0.4.0
89
+ - !ruby/object:Gem::Version
90
+ hash: 19
91
+ segments:
92
+ - 1
93
+ - 0
94
+ - 2
95
+ version: 1.0.2
66
96
  type: :runtime
67
- prerelease: false
68
- version_requirements: *21603780
69
- - !ruby/object:Gem::Dependency
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
70
99
  name: clipboard
71
- requirement: &21602660 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ! '>='
75
- - !ruby/object:Gem::Version
76
- version: 0.9.9
77
- type: :runtime
78
100
  prerelease: false
79
- version_requirements: *21602660
80
- - !ruby/object:Gem::Dependency
81
- name: coderay
82
- requirement: &21601840 !ruby/object:Gem::Requirement
101
+ requirement: &id006 !ruby/object:Gem::Requirement
83
102
  none: false
84
- requirements:
103
+ requirements:
85
104
  - - ~>
86
- - !ruby/object:Gem::Version
105
+ - !ruby/object:Gem::Version
106
+ hash: 23
107
+ segments:
108
+ - 1
109
+ - 0
110
+ - 0
87
111
  version: 1.0.0
88
112
  type: :runtime
113
+ version_requirements: *id006
114
+ - !ruby/object:Gem::Dependency
115
+ name: coderay
89
116
  prerelease: false
90
- version_requirements: *21601840
91
- - !ruby/object:Gem::Dependency
117
+ requirement: &id007 !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ~>
121
+ - !ruby/object:Gem::Version
122
+ hash: 29
123
+ segments:
124
+ - 1
125
+ - 0
126
+ - 5
127
+ version: 1.0.5
128
+ type: :runtime
129
+ version_requirements: *id007
130
+ - !ruby/object:Gem::Dependency
92
131
  name: boson
93
- requirement: &21601140 !ruby/object:Gem::Requirement
132
+ prerelease: false
133
+ requirement: &id008 !ruby/object:Gem::Requirement
94
134
  none: false
95
- requirements:
96
- - - ! '>='
97
- - !ruby/object:Gem::Version
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ hash: 27
139
+ segments:
140
+ - 0
141
+ - 3
142
+ - 4
98
143
  version: 0.3.4
99
144
  type: :runtime
100
- prerelease: false
101
- version_requirements: *21601140
102
- - !ruby/object:Gem::Dependency
145
+ version_requirements: *id008
146
+ - !ruby/object:Gem::Dependency
103
147
  name: wirb
104
- requirement: &21587680 !ruby/object:Gem::Requirement
148
+ prerelease: false
149
+ requirement: &id009 !ruby/object:Gem::Requirement
105
150
  none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ hash: 13
155
+ segments:
156
+ - 0
157
+ - 4
158
+ - 1
109
159
  version: 0.4.1
110
160
  type: :runtime
111
- prerelease: false
112
- version_requirements: *21587680
113
- - !ruby/object:Gem::Dependency
161
+ version_requirements: *id009
162
+ - !ruby/object:Gem::Dependency
114
163
  name: interactive_editor
115
- requirement: &21586100 !ruby/object:Gem::Requirement
164
+ prerelease: false
165
+ requirement: &id010 !ruby/object:Gem::Requirement
116
166
  none: false
117
- requirements:
118
- - - ! '>='
119
- - !ruby/object:Gem::Version
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ hash: 11
171
+ segments:
172
+ - 0
173
+ - 0
174
+ - 10
120
175
  version: 0.0.10
121
176
  type: :runtime
122
- prerelease: false
123
- version_requirements: *21586100
124
- - !ruby/object:Gem::Dependency
177
+ version_requirements: *id010
178
+ - !ruby/object:Gem::Dependency
125
179
  name: ori
126
- requirement: &21585280 !ruby/object:Gem::Requirement
180
+ prerelease: false
181
+ requirement: &id011 !ruby/object:Gem::Requirement
127
182
  none: false
128
- requirements:
183
+ requirements:
129
184
  - - ~>
130
- - !ruby/object:Gem::Version
185
+ - !ruby/object:Gem::Version
186
+ hash: 27
187
+ segments:
188
+ - 0
189
+ - 1
190
+ - 0
131
191
  version: 0.1.0
132
192
  type: :runtime
133
- prerelease: false
134
- version_requirements: *21585280
135
- - !ruby/object:Gem::Dependency
193
+ version_requirements: *id011
194
+ - !ruby/object:Gem::Dependency
136
195
  name: sketches
137
- requirement: &21583720 !ruby/object:Gem::Requirement
196
+ prerelease: false
197
+ requirement: &id012 !ruby/object:Gem::Requirement
138
198
  none: false
139
- requirements:
140
- - - ! '>='
141
- - !ruby/object:Gem::Version
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ hash: 25
203
+ segments:
204
+ - 0
205
+ - 1
206
+ - 1
142
207
  version: 0.1.1
143
208
  type: :runtime
144
- prerelease: false
145
- version_requirements: *21583720
146
- - !ruby/object:Gem::Dependency
209
+ version_requirements: *id012
210
+ - !ruby/object:Gem::Dependency
147
211
  name: g
148
- requirement: &21583080 !ruby/object:Gem::Requirement
212
+ prerelease: false
213
+ requirement: &id013 !ruby/object:Gem::Requirement
149
214
  none: false
150
- requirements:
151
- - - ! '>='
152
- - !ruby/object:Gem::Version
153
- version: 1.4.0
215
+ requirements:
216
+ - - ">="
217
+ - !ruby/object:Gem::Version
218
+ hash: 3
219
+ segments:
220
+ - 1
221
+ - 5
222
+ - 0
223
+ version: 1.5.0
154
224
  type: :runtime
155
- prerelease: false
156
- version_requirements: *21583080
157
- - !ruby/object:Gem::Dependency
225
+ version_requirements: *id013
226
+ - !ruby/object:Gem::Dependency
158
227
  name: methodfinder
159
- requirement: &21582540 !ruby/object:Gem::Requirement
228
+ prerelease: false
229
+ requirement: &id014 !ruby/object:Gem::Requirement
160
230
  none: false
161
- requirements:
162
- - - ! '>='
163
- - !ruby/object:Gem::Version
164
- version: 1.2.3
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ hash: 21
235
+ segments:
236
+ - 1
237
+ - 2
238
+ - 5
239
+ version: 1.2.5
165
240
  type: :runtime
166
- prerelease: false
167
- version_requirements: *21582540
168
- - !ruby/object:Gem::Dependency
241
+ version_requirements: *id014
242
+ - !ruby/object:Gem::Dependency
169
243
  name: method_locator
170
- requirement: &21581680 !ruby/object:Gem::Requirement
244
+ prerelease: false
245
+ requirement: &id015 !ruby/object:Gem::Requirement
171
246
  none: false
172
- requirements:
173
- - - ! '>='
174
- - !ruby/object:Gem::Version
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ hash: 23
251
+ segments:
252
+ - 0
253
+ - 0
254
+ - 4
175
255
  version: 0.0.4
176
256
  type: :runtime
177
- prerelease: false
178
- version_requirements: *21581680
179
- - !ruby/object:Gem::Dependency
257
+ version_requirements: *id015
258
+ - !ruby/object:Gem::Dependency
180
259
  name: method_source
181
- requirement: &21569260 !ruby/object:Gem::Requirement
182
- none: false
183
- requirements:
184
- - - ! '>='
185
- - !ruby/object:Gem::Version
186
- version: 0.6.7
187
- type: :runtime
188
- prerelease: false
189
- version_requirements: *21569260
190
- - !ruby/object:Gem::Dependency
191
- name: looksee
192
- requirement: &21568640 !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ~>
196
- - !ruby/object:Gem::Version
197
- version: 1.0.3
198
- type: :runtime
199
260
  prerelease: false
200
- version_requirements: *21568640
201
- - !ruby/object:Gem::Dependency
202
- name: rvm_loader
203
- requirement: &21568160 !ruby/object:Gem::Requirement
261
+ requirement: &id016 !ruby/object:Gem::Requirement
204
262
  none: false
205
- requirements:
206
- - - ! '>='
207
- - !ruby/object:Gem::Version
208
- version: 1.0.0
263
+ requirements:
264
+ - - ">="
265
+ - !ruby/object:Gem::Version
266
+ hash: 3
267
+ segments:
268
+ - 0
269
+ - 7
270
+ - 0
271
+ version: 0.7.0
209
272
  type: :runtime
210
- prerelease: false
211
- version_requirements: *21568160
212
- - !ruby/object:Gem::Dependency
273
+ version_requirements: *id016
274
+ - !ruby/object:Gem::Dependency
213
275
  name: every_day_irb
214
- requirement: &21567700 !ruby/object:Gem::Requirement
276
+ prerelease: false
277
+ requirement: &id017 !ruby/object:Gem::Requirement
215
278
  none: false
216
- requirements:
217
- - - ! '>='
218
- - !ruby/object:Gem::Version
219
- version: 1.1.1
279
+ requirements:
280
+ - - ">="
281
+ - !ruby/object:Gem::Version
282
+ hash: 31
283
+ segments:
284
+ - 1
285
+ - 2
286
+ - 0
287
+ version: 1.2.0
220
288
  type: :runtime
221
- prerelease: false
222
- version_requirements: *21567700
223
- description: irbtools is a "meta gem" that installs a bnuch of useful irb gems and
224
- configures them for you. Simply put a require "irbtools" in the .irbrc file in your
225
- home directory.
289
+ version_requirements: *id017
290
+ description: irbtools is a "meta gem" that installs a bnuch of useful irb gems and configures them for you. Simply put a require "irbtools" in the .irbrc file in your home directory.
226
291
  email: mail@janlelis.de
227
292
  executables: []
293
+
228
294
  extensions: []
229
- extra_rdoc_files:
295
+
296
+ extra_rdoc_files:
230
297
  - LICENSE
231
298
  - README.rdoc
232
- files:
299
+ files:
233
300
  - lib/irbtools.rb
234
301
  - lib/irbtools/configure.rb
235
302
  - lib/irbtools/libraries.rb
@@ -242,29 +309,50 @@ files:
242
309
  - README.rdoc
243
310
  homepage: https://github.com/janlelis/irbtools
244
311
  licenses: []
245
- post_install_message: ! " ┌── info ──────────────────────────────┐\n J-_-L │
246
- https://github.com/janlelis/irbtools │\n ├── usage ─────────────────────────────┤\n
247
- \ │ require 'irbtools' │\n └──────────────────────────────────────┘"
312
+
313
+ post_install_message: !binary |
314
+ ICAgICAgIOKUjOKUgOKUgCBpbmZvIOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKU
315
+ gOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKU
316
+ gOKUgOKUgOKUgOKUgOKUgOKUgOKUgOKUkAogSi1fLUwg4pSCIGh0dHBzOi8v
317
+ Z2l0aHViLmNvbS9qYW5sZWxpcy9pcmJ0b29scyDilIIKICAgICAgIOKUnOKU
318
+ gOKUgCB1c2FnZSDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi
319
+ lIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi
320
+ lIDilIDilIDilKQKICAgICAgIOKUgiByZXF1aXJlICdpcmJ0b29scycgICAg
321
+ ICAgICAgICAgICAgICAg4pSCCiAgICAgICDilJTilIDilIDilIDilIDilIDi
322
+ lIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi
323
+ lIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi
324
+ lIDilIDilIDilJg=
325
+
248
326
  rdoc_options: []
249
- require_paths:
327
+
328
+ require_paths:
250
329
  - lib
251
- required_ruby_version: !ruby/object:Gem::Requirement
330
+ required_ruby_version: !ruby/object:Gem::Requirement
252
331
  none: false
253
- requirements:
254
- - - ! '>='
255
- - !ruby/object:Gem::Version
332
+ requirements:
333
+ - - ">="
334
+ - !ruby/object:Gem::Version
335
+ hash: 57
336
+ segments:
337
+ - 1
338
+ - 8
339
+ - 7
256
340
  version: 1.8.7
257
- required_rubygems_version: !ruby/object:Gem::Requirement
341
+ required_rubygems_version: !ruby/object:Gem::Requirement
258
342
  none: false
259
- requirements:
260
- - - ! '>='
261
- - !ruby/object:Gem::Version
262
- version: '0'
343
+ requirements:
344
+ - - ">="
345
+ - !ruby/object:Gem::Version
346
+ hash: 3
347
+ segments:
348
+ - 0
349
+ version: "0"
263
350
  requirements: []
351
+
264
352
  rubyforge_project:
265
- rubygems_version: 1.8.11
353
+ rubygems_version: 1.8.10
266
354
  signing_key:
267
355
  specification_version: 3
268
- summary: irbtools is a "meta gem" that installs a bunch of useful irb gems and configures
269
- them for you.
356
+ summary: irbtools is a "meta gem" that installs a bunch of useful irb gems and configures them for you.
270
357
  test_files: []
358
+