1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/test
Conrad Irwin e306ff5584 Set Pry::Slop equal to Slop (v2.4.4)
We've decided not to upgrade our slop dependency to version 3 for
several reasons:

1. People who are currently using pry in their programs are using slop
version 2; and they may not realise this. Bumping the slop dependency
could therefore break people's code in subtle ways. By removing the
dependency completely we make it obvious that breakage has occurred, and
allows programs to chose their own version of slop.

2. The new version of slop is incompatible with pry. As a command-line
tool we use our option parsing library very very intensely; and as such
we've grown used to (and even embraced) it's warts, inconcistencies and
undocumented behaviours. Upgrading the slop dependency at this point
requires a lot of fix up work both on the slop codebase and the pry
codebase.

3. The slop API is implicitly part of the pry API for defining custom
commands; by changing that API we run a significant risk of breaking
people's pry extensions.

4. The problems in 1., 2. and 3. are going to recur every time slop releases
a new version.

5. Doing this does not preclude upgrading the version of slop we use in
the future. Beacuse 1. will not occur anymore, the only breakage that we
can cause is in pry extensions; this seems resonable providing we signal
the fact that we're doing it (for example by updating the major
version number).
2012-05-28 00:29:18 -07:00
..
test_default_commands Only try to Hash modules [Fixes #576] 2012-05-19 23:23:56 -07:00
helper.rb Set Pry::Slop equal to Slop (v2.4.4) 2012-05-28 00:29:18 -07:00
test_cli.rb updated cli.rb for new API and added tests for cli 2011-12-11 04:13:42 +13:00
test_code.rb fix line/index confusion in Code#between 2012-01-15 14:16:18 -08:00
test_command.rb Show the contents of the process method by default 2012-04-01 16:20:35 -07:00
test_command_helpers.rb
test_command_integration.rb supercharged Pry.commands.alias_command method 2012-03-26 00:28:27 +13:00
test_command_set.rb aliases inherit options from original, fixes #525 2012-04-12 20:58:59 +12:00
test_completion.rb Use Helpers::BaseHelpers.<foo>? MOAR 2011-12-27 23:16:53 +00:00
test_exception_whitelist.rb
test_history_array.rb
test_hooks.rb Allow use of hash-based hooks, but show warning. 2012-01-24 21:44:21 +13:00
test_indent.rb Don't indent inside strings. [Fixes #535] 2012-04-22 01:20:38 -07:00
test_input_stack.rb Use a more rbx-friendly test for unicodeness 2012-01-29 00:10:01 -08:00
test_method.rb Fix and test Pry::Method#super in the module case 2012-01-31 23:06:02 -08:00
test_pry.rb moved Pry#complete_expression? et al to Pry::Code 2012-04-11 02:17:35 +12:00
test_pry_defaults.rb Revert "Always start the prompt in the first column (fix #551)" 2012-05-08 18:39:50 +12:00
test_pry_history.rb clean up history tests a bit 2011-12-01 21:26:22 -08:00
test_pry_output.rb
test_sticky_locals.rb added Pry.config.extra_sticky_locals config option 2012-03-14 15:35:24 +13:00
test_syntax_checking.rb moved Pry#complete_expression? et al to Pry::Code 2012-04-11 02:17:35 +12:00
test_wrapped_module.rb Show something for anonymous classes. [Fixes #366] 2011-12-19 00:58:27 -08:00
testrc
testrcbad Be robust to errors in ~/.pryrc 2011-11-02 00:46:38 -07:00