Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update thor dependency to 0.13.5

  • Loading branch information...
commit b0a53c86efcb655875e2bbcc9d81851b419516e9 1 parent da840d1
@josevalim josevalim authored
View
2  railties/railties.gemspec
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.has_rdoc = false
s.add_dependency('rake', '>= 0.8.3')
- s.add_dependency('thor', '~> 0.13.4')
+ s.add_dependency('thor', '~> 0.13.5')
s.add_dependency('activesupport', version)
s.add_dependency('actionpack', version)
end
View
2  railties/test/generators/app_generator_test.rb
@@ -157,7 +157,7 @@ def test_template_is_executed_when_supplied
template = %{ say "It works!" }
template.instance_eval "def read; self; end" # Make the string respond to read
- generator([destination_root], :template => path).expects(:open).with(path).returns(template)
+ generator([destination_root], :template => path).expects(:open).with(path, 'Accept' => 'application/x-thor-template').returns(template)
assert_match /It works!/, silence(:stdout){ generator.invoke }
end
Please sign in to comment.
Something went wrong with that request. Please try again.