1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib/pry
Takashi Kokubun 272b3290b5 Fix Ruby 2.6 warning for Binding#source_location
eval('[__FILE__, __LINE__]') will not work in future Ruby.
Let's stop using it when Binding#source_location is available because it
prints noisy warnings.

Since Binding#source_location is added in Ruby 2.6
https://github.com/ruby/ruby/commit/571e48b7442, this commit is leaving
old code with branching by binding.respond_to?(:source_location).

Fixes #1871
2018-12-11 11:10:55 +09:00
..
code rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
commands Fix Ruby 2.6 warning for Binding#source_location 2018-12-11 11:10:55 +09:00
config Fix a bug where Pry::Config.new(nil) == nil would return true. (#1903) 2018-12-05 22:18:31 +01:00
helpers rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
method Fix Ruby 2.6 warning for Binding#source_location 2018-12-11 11:10:55 +09:00
slop
testable rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
wrapped_module
basic_object.rb Remove unnecessary classes / modules used by config (#1897) 2018-12-01 08:51:52 +01:00
cli.rb
code.rb rubocop: fix ofences of the Style/BlockDelimiters cop 2018-11-18 00:37:47 +08:00
code_object.rb
color_printer.rb Fix rubocop empty line after guard clause style violations 2018-10-14 09:44:58 -04:00
command.rb command: delete deprecated #text 2018-11-08 14:57:07 +08:00
command_set.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
commands.rb
config.rb Remove unnecessary classes / modules used by config (#1897) 2018-12-01 08:51:52 +01:00
core_extensions.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
editor.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
exceptions.rb
forwardable.rb
helpers.rb
history.rb
hooks.rb
indent.rb
input_completer.rb rubocop: fix ofences of the Style/BlockDelimiters cop 2018-11-18 00:37:47 +08:00
input_lock.rb
inspector.rb
last_exception.rb
method.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
object_path.rb rubocop: fix offences of the Lint/AmbiguousBlockAssociation cop 2018-10-16 04:38:17 +08:00
output.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
pager.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
plugins.rb
prompt.rb automatically call Pry::Config::Lazy objects before returning them. 2018-11-20 14:10:21 +01:00
pry_class.rb Remove unnecessary classes / modules used by config (#1897) 2018-12-01 08:51:52 +01:00
pry_instance.rb
repl.rb
repl_file_loader.rb
ring.rb ring: fix swap parts of array in to_a and index access 2018-11-26 08:46:09 +09:00
rubygem.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
slop.rb rubocop: fix ofences of the Style/BlockDelimiters cop 2018-11-18 00:37:47 +08:00
terminal.rb rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
testable.rb Remove unnecessary classes / modules used by config (#1897) 2018-12-01 08:51:52 +01:00
version.rb Release v0.12.2 2018-11-16 04:05:09 +08:00
wrapped_module.rb