pry 0.9.4pre2 → 0.9.4pre3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -31,6 +31,9 @@
31
31
  * got rid of Pry#null_input? since all that was needed was eval_string.empty?
32
32
  * cd command now supports complex syntax: cd ../@y/y/../z
33
33
  * JRuby is no longer a 2nd class citizen, almost full JRuby support, passing 100% tests
34
+ * added Pry::NAV_PROMPT (great new navigation prompt, per robgleeson) and Pry::SIMPLE_PRINT for simple (IRB-style) print output (just using inspect)
35
+ * _pry_ now passed as 3rd parameter to :before_session hook
36
+ * ls colors now configurable via Pry.config.ls.local_var_color = :bright_red etc
34
37
 
35
38
  */7/2011 version 0.9.3
36
39
  * cat --ex (cats 5 lines above and below line in file where exception was raised)
data/Rakefile CHANGED
@@ -92,7 +92,7 @@ end
92
92
  end
93
93
 
94
94
  desc "build all platform gems at once"
95
- task :gems => [:clean, :rmgems, "ruby:gem", "mswin32:gem", "mingw32:gem"]
95
+ task :gems => [:clean, :rmgems, "ruby:gem", "mswin32:gem", "mingw32:gem", "jruby:gem"]
96
96
 
97
97
  desc "remove all platform gems"
98
98
  task :rmgems => ["ruby:clobber_package"]
data/lib/pry.rb CHANGED
@@ -6,13 +6,13 @@ require 'pry/helpers/base_helpers'
6
6
  class Pry
7
7
  # The default hooks - display messages when beginning and ending Pry sessions.
8
8
  DEFAULT_HOOKS = {
9
- :before_session => proc do |out, target|
9
+ :before_session => proc do |out, target, _pry_|
10
10
  # ensure we're actually in a method
11
11
  file = target.eval('__FILE__')
12
12
 
13
13
  # /unknown/ for rbx
14
14
  if file !~ /(\(.*\))|<.*>/ && file !~ /__unknown__/ && file != "" && file != "-e"
15
- Pry.run_command "whereami 5", :output => out, :show_output => true, :context => target, :commands => Pry::Commands
15
+ _pry_.process_line("whereami 5", "", target)
16
16
  end
17
17
  end
18
18
  }
@@ -35,6 +35,16 @@ class Pry
35
35
  Helpers::BaseHelpers.stagger_output("=> #{Helpers::BaseHelpers.colorize_code(stringified)}", output)
36
36
  end
37
37
 
38
+ # may be convenient when working with enormous objects and
39
+ # pretty_print is too slow
40
+ SIMPLE_PRINT = proc do |output, value|
41
+ begin
42
+ output.puts "=> #{value.inspect}"
43
+ rescue RescuableException
44
+ output.puts "=> unknown"
45
+ end
46
+ end
47
+
38
48
  # Will only show the first line of the backtrace
39
49
  DEFAULT_EXCEPTION_HANDLER = proc do |output, exception|
40
50
  output.puts "#{exception.class}: #{exception.message}"
@@ -84,7 +94,21 @@ class Pry
84
94
  SHELL_PROMPT = [
85
95
  proc { |target_self, _, _| "pry #{Pry.view_clip(target_self)}:#{Dir.pwd} $ " },
86
96
  proc { |target_self, _, _| "pry #{Pry.view_clip(target_self)}:#{Dir.pwd} * " }
87
- ]
97
+ ]
98
+
99
+ # A prompt that includes the full object path as well as
100
+ # input/output (_in_ and _out_) information. Good for navigation.
101
+ NAV_PROMPT = [
102
+ proc do |_, level, pry|
103
+ tree = pry.binding_stack.map { |b| Pry.view_clip(b.eval("self")) }.join " / "
104
+ "[#{pry.input_array.size}] (pry) #{tree}: #{level}> "
105
+ end,
106
+ proc do |_, level, pry|
107
+ tree = pry.binding_stack.map { |b| Pry.view_clip(b.eval("self")) }.join " / "
108
+ "[#{pry.input_array.size}] (pry) #{tree}: #{level}* "
109
+ end,
110
+ ]
111
+
88
112
 
89
113
  # As a REPL, we often want to catch any unexpected exceptions that may have
90
114
  # been raised; however we don't want to go overboard and prevent the user
@@ -89,6 +89,7 @@ e.g amend-line puts 'hello again' # no line number modifies immediately preced
89
89
 
90
90
  _pry_.input = StringIO.new(Array(text_array[range]).join)
91
91
  else
92
+ next output.puts "Error: no input to play command" if !args.first
92
93
  code = target.eval(args.first)
93
94
 
94
95
  range = opts.l? ? one_index_range_or_number(opts[:l]) : (0..-1)
@@ -151,7 +151,11 @@ class Pry
151
151
  line = eval_string.lines.count + 1
152
152
  should_reload_locally = opts[:n] ? false : true
153
153
  else
154
- file_name, line = File.expand_path(args.first).split(/:/)
154
+ # break up into file:line
155
+ /(:(\d+))?$/ =~ File.expand_path(args.first)
156
+
157
+ # $` is pre-match
158
+ file_name, line = [$`, $2]
155
159
  line = line ? line.to_i : opts[:l].to_i
156
160
  end
157
161
 
@@ -22,18 +22,18 @@ class Pry
22
22
 
23
23
  def ls_color_map
24
24
  {
25
- "local variables" => :bright_red,
26
- "instance variables" => :bright_blue,
27
- "class variables" => :blue,
28
- "global variables" => :bright_magenta,
29
- "just singleton methods" => :green,
30
- "public methods" => :green,
31
- "private methods" => :green,
32
- "protected methods" => :green,
33
- "public instance methods" => :bright_green,
34
- "private instance methods" => :bright_green,
35
- "protected instance methods" => :bright_green,
36
- "constants" => :red
25
+ "local variables" => Pry.config.ls.local_var_color,
26
+ "instance variables" => Pry.config.ls.instance_var_color,
27
+ "class variables" => Pry.config.ls.class_var_color,
28
+ "global variables" => Pry.config.ls.global_var_color,
29
+ "just singleton methods" => Pry.config.ls.method_color,
30
+ "public methods" => Pry.config.ls.method_color,
31
+ "private methods" => Pry.config.ls.method_color,
32
+ "protected methods" => Pry.config.ls.method_color,
33
+ "public instance methods" => Pry.config.ls.instance_method_color,
34
+ "private instance methods" => Pry.config.ls.instance_method_color,
35
+ "protected instance methods" => Pry.config.ls.instance_method_color,
36
+ "constants" => Pry.config.ls.constant_color
37
37
  }
38
38
  end
39
39
  end
@@ -198,7 +198,7 @@ Shows local and instance variables by default.
198
198
  if !v.first.empty?
199
199
  text << "#{k}:\n--\n"
200
200
  filtered_list = v.first.grep options[:grep]
201
- text << text().bright_green(filtered_list.join(" "))
201
+ text << text().send(ls_color_map[k], (filtered_list.join(" ")))
202
202
  text << "\n\n"
203
203
  end
204
204
  end
@@ -129,7 +129,13 @@ class Pry
129
129
  when :ruby
130
130
  if meth.source_location.first == Pry.eval_path
131
131
  start_line = meth.source_location.last
132
- p = Pry.new(:input => StringIO.new(Pry.line_buffer[start_line..-1].join)).r(target)
132
+
133
+ # FIXME this line below needs to be refactored, WAY too
134
+ # much of a hack. We pass nothing to prompt because if
135
+ # prompt uses #inspect (or #pretty_inspect) on the context
136
+ # it can hang the session if the object being inspected on
137
+ # is enormous see: https://github.com/pry/pry/issues/245
138
+ p = Pry.new(:input => StringIO.new(Pry.line_buffer[start_line..-1].join), :prompt => proc {""}, :hooks => {}).r(target)
133
139
  code = strip_leading_whitespace(p)
134
140
  else
135
141
  if rbx_core?(meth)
@@ -358,9 +364,13 @@ class Pry
358
364
  end
359
365
 
360
366
  if jruby?
361
- require 'spoon'
362
- pid = Spoon.spawnp(*editor_invocation.split)
363
- Process.waitpid(pid)
367
+ begin
368
+ require 'spoon'
369
+ pid = Spoon.spawnp(*editor_invocation.split)
370
+ Process.waitpid(pid)
371
+ rescue FFI::NotFoundError
372
+ run ".#{editor_invocation}"
373
+ end
364
374
  else
365
375
  run ".#{editor_invocation}"
366
376
  end
@@ -369,6 +379,9 @@ class Pry
369
379
  def start_line_syntax_for_editor(file_name, line_number)
370
380
  file_name = file_name.gsub(/\//, '\\') if RUBY_PLATFORM =~ /mswin|mingw/
371
381
 
382
+ # special case 0th line
383
+ return file_name if line_number <= 0
384
+
372
385
  case Pry.config.editor
373
386
  when /^[gm]?vi/, /^emacs/, /^nano/, /^pico/, /^gedit/, /^kate/
374
387
  "+#{line_number} #{file_name}"
@@ -95,17 +95,6 @@ class Pry
95
95
  new(options).repl(target)
96
96
  end
97
97
 
98
- # A custom version of `Kernel#pretty_inspect`.
99
- # This method should not need to be accessed directly.
100
- # @param obj The object to view.
101
- # @return [String] The string representation of `obj`.
102
- def self.view(obj)
103
- obj.pretty_inspect
104
-
105
- rescue NoMethodError
106
- "unknown"
107
- end
108
-
109
98
  # A version of `Pry.view` that clips the output to `max_size` chars.
110
99
  # In case of > `max_size` chars the `#<Object...> notation is used.
111
100
  # @param obj The object to view.
@@ -116,7 +105,7 @@ class Pry
116
105
  obj.name.to_s
117
106
  elsif obj.inspect.length <= max_length
118
107
  obj.inspect
119
- else
108
+ else
120
109
  "#<#{obj.class}:%#x>" % (obj.object_id << 1)
121
110
  end
122
111
 
@@ -199,7 +188,6 @@ class Pry
199
188
 
200
189
  config.plugins ||= OpenStruct.new
201
190
  config.plugins.enabled = true
202
- config.plugins.strict_loading = true
203
191
 
204
192
  config.requires ||= []
205
193
  config.should_load_requires = true
@@ -212,6 +200,15 @@ class Pry
212
200
  config.control_d_handler = DEFAULT_CONTROL_D_HANDLER
213
201
 
214
202
  config.memory_size = 100
203
+
204
+ Pry.config.ls ||= OpenStruct.new
205
+ Pry.config.ls.local_var_color = :bright_red
206
+ Pry.config.ls.instance_var_color = :bright_blue
207
+ Pry.config.ls.class_var_color = :blue
208
+ Pry.config.ls.global_var_color = :bright_magenta
209
+ Pry.config.ls.method_color = :green
210
+ Pry.config.ls.instance_method_color = :bright_green
211
+ Pry.config.ls.constant_color = :yellow
215
212
  end
216
213
 
217
214
  # Set all the configurable options back to their default values
@@ -137,7 +137,7 @@ class Pry
137
137
  # Initialize the repl session.
138
138
  # @param [Binding] target The target binding for the session.
139
139
  def repl_prologue(target)
140
- exec_hook :before_session, output, target
140
+ exec_hook :before_session, output, target, self
141
141
  initialize_special_locals(target)
142
142
 
143
143
  @input_array << nil # add empty input so inp and out match
@@ -150,7 +150,7 @@ class Pry
150
150
  # @param [Binding] target The target binding for the session.
151
151
  # @return [Object] The return value of the repl session (if one exists).
152
152
  def repl_epilogue(target, break_data)
153
- exec_hook :after_session, output, target
153
+ exec_hook :after_session, output, target, self
154
154
 
155
155
  Pry.active_sessions -= 1
156
156
  binding_stack.pop
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.9.4pre2"
2
+ VERSION = "0.9.4pre3"
3
3
  end
@@ -19,7 +19,6 @@ describe Pry::InputCompleter do
19
19
  if !jruby?
20
20
  it "should not crash if there's a Module that has a symbolic name." do
21
21
  completer = Pry::InputCompleter.build_completion_proc(Pry.binding_for(Object.new))
22
- binding.pry
23
22
  lambda{ completer.call "a.to_s." }.should.not.raise Exception
24
23
  end
25
24
  end
@@ -1199,8 +1199,8 @@ describe Pry do
1199
1199
  it 'should set the hooks default, and the default should be overridable' do
1200
1200
  Pry.input = InputTester.new("exit-all")
1201
1201
  Pry.hooks = {
1202
- :before_session => proc { |out,_| out.puts "HELLO" },
1203
- :after_session => proc { |out,_| out.puts "BYE" }
1202
+ :before_session => proc { |out,_,_| out.puts "HELLO" },
1203
+ :after_session => proc { |out,_,_| out.puts "BYE" }
1204
1204
  }
1205
1205
 
1206
1206
  str_output = StringIO.new
@@ -1213,8 +1213,8 @@ describe Pry do
1213
1213
  str_output = StringIO.new
1214
1214
  Pry.new(:output => str_output,
1215
1215
  :hooks => {
1216
- :before_session => proc { |out,_| out.puts "MORNING" },
1217
- :after_session => proc { |out,_| out.puts "EVENING" }
1216
+ :before_session => proc { |out,_,_| out.puts "MORNING" },
1217
+ :after_session => proc { |out,_,_| out.puts "EVENING" }
1218
1218
  }
1219
1219
  ).repl
1220
1220
 
@@ -1226,7 +1226,7 @@ describe Pry do
1226
1226
  str_output = StringIO.new
1227
1227
  Pry.new(:output => str_output,
1228
1228
  :hooks => {
1229
- :before_session => proc { |out,_| out.puts "OPEN" }
1229
+ :before_session => proc { |out,_,_| out.puts "OPEN" }
1230
1230
  }
1231
1231
  ).repl
1232
1232
 
@@ -1236,7 +1236,7 @@ describe Pry do
1236
1236
  str_output = StringIO.new
1237
1237
  Pry.new(:output => str_output,
1238
1238
  :hooks => {
1239
- :after_session => proc { |out,_| out.puts "CLOSE" }
1239
+ :after_session => proc { |out,_,_| out.puts "CLOSE" }
1240
1240
  }
1241
1241
  ).repl
1242
1242
 
metadata CHANGED
@@ -1,210 +1,202 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pry
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.4pre3
4
5
  prerelease: 5
5
- version: 0.9.4pre2
6
6
  platform: ruby
7
- authors:
8
- - John Mair (banisterfiend)
7
+ authors:
8
+ - John Mair (banisterfiend)
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-09-07 00:00:00 +12:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: ruby_parser
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
24
- version: 2.0.5
25
- type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: coderay
29
- prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: 0.9.8
36
- type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: slop
40
- prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ~>
45
- - !ruby/object:Gem::Version
46
- version: 2.1.0
47
- type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: method_source
51
- prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: 0.6.5
58
- type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: bacon
62
- prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: 1.1.0
69
- type: :development
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: open4
73
- prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - ~>
78
- - !ruby/object:Gem::Version
79
- version: 1.0.1
80
- type: :development
81
- version_requirements: *id006
12
+ date: 2011-09-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ruby_parser
16
+ requirement: &70236024147800 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.5
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70236024147800
25
+ - !ruby/object:Gem::Dependency
26
+ name: coderay
27
+ requirement: &70236024146820 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 0.9.8
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70236024146820
36
+ - !ruby/object:Gem::Dependency
37
+ name: slop
38
+ requirement: &70236024146240 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 2.1.0
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70236024146240
47
+ - !ruby/object:Gem::Dependency
48
+ name: method_source
49
+ requirement: &70236024145140 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.6.5
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *70236024145140
58
+ - !ruby/object:Gem::Dependency
59
+ name: bacon
60
+ requirement: &70236024159860 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 1.1.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70236024159860
69
+ - !ruby/object:Gem::Dependency
70
+ name: open4
71
+ requirement: &70236024157520 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 1.0.1
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70236024157520
82
80
  description: An IRB alternative and runtime developer console
83
81
  email: jrmair@gmail.com
84
- executables:
85
- - pry
82
+ executables:
83
+ - pry
86
84
  extensions: []
87
-
88
85
  extra_rdoc_files: []
89
-
90
- files:
91
- - .document
92
- - .gemtest
93
- - .gitignore
94
- - .yardopts
95
- - CHANGELOG
96
- - CONTRIBUTORS
97
- - LICENSE
98
- - README.markdown
99
- - Rakefile
100
- - TODO
101
- - bin/pry
102
- - examples/example_basic.rb
103
- - examples/example_command_override.rb
104
- - examples/example_commands.rb
105
- - examples/example_hooks.rb
106
- - examples/example_image_edit.rb
107
- - examples/example_input.rb
108
- - examples/example_input2.rb
109
- - examples/example_output.rb
110
- - examples/example_print.rb
111
- - examples/example_prompt.rb
112
- - examples/helper.rb
113
- - lib/pry.rb
114
- - lib/pry/command_context.rb
115
- - lib/pry/command_processor.rb
116
- - lib/pry/command_set.rb
117
- - lib/pry/commands.rb
118
- - lib/pry/completion.rb
119
- - lib/pry/config.rb
120
- - lib/pry/core_extensions.rb
121
- - lib/pry/custom_completions.rb
122
- - lib/pry/default_commands/basic.rb
123
- - lib/pry/default_commands/context.rb
124
- - lib/pry/default_commands/documentation.rb
125
- - lib/pry/default_commands/easter_eggs.rb
126
- - lib/pry/default_commands/gems.rb
127
- - lib/pry/default_commands/input.rb
128
- - lib/pry/default_commands/introspection.rb
129
- - lib/pry/default_commands/ls.rb
130
- - lib/pry/default_commands/shell.rb
131
- - lib/pry/extended_commands/experimental.rb
132
- - lib/pry/extended_commands/user_command_api.rb
133
- - lib/pry/helpers.rb
134
- - lib/pry/helpers/base_helpers.rb
135
- - lib/pry/helpers/command_helpers.rb
136
- - lib/pry/helpers/text.rb
137
- - lib/pry/history.rb
138
- - lib/pry/history_array.rb
139
- - lib/pry/plugins.rb
140
- - lib/pry/pry_class.rb
141
- - lib/pry/pry_instance.rb
142
- - lib/pry/version.rb
143
- - pry.gemspec
144
- - test/helper.rb
145
- - test/test_command_helpers.rb
146
- - test/test_command_processor.rb
147
- - test/test_command_set.rb
148
- - test/test_completion.rb
149
- - test/test_default_commands.rb
150
- - test/test_default_commands/test_context.rb
151
- - test/test_default_commands/test_documentation.rb
152
- - test/test_default_commands/test_gems.rb
153
- - test/test_default_commands/test_input.rb
154
- - test/test_default_commands/test_introspection.rb
155
- - test/test_default_commands/test_shell.rb
156
- - test/test_history_array.rb
157
- - test/test_pry.rb
158
- - test/test_pry_history.rb
159
- - test/test_pry_output.rb
160
- - test/test_special_locals.rb
161
- - test/testrc
162
- - wiki/Customizing-pry.md
163
- - wiki/Home.md
164
- has_rdoc: true
86
+ files:
87
+ - .document
88
+ - .gemtest
89
+ - .gitignore
90
+ - .yardopts
91
+ - CHANGELOG
92
+ - CONTRIBUTORS
93
+ - LICENSE
94
+ - README.markdown
95
+ - Rakefile
96
+ - TODO
97
+ - bin/pry
98
+ - examples/example_basic.rb
99
+ - examples/example_command_override.rb
100
+ - examples/example_commands.rb
101
+ - examples/example_hooks.rb
102
+ - examples/example_image_edit.rb
103
+ - examples/example_input.rb
104
+ - examples/example_input2.rb
105
+ - examples/example_output.rb
106
+ - examples/example_print.rb
107
+ - examples/example_prompt.rb
108
+ - examples/helper.rb
109
+ - lib/pry.rb
110
+ - lib/pry/command_context.rb
111
+ - lib/pry/command_processor.rb
112
+ - lib/pry/command_set.rb
113
+ - lib/pry/commands.rb
114
+ - lib/pry/completion.rb
115
+ - lib/pry/config.rb
116
+ - lib/pry/core_extensions.rb
117
+ - lib/pry/custom_completions.rb
118
+ - lib/pry/default_commands/basic.rb
119
+ - lib/pry/default_commands/context.rb
120
+ - lib/pry/default_commands/documentation.rb
121
+ - lib/pry/default_commands/easter_eggs.rb
122
+ - lib/pry/default_commands/gems.rb
123
+ - lib/pry/default_commands/input.rb
124
+ - lib/pry/default_commands/introspection.rb
125
+ - lib/pry/default_commands/ls.rb
126
+ - lib/pry/default_commands/shell.rb
127
+ - lib/pry/extended_commands/experimental.rb
128
+ - lib/pry/extended_commands/user_command_api.rb
129
+ - lib/pry/helpers.rb
130
+ - lib/pry/helpers/base_helpers.rb
131
+ - lib/pry/helpers/command_helpers.rb
132
+ - lib/pry/helpers/text.rb
133
+ - lib/pry/history.rb
134
+ - lib/pry/history_array.rb
135
+ - lib/pry/plugins.rb
136
+ - lib/pry/pry_class.rb
137
+ - lib/pry/pry_instance.rb
138
+ - lib/pry/version.rb
139
+ - pry.gemspec
140
+ - test/helper.rb
141
+ - test/test_command_helpers.rb
142
+ - test/test_command_processor.rb
143
+ - test/test_command_set.rb
144
+ - test/test_completion.rb
145
+ - test/test_default_commands.rb
146
+ - test/test_default_commands/test_context.rb
147
+ - test/test_default_commands/test_documentation.rb
148
+ - test/test_default_commands/test_gems.rb
149
+ - test/test_default_commands/test_input.rb
150
+ - test/test_default_commands/test_introspection.rb
151
+ - test/test_default_commands/test_shell.rb
152
+ - test/test_history_array.rb
153
+ - test/test_pry.rb
154
+ - test/test_pry_history.rb
155
+ - test/test_pry_output.rb
156
+ - test/test_special_locals.rb
157
+ - test/testrc
158
+ - wiki/Customizing-pry.md
159
+ - wiki/Home.md
165
160
  homepage: http://pry.github.com
166
161
  licenses: []
167
-
168
162
  post_install_message:
169
163
  rdoc_options: []
170
-
171
- require_paths:
172
- - lib
173
- required_ruby_version: !ruby/object:Gem::Requirement
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
174
167
  none: false
175
- requirements:
176
- - - ">="
177
- - !ruby/object:Gem::Version
178
- version: "0"
179
- required_rubygems_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ! '>='
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
180
173
  none: false
181
- requirements:
182
- - - ">"
183
- - !ruby/object:Gem::Version
184
- version: 1.3.1
174
+ requirements:
175
+ - - ! '>'
176
+ - !ruby/object:Gem::Version
177
+ version: 1.3.1
185
178
  requirements: []
186
-
187
179
  rubyforge_project:
188
- rubygems_version: 1.5.1
180
+ rubygems_version: 1.8.6
189
181
  signing_key:
190
182
  specification_version: 3
191
183
  summary: An IRB alternative and runtime developer console
192
- test_files:
193
- - test/helper.rb
194
- - test/test_command_helpers.rb
195
- - test/test_command_processor.rb
196
- - test/test_command_set.rb
197
- - test/test_completion.rb
198
- - test/test_default_commands.rb
199
- - test/test_default_commands/test_context.rb
200
- - test/test_default_commands/test_documentation.rb
201
- - test/test_default_commands/test_gems.rb
202
- - test/test_default_commands/test_input.rb
203
- - test/test_default_commands/test_introspection.rb
204
- - test/test_default_commands/test_shell.rb
205
- - test/test_history_array.rb
206
- - test/test_pry.rb
207
- - test/test_pry_history.rb
208
- - test/test_pry_output.rb
209
- - test/test_special_locals.rb
210
- - test/testrc
184
+ test_files:
185
+ - test/helper.rb
186
+ - test/test_command_helpers.rb
187
+ - test/test_command_processor.rb
188
+ - test/test_command_set.rb
189
+ - test/test_completion.rb
190
+ - test/test_default_commands.rb
191
+ - test/test_default_commands/test_context.rb
192
+ - test/test_default_commands/test_documentation.rb
193
+ - test/test_default_commands/test_gems.rb
194
+ - test/test_default_commands/test_input.rb
195
+ - test/test_default_commands/test_introspection.rb
196
+ - test/test_default_commands/test_shell.rb
197
+ - test/test_history_array.rb
198
+ - test/test_pry.rb
199
+ - test/test_pry_history.rb
200
+ - test/test_pry_output.rb
201
+ - test/test_special_locals.rb
202
+ - test/testrc