pact 1.19.0 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/pact/provider/verification_results/publish.rb +8 -5
- data/lib/pact/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91a3bec55f1ec0ebd0ce051fc4b52613b8143bf2
|
|
4
|
+
data.tar.gz: 978814b2a193198db83d41d68b5c55315ae839b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a546703241a9770b086de20318f1eaa8d2223fc56800a446dcb6fd4466da28051778d08efc3c2ef0721064d1da4d22ef0bd953d96b51e813bb894ae96b2ba8b5
|
|
7
|
+
data.tar.gz: 39237141c5ac6febcf2c4209a4d5d9a1bd610689e394d247d8ddccff67b05954d7ae36e1a324c32e2eb69cad93d4f0ec546e3305c408db70599f9e2547faabd5
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
|
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")
|
data/lib/pact/version.rb
CHANGED
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.
|
|
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-
|
|
15
|
+
date: 2017-10-31 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: randexp
|