irbtools 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,14 @@
1
+ 0.8.3
2
+ * improved/added rvm methods (use, gemset, rubies, gemsets)
3
+ * RVM (Ruby API) constant gets autoloaded
4
+ * improved cd command
5
+ * don't load guessmethod by default (it's cool, but not always suited for production)
6
+ * more small changes
7
+
8
+ 0.8.2
9
+ * only do irb specific features if in irb (ripl compatibility)
10
+ * more generic shell_name (in welcome message)
11
+
1
12
  0.8.1
2
13
  * rewrote irb_rocket: fancy_irb. No more workarounds needed, anymore.
3
14
  * added sketches gem
data/README.rdoc CHANGED
@@ -36,7 +36,7 @@ Edit the <tt>Irbtools.libraries</tt>, <tt>Irbtools.libraries_in_proc</tt> or <tt
36
36
 
37
37
  == Features
38
38
 
39
- See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented source file.
39
+ See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented source files.
40
40
 
41
41
  === Included gems and libraries
42
42
 
@@ -58,12 +58,16 @@ See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented s
58
58
  === Helper methods
59
59
  See the source for a description. These methods are defined directly by irbtools. Each gem may add its own helper methods.
60
60
 
61
- *General*: <tt>ls, cat, rq, rrq/rerequire, ld, session_history, reset!, clear, use_ruby/use, dbg, Object#ri</tt>
61
+ *General*: <tt>ls, cat, rq, rrq/rerequire, ld, session_history, reset!, clear, use_ruby/use, rubies, use_gemset/gemset, gemsets, dbg, Object#ri</tt>
62
62
 
63
63
  *Clipboard*: <tt>copy, paste, copy_input, copy_output</tt>
64
64
 
65
65
  *CodeRay*: <tt>colorize, ray</tt>
66
66
 
67
+ ==== RVM
68
+
69
+ 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.
70
+
67
71
  == Welcome message
68
72
 
69
73
  You can customize the welcome message with <tt>Irbtools.welcome_message=</tt>
@@ -73,6 +77,10 @@ You can customize the welcome message with <tt>Irbtools.welcome_message=</tt>
73
77
  * Make guessmethod 1.9 compatible
74
78
  * Nicer ri command
75
79
 
80
+ === Planned features for 0.9.0 (next version)
81
+ * define flexibly, whether library should be loaded on start/on subsession or via autoload
82
+ * faster loading
83
+
76
84
  == More Features
77
85
 
