Skip to content
Snippets Groups Projects
Unverified Commit 5fa30a1a authored by paz's avatar paz
Browse files

Upgrade Thor to v1.x

parent ebdacf92
Branches
Tags
No related merge requests found
...@@ -27,5 +27,11 @@ module SchleuderCli ...@@ -27,5 +27,11 @@ module SchleuderCli
say VERSION say VERSION
end end
end end
# This tells Thor to go with its new behaviour since v1.0.0, which is
# exiting in case of failures.
def self.exit_on_failure?
true
end
end end
end end
...@@ -20,6 +20,6 @@ Gem::Specification.new do |s| ...@@ -20,6 +20,6 @@ Gem::Specification.new do |s|
#s.signing_key = "#{ENV['HOME']}/.gem/schleuder-gem-private_key.pem" #s.signing_key = "#{ENV['HOME']}/.gem/schleuder-gem-private_key.pem"
#s.cert_chain = ['gem-public_cert.pem'] #s.cert_chain = ['gem-public_cert.pem']
s.license = 'GPL-3.0' s.license = 'GPL-3.0'
s.add_runtime_dependency 'thor', '~> 0' s.add_runtime_dependency 'thor', '~> 1'
s.add_development_dependency 'rspec', '~> 3.5.0' s.add_development_dependency 'rspec', '~> 3.5.0'
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment