pact-provider-verifier 1.16.1 → 1.17.0

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: e8f2845cce38788cc0241f33bd904fe6450116e71105e40e6c63f0fa577f4e6d
4
- data.tar.gz: 8e9a4f0d417052fb57cb9986c105990b39cad6a94f4501bd6e5f0f673c6bf608
3
+ metadata.gz: f9a81a012908b0e5c40d70fc383041979cbe9e788d70e50b7ff88125264897eb
4
+ data.tar.gz: 8b6017a1b1b8be59aaecfb3a9cbe672994747859c4e423c280cb57541b77c465
5
5
  SHA512:
6
- metadata.gz: 0bcbd0c5c3e3578546644fcf8ac957244c64dec810d5bb9ef2a9d4e5a064c9ab5694a6c4bd3bebf15e575070fd57ae42411917e5d7b8f002143058f7391e3e9a
7
- data.tar.gz: 54b83559ebf1ec81157cd1733f32c550b3d4cbcb6093c911c066cc68b91e5f2c36a6331aeaac568bd8d9ff4cec16f4b823f51ac6826689858b03a07d4c835b57
6
+ metadata.gz: 85855c162d8798e1e2d36b80c2ca773908b25135cc35115239f43987fd87aaa243732fce1a5ddb12d74b0ffbd54eab7b5cf0dbb918f67973733724aa532f437d
7
+ data.tar.gz: e14d6f338fe7d324642260e1aedbb3dd5a2d1d6e9c4093db433b7d80a66d7fe83530715bb458c17bb7111cc271ad951dd0ec51817cb7851fc6f82c56f5a14cb6
@@ -1,3 +1,12 @@
1
+ <a name="v1.17.0-1"></a>
2
+ ### v1.17.0-1 (2018-09-06)
3
+
4
+
5
+ #### Features
6
+
7
+ * rename wip in CLI to ignore-failures and wip pacts to pending pacts ([bf9ed81](/../../commit/bf9ed81))
8
+
9
+
1
10
  <a name="v1.16.1-1"></a>
2
11
  ### v1.16.1-1 (2018-09-05)
3
12
 
@@ -27,23 +27,23 @@ module Pact
27
27
 
28
28
  def pacts_urls_from_broker
29
29
  if pact_broker_base_url && provider_name
30
- net_wip_pact_uris.collect{ | uri| OpenStruct.new(uri: uri, wip: true) } +
31
- non_wip_pact_uris.collect{ | uri| OpenStruct.new(uri: uri) }
30
+ net_pending_pact_uris.collect{ | uri| OpenStruct.new(uri: uri, pending: true) } +
31
+ non_pending_pact_uris.collect{ | uri| OpenStruct.new(uri: uri) }
32
32
  else
33
33
  []
34
34
  end
35
35
  end
36
36
 
37
- def non_wip_pact_uris
38
- @non_wip_pact_uris ||= Pact::PactBroker.fetch_pact_uris(provider_name, consumer_version_tags, pact_broker_base_url, http_client_options)
37
+ def non_pending_pact_uris
38
+ @non_pending_pact_uris ||= Pact::PactBroker.fetch_pact_uris(provider_name, consumer_version_tags, pact_broker_base_url, http_client_options)
39
39
  end
40
40
 
41
- def wip_pact_uris
42
- @wip_pact_uris ||= Pact::PactBroker.fetch_wip_pact_uris(provider_name, pact_broker_base_url, http_client_options)
41
+ def pending_pact_uris
42
+ @pending_pact_uris ||= Pact::PactBroker.fetch_pending_pact_uris(provider_name, pact_broker_base_url, http_client_options)
43
43
  end
44
44
 
45
- def net_wip_pact_uris
46
- wip_pact_uris - non_wip_pact_uris
45
+ def net_pending_pact_uris
46
+ pending_pact_uris - non_pending_pact_uris
47
47
  end
48
48
  end
49
49
  end
@@ -102,7 +102,7 @@ module Pact
102
102
  pact_broker_password: options.broker_password,
103
103
  format: options.format,
104
104
  out: options.out,
105
- wip: config.wip
105
+ ignore_failures: config.pending
106
106
  }
107
107
  verify_options[:description] = ENV['PACT_DESCRIPTION'] if ENV['PACT_DESCRIPTION']
108
108
  verify_options[:provider_state] = ENV['PACT_PROVIDER_STATE'] if ENV['PACT_PROVIDER_STATE']
@@ -26,14 +26,14 @@ module Pact
26
26
  method_option :provider_states_url, aliases: "-s", :required => false, hide: true
27
27
  method_option :format, banner: "FORMATTER", aliases: "-f", desc: "RSpec formatter. Defaults to custom Pact formatter. Other options are json and RspecJunitFormatter (which outputs xml)."
28
28
  method_option :out, aliases: "-o", banner: "FILE", desc: "Write output to a file instead of $stdout."
29
- method_option :wip, type: :boolean, default: false, desc: "If WIP, process will always exit with exit code 0", hide: true
29
+ method_option :ignore_failures, type: :boolean, default: false, desc: "If specified, process will always exit with exit code 0", hide: true
30
30
  method_option :pact_urls, aliases: "-u", hide: true, :required => false
31
31
 
32
32
  def verify(*pact_urls)
33
33
  validate_verify
34
34
  print_deprecation_warnings
35
35
  success = Pact::ProviderVerifier::App.call(merged_urls(pact_urls), options)
36
- exit_with_non_zero_status if !success && !options.wip
36
+ exit_with_non_zero_status if !success && !options.ignore_failures
37
37
  end
38
38
 
39
39
  default_task :verify
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module ProviderVerifier
3
- VERSION = "1.16.1"
3
+ VERSION = "1.17.0"
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.16.1
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Fellows
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '1.33'
35
35
  - - ">="
36
36
  - !ruby/object:Gem::Version
37
- version: 1.33.1
37
+ version: 1.33.2
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '1.33'
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.33.1
47
+ version: 1.33.2
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: pact-message
50
50
  requirement: !ruby/object:Gem::Requirement