78
86
  * See the irbtools-more[https://github.com/janlelis/irbtools-more] package.
data/Rakefile CHANGED
@@ -1,34 +1,33 @@
1
- require 'rubygems'
2
1
  require 'rake'
2
+ require 'rake/rdoctask'
3
+ require 'fileutils'
3
4
 
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "irbtools"
8
- gem.summary = %Q{irbtools is a meta gem which installs some useful irb gems and configures your irb.}
9
- gem.description = %Q{irbtools is a meta gem which installs some useful irb gems and configures your irb. Simply put a require 'irbtools' in the .irbrc file in your home directory.}
10
- gem.email = "mail@janlelis.de"
11
- gem.homepage = "http://github.com/janlelis/irbtools"
12
- gem.authors = ["Jan Lelis"]
13
- gem.add_dependency 'fancy_irb', '>=0.6.2'
14
- gem.add_dependency 'zucker', '>=8'
15
- gem.add_dependency 'hirb', '~>0.3'
16
- gem.add_dependency 'awesome_print', '~>0.3'
17
- gem.add_dependency 'clipboard', '~>0.9'
18
- gem.add_dependency 'coderay', '~>0.9'
19
- gem.add_dependency 'boson', '~>0.3'
20
- gem.add_dependency 'wirble'
21
- gem.add_dependency 'g'
22
- gem.add_dependency 'guessmethod'
23
- gem.add_dependency 'interactive_editor'
24
- gem.add_dependency 'sketches'
25
- end
26
- Jeweler::GemcutterTasks.new
27
- rescue LoadError
28
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
5
+ def gemspec
6
+ @gemspec ||= eval(File.read('irbtools.gemspec'), binding, 'irbtools.gemspec')
7
+ end
8
+
9
+ desc "Build the gem"
10
+ task :gem=>:gemspec do
11
+ sh "gem build irbtools.gemspec"
12
+ FileUtils.mkdir_p 'pkg'
13
+ FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", 'pkg'
14
+ end
15
+
16
+ desc "Install the gem locally (without docs)"
17
+ task :install => :gem do
18
+ sh %{gem install pkg/#{gemspec.name}-#{gemspec.version} --no-rdoc --no-ri}
19
+ end
20
+
21
+ desc "Generate the gemspec"
22
+ task :generate do
23
+ puts gemspec.to_ruby
24
+ end
25
+
26
+ desc "Validate the gemspec"
27
+ task :gemspec do
28
+ gemspec.validate
29
29
  end
30
30
 
31
- require 'rake/rdoctask'
32
31
  Rake::RDocTask.new do |rdoc|
33
32
  version = File.exist?('VERSION') ? File.read('VERSION').chomp : ""
34
33
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.2
1
+ 0.8.3
data/irbtools.gemspec CHANGED
@@ -1,84 +1,30 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
2
+ require 'rubygems' unless defined? Gem
5
3
 
6
4
  Gem::Specification.new do |s|
7
5
  s.name = %q{irbtools}
8
- s.version = "0.8.2"
6
+ s.version = File.read('VERSION').chomp
9
7
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Jan Lelis"]
12
- s.date = %q{2010-11-17}
13
- s.description = %q{irbtools is a meta gem which installs some useful irb gems and configures your irb. Simply put a require 'irbtools' in the .irbrc file in your home directory.}
14
- s.email = %q{mail@janlelis.de}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".gitignore",
21
- "CHANGELOG",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "irbtools.gemspec",
27
- "lib/irbtools.rb",
28
- "lib/irbtools/configure.rb",
29
- "lib/irbtools/general.rb",
30
- "lib/irbtools/libraries.rb",
31
- ]
32
- s.homepage = %q{http://github.com/janlelis/irbtools}
33
- s.rdoc_options = ["--charset=UTF-8"]
34
- s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.7}
36
- s.summary = %q{irbtools is a meta gem which installs some useful irb gems and configures your irb.}
8
+ s.authors = ["Jan Lelis"]
9
+ s.date = %q{2010-12-14}
10
+ s.summary = %q{irbtools is a meta gem which installs some useful irb gems and configures your irb.}
11
+ s.description = %q{irbtools is a meta gem which installs some useful irb gems and configures your irb. Simply put a require 'irbtools' in the .irbrc file in your home directory.}
12
+ s.email = %q{mail@janlelis.de}
13
+ s.extra_rdoc_files = %w[ LICENSE README.rdoc]
14
+ s.files = Dir.glob(%w[lib/**/*.rb ]) + %w{VERSION CHANGELOG Rakefile irbtools.gemspec}
15
+ s.homepage = %q{http://github.com/janlelis/irbtools}
16
+ s.required_ruby_version = '>= 1.8.7'
37
17
 
38
- if s.respond_to? :specification_version then
39
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
40
- s.specification_version = 3
41
-
42
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
- s.add_runtime_dependency(%q<fancy_irb>, [">= 0.6.2"])
44
- s.add_runtime_dependency(%q<zucker>, [">= 8"])
45
- s.add_runtime_dependency(%q<hirb>, ["~> 0.3"])
46
- s.add_runtime_dependency(%q<awesome_print>, ["~> 0.3"])
47
- s.add_runtime_dependency(%q<clipboard>, ["~> 0.9"])
48
- s.add_runtime_dependency(%q<coderay>, ["~> 0.9"])
49
- s.add_runtime_dependency(%q<boson>, ["~> 0.3"])
50
- s.add_runtime_dependency(%q<wirble>, [">= 0"])
51
- s.add_runtime_dependency(%q<g>, [">= 0"])
52
- s.add_runtime_dependency(%q<guessmethod>, [">= 0"])
53
- s.add_runtime_dependency(%q<interactive_editor>, [">= 0"])
54
- s.add_runtime_dependency(%q<sketches>, [">= 0"])
55
- else
56
- s.add_dependency(%q<fancy_irb>, [">= 0.6.2"])
57
- s.add_dependency(%q<zucker>, [">= 8"])
58
- s.add_dependency(%q<hirb>, ["~> 0.3"])
59
- s.add_dependency(%q<awesome_print>, ["~> 0.3"])
60
- s.add_dependency(%q<clipboard>, ["~> 0.9"])
61
- s.add_dependency(%q<coderay>, ["~> 0.9"])
62
- s.add_dependency(%q<boson>, ["~> 0.3"])
63
- s.add_dependency(%q<wirble>, [">= 0"])
64
- s.add_dependency(%q<g>, [">= 0"])
65
- s.add_dependency(%q<guessmethod>, [">= 0"])
66
- s.add_dependency(%q<interactive_editor>, [">= 0"])
67
- s.add_dependency(%q<sketches>, [">= 0"])
68
- end
69
- else
70
- s.add_dependency(%q<fancy_irb>, [">= 0.6.2"])
71
- s.add_dependency(%q<zucker>, [">= 8"])
72
- s.add_dependency(%q<hirb>, ["~> 0.3"])
73
- s.add_dependency(%q<awesome_print>, ["~> 0.3"])
74
- s.add_dependency(%q<clipboard>, ["~> 0.9"])
75
- s.add_dependency(%q<coderay>, ["~> 0.9"])
76
- s.add_dependency(%q<boson>, ["~> 0.3"])
77
- s.add_dependency(%q<wirble>, [">= 0"])
78
- s.add_dependency(%q<g>, [">= 0"])
79
- s.add_dependency(%q<guessmethod>, [">= 0"])
80
- s.add_dependency(%q<interactive_editor>, [">= 0"])
81
- s.add_dependency(%q<sketches>, [">= 0"])
82
- end
18
+ s.add_dependency %q<fancy_irb>, ">= 0.6.2"
19
+ s.add_dependency %q<zucker>, ">= 8"
20
+ s.add_dependency %q<hirb>, "~> 0.3"
21
+ s.add_dependency %q<awesome_print>, "~> 0.3"
22
+ s.add_dependency %q<clipboard>, ">= 0.9.3"
23
+ s.add_dependency %q<coderay>, "~> 0.9"
24
+ s.add_dependency %q<boson>, "~> 0.3"
25
+ s.add_dependency %q<wirble>, ">= 0"
26
+ s.add_dependency %q<g>, ">= 0"
27
+ s.add_dependency %q<guessmethod>, ">= 0"
28
+ s.add_dependency %q<interactive_editor>, ">= 0"
29
+ s.add_dependency %q<sketches>, ">= 0"
83
30
  end
84
-
data/lib/irbtools.rb CHANGED
@@ -67,7 +67,7 @@ if defined? ::IRB && !defined? ::Ripl
67
67
  (IRB.conf[:PROMPT] ||= {} ).merge!( {:IRBTOOLS => {
68
68
  :PROMPT_I => ">> ", # normal
69
69
  :PROMPT_N => "| ", # indenting
70
- :PROMPT_C => ".> ", # continuing a statement
70
+ :PROMPT_C => " > ", # continuing a statement
71
71
  :PROMPT_S => "%l> ", # continuing a string
72
72
  :RETURN => "=> %s \n",
73
73
  :AUTO_INDENT => true,
@@ -14,10 +14,14 @@ def rq(lib)
14
14
  require lib.to_s
15
15
  end
16
16
 
17
- # reloading, hints from http://www.themomorohoax.com/2009/03/27/irb-tip-load-files-faster
17
+ # rerequire, please note: can have non-intended side effects
18
18
  def rerequire(lib)
19
- $".delete( "#{lib}.rb" )
20
- require( lib.to_s )
19
+ $".dup.grep(/#{lib}\.rb$/).each{ |path|
20
+ $".delete path.to_s
21
+ require path.to_s
22
+ }
23
+ require lib.to_s
24
+ true
21
25
  end
22
26
  alias rrq rerequire
23
27
 
@@ -27,14 +31,28 @@ def ld(lib)
27
31
  end
28
32
 
29
33
  # returns the last lines, needed for some copy_ methods
30
- def session_history(number_of_lines = context.instance_variable_get(:@line_no) )
34
+ def session_history(number_of_lines = nil)
35
+ if !number_of_lines
36
+ if defined?(Ripl) && Ripl.instance_variable_get(:@shell) # ripl is running
37
+ number_of_lines = Ripl.shell.line
38
+ else
39
+ number_of_lines = context.instance_variable_get(:@line_no)
40
+ end
41
+ end
31
42
  Readline::HISTORY.entries[-number_of_lines...-1]*"\n"
32
43
  end
33
44
 
34
45
  # restart irb
35
46
  def reset!
36
- at_exit { exec$0 } # remember history
37
- exit
47
+ # remember history...
48
+ reset_irb = proc{ exec$0 }
49
+ if defined?(Ripl) && Ripl.instance_variable_get(:@shell) # ripl is running
50
+ Ripl.shell.write_history if Ripl.shell.respond_to? :write_history
51
+ reset_irb.call
52
+ else
53
+ at_exit(&reset_irb)
54
+ exit
55
+ end
38
56
  end
39
57
 
40
58
  # just clear the screen
@@ -43,35 +61,56 @@ def clear
43
61
  end
44
62
 
45
63
  # change ruby version (requires rvm)
46
- def use_ruby(which = nil)
47
- # test if installed
48
- unless `rvm -v` =~ /Seguin/
49
- raise 'Ruby Version Manager must be installed to use this command'
50
- end
64
+ autoload :RVM, 'irbtools/rvm'
51
65
 
52
- # show rubies if called without options
66
+ def rubies
67
+ RVM.current.list_strings
68
+ end
69
+
70
+ def use(which = nil) # TODO with gemsets?
71
+ # show current ruby if called without options
53
72
  if !which
54
- puts 'Availabe Rubies: ' +
55
- `rvm list`.scan( /^(?: |=>) (.*) \[/ )*", "
56
- return
73
+ return RVM.current.environment_name[/^.*@|.*$/].chomp('@')
57
74
  end
58
75
 
59
- # get irb suffix
60
- rv = `rvm use #{which}` # e.g. => "\ninfo: Using ruby 1.9.2 p0\n"
61
- # it does not change the ruby for the current user
62
- rv =~ /^.*Using(.*)\n/
76
+ # start ruby :)
77
+ begin
78
+ RVM.use! which.to_s
79
+ rescue RVM::IncompatibleRubyError => err
80
+ err.message =~ /requires (.*?) \(/
81
+ rubies = RVM.current.list_strings
82
+ if rubies.include? $1
83
+ # remember history...
84
+ run_irb = proc{ exec "#{ $1 } -S #{ $0 }" }
85
+ if defined?(Ripl) && Ripl.instance_variable_get(:@shell) # ripl is running
86
+ Ripl.shell.write_history if Ripl.shell.respond_to? :write_history
87
+ run_irb.call
88
+ else
89
+ at_exit(&run_irb)
90
+ exit
91
+ end
92
+ else
93
+ warn "Sorry, that Ruby version could not be found (see rubies)!"
94
+ end
95
+ end
96
+ end
97
+ alias use_ruby use
63
98
 
64
- # if ruby is found, start it
65
- if $1
66
- ruby_name = File.split( $1 )[-1].tr(' ', '-')
67
- irbname = $0 + '-' + ruby_name# + '@global'
68
- at_exit { exec irbname } # remember history
69
- exit
70
- else
71
- puts "Sorry, that Ruby version could not be found."
99
+ def gemsets
100
+ RVM.current.gemset.list
101
+ end
102
+
103
+ def gemset(which = nil)
104
+ if which
105
+ if RVM.current.gemset.list.include? which.to_s
106
+ RVM.use! RVM.current.environment_name.gsub /(@.*?$)|$/, "@#{ which }"
107
+ else
108
+ warn "Sorry, that gemset could not be found (see gemsets)!"
109
+ end
72
110
  end
111
+ RVM.current.gemset_name
73
112
  end
74
- alias use use_ruby
113
+ alias use_gemset gemset
75
114
 
76
115
  # load debugger, inspired by rdp
77
116
  def dbg
@@ -19,8 +19,18 @@ Irbtools.add_library :fileutils do # cd, pwd, ln_s, mv, rm, mkdir, touch ... ;)
19
19
  include FileUtils::Verbose
20
20
 
21
21
  # patch cd so that it also shows the current directory
22
- def cd(path = '/', *args)
23
- FileUtils::Verbose.cd path, *args
22
+ def cd( path = File.expand_path('~') )
23
+ new_last_path = FileUtils.pwd
24
+ if path == '-'
25
+ if @last_path
26
+ path = @last_path
27
+ else
28
+ warn 'Sorry, there is no previous directory.'
29
+ return
30
+ end
31
+ end
32
+ FileUtils.cd path
33
+ @last_path = new_last_path
24
34
  ls
25
35
  end
26
36
 
@@ -68,22 +78,20 @@ Irbtools.add_library 'zucker/debug' # nice debug printing (q, o, c, .m, .d)
68
78
  Irbtools.add_library 'ap' # nice debug printing (ap)
69
79
  Irbtools.add_library 'yaml' # nice debug printing (y)
70
80
  Irbtools.add_library 'g' # nice debug printing (g) - MacOS only :/
71
- Irbtools.add_library 'guessmethod', true # automatically correct typos (method_missing hook)
81
+ #Irbtools.add_library 'guessmethod', true # automatically correct typos (method_missing hook)
72
82
  Irbtools.add_library 'interactive_editor' # lets you open vim (or your favourite editor), hack something, save it, and it's loaded in the current irb session
73
83
  Irbtools.add_library 'sketches' # another, more flexible "start editor and it gets loaded into your irb session" plugin
74
- #Irbtools.add_library 'zucker/all' # see rubyzucker.info
75
84
 
76
85
  Irbtools.add_library :boson do
77
86
  undef :install if respond_to?( :install, true )
78
87
  Boson.start :verbose => false
79
88
  end
80
89
 
81
- Irbtools.add_library :hirb do # active record tables
90
+ Irbtools.add_library :hirb do
82
91
  Hirb::View.enable
83
92
  extend Hirb::Console
84
93
  end
85
94
 
86
-
87
95
  # remove failing/not needed libs
88
96
  if OS.windows?
89
97
  Irbtools.libraries -= %w[coderay]
@@ -93,9 +101,9 @@ unless OS.mac?
93
101
  Irbtools.libraries -= %w[g]
94
102
  end
95
103
 
96
- if RubyVersion.is? 1.9
97
- Irbtools.libraries_in_proc -= %w[guessmethod]
98
- end
104
+ #if RubyVersion.is? 1.9
105
+ # Irbtools.libraries_in_proc -= %w[guessmethod]
106
+ #end
99
107
 
100
108
  if defined? Ripl
101
109
  Irbtools.libraries -= %w[wirble fancy_irb]
@@ -0,0 +1,8 @@
1
+ # test if installed
2
+ unless rvm_path = ENV['rvm_path']
3
+ raise 'Ruby Version Manager must be installed to use this command'
4
+ end
5
+
6
+ # load rvm ruby api
7
+ $LOAD_PATH.unshift File.join(rvm_path, 'lib')
8
+ require 'rvm'
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irbtools
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 8
9
- - 2
10
- version: 0.8.2
8
+ - 3
9
+ version: 0.8.3
11
10
  platform: ruby
12
11
  authors:
13
12
  - Jan Lelis
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-11-17 00:00:00 +01:00
17
+ date: 2010-12-14 00:00:00 +01:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -26,7 +25,6 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 3
30
28
  segments:
31
29
  - 0
32
30
  - 6
@@ -42,7 +40,6 @@ dependencies:
42
40
  requirements:
43
41
  - - ">="
44
42
  - !ruby/object:Gem::Version
45
- hash: 19
46
43
  segments:
47
44
  - 8
48
45
  version: "8"
@@ -56,7 +53,6 @@ dependencies:
56
53
  requirements:
57
54
  - - ~>
58
55
  - !ruby/object:Gem::Version
59
- hash: 13
60
56
  segments:
61
57
  - 0
62
58
  - 3
@@ -71,7 +67,6 @@ dependencies:
71
67
  requirements:
72
68
  - - ~>
73
69
  - !ruby/object:Gem::Version
74
- hash: 13
75
70
  segments:
76
71
  - 0
77
72
  - 3
@@ -84,13 +79,13 @@ dependencies:
84
79
  requirement: &id005 !ruby/object:Gem::Requirement
85
80
  none: false
86
81
  requirements:
87
- - - ~>
82
+ - - ">="
88
83
  - !ruby/object:Gem::Version
89
- hash: 25
90
84
  segments:
91
85
  - 0
92
86
  - 9
93
- version: "0.9"
87
+ - 3
88
+ version: 0.9.3
94
89
  type: :runtime
95
90
  version_requirements: *id005
96
91
  - !ruby/object:Gem::Dependency
@@ -101,7 +96,6 @@ dependencies:
101
96
  requirements:
102
97
  - - ~>
103
98
  - !ruby/object:Gem::Version
104
- hash: 25
105
99
  segments:
106
100
  - 0
107
101
  - 9
@@ -116,7 +110,6 @@ dependencies:
116
110
  requirements:
117
111
  - - ~>
118
112
  - !ruby/object:Gem::Version
119
- hash: 13
120
113
  segments:
121
114
  - 0
122
115
  - 3
@@ -131,7 +124,6 @@ dependencies:
131
124
  requirements:
132
125
  - - ">="
133
126
  - !ruby/object:Gem::Version
134
- hash: 3
135
127
  segments:
136
128
  - 0
137
129
  version: "0"
@@ -145,7 +137,6 @@ dependencies:
145
137
  requirements:
146
138
  - - ">="
147
139
  - !ruby/object:Gem::Version
148
- hash: 3
149
140
  segments:
150
141
  - 0
151
142
  version: "0"
@@ -159,7 +150,6 @@ dependencies:
159
150
  requirements:
160
151
  - - ">="
161
152
  - !ruby/object:Gem::Version
162
- hash: 3
163
153
  segments:
164
154
  - 0
165
155
  version: "0"
@@ -173,7 +163,6 @@ dependencies:
173
163
  requirements:
174
164
  - - ">="
175
165
  - !ruby/object:Gem::Version
176
- hash: 3
177
166
  segments:
178
167
  - 0
179
168
  version: "0"
@@ -187,7 +176,6 @@ dependencies:
187
176
  requirements:
188
177
  - - ">="
189
178
  - !ruby/object:Gem::Version
190
- hash: 3
191
179
  segments:
192
180
  - 0
193
181
  version: "0"
@@ -203,24 +191,24 @@ extra_rdoc_files:
203
191
  - LICENSE
204
192
  - README.rdoc
205
193
  files:
206
- - .gitignore
194
+ - lib/irbtools.rb
195
+ - lib/irbtools/libraries.rb
196
+ - lib/irbtools/general.rb
197
+ - lib/irbtools/configure.rb
198
+ - lib/irbtools/rvm.rb
199
+ - VERSION
207
200
  - CHANGELOG
208
- - LICENSE
209
- - README.rdoc
210
201
  - Rakefile
211
- - VERSION
212
202
  - irbtools.gemspec
213
- - lib/irbtools.rb
214
- - lib/irbtools/configure.rb
215
- - lib/irbtools/general.rb
216
- - lib/irbtools/libraries.rb
203
+ - LICENSE
204
+ - README.rdoc
217
205
  has_rdoc: true
218
206
  homepage: http://github.com/janlelis/irbtools
219
207
  licenses: []
220
208
 
221
209
  post_install_message:
222
- rdoc_options:
223
- - --charset=UTF-8
210
+ rdoc_options: []
211
+
224
212
  require_paths:
225
213
  - lib
226
214
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -228,16 +216,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
228
216
  requirements:
229
217
  - - ">="
230
218
  - !ruby/object:Gem::Version
231
- hash: 3
232
219
  segments:
233
- - 0
234
- version: "0"
220
+ - 1
221
+ - 8
222
+ - 7
223
+ version: 1.8.7
235
224
  required_rubygems_version: !ruby/object:Gem::Requirement
236
225
  none: false
237
226
  requirements:
238
227
  - - ">="
239
228
  - !ruby/object:Gem::Version
240
- hash: 3
241
229
  segments:
242
230
  - 0
243
231
  version: "0"
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC