pact-provider-verifier 1.29.0 → 1.32.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63532bb1b371a5f8fa5ea69e5393eaab586a49183799d01713cde4ad06737152
4
- data.tar.gz: a638f33f5391338163da93202a4bf994e374f39cb930838b5ca54870618f7684
3
+ metadata.gz: c8afd9113daf6e76d77b9da74bdf1c05c969b97c71f56dc9e967da1af1f5943b
4
+ data.tar.gz: 71112e773117bce625d2c491c4e78b746cf6ed47bbeb7374deb5eb474122d5db
5
5
  SHA512:
6
- metadata.gz: c1bc90f19b67c6dc051c43088ff736554d02990a1ea4abea5b965d0d3f388c2fe7773acb312c572e0e51b2047878ee31e93f0715621e708e36f82ca9ff9743ed
7
- data.tar.gz: 6ae247c50649cd281331b848fcf3c2e3be93bf6328154904778c8e355dffda704b58bb0ae70da115b91861a90e836add5104ef730db48995056d2029cc92eff0
6
+ metadata.gz: 83364afb2c6ca9b51e7b5043ee0b7139bb5af442b3e41b070bcbbe1502c01e1c45ca8a80310f0aae3789d2faca1848aba7fd0acc12e33fc5584ce9390323428d
7
+ data.tar.gz: 5a731ab64459e06d49bd5a8c011a24aae11876ff832effd6b4151744da8fc0346ec7023826a35a675fbe3b991cdca5bf87a68096daf4c997f422bb4dd350cb0f
@@ -1,3 +1,50 @@
1
+ <a name="v1.32.1"></a>
2
+ ### v1.32.1 (2020-07-18)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * change rake to a development dependency ([6249a03](/../../commit/6249a03))
8
+
9
+
10
+ <a name="v1.32.0"></a>
11
+ ### v1.32.0 (2020-07-16)
12
+
13
+
14
+ #### Features
15
+
16
+ * allow verbose to be turned on by setting VERBOSE=true ([8a72b13](/../../commit/8a72b13))
17
+
18
+
19
+ <a name="v1.31.0-1"></a>
20
+ ### v1.31.0-1 (2020-06-23)
21
+
22
+
23
+ #### Features
24
+
25
+ * add --log-dir and --log-level to CLI ([1cf71bb](/../../commit/1cf71bb))
26
+
27
+
28
+ <a name="v1.30.1-1"></a>
29
+ ### v1.30.1-1 (2020-04-22)
30
+
31
+
32
+ #### Bug Fixes
33
+
34
+ * use symbol names for consumer version selectors ([c2c986b](/../../commit/c2c986b))
35
+ * correctly handle multiple parameters specified in the format --name=value ([c0852d0](/../../commit/c0852d0))
36
+
37
+
38
+ <a name="v1.30.0-1"></a>
39
+ ### v1.30.0-1 (2020-02-19)
40
+
41
+
42
+ #### Features
43
+
44
+ * **cli**
45
+ * add --include-wip-pacts-since (hidden until publicly released) ([3109ce2](/../../commit/3109ce2))
46
+
47
+
1
48
  <a name="v1.29.0-1"></a>
2
49
  ### v1.29.0-1 (2020-02-18)
3
50
 
data/README.md CHANGED
@@ -17,7 +17,7 @@ binary-like CLI tool.
17
17
 
18
18
  ### Docker
19
19
 
20
- Take a look at https://github.com/DiUS/pact-provider-verifier-docker or https://github.com/pact-foundation/pact-ruby-cli
20
+ Take a look at https://hub.docker.com/r/pactfoundation/pact-cli
21
21
 
22
22
  ### Native Installation
23
23
 
@@ -41,55 +41,88 @@ Usage:
41
41
 
42
42
  Options:
43
43
  -h, --provider-base-url=PROVIDER_BASE_URL
44
- # Provider host URL
44
+ # Provider host URL
45
45
  -c, [--provider-states-setup-url=PROVIDER_STATES_SETUP_URL]
46
- # Base URL to setup the provider states at
46
+ # Base URL to setup the provider states at
47
47
  [--pact-broker-base-url=PACT_BROKER_BASE_URL]
