mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
version 0.6.0, fixed file require ordering issue
This commit is contained in:
parent
c80f347861
commit
c0d12d1693
3 changed files with 12 additions and 6 deletions
2
bin/pry
2
bin/pry
|
@ -51,7 +51,7 @@ See: `https://github.com/banister` for more information.
|
||||||
puts opts
|
puts opts
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
end.permute!
|
end.parse!
|
||||||
|
|
||||||
rcpath = File.expand_path("~/.pryrc")
|
rcpath = File.expand_path("~/.pryrc")
|
||||||
|
|
||||||
|
|
14
lib/pry.rb
14
lib/pry.rb
|
@ -5,7 +5,13 @@ direc = File.dirname(__FILE__)
|
||||||
|
|
||||||
require "method_source"
|
require "method_source"
|
||||||
require "readline"
|
require "readline"
|
||||||
|
require "#{direc}/pry/version"
|
||||||
Dir["#{direc}/pry/*.rb"].each do |file|
|
require "#{direc}/pry/hooks"
|
||||||
require file
|
require "#{direc}/pry/print"
|
||||||
end
|
require "#{direc}/pry/command_base"
|
||||||
|
require "#{direc}/pry/commands"
|
||||||
|
require "#{direc}/pry/prompts"
|
||||||
|
require "#{direc}/pry/completion"
|
||||||
|
require "#{direc}/pry/core_extensions"
|
||||||
|
require "#{direc}/pry/pry_class"
|
||||||
|
require "#{direc}/pry/pry_instance"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
class Pry
|
class Pry
|
||||||
VERSION = "0.5.9"
|
VERSION = "0.6.0"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue