pry 0.10.0.pre4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +702 -0
  3. data/LICENSE +25 -0
  4. data/README.md +406 -0
  5. data/bin/pry +16 -0
  6. data/lib/pry.rb +161 -0
  7. data/lib/pry/cli.rb +220 -0
  8. data/lib/pry/code.rb +341 -0
  9. data/lib/pry/code/code_file.rb +103 -0
  10. data/lib/pry/code/code_range.rb +71 -0
  11. data/lib/pry/code/loc.rb +92 -0
  12. data/lib/pry/code_object.rb +172 -0
  13. data/lib/pry/color_printer.rb +55 -0
  14. data/lib/pry/command.rb +692 -0
  15. data/lib/pry/command_set.rb +443 -0
  16. data/lib/pry/commands.rb +6 -0
  17. data/lib/pry/commands/amend_line.rb +99 -0
  18. data/lib/pry/commands/bang.rb +20 -0
  19. data/lib/pry/commands/bang_pry.rb +17 -0
  20. data/lib/pry/commands/cat.rb +62 -0
  21. data/lib/pry/commands/cat/abstract_formatter.rb +27 -0
  22. data/lib/pry/commands/cat/exception_formatter.rb +77 -0
  23. data/lib/pry/commands/cat/file_formatter.rb +67 -0
  24. data/lib/pry/commands/cat/input_expression_formatter.rb +43 -0
  25. data/lib/pry/commands/cd.rb +41 -0
  26. data/lib/pry/commands/change_inspector.rb +27 -0
  27. data/lib/pry/commands/change_prompt.rb +26 -0
  28. data/lib/pry/commands/code_collector.rb +165 -0
  29. data/lib/pry/commands/disable_pry.rb +27 -0
  30. data/lib/pry/commands/disabled_commands.rb +2 -0
  31. data/lib/pry/commands/easter_eggs.rb +112 -0
  32. data/lib/pry/commands/edit.rb +195 -0
  33. data/lib/pry/commands/edit/exception_patcher.rb +25 -0
  34. data/lib/pry/commands/edit/file_and_line_locator.rb +36 -0
  35. data/lib/pry/commands/exit.rb +42 -0
  36. data/lib/pry/commands/exit_all.rb +29 -0
  37. data/lib/pry/commands/exit_program.rb +23 -0
  38. data/lib/pry/commands/find_method.rb +193 -0
  39. data/lib/pry/commands/fix_indent.rb +19 -0
  40. data/lib/pry/commands/gem_cd.rb +26 -0
  41. data/lib/pry/commands/gem_install.rb +32 -0
  42. data/lib/pry/commands/gem_list.rb +33 -0
  43. data/lib/pry/commands/gem_open.rb +29 -0
  44. data/lib/pry/commands/gist.rb +101 -0
  45. data/lib/pry/commands/help.rb +164 -0
  46. data/lib/pry/commands/hist.rb +180 -0
  47. data/lib/pry/commands/import_set.rb +22 -0
  48. data/lib/pry/commands/install_command.rb +53 -0
  49. data/lib/pry/commands/jump_to.rb +29 -0
  50. data/lib/pry/commands/list_inspectors.rb +35 -0
  51. data/lib/pry/commands/list_prompts.rb +35 -0
  52. data/lib/pry/commands/ls.rb +114 -0
  53. data/lib/pry/commands/ls/constants.rb +47 -0
  54. data/lib/pry/commands/ls/formatter.rb +49 -0
  55. data/lib/pry/commands/ls/globals.rb +48 -0
  56. data/lib/pry/commands/ls/grep.rb +21 -0
  57. data/lib/pry/commands/ls/instance_vars.rb +39 -0
  58. data/lib/pry/commands/ls/interrogatable.rb +18 -0
  59. data/lib/pry/commands/ls/jruby_hacks.rb +49 -0
  60. data/lib/pry/commands/ls/local_names.rb +35 -0
  61. data/lib/pry/commands/ls/local_vars.rb +39 -0
  62. data/lib/pry/commands/ls/ls_entity.rb +70 -0
  63. data/lib/pry/commands/ls/methods.rb +57 -0
  64. data/lib/pry/commands/ls/methods_helper.rb +46 -0
  65. data/lib/pry/commands/ls/self_methods.rb +32 -0
  66. data/lib/pry/commands/nesting.rb +25 -0
  67. data/lib/pry/commands/play.rb +103 -0
  68. data/lib/pry/commands/pry_backtrace.rb +25 -0
  69. data/lib/pry/commands/pry_version.rb +17 -0
  70. data/lib/pry/commands/raise_up.rb +32 -0
  71. data/lib/pry/commands/reload_code.rb +62 -0
  72. data/lib/pry/commands/reset.rb +18 -0
  73. data/lib/pry/commands/ri.rb +60 -0
  74. data/lib/pry/commands/save_file.rb +61 -0
  75. data/lib/pry/commands/shell_command.rb +48 -0
  76. data/lib/pry/commands/shell_mode.rb +25 -0
  77. data/lib/pry/commands/show_doc.rb +83 -0
  78. data/lib/pry/commands/show_info.rb +195 -0
  79. data/lib/pry/commands/show_input.rb +17 -0
  80. data/lib/pry/commands/show_source.rb +50 -0
  81. data/lib/pry/commands/simple_prompt.rb +22 -0
  82. data/lib/pry/commands/stat.rb +40 -0
  83. data/lib/pry/commands/switch_to.rb +23 -0
  84. data/lib/pry/commands/toggle_color.rb +24 -0
  85. data/lib/pry/commands/watch_expression.rb +105 -0
  86. data/lib/pry/commands/watch_expression/expression.rb +38 -0
  87. data/lib/pry/commands/whereami.rb +190 -0
  88. data/lib/pry/commands/wtf.rb +57 -0
  89. data/lib/pry/config.rb +24 -0
  90. data/lib/pry/config/behavior.rb +139 -0
  91. data/lib/pry/config/convenience.rb +26 -0
  92. data/lib/pry/config/default.rb +165 -0
  93. data/lib/pry/core_extensions.rb +131 -0
  94. data/lib/pry/editor.rb +133 -0
  95. data/lib/pry/exceptions.rb +77 -0
  96. data/lib/pry/helpers.rb +5 -0
  97. data/lib/pry/helpers/base_helpers.rb +113 -0
  98. data/lib/pry/helpers/command_helpers.rb +156 -0
  99. data/lib/pry/helpers/documentation_helpers.rb +75 -0
  100. data/lib/pry/helpers/options_helpers.rb +27 -0
  101. data/lib/pry/helpers/table.rb +109 -0
  102. data/lib/pry/helpers/text.rb +107 -0
  103. data/lib/pry/history.rb +125 -0
  104. data/lib/pry/history_array.rb +121 -0
  105. data/lib/pry/hooks.rb +230 -0
  106. data/lib/pry/indent.rb +406 -0
  107. data/lib/pry/input_completer.rb +242 -0
  108. data/lib/pry/input_lock.rb +132 -0
  109. data/lib/pry/inspector.rb +27 -0
  110. data/lib/pry/last_exception.rb +61 -0
  111. data/lib/pry/method.rb +546 -0
  112. data/lib/pry/method/disowned.rb +53 -0
  113. data/lib/pry/method/patcher.rb +125 -0
  114. data/lib/pry/method/weird_method_locator.rb +186 -0
  115. data/lib/pry/module_candidate.rb +136 -0
  116. data/lib/pry/object_path.rb +82 -0
  117. data/lib/pry/output.rb +50 -0
  118. data/lib/pry/pager.rb +234 -0
  119. data/lib/pry/plugins.rb +103 -0
  120. data/lib/pry/prompt.rb +26 -0
  121. data/lib/pry/pry_class.rb +375 -0
  122. data/lib/pry/pry_instance.rb +654 -0
  123. data/lib/pry/rbx_path.rb +22 -0
  124. data/lib/pry/repl.rb +202 -0
  125. data/lib/pry/repl_file_loader.rb +74 -0
  126. data/lib/pry/rubygem.rb +82 -0
  127. data/lib/pry/terminal.rb +79 -0
  128. data/lib/pry/test/helper.rb +170 -0
  129. data/lib/pry/version.rb +3 -0
  130. data/lib/pry/wrapped_module.rb +373 -0
  131. metadata +248 -0
metadata ADDED
@@ -0,0 +1,248 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pry
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.10.0.pre4
5
+ platform: x64-mingw32
6
+ authors:
7
+ - John Mair (banisterfiend)
8
+ - Conrad Irwin
9
+ - Ryan Fitzgerald
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2014-05-15 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: coderay
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: 1.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: 1.1.0
29
+ - !ruby/object:Gem::Dependency
30
+ name: slop
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '3.4'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '3.4'
43
+ - !ruby/object:Gem::Dependency
44
+ name: method_source
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: 0.8.1
50
+ type: :runtime
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: 0.8.1
57
+ - !ruby/object:Gem::Dependency
58
+ name: bundler
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '1.0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '1.0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: win32console
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '1.3'
78
+ type: :runtime
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '1.3'
85
+ description: An IRB alternative and runtime developer console
86
+ email:
87
+ - jrmair@gmail.com
88
+ - conrad.irwin@gmail.com
89
+ - rwfitzge@gmail.com
90
+ executables:
91
+ - pry
92
+ extensions: []
93
+ extra_rdoc_files: []
94
+ files:
95
+ - CHANGELOG.md
96
+ - LICENSE
97
+ - README.md
98
+ - bin/pry
99
+ - lib/pry.rb
100
+ - lib/pry/cli.rb
101
+ - lib/pry/code.rb
102
+ - lib/pry/code/code_file.rb
103
+ - lib/pry/code/code_range.rb
104
+ - lib/pry/code/loc.rb
105
+ - lib/pry/code_object.rb
106
+ - lib/pry/color_printer.rb
107
+ - lib/pry/command.rb
108
+ - lib/pry/command_set.rb
109
+ - lib/pry/commands.rb
110
+ - lib/pry/commands/amend_line.rb
111
+ - lib/pry/commands/bang.rb
112
+ - lib/pry/commands/bang_pry.rb
113
+ - lib/pry/commands/cat.rb
114
+ - lib/pry/commands/cat/abstract_formatter.rb
115
+ - lib/pry/commands/cat/exception_formatter.rb
116
+ - lib/pry/commands/cat/file_formatter.rb
117
+ - lib/pry/commands/cat/input_expression_formatter.rb
118
+ - lib/pry/commands/cd.rb
119
+ - lib/pry/commands/change_inspector.rb
120
+ - lib/pry/commands/change_prompt.rb
121
+ - lib/pry/commands/code_collector.rb
122
+ - lib/pry/commands/disable_pry.rb
123
+ - lib/pry/commands/disabled_commands.rb
124
+ - lib/pry/commands/easter_eggs.rb
125
+ - lib/pry/commands/edit.rb
126
+ - lib/pry/commands/edit/exception_patcher.rb
127
+ - lib/pry/commands/edit/file_and_line_locator.rb
128
+ - lib/pry/commands/exit.rb
129
+ - lib/pry/commands/exit_all.rb
130
+ - lib/pry/commands/exit_program.rb
131
+ - lib/pry/commands/find_method.rb
132
+ - lib/pry/commands/fix_indent.rb
133
+ - lib/pry/commands/gem_cd.rb
134
+ - lib/pry/commands/gem_install.rb
135
+ - lib/pry/commands/gem_list.rb
136
+ - lib/pry/commands/gem_open.rb
137
+ - lib/pry/commands/gist.rb
138
+ - lib/pry/commands/help.rb
139
+ - lib/pry/commands/hist.rb
140
+ - lib/pry/commands/import_set.rb
141
+ - lib/pry/commands/install_command.rb
142
+ - lib/pry/commands/jump_to.rb
143
+ - lib/pry/commands/list_inspectors.rb
144
+ - lib/pry/commands/list_prompts.rb
145
+ - lib/pry/commands/ls.rb
146
+ - lib/pry/commands/ls/constants.rb
147
+ - lib/pry/commands/ls/formatter.rb
148
+ - lib/pry/commands/ls/globals.rb
149
+ - lib/pry/commands/ls/grep.rb
150
+ - lib/pry/commands/ls/instance_vars.rb
151
+ - lib/pry/commands/ls/interrogatable.rb
152
+ - lib/pry/commands/ls/jruby_hacks.rb
153
+ - lib/pry/commands/ls/local_names.rb
154
+ - lib/pry/commands/ls/local_vars.rb
155
+ - lib/pry/commands/ls/ls_entity.rb
156
+ - lib/pry/commands/ls/methods.rb
157
+ - lib/pry/commands/ls/methods_helper.rb
158
+ - lib/pry/commands/ls/self_methods.rb
159
+ - lib/pry/commands/nesting.rb
160
+ - lib/pry/commands/play.rb
161
+ - lib/pry/commands/pry_backtrace.rb
162
+ - lib/pry/commands/pry_version.rb
163
+ - lib/pry/commands/raise_up.rb
164
+ - lib/pry/commands/reload_code.rb
165
+ - lib/pry/commands/reset.rb
166
+ - lib/pry/commands/ri.rb
167
+ - lib/pry/commands/save_file.rb
168
+ - lib/pry/commands/shell_command.rb
169
+ - lib/pry/commands/shell_mode.rb
170
+ - lib/pry/commands/show_doc.rb
171
+ - lib/pry/commands/show_info.rb
172
+ - lib/pry/commands/show_input.rb
173
+ - lib/pry/commands/show_source.rb
174
+ - lib/pry/commands/simple_prompt.rb
175
+ - lib/pry/commands/stat.rb
176
+ - lib/pry/commands/switch_to.rb
177
+ - lib/pry/commands/toggle_color.rb
178
+ - lib/pry/commands/watch_expression.rb
179
+ - lib/pry/commands/watch_expression/expression.rb
180
+ - lib/pry/commands/whereami.rb
181
+ - lib/pry/commands/wtf.rb
182
+ - lib/pry/config.rb
183
+ - lib/pry/config/behavior.rb
184
+ - lib/pry/config/convenience.rb
185
+ - lib/pry/config/default.rb
186
+ - lib/pry/core_extensions.rb
187
+ - lib/pry/editor.rb
188
+ - lib/pry/exceptions.rb
189
+ - lib/pry/helpers.rb
190
+ - lib/pry/helpers/base_helpers.rb
191
+ - lib/pry/helpers/command_helpers.rb
192
+ - lib/pry/helpers/documentation_helpers.rb
193
+ - lib/pry/helpers/options_helpers.rb
194
+ - lib/pry/helpers/table.rb
195
+ - lib/pry/helpers/text.rb
196
+ - lib/pry/history.rb
197
+ - lib/pry/history_array.rb
198
+ - lib/pry/hooks.rb
199
+ - lib/pry/indent.rb
200
+ - lib/pry/input_completer.rb
201
+ - lib/pry/input_lock.rb
202
+ - lib/pry/inspector.rb
203
+ - lib/pry/last_exception.rb
204
+ - lib/pry/method.rb
205
+ - lib/pry/method/disowned.rb
206
+ - lib/pry/method/patcher.rb
207
+ - lib/pry/method/weird_method_locator.rb
208
+ - lib/pry/module_candidate.rb
209
+ - lib/pry/object_path.rb
210
+ - lib/pry/output.rb
211
+ - lib/pry/pager.rb
212
+ - lib/pry/plugins.rb
213
+ - lib/pry/prompt.rb
214
+ - lib/pry/pry_class.rb
215
+ - lib/pry/pry_instance.rb
216
+ - lib/pry/rbx_path.rb
217
+ - lib/pry/repl.rb
218
+ - lib/pry/repl_file_loader.rb
219
+ - lib/pry/rubygem.rb
220
+ - lib/pry/terminal.rb
221
+ - lib/pry/test/helper.rb
222
+ - lib/pry/version.rb
223
+ - lib/pry/wrapped_module.rb
224
+ homepage: http://pryrepl.org
225
+ licenses:
226
+ - MIT
227
+ metadata: {}
228
+ post_install_message:
229
+ rdoc_options: []
230
+ require_paths:
231
+ - lib
232
+ required_ruby_version: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ required_rubygems_version: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - ">"
240
+ - !ruby/object:Gem::Version
241
+ version: 1.3.1
242
+ requirements: []
243
+ rubyforge_project:
244
+ rubygems_version: 2.2.2
245
+ signing_key:
246
+ specification_version: 4
247
+ summary: An IRB alternative and runtime developer console
248
+ test_files: []