Skip to content

Commit bf3ce69

Browse files
f1337LindseySaari
andauthored
fix: update thor dependency (#218)
Co-authored-by: Lindsey Hattamer <[email protected]> Co-authored-by: Lindsey Hattamer <[email protected]>
1 parent aab5c50 commit bf3ce69

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/pact/cli.rb

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
module Pact
66
class CLI < Thor
7+
def self.exit_on_failure? # Thor 1.0 deprecation guard
8+
false
9+
end
710

811
desc 'verify', "Verify a pact"
912
method_option :pact_helper, aliases: "-h", desc: "Pact helper file", :required => true

pact.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Gem::Specification.new do |gem|
2828

2929
gem.add_runtime_dependency 'rspec', '~> 3.0'
3030
gem.add_runtime_dependency 'rack-test', '>= 0.6.3', '< 2.0.0'
31-
gem.add_runtime_dependency 'thor', '~> 0.20'
31+
gem.add_runtime_dependency 'thor', '>= 0.20', '< 2.0'
3232
gem.add_runtime_dependency 'webrick', '~> 1.3'
3333
gem.add_runtime_dependency 'term-ansicolor', '~> 1.0'
3434

0 commit comments

Comments
 (0)