48
- # Base URL of the Pact Broker from which to retrieve the pacts. Can also be set using the environment variable PACT_BROKER_BASE_URL.
48
+ # Base URL of the Pact Broker from which to retrieve the pacts. Can also be set
49
+ using the environment variable PACT_BROKER_BASE_URL.
49
50
  -n, [--broker-username=BROKER_USERNAME]
50
- # Pact Broker basic auth username. Can also be set using the environment variable PACT_BROKER_USERNAME.
51
+ # Pact Broker basic auth username. Can also be set using the environment
52
+ variable PACT_BROKER_USERNAME.
51
53
  -p, [--broker-password=BROKER_PASSWORD]
52
- # Pact Broker basic auth password. Can also be set using the environment variable PACT_BROKER_PASSWORD.
54
+ # Pact Broker basic auth password. Can also be set using the environment
55
+ variable PACT_BROKER_PASSWORD.
53
56
  -k, [--broker-token=BROKER_TOKEN]
54
- # Pact Broker bearer token. Can also be set using the environment variable PACT_BROKER_TOKEN.
57
+ # Pact Broker bearer token. Can also be set using the environment variable
58
+ PACT_BROKER_TOKEN.
55
59
  [--provider=PROVIDER]
56
60
  [--consumer-version-tag=TAG]
57
- # Retrieve the latest pacts with this consumer version tag. Used in conjunction with --provider. May be specified multiple times.
58
- [--consumer-version-selector=SELECTOR]
59
- # JSON string specifying a selector that identifies which pacts to verify. May be specified multiple times. See below for further documentation.
61
+ # Retrieve the latest pacts with this consumer version tag. Used in conjunction
62
+ with --provider. May be specified multiple times.
60
63
  [--provider-version-tag=TAG]
61
- # Tag to apply to the provider application version. May be specified multiple times.
64
+ # Tag to apply to the provider application version. May be specified multiple times.
65
+ -g, [--tag-with-git-branch], [--no-tag-with-git-branch]
66
+ # Tag provider version with the name of the current git branch. Default: false
62
67
  -a, [--provider-app-version=PROVIDER_APP_VERSION]
63
- # Provider application version, required when publishing verification results
68
+ # Provider application version, required when publishing verification results
64
69
  -r, [--publish-verification-results], [--no-publish-verification-results]
65
- # Publish verification results to the broker. This can also be enabled by setting the environment variable PACT_BROKER_PUBLISH_VERIFICATION_RESULTS=true
70
+ # Publish verification results to the broker. This can also be enabled by
71
+ setting the environment variable PACT_BROKER_PUBLISH_VERIFICATION_RESULTS=true
66
72
  [--enable-pending], [--no-enable-pending]
67
- # Allow pacts which are in pending state to be verified without causing the overall task to fail. For more information, see https://pact.io/pending
73
+ # Allow pacts which are in pending state to be verified without causing the
74
+ overall task to fail. For more information, see https://pact.io/pending
68
75
  [--custom-provider-header=CUSTOM_PROVIDER_HEADER]
69
- # Header to add to provider state set up and pact verification requests. eg 'Authorization: Basic cGFjdDpwYWN0'. May be specified multiple times.
76
+ # Header to add to provider state set up and pact verification requests. eg
77
+ 'Authorization: Basic cGFjdDpwYWN0'. May be specified multiple times.
70
78
  [--custom-middleware=FILE]
71
- # Ruby file containing a class implementing Pact::ProviderVerifier::CustomMiddleware. This allows the response to be modified before replaying. Use with caution!
79
+ # Ruby file containing a class implementing
80
+ Pact::ProviderVerifier::CustomMiddleware. This allows the response to be modified before
81
+ replaying. Use with caution!
72
82
  -v, [--verbose=VERBOSE]
73
- # Verbose output
83
+ # Verbose output. Can also be set by setting the environment variable VERBOSE=true.
74
84
  -f, [--format=FORMATTER]
75
- # RSpec formatter. Defaults to custom Pact formatter. Other options are json and RspecJunitFormatter (which outputs xml).
85
+ # RSpec formatter. Defaults to custom Pact formatter. Other options are json
86
+ and RspecJunitFormatter (which outputs xml).
76
87
  -o, [--out=FILE]
77
- # Write output to a file instead of $stdout.
88
+ # Write output to a file instead of $stdout.
78
89
  [--wait=SECONDS]
79
- # The number of seconds to poll for the provider to become available before running the verification
90
+ # The number of seconds to poll for the provider to become available before
91
+ running the verification
80
92
 
81
- # Default: 0
93
+ # Default: 0
94
+ [--log-dir=LOG_DIR]
95
+ # The directory for the pact.log file
96
+ [--log-level=LOG_LEVEL]
97
+ # The log level
98
+
99
+ # Default: debug
82
100
 
83
101
  Description:
84
- To verify a pact from a known URL, specify one or more PACT_URL arguments. If the pact
85
- is hosted in a Pact Broker that uses authentication, specify the relevant
86
- --broker-username/--broker-password or --broker-token fields. To dynamically fetch
87
- pacts from a Pact Broker based on the provider name, specify the
88
- --pact-broker-base-url, --provider and relevant authentication fields.
102
+ The parameters used when fetching pacts dynamically from a Pact Broker are:
103
+
104
+ --pact-broker-base-url (REQUIRED)
105
+ --provider (REQUIRED)
106
+ --broker-username/--broker-password or --broker-token
107
+ --consumer-version-tag or --consumer-version-selector
108
+ --enable-pending
109
+ --include-wip-pacts-since
110
+
111
+ To fetch a pact from a known URL (eg. when a
112
+ verification is triggered by a 'contract content changed' webhook), pass in the pact URL(s) as
113
+ the first argument(s) to the command.
114
+
115
+ To publish verification results for either of the above scenarios, set:
116
+
117
+ --publish-verification-results (REQUIRED)
118
+ --provider-app-version (REQUIRED)
119
+ --provider-version-tag or --tag-with-git-branch
120
+
89
121
 
90
122
  Selectors: These are specified using JSON strings. The keys are 'tag' (the name of the consumer
91
- version tag) and 'latest' (true|false). For example '{"tag": "master", "latest":
92
- true}'. For a detailed explanation of selectors, see https://pact.io/selectors
123
+ version tag), 'latest' (true|false), 'consumer', and 'fallbackTag'. For example '{\"tag\":
124
+ \"master\", \"latest\": true}'. For
125
+ a detailed explanation of selectors, see https://pact.io/selectors#consumer-version-selectors
93
126
  ```
94
127
 
95
128
  ## Examples
@@ -57,7 +57,10 @@ module Pact
57
57
  end
58
58
 
59
59
  def pact_options
60
- { include_pending_status: options[:enable_pending] }
60
+ {
61
+ include_pending_status: options[:enable_pending],
62
+ include_wip_pacts_since: options[:include_wip_pacts_since]
63
+ }
61
64
  end
62
65
  end
63
66
  end
@@ -97,6 +97,8 @@ module Pact
97
97
  require 'pact/configuration'
98
98
  Pact.configuration.output_stream = Pact.configuration.error_stream
99
99
  end
100
+ Pact.configuration.log_dir = options.log_dir if options.log_dir
101
+ Pact.configuration.logger.level = Kernel.const_get('Logger').const_get(options.log_level.upcase) if options.log_level
100
102
  end
101
103
 
102
104
  def configure_reverse_proxy
@@ -134,7 +136,7 @@ module Pact
134
136
 
135
137
  def require_custom_middlware
136
138
  options.custom_middleware.each do |file|
137
- $stdout.puts "DEBUG: Requiring custom middleware file #{file}" if options.verbose
139
+ $stdout.puts "DEBUG: Requiring custom middleware file #{file}" if verbose?
138
140
  begin
139
141
  require file
140
142
  rescue LoadError => e
@@ -188,7 +190,11 @@ module Pact
188
190
  username: options.broker_username || ENV['PACT_BROKER_USERNAME'],
189
191
  password: options.broker_password || ENV['PACT_BROKER_PASSWORD'],
190
192
  token: options.broker_token || ENV['PACT_BROKER_TOKEN'],
191
- verbose: options.verbose
193
+ verbose: verbose?
194
+ }
195
+ opts = {
196
+ enable_pending: options.enable_pending,
197
+ include_wip_pacts_since: options.include_wip_pacts_since
192
198
  }
193
199
  AggregatePactConfigs.call(
194
200
  pact_urls,
@@ -198,8 +204,7 @@ module Pact
198
204
  provider_version_tags,
199
205
  options.pact_broker_base_url || ENV['PACT_BROKER_BASE_URL'],
200
206
  http_client_options,
201
- { enable_pending: options.enable_pending }
202
- )
207
+ opts)
203
208
  end
204
209
 
205
210
  def require_pact_project_pact_helper
@@ -226,7 +231,7 @@ module Pact
226
231
  end
227
232
 
228
233
  def parse_consumer_version_selectors consumer_version_selectors
229
- consumer_version_selectors.collect{ | string | JSON.parse(string) }
234
+ consumer_version_selectors.collect{ | string | JSON.parse(string, symbolize_names: true) }
230
235
  end
231
236
 
232
237
  def merge_provider_version_tags(options)
@@ -257,6 +262,10 @@ module Pact
257
262
  ENV['PACT_BROKER_TOKEN'] = options.broker_token
258
263
  end
259
264
  end
265
+
266
+ def verbose?
267
+ options.verbose || ENV['VERBOSE'] == 'true'
268
+ end
260
269
  end
261
270
  end
262
271
  end
@@ -45,20 +45,31 @@ module Pact
45
45
  def self.turn_muliple_tag_options_into_array argv
46
46
  new_argv = []
47
47
  opt_name = nil
48
- argv.each_with_index do | arg, i |
49
- if arg.start_with?('-')
50
- opt_name = arg
51
- existing = new_argv.find { | a | a.first == opt_name }
52
- if !existing
53
- new_argv << [arg]
48
+ argv.each_with_index do | word, i |
49
+ if word.start_with?('-')
50
+ if word.include?('=')
51
+ opt_name, opt_value = word.split('=', 2)
52
+
53
+ existing = new_argv.find { | a | a.first == opt_name }
54
+ if existing
55
+ existing << opt_value
56
+ else
57
+ new_argv << [opt_name, opt_value]
58
+ end
59
+ else
60
+ opt_name = word
61
+ existing = new_argv.find { | a | a.first == opt_name }
62
+ if !existing
63
+ new_argv << [word]
64
+ end
54
65
  end
55
66
  else
56
67
  if opt_name
57
68
  existing = new_argv.find { | a | a.first == opt_name }
58
- existing << arg
69
+ existing << word
59
70
  opt_name = nil
60
71
  else
61
- new_argv << [arg]
72
+ new_argv << [word]
62
73
  end
63
74
  end
64
75
  end
@@ -0,0 +1,19 @@
1
+ The parameters used when fetching pacts dynamically from a Pact Broker are:
2
+
3
+ --pact-broker-base-url (REQUIRED)
4
+ --provider (REQUIRED)
5
+ --broker-username/--broker-password or --broker-token
6
+ --consumer-version-tag or --consumer-version-selector
7
+ --enable-pending
8
+ --include-wip-pacts-since
9
+
10
+ To fetch a pact from a known URL (eg. when a verification is triggered by a 'contract content changed' webhook), pass in the pact URL(s) as the first argument(s) to the command.
11
+
12
+ To publish verification results for either of the above scenarios, set:
13
+
14
+ --publish-verification-results (REQUIRED)
15
+ --provider-app-version (REQUIRED)
16
+ --provider-version-tag or --tag-with-git-branch
17
+
18
+
19
+ Selectors: These are specified using JSON strings. The keys are 'tag' (the name of the consumer version tag), 'latest' (true|false), 'consumer', and 'fallbackTag'. For example '{\"tag\": \"master\", \"latest\": true}'. For a detailed explanation of selectors, see https://pact.io/selectors#consumer-version-selectors
@@ -3,12 +3,6 @@ require 'socket'
3
3
  require 'pact/provider_verifier/app'
4
4
  require 'pact/provider_verifier/cli/custom_thor'
5
5
 
6
- # verify --consumer-version-selector '{ all: true, tag: "feat-x", fallback: "master" }' --consumer-version-tag master
7
-
8
- #
9
- # tags "master", { all: true, tag: "feat-x", fallback: "master" }
10
- #
11
-
12
6
  module Pact
13
7
  module ProviderVerifier
14
8
  module CLI
@@ -17,13 +11,8 @@ module Pact
17
11
  class InvalidArgumentsError < ::Thor::Error; end
18
12
  class AuthError < ::Thor::Error; end
19
13
 
20
- SELECTOR_DOCS = "Selectors: These are specified using JSON strings. The keys are 'tag' (the name of the consumer version tag) and 'latest' (true|false). " +
21
- "For example '{\"tag\": \"master\", \"latest\": true}'. For a detailed explanation of selectors, see https://pact.io/selectors"
22
-
23
14
  desc 'PACT_URL ...', "Verify pact(s) against a provider. Supports local and networked (http-based) files."
24
- long_desc "To verify a pact from a known URL, specify one or more PACT_URL arguments. If the pact is hosted in a Pact Broker that uses authentication, specify the relevant --broker-username/--broker-password or --broker-token fields. " +
25
- "To dynamically fetch pacts from a Pact Broker based on the provider name, specify the --pact-broker-base-url, --provider and relevant authentication fields." +
26
- "\n\n" + SELECTOR_DOCS
15
+ long_desc File.read(File.join(File.dirname(__FILE__), 'long_desc.txt')).gsub("\n", "\x5")
27
16
  method_option :provider_base_url, aliases: "-h", desc: "Provider host URL", :required => true
28
17
  method_option :provider_states_setup_url, aliases: "-c", desc: "Base URL to setup the provider states at", :required => false
29
18
  method_option :pact_broker_base_url, desc: "Base URL of the Pact Broker from which to retrieve the pacts. Can also be set using the environment variable PACT_BROKER_BASE_URL.", :required => false
@@ -32,25 +21,27 @@ module Pact
32
21
  method_option :broker_token, aliases: "-k", desc: "Pact Broker bearer token. Can also be set using the environment variable PACT_BROKER_TOKEN.", :required => false
33
22
  method_option :provider, required: false
34
23
  method_option :consumer_version_tag, type: :array, banner: "TAG", desc: "Retrieve the latest pacts with this consumer version tag. Used in conjunction with --provider. May be specified multiple times.", :required => false
35
- method_option :consumer_version_selector, type: :array, banner: "SELECTOR", desc: "JSON string specifying a selector that identifies which pacts to verify. May be specified multiple times. See below for further documentation.", :required => false
24
+ method_option :consumer_version_selector, hide: true, type: :array, banner: "SELECTOR", desc: "JSON string specifying a selector that identifies which pacts to verify. May be specified multiple times. See below for further documentation.", :required => false
36
25
  method_option :provider_version_tag, type: :array, banner: "TAG", desc: "Tag to apply to the provider application version. May be specified multiple times.", :required => false
37
26
  method_option :tag_with_git_branch, aliases: "-g", type: :boolean, default: false, required: false, desc: "Tag provider version with the name of the current git branch. Default: false"
38
27
  method_option :provider_app_version, aliases: "-a", desc: "Provider application version, required when publishing verification results", :required => false
39
28
  method_option :publish_verification_results, aliases: "-r", desc: "Publish verification results to the broker. This can also be enabled by setting the environment variable PACT_BROKER_PUBLISH_VERIFICATION_RESULTS=true", required: false, type: :boolean, default: false
40
29
  method_option :enable_pending, desc: "Allow pacts which are in pending state to be verified without causing the overall task to fail. For more information, see https://pact.io/pending", required: false, type: :boolean, default: false
30
+ method_option :include_wip_pacts_since, desc: "", hide: true
41
31
  method_option :custom_provider_header, type: :array, banner: 'CUSTOM_PROVIDER_HEADER', desc: "Header to add to provider state set up and pact verification requests. eg 'Authorization: Basic cGFjdDpwYWN0'. May be specified multiple times.", :required => false
42
32
  method_option :custom_middleware, type: :array, banner: 'FILE', desc: "Ruby file containing a class implementing Pact::ProviderVerifier::CustomMiddleware. This allows the response to be modified before replaying. Use with caution!", :required => false
43
33
  method_option :monkeypatch, hide: true, type: :array, :required => false
44
- method_option :verbose, aliases: "-v", desc: "Verbose output", :required => false
34
+ method_option :verbose, aliases: "-v", desc: "Verbose output. Can also be set by setting the environment variable VERBOSE=true.", :required => false
45
35
  method_option :provider_states_url, aliases: "-s", :required => false, hide: true
46
36
  method_option :format, banner: "FORMATTER", aliases: "-f", desc: "RSpec formatter. Defaults to custom Pact formatter. Other options are json and RspecJunitFormatter (which outputs xml)."
47
37
  method_option :out, aliases: "-o", banner: "FILE", desc: "Write output to a file instead of $stdout."
48
38
  method_option :ignore_failures, type: :boolean, default: false, desc: "If specified, process will always exit with exit code 0", hide: true
49
39
  method_option :pact_urls, aliases: "-u", hide: true, :required => false
50
40
  method_option :wait, banner: "SECONDS", required: false, type: :numeric, desc: "The number of seconds to poll for the provider to become available before running the verification", default: 0
41
+ method_option :log_dir, desc: "The directory for the pact.log file"
42
+ method_option :log_level, desc: "The log level", default: "debug"
51
43
 
52
44
  def verify(*pact_urls)
53
- validate_credentials
54
45
  validate_verify
55
46
  print_deprecation_warnings
56
47
  success = Pact::ProviderVerifier::App.call(merged_urls(pact_urls), options)
@@ -77,17 +68,32 @@ module Pact
77
68
  end
78
69
  end
79
70
 
71
+ def validate_verify
72
+ if options.pact_broker_base_url && (options.provider.nil? || options.provider == "")
73
+ raise InvalidArgumentsError, "No value provided for required option '--provider'"
74
+ end
75
+ validate_consumer_version_selectors
76
+ validate_wip_since_date
77
+ validate_credentials
78
+ validate_log_level
79
+ end
80
+
80
81
  def validate_credentials
81
82
  if (options.broker_username || ENV['PACT_BROKER_USERNAME']) && (options.broker_token || ENV['PACT_BROKER_TOKEN'])
82
83
  raise AuthError, "You cannot provide both a username/password and a bearer token. If your Pact Broker uses a bearer token, please remove the username and password configuration."
83
84
  end
84
85
  end
85
86
 
86
- def validate_verify
87
- if options.pact_broker_base_url && (options.provider.nil? || options.provider == "")
88
- raise InvalidArgumentsError, "No value provided for required option '--provider'"
87
+ def validate_wip_since_date
88
+ require 'date'
89
+
90
+ if options.include_wip_pacts_since
91
+ begin
92
+ DateTime.parse(options.include_wip_pacts_since)
93
+ rescue ArgumentError
94
+ raise InvalidArgumentsError, "The value provided for --include-wip-pacts-since could not be parsed to a DateTime. Please provide a value in the format %Y-%m-%d or %Y-%m-%dT%H:%M:%S.000%:z"
95
+ end
89
96
  end
90
- validate_consumer_version_selectors
91
97
  end
92
98
 
93
99
  def validate_consumer_version_selectors
@@ -105,6 +111,15 @@ module Pact
105
111
  end
106
112
  end
107
113
 
114
+ def validate_log_level
115
+ if options.log_level
116
+ valid_log_levels = %w{debug info warn error fatal}
117
+ if !valid_log_levels.include?(options.log_level.downcase)
118
+ raise InvalidArgumentsError, "Invalid log level '#{options.log_level}'. Must be one of: #{valid_log_levels.join(", ")}."
119
+ end
120
+ end
121
+ end
122
+
108
123
  def exit_with_non_zero_status
109
124
  exit 1
110
125
  end
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module ProviderVerifier
3
- VERSION = "1.29.0"
3
+ VERSION = "1.32.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-provider-verifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.32.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Fellows
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-02-18 00:00:00.000000000 Z
12
+ date: 2020-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -31,20 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '1.46'
35
- - - ">="
36
- - !ruby/object:Gem::Version
37
- version: 1.46.1
34
+ version: '1.49'
38
35
  type: :runtime
39
36
  prerelease: false
40
37
  version_requirements: !ruby/object:Gem::Requirement
41
38
  requirements:
42
39
  - - "~>"
43
40
  - !ruby/object:Gem::Version
44
- version: '1.46'
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 1.46.1
41
+ version: '1.49'
48
42
  - !ruby/object:Gem::Dependency
49
43
  name: pact-message
50
44
  requirement: !ruby/object:Gem::Requirement
@@ -122,53 +116,47 @@ dependencies:
122
116
  - !ruby/object:Gem::Version
123
117
  version: '2.1'
124
118
  - !ruby/object:Gem::Dependency
125
- name: rake
119
+ name: rack-reverse-proxy
126
120
  requirement: !ruby/object:Gem::Requirement
127
121
  requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '10.4'
131
122
  - - ">="
132
123
  - !ruby/object:Gem::Version
133
- version: 10.4.2
124
+ version: '0'
134
125
  type: :runtime
135
126
  prerelease: false
136
127
  version_requirements: !ruby/object:Gem::Requirement
137
128
  requirements:
138
- - - "~>"
139
- - !ruby/object:Gem::Version
140
- version: '10.4'
141
129
  - - ">="
142
130
  - !ruby/object:Gem::Version
143
- version: 10.4.2
131
+ version: '0'
144
132
  - !ruby/object:Gem::Dependency
145
- name: rack-reverse-proxy
133
+ name: rspec_junit_formatter
146
134
  requirement: !ruby/object:Gem::Requirement
147
135
  requirements:
148
- - - ">="
136
+ - - "~>"
149
137
  - !ruby/object:Gem::Version
150
- version: '0'
138
+ version: '0.3'
151
139
  type: :runtime
152
140
  prerelease: false
153
141
  version_requirements: !ruby/object:Gem::Requirement
154
142
  requirements:
155
- - - ">="
143
+ - - "~>"
156
144
  - !ruby/object:Gem::Version
157
- version: '0'
145
+ version: '0.3'
158
146
  - !ruby/object:Gem::Dependency
159
- name: rspec_junit_formatter
147
+ name: rake
160
148
  requirement: !ruby/object:Gem::Requirement
161
149
  requirements:
162
150
  - - "~>"
163
151
  - !ruby/object:Gem::Version
164
- version: '0.3'
165
- type: :runtime
152
+ version: '13.0'
153
+ type: :development
166
154
  prerelease: false
167
155
  version_requirements: !ruby/object:Gem::Requirement
168
156
  requirements:
169
157
  - - "~>"
170
158
  - !ruby/object:Gem::Version
171
- version: '0.3'
159
+ version: '13.0'
172
160
  - !ruby/object:Gem::Dependency
173
161
  name: sinatra
174
162
  requirement: !ruby/object:Gem::Requirement
@@ -281,6 +269,20 @@ dependencies:
281
269
  - - "~>"
282
270
  - !ruby/object:Gem::Version
283
271
  version: '0.5'
272
+ - !ruby/object:Gem::Dependency
273
+ name: word_wrap
274
+ requirement: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ type: :development
280
+ prerelease: false
281
+ version_requirements: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
284
286
  description: |-
285
287
  A cross-platform Pact verification tool to validate API Providers.
286
288
  Used in the pact-js-provider project to simplify development
@@ -302,6 +304,7 @@ files:
302
304
  - lib/pact/provider_verifier/aggregate_pact_configs.rb
303
305
  - lib/pact/provider_verifier/app.rb
304
306
  - lib/pact/provider_verifier/cli/custom_thor.rb
307
+ - lib/pact/provider_verifier/cli/long_desc.txt
305
308
  - lib/pact/provider_verifier/cli/verify.rb
306
309
  - lib/pact/provider_verifier/custom_middleware.rb
307
310
  - lib/pact/provider_verifier/error.rb
@@ -333,8 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
336
  - !ruby/object:Gem::Version
334
337
  version: '0'
335
338
  requirements: []
336
- rubyforge_project:
337
- rubygems_version: 2.7.7
339
+ rubygems_version: 3.1.4
338
340
  signing_key:
339
341
  specification_version: 4
340
342
  summary: Provides a Pact verification service for use with Pact