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 Don't attempt to read unused proc parameters 2018-11-11 20:36:49 +08:00
testable rubocop: fix offences of the Style/AndOr cop 2018-11-18 00:22:56 +08:00
wrapped_module rubocop: fix offences of Layout/EmptyLinesAroundClassBody cop 2018-11-04 16:50:21 +08:00
basic_object.rb Remove unnecessary classes / modules used by config (#1897) 2018-12-01 08:51:52 +01:00
cli.rb Simplify Prompt API 2018-11-17 05:26:25 +08:00
code.rb rubocop: fix ofences of the Style/BlockDelimiters cop 2018-11-18 00:37:47 +08:00
code_object.rb rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00
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 Append to Strings with #<< rather than #+. 2013-11-24 14:58:31 -08:00
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 Update clearer terminologies 2018-11-11 20:21:59 +09:00
forwardable.rb fix warning about splat 2017-06-04 22:28:25 +01:00
helpers.rb Deprecate Pry::Platform and introduce Pry::Helpers::Platform 2018-11-02 01:52:09 +08:00
history.rb rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00
hooks.rb rubocop: fix offences of the Lint/UnusedBlockArgument cop 2018-11-11 20:22:03 +08:00
indent.rb rubocop: fix offences of the Lint/UnusedBlockArgument cop 2018-11-11 20:22:03 +08:00
input_completer.rb rubocop: fix ofences of the Style/BlockDelimiters cop 2018-11-18 00:37:47 +08:00
input_lock.rb rubocop: fix offences of the Lint/UnneededRequireStatement cop 2018-10-16 04:43:41 +08:00
inspector.rb Various copy changes 2014-05-05 00:50:44 -07:00
last_exception.rb rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00
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 rubocop: fix offences of Layout/EmptyLinesAroundClassBody cop 2018-11-04 16:50:21 +08:00
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 Merge pull request #1874 from JuanitoFatas/update-terminology 2018-11-17 05:36:49 +08:00
repl.rb repl: calculate JRuby overhang (or rather not) 2018-11-03 14:13:39 +08:00
repl_file_loader.rb rubocop: fix offences of the Lint/UnusedBlockArgument cop 2018-11-11 20:22:03 +08:00
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 rubocop: fix offences regarding spaces 2018-11-04 17:34:24 +08:00