pry--pry/spec
r-obert 46afb0991f
Update Pry::Config::Behavior#eager_load! (#1924)
* Update Pry::Config::Behavior#eager_load!

I don't think `#eager_load!` was working properly on Pry master or
even any of the released Prys from a quick test I did.

The `memoized_methods` method `eager_load!` is relying on has
since been removed from master too, so an update is needed.

The new implementation is simpler, and it includes a test case to
check that its behaving as expected because my manual tests suggest
it was not (I observed some keys being loaded but not all of them).

* Fix comment

* Use "unless" instead
2019-02-04 00:52:30 +01:00
..
commands Change formatting of "file.rb @ line 1" to "file.rb:1" 2019-01-13 15:28:27 +08:00
config Remove unnecessary classes / modules used by config (#1897) 2018-12-01 08:51:52 +01:00
fixtures rubocop: fix offences of the Layout/EmptyLineBetweenDefs cop 2018-10-14 14:40:48 +08:00
helpers Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
integration Add ability to forward ARGV to a Pry session when using `bin/pry` (#1902) 2019-01-13 14:29:12 +08:00
method Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
spec_helpers rubocop: fix offences of the Lint/UnneededRequireStatement cop 2018-10-16 04:43:41 +08:00
cli_spec.rb Add ability to forward ARGV to a Pry session when using `bin/pry` (#1902) 2019-01-13 14:29:12 +08:00
code_object_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
code_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
color_printer_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
command_helpers_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
command_integration_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
command_set_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
command_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
completion_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
config_spec.rb Update Pry::Config::Behavior#eager_load! (#1924) 2019-02-04 00:52:30 +01:00
control_d_handler_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
documentation_helper_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
editor_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
helper.rb prevent LoadError being raised when using auto completions + Bundler. (#1896) 2018-11-23 00:37:21 +08:00
history_spec.rb history: delete #pusher & #clearer, make the class Readline-agnostic 2019-01-03 17:57:09 +08:00
hooks_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
indent_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
method_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
pager_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
prompt_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
pry_defaults_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
pry_output_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
pry_repl_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
pry_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
pryrc_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
ring_spec.rb ring: fix swap parts of array in to_a and index access 2018-11-26 08:46:09 +09:00
run_command_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
sticky_locals_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
syntax_checking_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
unrescued_exceptions_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00
wrapped_module_spec.rb Add .rspec and require 'helper' from there 2018-11-18 14:04:44 +08:00