pact 1.19.0 → 1.19.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: d10f4cf98866584ab730653b049d9bec27845dfd
4
- data.tar.gz: 1964e13278474b1343a5f8cd96b2ea58cf60cd35
3
+ metadata.gz: 91a3bec55f1ec0ebd0ce051fc4b52613b8143bf2
4
+ data.tar.gz: 978814b2a193198db83d41d68b5c55315ae839b5
5
5
  SHA512:
6
- metadata.gz: 5b937d2e132eff171932150b0cabe8711c6f9af52b7eb964e94c05c257e946c090070083962d503e828b9c9c475a0440cf49c3dff5887f551913d3598d508a4d
7
- data.tar.gz: a60dd39b54c749f2dd24952cdc22399812dd029410df2d94f1f9692c4d45ca7cad5580eb7ef3e0e87f728e6e50a5a8bd85198e4a18f6389108b89d192b22aa05
6
+ metadata.gz: a546703241a9770b086de20318f1eaa8d2223fc56800a446dcb6fd4466da28051778d08efc3c2ef0721064d1da4d22ef0bd953d96b51e813bb894ae96b2ba8b5
7
+ data.tar.gz: 39237141c5ac6febcf2c4209a4d5d9a1bd610689e394d247d8ddccff67b05954d7ae36e1a324c32e2eb69cad93d4f0ec546e3305c408db70599f9e2547faabd5
@@ -1,3 +1,13 @@
1
+ <a name="v1.19.1"></a>
2
+ ### v1.19.1 (2017-10-31)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * **verifications**
8
+ * do not print warning about missing pb:tag-version link when there are no tags configured ([ed9468a](/../../commit/ed9468a))
9
+
10
+
1
11
  <a name="v1.19.0"></a>
2
12
  ### v1.19.0 (2017-10-30)
3
13
 
@@ -23,11 +23,14 @@ module Pact
23
23
 
24
24
  def call
25
25
  if Pact.configuration.provider.publish_verification_results?
26
- if tag_url('')
27
- tag
28
- else
29
- Pact.configuration.error_stream.puts "WARN: Cannot tag provider version as there is no link named pb:tag-version in the pact JSON."
26
+ if Pact.configuration.provider.tags.any?
27
+ if tag_url('')
28
+ tag_versions
29
+ else
30
+ Pact.configuration.error_stream.puts "WARN: Cannot tag provider version as there is no link named pb:tag-version in the pact JSON."
31
+ end
30
32
  end
33
+
31
34
  if publication_url
32
35
  publish
33
36
  else
@@ -47,7 +50,7 @@ module Pact
47
50
  href ? href.gsub('{tag}', tag) : nil
48
51
  end
49
52
 
50
- def tag
53
+ def tag_versions
51
54
  Pact.configuration.provider.tags.each do | tag |
52
55
  uri = URI(tag_url(tag))
53
56
  request = build_request('Put', uri, nil, "Tagging provider version at")
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.19.0"
3
+ VERSION = "1.19.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.19.0
4
+ version: 1.19.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: 2017-10-30 00:00:00.000000000 Z
15
+ date: 2017-10-31 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp