pry 0.9.12.6-i386-mswin32 → 0.10.0-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +702 -0
  3. data/LICENSE +2 -2
  4. data/{README.markdown → README.md} +37 -31
  5. data/lib/pry.rb +38 -151
  6. data/lib/pry/cli.rb +35 -17
  7. data/lib/pry/code.rb +19 -63
  8. data/lib/pry/code/code_file.rb +103 -0
  9. data/lib/pry/code/code_range.rb +2 -1
  10. data/lib/pry/code/loc.rb +2 -2
  11. data/lib/pry/code_object.rb +40 -21
  12. data/lib/pry/color_printer.rb +55 -0
  13. data/lib/pry/command.rb +12 -9
  14. data/lib/pry/command_set.rb +81 -38
  15. data/lib/pry/commands.rb +1 -1
  16. data/lib/pry/commands/amend_line.rb +2 -2
  17. data/lib/pry/commands/bang.rb +1 -1
  18. data/lib/pry/commands/cat.rb +11 -2
  19. data/lib/pry/commands/cat/exception_formatter.rb +6 -7
  20. data/lib/pry/commands/cat/file_formatter.rb +15 -32
  21. data/lib/pry/commands/cat/input_expression_formatter.rb +1 -1
  22. data/lib/pry/commands/cd.rb +14 -3
  23. data/lib/pry/commands/change_inspector.rb +27 -0
  24. data/lib/pry/commands/change_prompt.rb +26 -0
  25. data/lib/pry/commands/code_collector.rb +4 -4
  26. data/lib/pry/commands/easter_eggs.rb +3 -3
  27. data/lib/pry/commands/edit.rb +10 -22
  28. data/lib/pry/commands/edit/exception_patcher.rb +2 -2
  29. data/lib/pry/commands/edit/file_and_line_locator.rb +0 -2
  30. data/lib/pry/commands/exit_program.rb +0 -1
  31. data/lib/pry/commands/find_method.rb +16 -22
  32. data/lib/pry/commands/gem_install.rb +5 -2
  33. data/lib/pry/commands/gem_open.rb +1 -1
  34. data/lib/pry/commands/gist.rb +10 -11
  35. data/lib/pry/commands/help.rb +14 -14
  36. data/lib/pry/commands/hist.rb +27 -8
  37. data/lib/pry/commands/install_command.rb +14 -12
  38. data/lib/pry/commands/list_inspectors.rb +35 -0
  39. data/lib/pry/commands/list_prompts.rb +35 -0
  40. data/lib/pry/commands/ls.rb +72 -296
  41. data/lib/pry/commands/ls/constants.rb +47 -0
  42. data/lib/pry/commands/ls/formatter.rb +49 -0
  43. data/lib/pry/commands/ls/globals.rb +48 -0
  44. data/lib/pry/commands/ls/grep.rb +21 -0
  45. data/lib/pry/commands/ls/instance_vars.rb +39 -0
  46. data/lib/pry/commands/ls/interrogatable.rb +18 -0
  47. data/lib/pry/commands/ls/jruby_hacks.rb +49 -0
  48. data/lib/pry/commands/ls/local_names.rb +35 -0
  49. data/lib/pry/commands/ls/local_vars.rb +39 -0
  50. data/lib/pry/commands/ls/ls_entity.rb +70 -0
  51. data/lib/pry/commands/ls/methods.rb +57 -0
  52. data/lib/pry/commands/ls/methods_helper.rb +46 -0
  53. data/lib/pry/commands/ls/self_methods.rb +32 -0
  54. data/lib/pry/commands/play.rb +44 -10
  55. data/lib/pry/commands/pry_backtrace.rb +1 -2
  56. data/lib/pry/commands/raise_up.rb +2 -2
  57. data/lib/pry/commands/reload_code.rb +16 -19
  58. data/lib/pry/commands/ri.rb +7 -3
  59. data/lib/pry/commands/shell_command.rb +18 -13
  60. data/lib/pry/commands/shell_mode.rb +2 -4
  61. data/lib/pry/commands/show_doc.rb +5 -0
  62. data/lib/pry/commands/show_info.rb +8 -13
  63. data/lib/pry/commands/show_source.rb +15 -3
  64. data/lib/pry/commands/simple_prompt.rb +1 -1
  65. data/lib/pry/commands/toggle_color.rb +8 -4
  66. data/lib/pry/commands/watch_expression.rb +105 -0
  67. data/lib/pry/commands/watch_expression/expression.rb +38 -0
  68. data/lib/pry/commands/whereami.rb +18 -10
  69. data/lib/pry/commands/wtf.rb +3 -3
  70. data/lib/pry/config.rb +20 -254
  71. data/lib/pry/config/behavior.rb +139 -0
  72. data/lib/pry/config/convenience.rb +26 -0
  73. data/lib/pry/config/default.rb +165 -0
  74. data/lib/pry/core_extensions.rb +31 -21
  75. data/lib/pry/editor.rb +107 -103
  76. data/lib/pry/exceptions.rb +77 -0
  77. data/lib/pry/helpers/base_helpers.rb +22 -109
  78. data/lib/pry/helpers/command_helpers.rb +10 -8
  79. data/lib/pry/helpers/documentation_helpers.rb +1 -2
  80. data/lib/pry/helpers/text.rb +4 -5
  81. data/lib/pry/history.rb +46 -45
  82. data/lib/pry/history_array.rb +6 -1
  83. data/lib/pry/hooks.rb +9 -29
  84. data/lib/pry/indent.rb +6 -6
  85. data/lib/pry/input_completer.rb +242 -0
  86. data/lib/pry/input_lock.rb +132 -0
  87. data/lib/pry/inspector.rb +27 -0
  88. data/lib/pry/last_exception.rb +61 -0
  89. data/lib/pry/method.rb +82 -87
  90. data/lib/pry/{commands/edit/method_patcher.rb → method/patcher.rb} +41 -38
  91. data/lib/pry/module_candidate.rb +4 -14
  92. data/lib/pry/object_path.rb +82 -0
  93. data/lib/pry/output.rb +50 -0
  94. data/lib/pry/pager.rb +193 -48
  95. data/lib/pry/plugins.rb +1 -1
  96. data/lib/pry/prompt.rb +26 -0
  97. data/lib/pry/pry_class.rb +149 -230
  98. data/lib/pry/pry_instance.rb +302 -413
  99. data/lib/pry/rbx_path.rb +1 -1
  100. data/lib/pry/repl.rb +202 -0
  101. data/lib/pry/repl_file_loader.rb +20 -26
  102. data/lib/pry/rubygem.rb +13 -5
  103. data/lib/pry/terminal.rb +2 -1
  104. data/lib/pry/test/helper.rb +26 -41
  105. data/lib/pry/version.rb +1 -1
  106. data/lib/pry/wrapped_module.rb +45 -59
  107. metadata +62 -225
  108. data/.document +0 -2
  109. data/.gitignore +0 -16
  110. data/.travis.yml +0 -25
  111. data/.yardopts +0 -1
  112. data/CHANGELOG +0 -534
  113. data/CONTRIBUTORS +0 -55
  114. data/Gemfile +0 -12
  115. data/Rakefile +0 -140
  116. data/TODO +0 -117
  117. data/lib/pry/completion.rb +0 -321
  118. data/lib/pry/custom_completions.rb +0 -6
  119. data/lib/pry/rbx_method.rb +0 -13
  120. data/man/pry.1 +0 -195
  121. data/man/pry.1.html +0 -204
  122. data/man/pry.1.ronn +0 -141
  123. data/pry.gemspec +0 -29
  124. data/spec/Procfile +0 -3
  125. data/spec/cli_spec.rb +0 -78
  126. data/spec/code_object_spec.rb +0 -277
  127. data/spec/code_spec.rb +0 -219
  128. data/spec/command_helpers_spec.rb +0 -29
  129. data/spec/command_integration_spec.rb +0 -644
  130. data/spec/command_set_spec.rb +0 -627
  131. data/spec/command_spec.rb +0 -821
  132. data/spec/commands/amend_line_spec.rb +0 -247
  133. data/spec/commands/bang_spec.rb +0 -19
  134. data/spec/commands/cat_spec.rb +0 -164
  135. data/spec/commands/cd_spec.rb +0 -250
  136. data/spec/commands/disable_pry_spec.rb +0 -25
  137. data/spec/commands/edit_spec.rb +0 -727
  138. data/spec/commands/exit_all_spec.rb +0 -34
  139. data/spec/commands/exit_program_spec.rb +0 -19
  140. data/spec/commands/exit_spec.rb +0 -34
  141. data/spec/commands/find_method_spec.rb +0 -70
  142. data/spec/commands/gem_list_spec.rb +0 -26
  143. data/spec/commands/gist_spec.rb +0 -79
  144. data/spec/commands/help_spec.rb +0 -56
  145. data/spec/commands/hist_spec.rb +0 -181
  146. data/spec/commands/jump_to_spec.rb +0 -15
  147. data/spec/commands/ls_spec.rb +0 -181
  148. data/spec/commands/play_spec.rb +0 -140
  149. data/spec/commands/raise_up_spec.rb +0 -56
  150. data/spec/commands/save_file_spec.rb +0 -177
  151. data/spec/commands/show_doc_spec.rb +0 -510
  152. data/spec/commands/show_input_spec.rb +0 -17
  153. data/spec/commands/show_source_spec.rb +0 -782
  154. data/spec/commands/whereami_spec.rb +0 -203
  155. data/spec/completion_spec.rb +0 -241
  156. data/spec/control_d_handler_spec.rb +0 -58
  157. data/spec/documentation_helper_spec.rb +0 -73
  158. data/spec/editor_spec.rb +0 -79
  159. data/spec/exception_whitelist_spec.rb +0 -21
  160. data/spec/fixtures/candidate_helper1.rb +0 -11
  161. data/spec/fixtures/candidate_helper2.rb +0 -8
  162. data/spec/fixtures/example.erb +0 -5
  163. data/spec/fixtures/example_nesting.rb +0 -33
  164. data/spec/fixtures/show_source_doc_examples.rb +0 -15
  165. data/spec/fixtures/testrc +0 -2
  166. data/spec/fixtures/testrcbad +0 -2
  167. data/spec/fixtures/whereami_helper.rb +0 -6
  168. data/spec/helper.rb +0 -34
  169. data/spec/helpers/bacon.rb +0 -86
  170. data/spec/helpers/mock_pry.rb +0 -43
  171. data/spec/helpers/table_spec.rb +0 -105
  172. data/spec/history_array_spec.rb +0 -67
  173. data/spec/hooks_spec.rb +0 -522
  174. data/spec/indent_spec.rb +0 -301
  175. data/spec/input_stack_spec.rb +0 -90
  176. data/spec/method_spec.rb +0 -482
  177. data/spec/prompt_spec.rb +0 -60
  178. data/spec/pry_defaults_spec.rb +0 -419
  179. data/spec/pry_history_spec.rb +0 -99
  180. data/spec/pry_output_spec.rb +0 -95
  181. data/spec/pry_spec.rb +0 -515
  182. data/spec/run_command_spec.rb +0 -25
  183. data/spec/sticky_locals_spec.rb +0 -157
  184. data/spec/syntax_checking_spec.rb +0 -81
  185. data/spec/wrapped_module_spec.rb +0 -261
  186. data/wiki/Customizing-pry.md +0 -397
  187. data/wiki/Home.md +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d431e6086909e5fe990b7252156240a1044aacad
4
- data.tar.gz: c6ae595aca0384c4cd6a55d628f7d96acf35a432
3
+ metadata.gz: 2b0f9465cda569fffa8a5a62e70e8d231d592279
4
+ data.tar.gz: b35030de76cf1c5ea335c765eda2fa82c266a4bd
5
5
  SHA512:
6
- metadata.gz: 51f7743c7e3f99e3cf33e1cbb34cd3213768aea9f8c9572f1b408ef7cbb16379e6f6d5bc34f519159e7e7f0b76562f0ada7791cff787fa4a8e5eaa6a7df85986
7
- data.tar.gz: 2640ecfc1bc2b01a383b80a927b9e7ba47d4294d5f2d5ab1974069001fcbbcf13865f051184c03d2496661683474630020af2e84477ea01476e93d670f2029ec
6
+ metadata.gz: e4bf5be41fa0cc7893f6d266f55350afc6bb05036f46cf7bde887618cf0a55dad57c17049c10a3bc4fd4542877988ad9f16c6eba0c7241656a70baf910ec1fd5
7
+ data.tar.gz: 940a6953bd599289c8f1a706bdc132652d630f8a6e54a45a70feef1657f6e96f1c8d182af6c961daa0ef0f5eab12da69318a072e61ffeb37c9f41c7bf568b26b
@@ -0,0 +1,702 @@
1
+ ### 0.10.0.pre2 (2014/??/??)
2
+
3
+ #### Features
4
+ * Added a `watch` command that lets you see how values change over time.
5
+ * Added an experimental `Pry.auto_resize!` method
6
+ * Makes Pry notice that your window has resized and tell Readline about it
7
+ * Fixes various bugs with command history after a window resize
8
+ * Off by default, but can be called from your `.pryrc` if you're brave
9
+ * `play` now has an `-e`/`--expression` flag
10
+ * Evaluates until the end of the first valid expression
11
+ * History gets appended to `~/.pry_history` after every input, not just at quit
12
+ * Return values render with more accurate syntax highlighting
13
+ * Return values start rendering immediately and stream into the pager
14
+ * User can override `.pryrc` location by setting `$PRYRC` env var (#893)
15
+ * User can whitelist objects whose inspect output should appear in prompt (#885)
16
+ * See `Pry.config.prompt_safe_objects`
17
+ * `whereami` is now aliased to `@`
18
+ * Added arguments to `whereami`:
19
+ * `-m` shows the surroungind method
20
+ * `-c` shows the surrounding class
21
+ * `-f` shows the entire file
22
+ * Lazy load configuration values (Pry.config). (#1096)
23
+ * Defer requiring `readline` until Pry is started for the first time. (#1117)
24
+ * Add option to disable input completer through `_pry_.config.completer = nil`
25
+ * Add `list-prompts` command. (#1175)
26
+ * Lists the available prompts available for use.
27
+ * Add `change-prompt` command. (#1175)
28
+ * Switches the current prompt, by name.
29
+ * Add `list-inspectors` command. (#1176)
30
+ * Lists the inspectors available to print Ruby return values.
31
+ * Add `change-inspector` command. (#1176)
32
+ * Switches the current inspector, by name.
33
+ * Add `show-source -e`. (#1185)
34
+ * Evaluate the given Ruby expression and show the source of its return value.
35
+ * Add `Pry.config.windows_console_warning`(#1218)
36
+ * Windows JRuby users who don't want warnings about ansicon can set
37
+ `Pry.config.windows_console_warning = false`.
38
+ * Add arguments to `play` command.
39
+ * `-p` prints the code before playing it.
40
+ * `-e` allows you to play expressions from your session.
41
+ * Add `cd -` to switch to the previous binding.
42
+ * Allow prying into frozen objects.
43
+
44
+ #### Dependency changes
45
+
46
+ * Remove dependency on `ffi` gem on JRuby ([#1158](https://github.com/pry/pry/issues/1158))
47
+ * Remove optional dependency on Bond ([#1166](https://github.com/pry/pry/issues/1166))
48
+ * Bond support has been extracted to the `pry-bond` plugin
49
+ * Remove dependency on `openstruct` ([#1096](https://github.com/pry/pry/issues/1096))
50
+ * Drop support for Ruby 1.8.7 (0.9.12.x will continue to be available)
51
+ * Add support for Ruby 2.1
52
+ * Require Coderay `~> 1.1.0`
53
+ * Remove deprecated hooks API ([#1209](https://github.com/pry/pry/pull/1209))
54
+ * Add 64-bit windows support.
55
+
56
+ #### Bug fixes, etc.
57
+ * The `gem-install` command can require gems like `net-ssh` thanks to better
58
+ logic for guessing what path to require. (#1188)
59
+ * `toggle-color` command toggles the local `_pry_.color` setting instead of the
60
+ global `Pry.color`.
61
+ * Update `Pry::CLIPPED_PRINT` to include a hex representation of object ID when
62
+ printing a return value. (#1162)
63
+ * Wrap exceptions in a proxy instead of adding singleton methods. (#1145)
64
+ * `Pry#last_exception=` now supports exception objects that have been frozen.
65
+ * `binding.pry` inside `.pryrc` file now works, with some limitations (@richo / #1118)
66
+ * Add support for BasicObjects to `ls` (#984)
67
+ * Allow `ls -c <anything>` (#891)
68
+ * Fix indentation not working if the `mathn` stdlib was loaded (#872)
69
+ * Fix `hist`'s `--exclude-pry` switch (#874)
70
+ * Fix `gem-install` on JRuby (#870)
71
+ * Fix source lookup for instrumented classes (#923)
72
+ * Improved thread safety when multiple instances are running (#944)
73
+ * Make `edit` ignore `-n`/`--no-reload` flag and `disable_auto_reload` config
74
+ in cases where the user was editing a tempfile
75
+ * Make `gem-cd` use the most recent gem, not the oldest
76
+ * Make `install-command` honor `.gemrc` switches (#666)
77
+ * Make `hist` with no parameters show just the current session's history (#205)
78
+ * `hist --all` shows older history
79
+ * Make `-s`/`--super` flag of `show-source`/`show-doc` work when method name is
80
+ being inferred from context (#877)
81
+ * Rename `--installed-plugins` flag to `--plugins`
82
+ * Strip ANSI codes from prompt before measuring length for indentation (#493)
83
+ * Fix bug in `edit` regarding recognition of file names without suffix.
84
+ * Reduced download size by removing tests etc. from distributed gem.
85
+
86
+ #### Dev-facing changes
87
+ * `CommandSet#commands`, sometimes referenced through `Pry.commands.commands`,
88
+ renamed to `CommandSet#to_hash`. It returns a duplicate of the internal hash
89
+ a CommandSet uses.
90
+ * `CommandSet#keys` is now an alias of `CommandSet#list_commands`.
91
+ * All commands should now reference configuration values via `_pry_.config`
92
+ (local) and not `Pry.config` (global). (#1096)
93
+ * This change improves support for concurrent environments and
94
+ context-specific Pry sessions. `_pry_.config` inherits default values from
95
+ `Pry.config` but can override them locally.
96
+ * `rake pry` now accepts switches prefixed with `_` (e.g., `rake pry _v`)
97
+ * Pagers now act like `IO`s and accept streaming output
98
+ * See `_pry_.pager.page` and `_pry_.pager.open`.
99
+ * The `Pry` class has been broken up into two smaller classes.
100
+ * `Pry` represents non-UI-specific session state, including the eval string
101
+ * `Pry::REPL` controls the user-facing interface
102
+ * This should make it easier to drive Pry from alternative interfaces
103
+ * `Pry.start` now has a `:driver` option that defaults to `Pry::REPL`
104
+ * This involved a lot of refactoring and may break plugins that depend on
105
+ the old layout
106
+ * Add `ColorPrinter` subclass of `PP` for colorized object inspection
107
+ * Add `[]` and `[]=` methods to `CommandSet`, which find and replace commands
108
+ * Example: `Pry.commands["help"] = MyHelpCommand`
109
+ * The completion API has been refactored (see fdb703a8de4ef3)
110
+ * `Pry.config.input_stack` (and the input stack concept in general) no longer
111
+ exists
112
+ * There's a new `Pry::Terminal` class that implements a number of different
113
+ methods of determining the terminal's dimensions
114
+ * Add `ReplTester` class for high-level simulation of Pry sessions in tests
115
+ * Add `Pry.main`. Returns the special instance of Object referenced by self of
116
+ `TOPLEVEL_BINDING`: "main".
117
+ * Changed second argument of `Pry.view_clip()` from Fixnum to Hash to support
118
+ returning a string with or without a hex representation of object ID. (#1162)
119
+ * The `output` and `pager` objects will now strip color-codes, so commands should
120
+ always print in color.
121
+ * Commands now have a `state` hash that is persistent across invocations of the command
122
+ in the same pry session.
123
+
124
+ ### 0.9.12.6 (2014/01/28)
125
+ * Don't fail if Bond is not installed (#1106)
126
+
127
+ ### 0.9.12.5 (2014/01/27)
128
+ * Fix early readline errors by deferring require of readline (#1081, #1095)
129
+
130
+ ### 0.9.12.4 (2013/11/23)
131
+ * Fix issue with Coderay colors being black, even when on a black background (#1016)
132
+
133
+ ### 0.9.12.3 (2013/09/11)
134
+ * Bump Coderay dependency (#987)
135
+ * Fix consecutive newlines in heredocs being collapsed (#962)
136
+ * Fix pager not working in JRuby > 1.7.5 (#992)
137
+
138
+ ### 0.9.12.2 (2013/05/10)
139
+ * Make `reload-code` with no args reload "current" file (#920)
140
+
141
+ ### 0.9.12.1 (2013/04/21)
142
+ * Add workaround for JRuby crashing bug (#890)
143
+ * Related to http://jira.codehaus.org/browse/JRUBY-7114
144
+
145
+ ### 0.9.12 (2013/02/12)
146
+ #### Features
147
+ * `pry --gem` (see 19bfc13aa)
148
+ * `show-source` now works on commands created with `create_command`
149
+ * `whereami` now has `-m` (method), `-c` (class), and `-f` (file) options
150
+ * `show-source` now falls back to superclass (and displays warning) if it
151
+ can't find class code
152
+ * `show-source`/`show-doc` now indicate when `-a` option is available
153
+
154
+ #### Bug fixes, etc.
155
+ * Fix commands breaking due to Slop looking at `ARGV` instead of command
156
+ parameters (#828)
157
+ * Fix pager breaking in some situations (#845)
158
+ * Fix broken rendering of some docs (#795)
159
+ * Silence warnings during failed tab-completion attempts
160
+ * Fix broken prompt when prompt is colored (#822 / #823)
161
+ * Added `reload-method` as alias for `reload-code` (for backwards
162
+ compatibility)
163
+ * Reopen `Readline.output` if it is not a tty (see 1538bc0990)
164
+
165
+ ### 0.9.11.4 (2013/01/20)
166
+ * Fix pager not rendering color codes in some circumstances
167
+ * Add `Pry.last_internal_error`, useful for devs debugging commands
168
+
169
+ ### 0.9.11.3 (2013/01/17)
170
+ * Fix `Pry.run_command`
171
+ * Improve `ls` output
172
+ * Add `:requires_gem => "jist"` to `gist` command (so dependencies can be
173
+ installed via `install-command`)
174
+ * Improve help for `edit` command
175
+
176
+ ### 0.9.11.2 (2013/01/16)
177
+ * Fix minor bug in `gist` on Windows: rescue `Jist::ClipboardError` rather
178
+ than letting the scary error spill out to users and potentially having them
179
+ think the gist didn't post.
180
+
181
+ ### 0.9.11.1 (2013/01/16)
182
+ * Fix minor bug in `gist` command where I neglected to remove
183
+ a call to a non-existent method (`no_arg`) which was called when
184
+ `gist` is invoked with no parameters
185
+
186
+ ### 0.9.11 (2013/01/16)
187
+ #### Dependency changes
188
+ * Upgrade `slop` to `~> 3.4`
189
+ * New optional dependency: `bond`
190
+ * You'll need to perform `gem install bond`
191
+ * It improves autocompletion if you use Readline
192
+ * Does not work for libedit
193
+ (More info: https://github.com/pry/pry/wiki/FAQ#wiki-readline)
194
+ * Big thanks to cldwalker
195
+
196
+ #### Features
197
+ * Basic Ruby 2.0 support (#738)
198
+ * JRuby 1.7.0+ support (#732)
199
+ * New `reload-code` command
200
+ * Reload code for methods, classes, commands, objects and so on
201
+ * Examples: `reload-code MyClass`, `reload-code my_method`,
202
+ `reload-code my_obj`
203
+ * Bond tab completion (see "Dependency changes")
204
+ * Consolidate "show" commands into `show-source`
205
+ * `show-source` can now extract source for:
206
+ * Classes
207
+ * Methods
208
+ * Procs
209
+ * Pry commands
210
+ * Arbitrary objects (it shows the source for the class of the object)
211
+ * As a result, `show-command` is now removed
212
+ * `gist`, `play`, and `save-file` now infer object type without requiring flags
213
+ * Examples: `play MyClass`, `play my_file.rb`, `play my_method`
214
+ * Consolidate editing commands into `edit`
215
+ * `edit` can now edit:
216
+ * Files
217
+ * Methods
218
+ * Classes
219
+ * Pry commands
220
+ * As a result, `edit-method` is now removed
221
+ * Examples: `edit MyClass`, `edit my_file.rb`, `edit my_method`
222
+ * `amend-line` and `play` now properly indent code added to input buffer
223
+ * Support for multiple require switches (`pry -rubygems -r./a.rb`) (#674)
224
+ * Support for multiple exec switches (`pry -e ':one' -e ':two'`)
225
+ * Ability to customize the name displayed in the prompt (#695)
226
+ * `--patch` switch for `edit --ex` command (#716)
227
+ * Respect the `$PAGER` environment variable (#736)
228
+ * `disable-pry` command (#497)
229
+ * Two new hooks, `before_eval` and `after_eval`
230
+ * Tab completion for `Array#<tab>` in `show-source` and `show-doc`
231
+ * `gem-install` immediately requires gems
232
+ * `-l` switch for `ls` command (displays local variables)
233
+ * `gem-open` command
234
+ * `fix-indent` command
235
+ * Subcommands API
236
+ * Public test API for plugin writers (see d1489a)
237
+ * Tabular `ls` output
238
+ * `--no-line-numbers` switch for `whereami` command
239
+ * `--lines` switch for `play` command
240
+
241
+ #### Bug fixes, etc.
242
+ * Use single escape instead of double in `find-method` (#652)
243
+ * Fix blank string delimiters (#657)
244
+ * Fix unwanted `binding_impl_method` local in scratch bindings (#622)
245
+ * Fix `edit-method -p` changing constant lookup (#645)
246
+ * Fix `.pryrc` loading twice when invoked from `$HOME` directory (#682)
247
+ * Fix Pry not remembering initial `pwd` (#675)
248
+ * Fix multiline object coloring (#717)
249
+ * Fix `show-method` not supporting `String::new` notation (#719)
250
+ * Fix `whereami` command not showing correct line numbers (#754)
251
+ * Fix buggy Cucumber AST output (#751)
252
+ * Fix `while/until do` loops indentation (#787)
253
+ * Fix `--no-plugins` switch (#526)
254
+ * Ensure all errors go to the error handler (#774)
255
+ * Fix `.pryrc` loading with wrong `__FILE__`
256
+ * Fix pager not working if `less` is not available
257
+ * Fix `^D` in nested REPL
258
+ * Many small improvements to error message clarity and documentation formatting
259
+
260
+ ### 0.9.10 (2012/07/04)
261
+ #### Dependency changes
262
+ * Upgrade `slop` to version 3 (#561)
263
+ * Switch from `gist` gem to `jist` (#590)
264
+ * Upgrade `method_source` to 0.8
265
+
266
+ #### Features
267
+ * Add `--hist`, `-o` and `-k` flags to `gist` command (#572)
268
+ * Support `show-source`/`show-doc` on methods defined in `class_eval` (#584)
269
+ * Support `show-source`/`show-doc` on gem methods defined in C (#585)
270
+ * Add `--disable-plugin` and `--select-plugin` options (#596)
271
+ * Allow `cd -` to switch between bindings (#597)
272
+ * Add `Pry.config.should_load_local_rc` to turn off `./.pryrc` (#612)
273
+ * Allow running a file of Pry input with `pry <file>`
274
+ * Support colours in `ri` command
275
+ * Add `before_eval` hook
276
+ * The prompt proc now gets a lot more data when its arity is 1
277
+
278
+ #### Bug fixes, etc.
279
+ * Removed the `req` command (#554)
280
+ * Fix rendering bugs when starting Pry (#567)
281
+ * Fix `Array#pretty_print` on Jruby (#568)
282
+ * Fix `edit` on Windows (#575)
283
+ * Fix `find-method` in the presence of badly behaved objects (#576)
284
+ * Fix `whereami` in ERb files on Rails (#580)
285
+ * Raise fewer exceptions while tab completing (#632)
286
+ * Don't immediately quit Pry when an error happens in Readline (#605)
287
+ * Support for `ansicon` to give JRuby Windows users colour (#606)
288
+ * Massive speed improvements to `show-source` for modules (#613)
289
+ * Improve `whereami` command when not in a `binding.pry` (#620)
290
+ * Support embedded documents (`=begin` ... `=end`) (#622)
291
+ * Support editing files with spaces in the name (#627)
292
+ * Renamed `__binding_impl__` to `__pry__`
293
+ * Support for absolute paths in `$EDITOR`
294
+ * Fix `cat` command on files with unknown extensions
295
+ * Many, many internal refactorings and tidyings
296
+
297
+ ### 0.9.9.6 (2012/05/09)
298
+ * Fix `ZeroDivisionError` in `correct_indentation` (#558)
299
+
300
+ ### 0.9.9.5 (2012/05/09)
301
+ * Fix `ZeroDivisionError` in `correct_indentation` (#558)
302
+ * Fix double highlighting in RDoc (#562)
303
+ * Automatically create configuration for plugins (#548)
304
+
305
+ ### 0.9.9.4 (2012/04/26)
306
+ * Fix `NoMethodError: undefined method `winsize' for #<IO:<STDOUT>>` (#549)
307
+ * Fixes for JRuby
308
+ * Fix syntax error on `exit` (550)
309
+ * Heredoc content no longer auto-indented
310
+
311
+ ### 0.9.9.3 (2012/04/19)
312
+ * Fix `show-doc` failing on some core classes, like `Bignum`
313
+
314
+ ### 0.9.9.2 (2012/04/18)
315
+ * Make `correct_indentation`'s auto-colorization respect `Pry.color`
316
+
317
+ ### 0.9.9.1 (2012/04/18)
318
+ * Clear up confusion in `show-source`/`show-doc` docs
319
+ * `-a` switch applies to classes as well as modules
320
+
321
+ ### 0.9.9 (2012/04/18)
322
+ #### New features
323
+ * Lines of input are syntax highlighted upon Enter keypress
324
+ * `show-source` command can now show class/module source code
325
+ * Use `-a` to see all monkeypatches
326
+ * Hard dependency on `ruby18_source_location` gem in MRI 1.8
327
+ * `show-doc` command can now show class/module docs
328
+ * Use `-a` to see docs for all monkeypatches
329
+ * Hard dependency on `ruby18_source_location` gem in MRI 1.8
330
+ * New `find-method` command
331
+ * Performs a recursive search in a namespace for the existence of methods
332
+ * Can find methods whose names match a regex or methods which contain
333
+ provided code
334
+ * This command is like a ruby-aware `grep`, very cool (thanks swarley)
335
+ * [`pry-coolline`](https://github.com/pry/pry-coolline) now works properly
336
+ * `alias_command` method now much more powerful
337
+ * Example: `alias_command "lM", "ls -M"`
338
+ * `whereami` is now more intelligent
339
+ * Automatically shows entire source code of current method if current
340
+ context is a method (thanks robgleeson)
341
+ * New `raise-up` command
342
+ * Allows you to raise an exception that will bubble out of pry (ending the
343
+ session) and escape into enclosing program
344
+
345
+ #### Bug fixes, etc.
346
+ * Fixed crash when paging under Windows
347
+ * Lines ending with `\` are incomplete (kudos to fowl)
348
+ * `edit-method -n` no longer blocks (thanks misfo)
349
+ * Show instance methods of modules by default in `ls`
350
+ * Docs for REPL-defined methods can now be displayed using `show-doc`
351
+ * Autoload `ruby18_source_location` on MRI 1.8, when available
352
+ * See https://github.com/conradirwin/ruby18_source_location
353
+ * Tab completion should work on first line now (historic bug fixed)
354
+ * `:quiet => true` option added to `Pry.start`, turns off `whereami`
355
+ * Another easter egg added
356
+ * Show unloaded constants in yellow for `ls`
357
+ * Improved documentation for `Pry.config` options
358
+ * Improved auto-indentation
359
+ * JRuby: heuristics used to clean up `ls` output
360
+ * Fewer internal methods polluting output
361
+
362
+ ### 0.9.8.4 (2012/6/3)
363
+ * ~/.pry_history wasnt being created (if it did not exist)! FIXED
364
+ * `hist --save` saved colors! FIXED
365
+ * added Pry#add_sticky_local API for adding sticky locals to individual pry instances
366
+
367
+ ### 0.9.8.3 (2012/3/2)
368
+ * various tweaks to improve rbx support
369
+ * commands now support optional block arguments
370
+ * much improved help command
371
+ * updated method_source dependencya
372
+ * added wtf command
373
+ * jruby should now work in windows (though without color)
374
+
375
+ ### 0.9.8.2 (2012/2/9)
376
+ * fixed bugs related to --super
377
+ * upgraded slop dependency
378
+ * added edit -c (edit current line)
379
+ * edit now respects Pry.config.disable_autoreload option
380
+
381
+ ### 0.9.8.1 (2012/1/30)
382
+ * fixed broken --no-plugins option
383
+ * Ensure ARGV is not mutated during option parsing.
384
+ * Use a more rbx-friendly test for unicodeness
385
+ * Use rbx-{18,19}mode as indicated http://about.travis-ci.org/docs/user/languages/ruby/
386
+ * Don't explode in gem-list [Fixes #453, #454]
387
+ * Check for command-name collision on assignment [Fixes #450]
388
+
389
+ ### 0.9.8 (2012/1/25)
390
+
391
+ MAJOR NEW FEATURES
392
+ - upgraded command api, https://github.com/pry/pry/wiki/Custom-commands
393
+ - added a system of hooks for customizing pry behaviour
394
+ - changed syntax checking to use eval() for improved accuracy
395
+ - added save-file command
396
+ - added gist command (removed gist-method, new gist command is more general)
397
+
398
+ complete CHANGELOG:
399
+ * CommandError's no longer cause the current input to be disgarded
400
+ * Better syntax highlighting for rbx code code
401
+ * added cat --in to show pry input history
402
+ * prefixed temporary file names with 'pry'
403
+ * show-doc now supports -l and -b options (line numbers)
404
+ * play now supports -i and -d options
405
+ * moved UserCommandAPI command-set to pry-developer_tools plugin
406
+ * added :when_started event for hooks, called in Pry.start
407
+ * added a man page
408
+ * added rename method to Pry::CommandSet (commands can be renamed)
409
+ * added CommandSet#{before_command,after_command} for enhancing builtin commands
410
+ * added checking for namespace collisions with pry commands, set Pry.config.collision_warning
411
+ * work around namespace collisions by ensuring lines starting with a space are executed as
412
+ * ruby.work around namespace collisions by prensuring lines starting with a space are executed as ruby
413
+ * added handlers for Ctrl+C (SIGINT) on jruby, these are now caught as in other ruby versions
414
+ * removed dependency on ruby_parser
415
+ * prevented colours leaking across the pry prompt
416
+ * fixed edge cases in Pry::Method, for methods with crazy names and methods that have been 'undef'd
417
+ * refactored history handling code for clarity and correctness
418
+ * added Pry::WrappedModule as a counterpart to Pry::Method
419
+ * made a trailing , cause pry to wait for further input
420
+ * removed gist-method command, added gist command
421
+ * added pry-backtrace command to show history of current session
422
+ * fixed whereami within 'super' methods
423
+ * replaced inline version guards by Pry::Helpers::BaseHelpers.{rbx?,jruby?,windows?} etc.
424
+ * removed the CommandProcessor, its functionality is part of the new Command class
425
+ * changed cd .. at the top level so it doesn't quit pry.
426
+ * changed edit-command to no-longer need a command set argument
427
+ * fixed empty lines so that they don't replace _ by nil
428
+ * fixed SyntaxErrors at the REPL level so they don't replace _ex_.
429
+
430
+ ### 0.9.7.4 (2011/11/5)
431
+ * ls -M now works in modules (bugfix)
432
+ * added exception msg for bad cd object/path
433
+ * no longer die when encounter exceptions in .pryrc
434
+ * baked in CoolLine support
435
+ * Pry.config.input in .pryrc now respected
436
+
437
+ ### 0.9.7.3 (2011/10/28)
438
+ * really fixed indentation for 'super if' and friends
439
+ * Fixed indentation for tmux
440
+ * added Pry.config.correct_indent option (to toggle whether indentation
441
+ * corrected optional param behaviour for method signatures: e.g Signature meth(param1=?, param2=?)
442
+
443
+ ### 0.9.7.2 (2011/10/27)
444
+ * fixed indentation for 'super if' and 'ensure', 'next if', etc
445
+ * refactored Pry#run_command so it can accept an eval_string parameter (so amend-line and so on can work with it)
446
+ * changed ^D so it no longer resets indent level automatically
447
+
448
+ ### 0.9.7.1 (2011/10/26)
449
+ * fixed gem dependecy issues
450
+
451
+ ### 0.9.7 (2011/10/25)
452
+
453
+ MAJOR NEW FEATURES:
454
+ - upgraded ls command to have a more intuitive interface
455
+ - added automatic indentation (thanks YorickPeterse!)
456
+ - added Pry::Method wrapper class to encapsulate method-related functionality
457
+
458
+ complete CHANGELOG:
459
+ * fixed syntax highlighting for object literals
460
+ * fixed ActiveSupport method-naming conflict with "in?"
461
+ * added --super option to edit-method, show-method, and friends - making it easier to operate on superclass methods
462
+ * officially added edit --in to open previous expressions in an editor
463
+ * whereami now works for REPL-defined code
464
+ * started using JRuby parser for input validation in JRuby (thanks pangloss!)
465
+ * fixed bug where ~/.pryrc could be loaded more than once (thanks kelseyjudson!)
466
+ * added parse_options! helper to pull option parsing out of commands
467
+ * Pry now respects the terminal's input encoding
468
+ * moved some requires out of the startup process for improved speed
469
+ * added input_array info to DEFAULT_PROMPT, e.g [1] pry(main)>
470
+ * added --no-history option to pry binary (prevent history being LOADED, history will still be saved)
471
+
472
+ ### 0.9.6.2 (2011/9/27)
473
+ * downgrading to CodeRay 0.9.8 due to problems with 1.0 and rails (autoloading problem) see #280 on pry and #6 on CodeRay
474
+ * also added (as a minor feature) cirwin's implementation of edit --in
475
+ * added early break/exit for objectpath errors (the 'cd 34/@hello/bad_path/23')
476
+
477
+ ### 0.9.6 (2011/9/19)
478
+ * restored previous behavior of command-line switches (allowing "-rfilename")
479
+ * removed -p option (--play) from edit command
480
+ * `edit` with no arguments now edits the current or most recent expression
481
+ * `edit` auto-reloads .rb files (need to specify -n to suppress)
482
+ * added -p option (--patch) to edit-method command, which allows
483
+ monkeypatching methods without touching the original file
484
+ * edit-method can now edit REPL-defined methods
485
+ * cat --ex now works on exceptions in REPL-defined code
486
+ * play -m now uses eval_string.replace()
487
+ * play -m --open uses show-input to show play'd code
488
+ * added "unindent" helper to make adding help to commands easier
489
+ * local ./.pryrc now loaded after ~/.pryrc if it exists
490
+ * cat --ex N and edit --ex N now can navigate through backtrace, where cat --ex (with no args) moves throuh successive levels of the backtrace automatically with state stored on the exceptino object itself
491
+ * new option Pry.config.exception_window_size determines window size for cat --ex
492
+ * input_stack now implemented - pushing objects onto a pry instance's input_stack causes the instance to read from those objects in turn as it encounters EOF on the previous object. On finishing the input_stack the input object for the pry instance is set back to Pry.config.input, if this fails, pry breaks out of the REPL (throw(:breakout)) with an error message
493
+ * Pry.config.system() defines how pry runs system commands
494
+ * now injecting target_self method into command scope
495
+ * play now performs 'show-input' always unless eval_string contains a valid expression (i.e it's about to be eval'd)
496
+ * play and hist --replay now push the current input object onto the input_stack before redirecting input to a StringIO (works much better with pry-remote now)
497
+
498
+ ### 0.9.5 (2011/9/8)
499
+
500
+ MAJOR NEW FEATURES:
501
+ - JRuby support, including show-method/edit-method and editor integration on both 1.8 and 1.9 versions
502
+ - extended cd syntax: cd ../@x/y
503
+ - play command now works much better with _in_ array (this is a very powerful feature, esp with Pry::NAV_PROMPT)
504
+ - history saving/loading is now lightning fast
505
+ - 'edit' (entered by itself) now opens current lines in input buffer in an editor, and evals on exit
506
+ - 'edit' command is also, in general more intelligent
507
+ - ls output no longer in array format, and colors can be configured, e.g: Pry.config.ls.ivar_color = :bright_blue
508
+ - new switch-to command for moving around the binding stack without exiting out of sessions
509
+ - more sophisticated prompts, Pry::NAV_PROMPT to ease deep spelunking of code
510
+ - major bug fix for windows systems
511
+ - much better support for huge objects, should no longer hang pry (see #245)
512
+ - cat --ex and edit --ex now work better
513
+
514
+ complete CHANGELOG:
515
+ * tempfile should end in .rb (for edit -t)
516
+ * ls output should not be in array format
517
+ * fix history saving (should not save all of Readline::HISTORY, but only what changed)
518
+ * prevent blank lines going to Readline::HISTORY (thanks cirwin!)
519
+ * ensure that cat --ex emulates the `whereami` format - includes line numbers and formatted the same, etc
520
+ * fixed bug #200 ( https://github.com/pry/pry/issues/200 )- string interpolation bug (thanks to ryanf)
521
+ * show-doc and stat now display method visibility (update WIKI)
522
+ * got rid of warnings caused by stricter ruby 1.9.3 rules
523
+ * remove interpolation of command names and fix interpolation error messag (update WIKI) (thanks ryanf!)
524
+ * 'nested sessions' now use binding stacks (so each instance manages its own collection of bindings without spawning other instances)
525
+ * 'cd ..' just pops a binding off the binding_stack with special behaviour when only one binding in stack - it breaks out of the repl loop
526
+ * added switch-to command (like jump-to but doesnt unwind the stack)
527
+ * show-method and show-doc now accept multiple method names
528
+ * control_d hook added (Pry.config.control_d_handler)
529
+ * behaviour of ^d is now to break out of current expr if in multi-line expr, or break out of current context if nested, or break out of pry repl loop if at top-level
530
+ * can no longer interpolate command name itself e.g #{x}-#{y} where x = "show" and y = "doc"
531
+ * ^C no longer captured
532
+ * got rid of Pry.active_instance, Pry.last_exception and friends.
533
+ * also special locals now shared among bindings in a pry instance (i.e _ex_ (and friends) re-injected into new binding entered with 'cd')
534
+ * renamed inp and out to _in_ and _out_ (to avoid collisions with actual locals in debugging scope)
535
+ * added third parameter to prompts, the pry instance itself (_pry) see https://github.com/pry/pry/issues/233 for why it's important
536
+ * cd behaviour when no args performs the same as `cd /`
537
+ * commands with keep_retval can now return nil (to suppress output now return 'void' instead)
538
+ * Pry::CommandProcessor::Result introduced
539
+ * Pry.view_clip() modified to be more robust and properly display Class#name
540
+ * edit command when invoked with no args now works like edit -t
541
+ * when edit is invoked (with no args or with -t) inside a multi-line expression input buffer, it dumps that buffer into a temp file and takes you to it
542
+ * got rid of Pry#null_input? since all that was needed was eval_string.empty?
543
+ * cd command now supports complex syntax: cd ../@y/y/../z
544
+ * JRuby is no longer a 2nd class citizen, almost full JRuby support, passing 100% tests
545
+ * added Pry::NAV_PROMPT (great new navigation prompt, per robgleeson) and Pry::SIMPLE_PRINT for simple (IRB-style) print output (just using inspect)
546
+ * _pry_ now passed as 3rd parameter to :before_session hook
547
+ * ls colors now configurable via Pry.config.ls.local_var_color = :bright_red etc
548
+ * ls separator configurable via, e.g Pry.config.ls.separator = " "
549
+ * Pry.view_clip() now only calls inspect on a few immediates, otherwise uses the #<> syntax, which has been truncated further to exclude teh mem address, again related to #245
550
+
551
+ ### 0.9.3 (2011/7/27)
552
+ * cat --ex (cats 5 lines above and below line in file where exception was raised)
553
+ * edit --ex (edits line in file where exception was raised)
554
+ * edit -t (opens a temporary file and evals it in current context when closed)
555
+ * `pry -r` requires now happen after plugin loading (so as not to interfere with
556
+ * new Pry.config.disable_auto_reload option, for turning off auto reloading by edit-method and related (thanks ryanf)
557
+ * add better error messages for `cd` command
558
+ * fixed exotic object regression - BasicObject.new etc now return "=> unknown"
559
+ * added reload-method command (reloads the associated file of a method)
560
+ * converted: import => import-set, version => pry-version, install => install-command
561
+ * Pry.config.command_prefix support (thanks ryanf!)
562
+ * fixed indentation for simple-prompt
563
+ * hist command now excludes last line of input (the command invocation itself)
564
+ * hist now has `history` alias
565
+ * missing plugins no longer raise exception, just print a warning to $stderr
566
+ * fixed jedit editor support
567
+
568
+ ### 0.9.2 (2011/6/21)
569
+ * fixed string interpolation bug (caused valid ruby code not to execute, sorry!)
570
+ * fixed `ls` command, so it can properly display members of Object and classes, and BasicObject, etc
571
+ * added a few git related commands to experimental command set, blame and diff
572
+
573
+ ### 0.9.0 (2011/6/17)
574
+ * plugin system
575
+ * regex commands
576
+ * show-method works on methods defined in REPL
577
+ * new command system/API
578
+ * rubinius core support
579
+ * more backports to ruby 1.8
580
+ * inp/out special locals
581
+ * _ex_ backtrace navigation object (_ex_.line, _ex_.file)
582
+ * readline history saving/loading
583
+ * prompt stack
584
+ * more hooks
585
+ * amend-line
586
+ * play
587
+ * show-input
588
+ * edit
589
+ * much more comprehensive test suite
590
+ * support for new and old rubygems API
591
+ * changed -s behaviour of ls (now excludes Object methods)
592
+ * removed eval-file, lls, lcd, and a few other commands
593
+
594
+
595
+ ### 0.7.6.1 (2011/3/26)
596
+ * added slightly better support for YARD
597
+ * now @param and @return tags are colored green and markdown `code` is syntax highlighted using coderay
598
+
599
+ ### 0.7.6 (2011/3/26)
600
+ * `whereami` command now accepts parameter AROUND, to display AROUND lines on eitherside of invocation line.
601
+ * made it so `whereami` is invoked even if no method exists in current context (i.e in rspec tests)
602
+ * added rubinius support for `whereami` invocation in HOOKS by checking for __unknown__.rb rather than just <main>
603
+
604
+ ### 0.7.0 (2011/3/15)
605
+ * add pry-doc support with syntax highlighting for docs
606
+ * add 'mj' option to ls (restrict to singleton methods)
607
+ * add _ex_ local to hold last exception raised in an exception
608
+
609
+ ### 0.6.8 (2011/3/6)
610
+ * add whereami command, a la the `ir_b` gem
611
+ * make whereami run at the start of every session
612
+ * make .pryrc be loaded by run-time pry sessions
613
+
614
+ ### 0.6.7 (2011/3/4)
615
+ * color support
616
+ * --simple-prompt for pry commandline
617
+ * -I mode for pry commandline
618
+ * --color mode for pry commandline
619
+ * clean up requires (put them all in one place)
620
+ * simple-prompt command and toggle-color commandd.
621
+
622
+ ### 0.6.3 (2011/2/28)
623
+ * Using MethodSource 0.3.4 so 1.8 show-method support provided
624
+ * `Set` class added to list of classes that are inspected
625
+
626
+ ### 0.6.1 (2011/2/26)
627
+ * !@ command alias for exit_all
628
+ * `cd /` for breaking out to pry top level (jump-to 0)
629
+ * made `-e` option work in a more effective way for `pry` command line invocation
630
+ * exit and exit-all commands now accept a parameter, this parameter becomes the return value of repl()
631
+ * `command` method from CommandBase now accepts a :keep_retval arg that determines if command value is returned to pry session or just `nil` (`nil` was old behaviour)
632
+ * tests for new :keep_retval and exit-all/exit behaviour; :keep_retval will remain undocumented.
633
+
634
+ ### 0.5.8 (2011/2/22)
635
+ * Added -c (context) option to show-doc, show-methods and eval-file
636
+ * Fixed up ordering issue of -c and -r parameters to command line pry
637
+
638
+ ### 0.5.7 (2011/2/21)
639
+ * Added pry executable, auto-loads .pryrc in user's home directory, if it
640
+ exists.
641
+
642
+ ### 0.5.5 (2011/2/19)
643
+ * Added Pry.run_command
644
+ * More useful error messages
645
+ * Easter eggs (game and cohen-poem)
646
+
647
+ ### 0.5.0 (2011/2/17)
648
+ * Use clipped version of Pry.view() for large objects
649
+ * Exit Pry session on ^d
650
+ * Use Shellwords for breaking up parameters to pry commands
651
+ * Use OptionParser to parse options for default pry commands
652
+ * Add version command
653
+ * Refactor 'status' command: add current method info
654
+ * Add meth_name_from_binding utility lambda to commands.rb
655
+ * Add -M, -m, -v(erbose), -a(ll), -s(uper), -l(ocals), -i(ivars), -k(klass
656
+ vars), etc options to ls
657
+ * add -M(instance method) options to show-method and show-doc
658
+ * add --help option to most commands
659
+ * Get rid of ls_method and ls_imethods (subsumed by more powerful ls)
660
+ * Get rid of show_idoc and show_imethod
661
+ * Add special eval-file command that evals target file in current context
662
+
663
+ ### 0.4.5 (2011/1/27)
664
+ * fixed show_method (though fragile as it references __binding_impl__
665
+ directly, making a name change to that method difficult
666
+
667
+ ### 0.4.4 (2011/1/27)
668
+ * oops, added examples/ directory
669
+
670
+ ### 0.4.3 (2011/1/26)
671
+ * added alias_command and desc methods to Pry::CommandBase
672
+ * changed behaviour of ls_methods and ls_imethods to return sorted lists
673
+ of methods
674
+
675
+ ### 0.4.1 (2011/1/23)
676
+ * made it so a 'def meth;end' in an object Pry session defines singleton
677
+ methods, not methods on the class (except in the case of
678
+ immediates)
679
+ * reorganized documentation, moving customization to a separate wiki file
680
+ * storing wiki in a nested git repo, as github wiki pages have their own
681
+ repo
682
+ * added more tests for new method definition behaviour
683
+
684
+ ### 0.4.0 (2011/1/21)
685
+ * added command API
686
+ * added many new commands, i.e ls_methods and friends
687
+ * modified other commands
688
+ * now accepts greater customization, can modify: input, output, hooks,
689
+ prompt, print object
690
+ * added tab completion (even completes commands)
691
+ * added extensive tests
692
+ * added examples
693
+ * many more changes
694
+
695
+ ### 0.1.3 (2010/12/9)
696
+ * Got rid of rubygems dependency, refactored some code.
697
+
698
+ ### 0.1.2 (2010/12/8)
699
+ * now rescuing SyntaxError as well as Racc::Parser error in valid_expression?
700
+
701
+ ### 0.1.0 (2010/12/8)
702
+ * release!