pact 1.42.0 → 1.42.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
  SHA1:
3
- metadata.gz: e4b327f444ffe97e8a904aa40ccdf20086de7507
4
- data.tar.gz: 4885272ca8b7b4eb1e3ebd8d5f995ec50fbb96b5
3
+ metadata.gz: 7a75fe9a47ba414082f937a07ef8876c4344ecb8
4
+ data.tar.gz: a361e691e42516ab1e7abdd078a0a175914b0df0
5
5
  SHA512:
6
- metadata.gz: 3e26230cf9736addab312532d9ca89bf519872b08d5a2b9a0934f4b033ca815b0c09c20f96b68fd43912621c634f6a0ca03dfc05b4475dfe6d229674c6c13f0b
7
- data.tar.gz: 5765ee8272e673040156be5cea50512bbfa613e93424260bb556bc412dded504ea25d3608f4a743bcb42b2febe4995cfe35e368c953f397c607d0ca73bb44df7
6
+ metadata.gz: 7e175aa7044ab8076452d8cc3cc22b14ae7bbbed277411fa6ea55d783de815de26ee8f693ada88e5daf41cece86ac851b2cdc5011fcdbab36fa27ffbf2da07fb
7
+ data.tar.gz: 8da3a37367a9176999eba090e6492d393ac477eb1bd72b6fb4dbd9fcc945ae7b55574e6fe7a66813018a34f435a7304afad48b658d91e29201cef1ea50ce46e5
@@ -1,3 +1,12 @@
1
+ <a name="v1.42.1"></a>
2
+ ### v1.42.1 (2019-11-09)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * can't use safe navigation operator because of Ruby 2.2 in Travelling Ruby for the pact-ruby-standalone ([3068ceb](/../../commit/3068ceb))
8
+
9
+
1
10
  <a name="v1.42.0"></a>
2
11
  ### v1.42.0 (2019-09-26)
3
12
 
@@ -18,8 +18,8 @@ module Pact
18
18
 
19
19
  def initialize(provider, consumer_version_selectors, provider_version_tags, broker_base_url, http_client_options)
20
20
  @provider = provider
21
- @consumer_version_selectors = consumer_version_selectors
22
- @provider_version_tags = provider_version_tags
21
+ @consumer_version_selectors = consumer_version_selectors || []
22
+ @provider_version_tags = provider_version_tags || []
23
23
  @http_client_options = http_client_options
24
24
  @broker_base_url = broker_base_url
25
25
  @http_client = Pact::Hal::HttpClient.new(http_client_options)
@@ -67,18 +67,18 @@ module Pact
67
67
 
68
68
  def query
69
69
  q = {}
70
- if consumer_version_selectors&.any?
70
+ if consumer_version_selectors.any?
71
71
  q["consumer_version_selectors"] = consumer_version_selectors
72
72
  end
73
73
 
74
- if provider_version_tags&.any?
74
+ if provider_version_tags.any?
75
75
  q["provider_version_tags"] = provider_version_tags
76
76
  end
77
77
  q
78
78
  end
79
79
 
80
80
  def log_message
81
- latest = consumer_version_selectors&.any? ? "" : "latest "
81
+ latest = consumer_version_selectors.any? ? "" : "latest "
82
82
  message = "INFO: Fetching #{latest}pacts for #{provider} from #{broker_base_url}"
83
83
  if consumer_version_selectors&.any?
84
84
  desc = consumer_version_selectors.collect do |selector|
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.42.0"
3
+ VERSION = "1.42.1"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.42.0
4
+ version: 1.42.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Fraser
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2019-09-26 00:00:00.000000000 Z
15
+ date: 2019-11-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp