diff --git a/lib/pact/cli.rb b/lib/pact/cli.rb index 3038f53a..c8949d88 100755 --- a/lib/pact/cli.rb +++ b/lib/pact/cli.rb @@ -4,6 +4,9 @@ module Pact class CLI < Thor + def self.exit_on_failure? # Thor 1.0 deprecation guard + false + end desc 'verify', "Verify a pact" method_option :pact_helper, aliases: "-h", desc: "Pact helper file", :required => true diff --git a/pact.gemspec b/pact.gemspec index 0a063042..6d02383e 100644 --- a/pact.gemspec +++ b/pact.gemspec @@ -28,7 +28,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'rspec', '~> 3.0' gem.add_runtime_dependency 'rack-test', '>= 0.6.3', '< 2.0.0' - gem.add_runtime_dependency 'thor', '~> 0.20' + gem.add_runtime_dependency 'thor', '>= 0.20', '< 2.0' gem.add_runtime_dependency 'webrick', '~> 1.3' gem.add_runtime_dependency 'term-ansicolor', '~> 1.0'