pry 0.9.4pre2-java → 0.9.4pre3-java

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/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,221 +1,213 @@
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: java
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
82
- - !ruby/object:Gem::Dependency
83
- name: spoon
84
- prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: 0.0.1
91
- type: :runtime
92
- version_requirements: *id007
12
+ date: 2011-09-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ruby_parser
16
+ requirement: &70236024061000 !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: *70236024061000
25
+ - !ruby/object:Gem::Dependency
26
+ name: coderay
27
+ requirement: &70236024060240 !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: *70236024060240
36
+ - !ruby/object:Gem::Dependency
37
+ name: slop
38
+ requirement: &70236024059540 !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: *70236024059540
47
+ - !ruby/object:Gem::Dependency
48
+ name: method_source
49
+ requirement: &70236024058980 !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: *70236024058980
58
+ - !ruby/object:Gem::Dependency
59
+ name: bacon
60
+ requirement: &70236024058120 !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: *70236024058120
69
+ - !ruby/object:Gem::Dependency
70
+ name: open4
71
+ requirement: &70236024000060 !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: *70236024000060
80
+ - !ruby/object:Gem::Dependency
81
+ name: spoon
82
+ requirement: &70236023999080 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: 0.0.1
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *70236023999080
93
91
  description: An IRB alternative and runtime developer console
94
92
  email: jrmair@gmail.com
95
- executables:
96
- - pry
93
+ executables:
94
+ - pry
97
95
  extensions: []
98
-
99
96
  extra_rdoc_files: []
100
-
101
- files:
102
- - .document
103
- - .gemtest
104
- - .gitignore
105
- - .yardopts
106
- - CHANGELOG
107
- - CONTRIBUTORS
108
- - LICENSE
109
- - README.markdown
110
- - Rakefile
111
- - TODO
112
- - bin/pry
113
- - examples/example_basic.rb
114
- - examples/example_command_override.rb
115
- - examples/example_commands.rb
116
- - examples/example_hooks.rb
117
- - examples/example_image_edit.rb
118
- - examples/example_input.rb
119
- - examples/example_input2.rb
120
- - examples/example_output.rb
121
- - examples/example_print.rb
122
- - examples/example_prompt.rb
123
- - examples/helper.rb
124
- - lib/pry.rb
125
- - lib/pry/command_context.rb
126
- - lib/pry/command_processor.rb
127
- - lib/pry/command_set.rb
128
- - lib/pry/commands.rb
129
- - lib/pry/completion.rb
130
- - lib/pry/config.rb
131
- - lib/pry/core_extensions.rb
132
- - lib/pry/custom_completions.rb
133
- - lib/pry/default_commands/basic.rb
134
- - lib/pry/default_commands/context.rb
135
- - lib/pry/default_commands/documentation.rb
136
- - lib/pry/default_commands/easter_eggs.rb
137
- - lib/pry/default_commands/gems.rb
138
- - lib/pry/default_commands/input.rb
139
- - lib/pry/default_commands/introspection.rb
140
- - lib/pry/default_commands/ls.rb
141
- - lib/pry/default_commands/shell.rb
142
- - lib/pry/extended_commands/experimental.rb
143
- - lib/pry/extended_commands/user_command_api.rb
144
- - lib/pry/helpers.rb
145
- - lib/pry/helpers/base_helpers.rb
146
- - lib/pry/helpers/command_helpers.rb
147
- - lib/pry/helpers/text.rb
148
- - lib/pry/history.rb
149
- - lib/pry/history_array.rb
150
- - lib/pry/plugins.rb
151
- - lib/pry/pry_class.rb
152
- - lib/pry/pry_instance.rb
153
- - lib/pry/version.rb
154
- - pry.gemspec
155
- - test/helper.rb
156
- - test/test_command_helpers.rb
157
- - test/test_command_processor.rb
158
- - test/test_command_set.rb
159
- - test/test_completion.rb
160
- - test/test_default_commands.rb
161
- - test/test_default_commands/test_context.rb
162
- - test/test_default_commands/test_documentation.rb
163
- - test/test_default_commands/test_gems.rb
164
- - test/test_default_commands/test_input.rb
165
- - test/test_default_commands/test_introspection.rb
166
- - test/test_default_commands/test_shell.rb
167
- - test/test_history_array.rb
168
- - test/test_pry.rb
169
- - test/test_pry_history.rb
170
- - test/test_pry_output.rb
171
- - test/test_special_locals.rb
172
- - test/testrc
173
- - wiki/Customizing-pry.md
174
- - wiki/Home.md
175
- has_rdoc: true
97
+ files:
98
+ - .document
99
+ - .gemtest
100
+ - .gitignore
101
+ - .yardopts
102
+ - CHANGELOG
103
+ - CONTRIBUTORS
104
+ - LICENSE
105
+ - README.markdown
106
+ - Rakefile
107
+ - TODO
108
+ - bin/pry
109
+ - examples/example_basic.rb
110
+ - examples/example_command_override.rb
111
+ - examples/example_commands.rb
112
+ - examples/example_hooks.rb
113
+ - examples/example_image_edit.rb
114
+ - examples/example_input.rb
115
+ - examples/example_input2.rb
116
+ - examples/example_output.rb
117
+ - examples/example_print.rb
118
+ - examples/example_prompt.rb
119
+ - examples/helper.rb
120
+ - lib/pry.rb
121
+ - lib/pry/command_context.rb
122
+ - lib/pry/command_processor.rb
123
+ - lib/pry/command_set.rb
124
+ - lib/pry/commands.rb
125
+ - lib/pry/completion.rb
126
+ - lib/pry/config.rb
127
+ - lib/pry/core_extensions.rb
128
+ - lib/pry/custom_completions.rb
129
+ - lib/pry/default_commands/basic.rb
130
+ - lib/pry/default_commands/context.rb
131
+ - lib/pry/default_commands/documentation.rb
132
+ - lib/pry/default_commands/easter_eggs.rb
133
+ - lib/pry/default_commands/gems.rb
134
+ - lib/pry/default_commands/input.rb
135
+ - lib/pry/default_commands/introspection.rb
136
+ - lib/pry/default_commands/ls.rb
137
+ - lib/pry/default_commands/shell.rb
138
+ - lib/pry/extended_commands/experimental.rb
139
+ - lib/pry/extended_commands/user_command_api.rb
140
+ - lib/pry/helpers.rb
141
+ - lib/pry/helpers/base_helpers.rb
142
+ - lib/pry/helpers/command_helpers.rb
143
+ - lib/pry/helpers/text.rb
144
+ - lib/pry/history.rb
145
+ - lib/pry/history_array.rb
146
+ - lib/pry/plugins.rb
147
+ - lib/pry/pry_class.rb
148
+ - lib/pry/pry_instance.rb
149
+ - lib/pry/version.rb
150
+ - pry.gemspec
151
+ - test/helper.rb
152
+ - test/test_command_helpers.rb
153
+ - test/test_command_processor.rb
154
+ - test/test_command_set.rb
155
+ - test/test_completion.rb
156
+ - test/test_default_commands.rb
157
+ - test/test_default_commands/test_context.rb
158
+ - test/test_default_commands/test_documentation.rb
159
+ - test/test_default_commands/test_gems.rb
160
+ - test/test_default_commands/test_input.rb
161
+ - test/test_default_commands/test_introspection.rb
162
+ - test/test_default_commands/test_shell.rb
163
+ - test/test_history_array.rb
164
+ - test/test_pry.rb
165
+ - test/test_pry_history.rb
166
+ - test/test_pry_output.rb
167
+ - test/test_special_locals.rb
168
+ - test/testrc
169
+ - wiki/Customizing-pry.md
170
+ - wiki/Home.md
176
171
  homepage: http://pry.github.com
177
172
  licenses: []
178
-
179
173
  post_install_message:
180
174
  rdoc_options: []
181
-
182
- require_paths:
183
- - lib
184
- required_ruby_version: !ruby/object:Gem::Requirement
175
+ require_paths:
176
+ - lib
177
+ required_ruby_version: !ruby/object:Gem::Requirement
185
178
  none: false
186
- requirements:
187
- - - ">="
188
- - !ruby/object:Gem::Version
189
- version: "0"
190
- required_rubygems_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
191
184
  none: false
192
- requirements:
193
- - - ">"
194
- - !ruby/object:Gem::Version
195
- version: 1.3.1
185
+ requirements:
186
+ - - ! '>'
187
+ - !ruby/object:Gem::Version
188
+ version: 1.3.1
196
189
  requirements: []
197
-
198
190
  rubyforge_project:
199
- rubygems_version: 1.5.1
191
+ rubygems_version: 1.8.6
200
192
  signing_key:
201
193
  specification_version: 3
202
194
  summary: An IRB alternative and runtime developer console
203
- test_files:
204
- - test/helper.rb
205
- - test/test_command_helpers.rb
206
- - test/test_command_processor.rb
207
- - test/test_command_set.rb
208
- - test/test_completion.rb
209
- - test/test_default_commands.rb
210
- - test/test_default_commands/test_context.rb
211
- - test/test_default_commands/test_documentation.rb
212
- - test/test_default_commands/test_gems.rb
213
- - test/test_default_commands/test_input.rb
214
- - test/test_default_commands/test_introspection.rb
215
- - test/test_default_commands/test_shell.rb
216
- - test/test_history_array.rb
217
- - test/test_pry.rb
218
- - test/test_pry_history.rb
219
- - test/test_pry_output.rb
220
- - test/test_special_locals.rb
221
- - test/testrc
195
+ test_files:
196
+ - test/helper.rb
197
+ - test/test_command_helpers.rb
198
+ - test/test_command_processor.rb
199
+ - test/test_command_set.rb
200
+ - test/test_completion.rb
201
+ - test/test_default_commands.rb
202
+ - test/test_default_commands/test_context.rb
203
+ - test/test_default_commands/test_documentation.rb
204
+ - test/test_default_commands/test_gems.rb
205
+ - test/test_default_commands/test_input.rb
206
+ - test/test_default_commands/test_introspection.rb
207
+ - test/test_default_commands/test_shell.rb
208
+ - test/test_history_array.rb
209
+ - test/test_pry.rb
210
+ - test/test_pry_history.rb
211
+ - test/test_pry_output.rb
212
+ - test/test_special_locals.rb
213
+ - test/testrc