mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add version to thor frozen gem.
This commit is contained in:
parent
925c9104e0
commit
e96af1eaa2
38 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ module Rails
|
|||
# Return all defined namespaces.
|
||||
#
|
||||
def self.namespaces
|
||||
Thor::Base.subclasses.map(&:namespace)
|
||||
Thor::Base.subclasses.map{ |klass| klass.namespace }
|
||||
end
|
||||
|
||||
# Keep builtin generators in an Array[Array[group, name]].
|
||||
|
|
2
railties/lib/vendor/thor.rb
vendored
2
railties/lib/vendor/thor.rb
vendored
|
@ -3,7 +3,7 @@ begin
|
|||
require 'rubygems'
|
||||
gem 'thor', '>= 0.11.0'
|
||||
rescue Gem::LoadError
|
||||
$:.unshift "#{File.dirname(__FILE__)}/thor/lib"
|
||||
$:.unshift "#{File.dirname(__FILE__)}/thor-0.11.0/lib"
|
||||
end
|
||||
|
||||
require 'thor'
|
||||
|
|
Loading…
Reference in a new issue