Add version to thor frozen gem.

This commit is contained in:
José Valim 2009-07-14 15:44:14 +02:00
parent 925c9104e0
commit e96af1eaa2
38 changed files with 2 additions and 2 deletions

View File

@ -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]].

View File

@ -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'