config.plugins.enabled -> config.should_load_plugins
This commit is contained in:
parent
df47e96b62
commit
c362f45cfc
|
@ -89,7 +89,7 @@ class Pry
|
||||||
# note these have to be loaded here rather than in pry_instance as
|
# note these have to be loaded here rather than in pry_instance as
|
||||||
# we only want them loaded once per entire Pry lifetime.
|
# we only want them loaded once per entire Pry lifetime.
|
||||||
load_rc if Pry.config.should_load_rc
|
load_rc if Pry.config.should_load_rc
|
||||||
load_plugins if Pry.config.plugins.enabled
|
load_plugins if Pry.config.should_load_plugins
|
||||||
load_requires if Pry.config.should_load_requires
|
load_requires if Pry.config.should_load_requires
|
||||||
load_history if Pry.config.history.should_load
|
load_history if Pry.config.history.should_load
|
||||||
load_traps if Pry.config.should_trap_interrupts
|
load_traps if Pry.config.should_trap_interrupts
|
||||||
|
@ -241,8 +241,7 @@ class Pry
|
||||||
config.gist ||= OpenStruct.new
|
config.gist ||= OpenStruct.new
|
||||||
config.gist.inspecter = proc(&:pretty_inspect)
|
config.gist.inspecter = proc(&:pretty_inspect)
|
||||||
|
|
||||||
config.plugins ||= OpenStruct.new
|
config.should_load_plugins = true
|
||||||
config.plugins.enabled = true
|
|
||||||
|
|
||||||
config.requires ||= []
|
config.requires ||= []
|
||||||
config.should_load_requires = true
|
config.should_load_requires = true
|
||||||
|
|
|
@ -26,7 +26,7 @@ class << Pry
|
||||||
Pry.color = false
|
Pry.color = false
|
||||||
Pry.pager = false
|
Pry.pager = false
|
||||||
Pry.config.should_load_rc = false
|
Pry.config.should_load_rc = false
|
||||||
Pry.config.plugins.enabled = false
|
Pry.config.should_load_plugins = false
|
||||||
Pry.config.history.should_load = false
|
Pry.config.history.should_load = false
|
||||||
Pry.config.history.should_save = false
|
Pry.config.history.should_save = false
|
||||||
Pry.config.auto_indent = false
|
Pry.config.auto_indent = false
|
||||||
|
|
Loading…
Reference in New Issue