mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Add 'Data' as a deprecated constant (#1731)
This commit is contained in:
parent
9956502447
commit
28a56c4a9f
2 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,10 @@ See pull request [#1723](https://github.com/pry/pry/pull/1723)
|
|||
|
||||
#### Bug fixes
|
||||
|
||||
* Add 'Data' as a deprecated constant for Ruby 2.5 (ls command).
|
||||
|
||||
See pull request [#1731](https://github.com/pry/pry/pull/1731)
|
||||
|
||||
* Fix a bug where 'cd Hash.new' reported self as an instance of Pry::Config
|
||||
in the prompt.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ require 'pry/commands/ls/interrogatable'
|
|||
class Pry
|
||||
class Command::Ls < Pry::ClassCommand
|
||||
class Constants < Pry::Command::Ls::Formatter
|
||||
DEPRECATED_CONSTANTS = [:Fixnum, :Bignum, :TimeoutError, :NIL, :FALSE, :TRUE]
|
||||
DEPRECATED_CONSTANTS = [:Data, :Fixnum, :Bignum, :TimeoutError, :NIL, :FALSE, :TRUE]
|
||||
DEPRECATED_CONSTANTS << :JavaPackageModuleTemplate if Pry::Helpers::BaseHelpers.jruby?
|
||||
include Pry::Command::Ls::Interrogatable
|
||||
|
||||
|
|
Loading…
Reference in a new issue