pry 0.14.2 → 0.16.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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +72 -2
  3. data/LICENSE +1 -1
  4. data/README.md +13 -10
  5. data/lib/pry/class_command.rb +2 -2
  6. data/lib/pry/cli.rb +5 -1
  7. data/lib/pry/code_object.rb +2 -2
  8. data/lib/pry/command.rb +1 -1
  9. data/lib/pry/command_set.rb +2 -2
  10. data/lib/pry/command_state.rb +11 -6
  11. data/lib/pry/commands/amend_line.rb +1 -1
  12. data/lib/pry/commands/cd.rb +2 -0
  13. data/lib/pry/commands/edit.rb +2 -0
  14. data/lib/pry/commands/find_method.rb +1 -1
  15. data/lib/pry/commands/ls/config.rb +54 -0
  16. data/lib/pry/commands/ls.rb +0 -21
  17. data/lib/pry/commands/raise_up.rb +1 -1
  18. data/lib/pry/commands/ri.rb +1 -1
  19. data/lib/pry/commands/shell_command.rb +1 -1
  20. data/lib/pry/commands/shell_mode.rb +1 -0
  21. data/lib/pry/commands/show_doc.rb +1 -10
  22. data/lib/pry/commands/show_source.rb +3 -64
  23. data/lib/pry/commands/watch_expression/expression.rb +1 -1
  24. data/lib/pry/commands/watch_expression.rb +3 -5
  25. data/lib/pry/config.rb +33 -26
  26. data/lib/pry/control_d_handler.rb +1 -1
  27. data/lib/pry/exception_handler.rb +7 -2
  28. data/lib/pry/helpers/command_helpers.rb +1 -1
  29. data/lib/pry/indent.rb +6 -4
  30. data/lib/pry/input/simple_stdio.rb +13 -0
  31. data/lib/pry/input_completer.rb +1 -1
  32. data/lib/pry/method/patcher.rb +2 -2
  33. data/lib/pry/method/weird_method_locator.rb +4 -4
  34. data/lib/pry/method.rb +2 -3
  35. data/lib/pry/pry_class.rb +4 -29
  36. data/lib/pry/pry_instance.rb +6 -44
  37. data/lib/pry/repl.rb +72 -2
  38. data/lib/pry/ring.rb +1 -1
  39. data/lib/pry/slop.rb +1 -1
  40. data/lib/pry/syntax_highlighter.rb +1 -1
  41. data/lib/pry/version.rb +1 -1
  42. data/lib/pry/wrapped_module/candidate.rb +7 -1
  43. data/lib/pry/wrapped_module.rb +1 -1
  44. data/lib/pry.rb +4 -1
  45. metadata +20 -7
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.2
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mair (banisterfiend)
8
8
  - Conrad Irwin
9
9
  - Ryan Fitzgerald
10
10
  - Kyrylo Silin
11
- autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2023-01-09 00:00:00.000000000 Z
13
+ date: 1980-01-02 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: coderay
@@ -41,6 +40,20 @@ dependencies:
41
40
  - - "~>"
42
41
  - !ruby/object:Gem::Version
43
42
  version: '1.0'
43
+ - !ruby/object:Gem::Dependency
44
+ name: reline
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 0.6.0
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.6.0
44
57
  description: |
45
58
  Pry is a runtime developer console and IRB alternative with powerful
46
59
  introspection capabilities. Pry aims to be more than an IRB replacement. It is
@@ -102,6 +115,7 @@ files:
102
115
  - lib/pry/commands/jump_to.rb
103
116
  - lib/pry/commands/list_inspectors.rb
104
117
  - lib/pry/commands/ls.rb
118
+ - lib/pry/commands/ls/config.rb
105
119
  - lib/pry/commands/ls/constants.rb
106
120
  - lib/pry/commands/ls/formatter.rb
107
121
  - lib/pry/commands/ls/globals.rb
@@ -160,6 +174,7 @@ files:
160
174
  - lib/pry/history.rb
161
175
  - lib/pry/hooks.rb
162
176
  - lib/pry/indent.rb
177
+ - lib/pry/input/simple_stdio.rb
163
178
  - lib/pry/input_completer.rb
164
179
  - lib/pry/input_lock.rb
165
180
  - lib/pry/inspector.rb
@@ -200,7 +215,6 @@ metadata:
200
215
  changelog_uri: https://github.com/pry/pry/blob/master/CHANGELOG.md
201
216
  source_code_uri: https://github.com/pry/pry
202
217
  bug_tracker_uri: https://github.com/pry/pry/issues
203
- post_install_message:
204
218
  rdoc_options: []
205
219
  require_paths:
206
220
  - lib
@@ -208,15 +222,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
222
  requirements:
209
223
  - - ">="
210
224
  - !ruby/object:Gem::Version
211
- version: '2.0'
225
+ version: '2.6'
212
226
  required_rubygems_version: !ruby/object:Gem::Requirement
213
227
  requirements:
214
228
  - - ">="
215
229
  - !ruby/object:Gem::Version
216
230
  version: '0'
217
231
  requirements: []
218
- rubygems_version: 3.4.1
219
- signing_key:
232
+ rubygems_version: 4.0.3
220
233
  specification_version: 4
221
234
  summary: A runtime developer console and IRB alternative with powerful introspection
222
235
  capabilities.