pact_broker-client 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/gemfiles/default.gemfile.lock +6 -6
- data/gemfiles/ruby_under_22.gemfile.lock +1 -1
- data/lib/pact_broker/client/cli/publish.rb +5 -4
- data/lib/pact_broker/client/version.rb +1 -1
- data/spec/lib/pact_broker/client/cli/publish_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2da168156e0a87c5ada9a57862ff68b35457aee7
|
4
|
+
data.tar.gz: 6e7a10febc1466ffd8362d287be80c24a9cf99dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3366140d2ba0adc2a2a3a9d5d91d4821877a3a32b2b97348140d86a591b2eb0bb7333480d1c385d179d1a89dca2fd434ee5315daf5723d49bea50cb4578a3830
|
7
|
+
data.tar.gz: df9d0e2fad9fc73a7d890ab7c283700e8c169d8f8ebb094de21bf54fa7c5b7d8a3482ec62f34393c6bd47e8fa711815bde6302971dab5d0227965ecc030e3f00
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
pact_broker-client (1.
|
4
|
+
pact_broker-client (1.6.0)
|
5
5
|
httparty
|
6
6
|
json
|
7
7
|
term-ansicolor
|
@@ -39,16 +39,16 @@ GEM
|
|
39
39
|
term-ansicolor (~> 1.0)
|
40
40
|
thor
|
41
41
|
webrick
|
42
|
-
pact-mock_service (2.
|
42
|
+
pact-mock_service (2.2.0)
|
43
43
|
find_a_port (~> 1.0.1)
|
44
44
|
json
|
45
|
-
pact-support (~> 1.
|
46
|
-
rack
|
45
|
+
pact-support (~> 1.2)
|
46
|
+
rack (~> 2.0)
|
47
47
|
rack-test (~> 0.6.2)
|
48
48
|
rspec (>= 2.14)
|
49
49
|
term-ansicolor (~> 1.0)
|
50
|
-
thor
|
51
|
-
webrick
|
50
|
+
thor (~> 0.19)
|
51
|
+
webrick (~> 1.3)
|
52
52
|
pact-support (1.2.0)
|
53
53
|
awesome_print (~> 1.1)
|
54
54
|
find_a_port (~> 1.0.1)
|
@@ -12,11 +12,12 @@ module PactBroker
|
|
12
12
|
|
13
13
|
class Publish < CustomThor
|
14
14
|
desc 'PACT_DIRS_OR_FILES ...', "Publish pacts to a Pact Broker."
|
15
|
-
method_option :
|
15
|
+
method_option :consumer_app_version, required: true, aliases: "-a", desc: "The consumer application version"
|
16
16
|
method_option :broker_base_url, required: true, aliases: "-b", desc: "The base URL of the Pact Broker"
|
17
|
-
method_option :
|
18
|
-
method_option :
|
17
|
+
method_option :broker_username, aliases: "-n", desc: "Pact Broker basic auth username"
|
18
|
+
method_option :broker_password, aliases: "-p", desc: "Pact Broker basic auth password"
|
19
19
|
method_option :tag, aliases: "-t", type: :array, banner: "TAG", desc: "Tag name for consumer version. Can be specified multiple times."
|
20
|
+
method_option :verbose, aliases: "-v", desc: "Verbose output", :required => false
|
20
21
|
|
21
22
|
def broker(*pact_files)
|
22
23
|
validate(pact_files)
|
@@ -45,7 +46,7 @@ module PactBroker
|
|
45
46
|
PactBroker::Client::PublishPacts.call(
|
46
47
|
options[:broker_base_url],
|
47
48
|
file_list(pact_files),
|
48
|
-
options[:
|
49
|
+
options[:consumer_app_version],
|
49
50
|
tags,
|
50
51
|
pact_broker_client_options
|
51
52
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact_broker-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bethany Skurrie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
241
241
|
version: '0'
|
242
242
|
requirements: []
|
243
243
|
rubyforge_project:
|
244
|
-
rubygems_version: 2.6.
|
244
|
+
rubygems_version: 2.6.12
|
245
245
|
signing_key:
|
246
246
|
specification_version: 4
|
247
247
|
summary: See description
|