pact_broker-client 0.0.6 → 1.0.0
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 +7 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +57 -32
- data/README.md +47 -0
- data/doc/markdown/Pact Broker Client - Pact Broker.md +582 -0
- data/doc/markdown/README.md +3 -0
- data/lib/pact_broker/client/base_client.rb +3 -1
- data/lib/pact_broker/client/pact_broker_client.rb +4 -3
- data/lib/pact_broker/client/pacticipants.rb +1 -1
- data/lib/pact_broker/client/pacts.rb +22 -6
- data/lib/pact_broker/client/publish_pacts.rb +16 -6
- data/lib/pact_broker/client/retry.rb +26 -0
- data/lib/pact_broker/client/tasks/publication_task.rb +3 -2
- data/lib/pact_broker/client/version.rb +1 -1
- data/lib/pact_broker/client/versions.rb +1 -1
- data/spec/lib/pact_broker/client/base_client_spec.rb +51 -0
- data/spec/lib/pact_broker/client/pact_broker_client_spec.rb +28 -1
- data/spec/lib/pact_broker/client/pacticipants_spec.rb +18 -0
- data/spec/lib/pact_broker/client/publish_pacts_spec.rb +67 -5
- data/spec/lib/pact_broker/client/tasks/publication_task_spec.rb +4 -2
- data/spec/lib/pact_broker/client/versions_spec.rb +18 -0
- data/spec/pacts/pact_broker_client-pact_broker.json +87 -91
- data/spec/service_providers/pact_broker_client_pacticipant_version_spec.rb +56 -0
- data/spec/service_providers/pact_broker_client_publish_spec.rb +34 -12
- data/spec/service_providers/pact_broker_client_register_repository_spec.rb +2 -2
- data/spec/service_providers/pact_broker_client_retrive_pact_spec.rb +4 -47
- data/spec/service_providers/pact_broker_client_tags_spec.rb +3 -3
- data/spec/support/pacticipant_get.json +3 -3
- data/spec/support/pacticipants_list.json +1 -1
- data/spec/support/pacts_latest_list.json +2 -2
- metadata +34 -45
@@ -0,0 +1,56 @@
|
|
1
|
+
require_relative 'pact_helper'
|
2
|
+
require 'pact_broker/client'
|
3
|
+
|
4
|
+
module PactBroker::Client
|
5
|
+
describe Pacts, :pact => true do
|
6
|
+
|
7
|
+
include_context "pact broker"
|
8
|
+
|
9
|
+
describe "retriving pacticipant versions" do
|
10
|
+
context "when retrieving the production details of a version" do
|
11
|
+
context "when a version is found" do
|
12
|
+
let(:repository_ref) { "package/pricing-service-1.2.3"}
|
13
|
+
let(:tags) { ['prod']}
|
14
|
+
let(:body) { { number: '1.2.3', repository_ref: repository_ref, tags: tags } }
|
15
|
+
before do
|
16
|
+
pact_broker.
|
17
|
+
given("a pacticipant version with production details exists for the Pricing Service").
|
18
|
+
upon_receiving("a request for the latest pacticpant version tagged with 'prod'").
|
19
|
+
with(
|
20
|
+
method: :get,
|
21
|
+
path: '/pacticipants/Pricing%20Service/versions/latest',
|
22
|
+
query: 'tag=prod',
|
23
|
+
headers: get_request_headers).
|
24
|
+
will_respond_with(
|
25
|
+
status: 200,
|
26
|
+
headers: pact_broker_response_headers.merge({'Content-Type' => 'application/json'}),
|
27
|
+
body: body )
|
28
|
+
end
|
29
|
+
|
30
|
+
xit 'returns the version details' do
|
31
|
+
expect( pact_broker_client.pacticipants.versions.latest pacticipant: 'Pricing Service', tag: 'prod' ).to eq body
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
context "when a version is not found" do
|
36
|
+
before do
|
37
|
+
pact_broker.
|
38
|
+
given("no pacticipant version exists for the Pricing Service").
|
39
|
+
upon_receiving("a request for the latest pacticipant version").
|
40
|
+
with(
|
41
|
+
method: :get,
|
42
|
+
path: '/pacticipants/Pricing%20Service/versions/latest',
|
43
|
+
headers: get_request_headers).
|
44
|
+
will_respond_with(
|
45
|
+
status: 404,
|
46
|
+
headers: pact_broker_response_headers )
|
47
|
+
end
|
48
|
+
|
49
|
+
xit 'returns nil' do
|
50
|
+
expect( pact_broker_client.pacticipants.versions.latest pacticipant: 'Pricing Service' ).to eq nil
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
56
|
+
end
|
@@ -6,24 +6,32 @@ module PactBroker::Client
|
|
6
6
|
describe "publishing a pact" do
|
7
7
|
|
8
8
|
let(:options) { { pact_json: pact_json, consumer_version: consumer_version }}
|
9
|
-
|
9
|
+
let(:location) { 'http://example.org/pacts/provider/Pricing%20Service/consumer/Condor/latest' }
|
10
10
|
context "when the provider already exists in the pact-broker" do
|
11
|
+
|
11
12
|
before do
|
12
13
|
pact_broker.
|
13
14
|
given("the 'Pricing Service' already exists in the pact-broker").
|
14
15
|
upon_receiving("a request to publish a pact").
|
15
16
|
with(
|
16
17
|
method: :put,
|
17
|
-
path: '/
|
18
|
+
path: '/pacts/provider/Pricing%20Service/consumer/Condor/version/1.3.0',
|
18
19
|
headers: default_request_headers,
|
19
20
|
body: pact_hash ).
|
20
21
|
will_respond_with(
|
21
22
|
headers: pact_broker_response_headers,
|
22
|
-
status: 201
|
23
|
+
status: 201,
|
24
|
+
body: {
|
25
|
+
_links: {
|
26
|
+
:'pb:latest-pact-version' => {
|
27
|
+
href: location
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
23
31
|
)
|
24
32
|
end
|
25
|
-
it "returns
|
26
|
-
|
33
|
+
it "returns the URL to find the newly published pact" do
|
34
|
+
expect(pact_broker_client.pacticipants.versions.pacts.publish(options)).to eq location
|
27
35
|
end
|
28
36
|
end
|
29
37
|
|
@@ -34,16 +42,23 @@ module PactBroker::Client
|
|
34
42
|
upon_receiving("a request to publish a pact").
|
35
43
|
with(
|
36
44
|
method: :put,
|
37
|
-
path: '/
|
45
|
+
path: '/pacts/provider/Pricing%20Service/consumer/Condor/version/1.3.0',
|
38
46
|
headers: default_request_headers,
|
39
47
|
body: pact_hash ).
|
40
48
|
will_respond_with(
|
41
49
|
headers: pact_broker_response_headers,
|
42
|
-
status: 200
|
50
|
+
status: 200,
|
51
|
+
body: {
|
52
|
+
_links: {
|
53
|
+
:'pb:latest-pact-version' => {
|
54
|
+
href: location
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
43
58
|
)
|
44
59
|
end
|
45
60
|
it "returns true" do
|
46
|
-
expect(pact_broker_client.pacticipants.versions.pacts.publish(options)).to
|
61
|
+
expect(pact_broker_client.pacticipants.versions.pacts.publish(options)).to be_truthy
|
47
62
|
end
|
48
63
|
end
|
49
64
|
|
@@ -54,16 +69,23 @@ module PactBroker::Client
|
|
54
69
|
upon_receiving("a request to publish a pact").
|
55
70
|
with(
|
56
71
|
method: :put,
|
57
|
-
path: '/
|
72
|
+
path: '/pacts/provider/Pricing%20Service/consumer/Condor/version/1.3.0',
|
58
73
|
headers: default_request_headers,
|
59
74
|
body: pact_hash ).
|
60
75
|
will_respond_with(
|
61
76
|
headers: pact_broker_response_headers,
|
62
|
-
status: 201
|
77
|
+
status: 201,
|
78
|
+
body: {
|
79
|
+
_links: {
|
80
|
+
:'pb:latest-pact-version' => {
|
81
|
+
href: location
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
63
85
|
)
|
64
86
|
end
|
65
87
|
it "returns true" do
|
66
|
-
expect(pact_broker_client.pacticipants.versions.pacts.publish(options)).to
|
88
|
+
expect(pact_broker_client.pacticipants.versions.pacts.publish(options)).to be_truthy
|
67
89
|
end
|
68
90
|
end
|
69
91
|
|
@@ -74,7 +96,7 @@ module PactBroker::Client
|
|
74
96
|
upon_receiving("a request to publish a pact").
|
75
97
|
with(
|
76
98
|
method: :put,
|
77
|
-
path: '/
|
99
|
+
path: '/pacts/provider/Pricing%20Service/consumer/Condor/version/1.3.0',
|
78
100
|
headers: default_request_headers,
|
79
101
|
body: pact_hash ).
|
80
102
|
will_respond_with(
|
@@ -22,7 +22,7 @@ module PactBroker::Client
|
|
22
22
|
)
|
23
23
|
end
|
24
24
|
it "returns true" do
|
25
|
-
expect(pact_broker_client.pacticipants.update({:pacticipant => 'Pricing Service', :repository_url => repository_url})).to
|
25
|
+
expect(pact_broker_client.pacticipants.update({:pacticipant => 'Pricing Service', :repository_url => repository_url})).to be true
|
26
26
|
end
|
27
27
|
end
|
28
28
|
context "where the 'Pricing Service' exists in the pact-broker" do
|
@@ -41,7 +41,7 @@ module PactBroker::Client
|
|
41
41
|
)
|
42
42
|
end
|
43
43
|
it "returns true" do
|
44
|
-
expect(pact_broker_client.pacticipants.update({:pacticipant => 'Pricing Service', :repository_url => repository_url})).to
|
44
|
+
expect(pact_broker_client.pacticipants.update({:pacticipant => 'Pricing Service', :repository_url => repository_url})).to be true
|
45
45
|
end
|
46
46
|
end
|
47
47
|
end
|
@@ -14,7 +14,7 @@ module PactBroker::Client
|
|
14
14
|
upon_receiving("a request retrieve a pact for a specific version").
|
15
15
|
with(
|
16
16
|
method: :get,
|
17
|
-
path: '/
|
17
|
+
path: '/pacts/provider/Pricing%20Service/consumer/Condor/version/1.3.0',
|
18
18
|
headers: {} ).
|
19
19
|
will_respond_with(
|
20
20
|
headers: pact_broker_response_headers,
|
@@ -38,7 +38,7 @@ module PactBroker::Client
|
|
38
38
|
upon_receiving("a request to retrieve the latest pact between Condor and the Pricing Service").
|
39
39
|
with(
|
40
40
|
method: :get,
|
41
|
-
path: '/
|
41
|
+
path: '/pacts/provider/Pricing%20Service/consumer/Condor/latest',
|
42
42
|
headers: {}
|
43
43
|
).
|
44
44
|
will_respond_with(
|
@@ -61,7 +61,7 @@ module PactBroker::Client
|
|
61
61
|
upon_receiving("a request to retrieve the latest pact between Condor and the Pricing Service").
|
62
62
|
with(
|
63
63
|
method: :get,
|
64
|
-
path: '/
|
64
|
+
path: '/pacts/provider/Pricing%20Service/consumer/Condor/latest',
|
65
65
|
headers: {}
|
66
66
|
).
|
67
67
|
will_respond_with(
|
@@ -83,7 +83,7 @@ module PactBroker::Client
|
|
83
83
|
upon_receiving("a request to retrieve the pact between the production verison of Condor and the Pricing Service").
|
84
84
|
with(
|
85
85
|
method: :get,
|
86
|
-
path: '/
|
86
|
+
path: '/pacts/provider/Pricing%20Service/consumer/Condor/latest/prod',
|
87
87
|
headers: get_request_headers
|
88
88
|
).
|
89
89
|
will_respond_with(
|
@@ -102,48 +102,5 @@ module PactBroker::Client
|
|
102
102
|
end
|
103
103
|
end
|
104
104
|
|
105
|
-
describe "retriving versions" do
|
106
|
-
context "when retrieving the production details of a version" do
|
107
|
-
context "when a version is found" do
|
108
|
-
let(:repository_ref) { "package/pricing-service-1.2.3"}
|
109
|
-
let(:tags) { ['prod']}
|
110
|
-
let(:body) { { number: '1.2.3', repository_ref: repository_ref, tags: tags } }
|
111
|
-
before do
|
112
|
-
pact_broker.
|
113
|
-
given("a version with production details exists for the Pricing Service").
|
114
|
-
upon_receiving("a request for the latest version tagged with 'prod'").
|
115
|
-
with(
|
116
|
-
method: :get,
|
117
|
-
path: '/pacticipants/Pricing%20Service/versions/latest',
|
118
|
-
query: 'tag=prod',
|
119
|
-
headers: get_request_headers).
|
120
|
-
will_respond_with(
|
121
|
-
status: 200,
|
122
|
-
headers: pact_broker_response_headers.merge({'Content-Type' => 'application/json'}),
|
123
|
-
body: body )
|
124
|
-
end
|
125
|
-
it 'returns the version details' do
|
126
|
-
expect( pact_broker_client.pacticipants.versions.latest pacticipant: 'Pricing Service', tag: 'prod' ).to eq body
|
127
|
-
end
|
128
|
-
end
|
129
|
-
end
|
130
|
-
context "when a version is not found" do
|
131
|
-
before do
|
132
|
-
pact_broker.
|
133
|
-
given("no version exists for the Pricing Service").
|
134
|
-
upon_receiving("a request for the latest version").
|
135
|
-
with(
|
136
|
-
method: :get,
|
137
|
-
path: '/pacticipants/Pricing%20Service/versions/latest',
|
138
|
-
headers: get_request_headers).
|
139
|
-
will_respond_with(
|
140
|
-
status: 404,
|
141
|
-
headers: pact_broker_response_headers )
|
142
|
-
end
|
143
|
-
it 'returns nil' do
|
144
|
-
expect( pact_broker_client.pacticipants.versions.latest pacticipant: 'Pricing Service' ).to eq nil
|
145
|
-
end
|
146
|
-
end
|
147
|
-
end
|
148
105
|
end
|
149
106
|
end
|
@@ -35,7 +35,7 @@ describe PactBroker::Client::Versions, pact: true do
|
|
35
35
|
)
|
36
36
|
end
|
37
37
|
it "returns true" do
|
38
|
-
expect(pact_broker_client.pacticipants.versions.tag tag_options).to
|
38
|
+
expect(pact_broker_client.pacticipants.versions.tag tag_options).to be true
|
39
39
|
end
|
40
40
|
end
|
41
41
|
context "when the component does not exist" do
|
@@ -63,7 +63,7 @@ describe PactBroker::Client::Versions, pact: true do
|
|
63
63
|
)
|
64
64
|
end
|
65
65
|
it "returns true" do
|
66
|
-
expect(pact_broker_client.pacticipants.versions.tag tag_options).to
|
66
|
+
expect(pact_broker_client.pacticipants.versions.tag tag_options).to be true
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
@@ -93,7 +93,7 @@ describe PactBroker::Client::Versions, pact: true do
|
|
93
93
|
end
|
94
94
|
|
95
95
|
it "returns true" do
|
96
|
-
expect(pact_broker_client.pacticipants.versions.tag tag_options).to
|
96
|
+
expect(pact_broker_client.pacticipants.versions.tag tag_options).to be true
|
97
97
|
end
|
98
98
|
end
|
99
99
|
end
|
@@ -2,12 +2,12 @@
|
|
2
2
|
"_links": {
|
3
3
|
"self": { "href": "http://example.org/pacticipants/Pricing%20Service" },
|
4
4
|
"versions": { "href": "http://example.org/pacticipants/Pricing%20Service/versions" },
|
5
|
-
"
|
5
|
+
"latest-version": { "href": "http://example.org/pacticipants/Pricing%20Service/versions/latest" }
|
6
6
|
},
|
7
7
|
"name" : "Pricing Service",
|
8
|
-
"
|
8
|
+
"repositoryUrl": "git@git.realestate.com.au:business-systems/pricing-service",
|
9
9
|
"_embedded" : {
|
10
|
-
"
|
10
|
+
"latest-version" : {
|
11
11
|
"_links" : {
|
12
12
|
"self": {
|
13
13
|
"href": "http://example.org/pacticipants/Pricing%20Service/versions/1.3.0"
|
@@ -8,9 +8,9 @@
|
|
8
8
|
{
|
9
9
|
"_links": {
|
10
10
|
"self": [{
|
11
|
-
"href": "http://example.org/
|
11
|
+
"href": "http://example.org/pacts/provider/Pricing%20Service/consumer/Condor/latest"
|
12
12
|
},{
|
13
|
-
"href": "http://example.org/
|
13
|
+
"href": "http://example.org/pacts/provider/Pricing%20Service/consumer/Condor/version/1.3.0"
|
14
14
|
}]
|
15
15
|
},
|
16
16
|
"_embedded": {
|
metadata
CHANGED
@@ -1,126 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact_broker-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Bethany Skurrie
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-10-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: pact
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: httparty
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: json
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rake
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- - ~>
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 10.0.3
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- - ~>
|
66
|
+
- - "~>"
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 10.0.3
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: pry
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: fakefs
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- - ~>
|
87
|
+
- - "~>"
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0.4'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- - ~>
|
94
|
+
- - "~>"
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0.4'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: rspec-fire
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - ">="
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
description: Publishes pacts to, and retrieves pacts from, the pact broker server.
|
@@ -130,31 +115,38 @@ executables: []
|
|
130
115
|
extensions: []
|
131
116
|
extra_rdoc_files: []
|
132
117
|
files:
|
133
|
-
- .gitignore
|
134
|
-
- .rspec
|
118
|
+
- ".gitignore"
|
119
|
+
- ".rspec"
|
135
120
|
- CHANGELOG.md
|
136
121
|
- Gemfile
|
137
122
|
- Gemfile.lock
|
138
123
|
- README.md
|
139
124
|
- Rakefile
|
140
125
|
- ci.sh
|
126
|
+
- doc/markdown/Pact Broker Client - Pact Broker.md
|
127
|
+
- doc/markdown/README.md
|
141
128
|
- lib/pact_broker/client.rb
|
142
129
|
- lib/pact_broker/client/base_client.rb
|
143
130
|
- lib/pact_broker/client/pact_broker_client.rb
|
144
131
|
- lib/pact_broker/client/pacticipants.rb
|
145
132
|
- lib/pact_broker/client/pacts.rb
|
146
133
|
- lib/pact_broker/client/publish_pacts.rb
|
134
|
+
- lib/pact_broker/client/retry.rb
|
147
135
|
- lib/pact_broker/client/tasks.rb
|
148
136
|
- lib/pact_broker/client/tasks/publication_task.rb
|
149
137
|
- lib/pact_broker/client/version.rb
|
150
138
|
- lib/pact_broker/client/versions.rb
|
151
139
|
- lib/pact_broker_client.rb
|
152
140
|
- pact-broker-client.gemspec
|
141
|
+
- spec/lib/pact_broker/client/base_client_spec.rb
|
153
142
|
- spec/lib/pact_broker/client/pact_broker_client_spec.rb
|
143
|
+
- spec/lib/pact_broker/client/pacticipants_spec.rb
|
154
144
|
- spec/lib/pact_broker/client/publish_pacts_spec.rb
|
155
145
|
- spec/lib/pact_broker/client/tasks/publication_task_spec.rb
|
146
|
+
- spec/lib/pact_broker/client/versions_spec.rb
|
156
147
|
- spec/pacts/pact_broker_client-pact_broker.json
|
157
148
|
- spec/service_providers/extra_goodies_spec.rb
|
149
|
+
- spec/service_providers/pact_broker_client_pacticipant_version_spec.rb
|
158
150
|
- spec/service_providers/pact_broker_client_publish_spec.rb
|
159
151
|
- spec/service_providers/pact_broker_client_register_repository_spec.rb
|
160
152
|
- spec/service_providers/pact_broker_client_retrive_pact_spec.rb
|
@@ -169,40 +161,37 @@ files:
|
|
169
161
|
homepage: https://github.com/bethesque/pact_broker-client.git
|
170
162
|
licenses:
|
171
163
|
- MIT
|
164
|
+
metadata: {}
|
172
165
|
post_install_message:
|
173
166
|
rdoc_options: []
|
174
167
|
require_paths:
|
175
168
|
- lib
|
176
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
170
|
requirements:
|
179
|
-
- -
|
171
|
+
- - ">="
|
180
172
|
- !ruby/object:Gem::Version
|
181
173
|
version: '0'
|
182
|
-
segments:
|
183
|
-
- 0
|
184
|
-
hash: -3052204763703773771
|
185
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
|
-
none: false
|
187
175
|
requirements:
|
188
|
-
- -
|
176
|
+
- - ">="
|
189
177
|
- !ruby/object:Gem::Version
|
190
178
|
version: '0'
|
191
|
-
segments:
|
192
|
-
- 0
|
193
|
-
hash: -3052204763703773771
|
194
179
|
requirements: []
|
195
180
|
rubyforge_project:
|
196
|
-
rubygems_version:
|
181
|
+
rubygems_version: 2.4.5
|
197
182
|
signing_key:
|
198
|
-
specification_version:
|
183
|
+
specification_version: 4
|
199
184
|
summary: See description
|
200
185
|
test_files:
|
186
|
+
- spec/lib/pact_broker/client/base_client_spec.rb
|
201
187
|
- spec/lib/pact_broker/client/pact_broker_client_spec.rb
|
188
|
+
- spec/lib/pact_broker/client/pacticipants_spec.rb
|
202
189
|
- spec/lib/pact_broker/client/publish_pacts_spec.rb
|
203
190
|
- spec/lib/pact_broker/client/tasks/publication_task_spec.rb
|
191
|
+
- spec/lib/pact_broker/client/versions_spec.rb
|
204
192
|
- spec/pacts/pact_broker_client-pact_broker.json
|
205
193
|
- spec/service_providers/extra_goodies_spec.rb
|
194
|
+
- spec/service_providers/pact_broker_client_pacticipant_version_spec.rb
|
206
195
|
- spec/service_providers/pact_broker_client_publish_spec.rb
|
207
196
|
- spec/service_providers/pact_broker_client_register_repository_spec.rb
|
208
197
|
- spec/service_providers/pact_broker_client_retrive_pact_spec.rb
|