pry 0.10.2-i386-mingw32 → 1.0.0.pre1-i386-mingw32

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