pact_broker-client 1.5.0 → 1.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a630ec3051f4b51d5a8acb1ca7365bf47742eecd
4
- data.tar.gz: 73f384f4e4609e169e54b4bcc464cc670c43b483
3
+ metadata.gz: 2da168156e0a87c5ada9a57862ff68b35457aee7
4
+ data.tar.gz: 6e7a10febc1466ffd8362d287be80c24a9cf99dd
5
5
  SHA512:
6
- metadata.gz: 7f0803e0421cf2499da988d58e6de8156fc2bfcd8c8ffab89e139431b51907c3c42d32293c754f98a64051c878dc942b17915038b6d563a155be5f3c5d5cbf90
7
- data.tar.gz: 9ccc081095706def8781febb131ee1d85616e33eede87f554dc4c9d7e34728e427f4babe6f2f97b8ddb18a03e7cdac99259d93926d025c68d6fb288c1140343c
6
+ metadata.gz: 3366140d2ba0adc2a2a3a9d5d91d4821877a3a32b2b97348140d86a591b2eb0bb7333480d1c385d179d1a89dca2fd434ee5315daf5723d49bea50cb4578a3830
7
+ data.tar.gz: df9d0e2fad9fc73a7d890ab7c283700e8c169d8f8ebb094de21bf54fa7c5b7d8a3482ec62f34393c6bd47e8fa711815bde6302971dab5d0227965ecc030e3f00
@@ -1,3 +1,11 @@
1
+ <a name="v1.6.0"></a>
2
+ ### v1.6.0 (2017-10-01)
3
+
4
+ #### BREAKING CHANGES
5
+
6
+ * **cli**
7
+ * change cli option names to match pact-provider-verifier ([0682662](/../../commit/0682662))
8
+
1
9
  <a name="v1.5.0"></a>
2
10
  ### v1.5.0 (2017-09-28)
3
11
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- pact_broker-client (1.5.0)
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.1.0)
42
+ pact-mock_service (2.2.0)
43
43
  find_a_port (~> 1.0.1)
44
44
  json
45
- pact-support (~> 1.0)
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)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- pact_broker-client (1.5.0)
4
+ pact_broker-client (1.6.0)
5
5
  httparty
6
6
  json
7
7
  term-ansicolor
@@ -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 :consumer_version, required: true, aliases: "-v", desc: "The consumer application version"
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 :username, aliases: "-u", desc: "Basic auth username for Pact Broker"
18
- method_option :password, aliases: "-p", desc: "Basic auth password for Pact Broker"
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[:consumer_version],
49
+ options[:consumer_app_version],
49
50
  tags,
50
51
  pact_broker_client_options
51
52
  )
@@ -1,5 +1,5 @@
1
1
  module PactBroker
2
2
  module Client
3
- VERSION = '1.5.0'
3
+ VERSION = '1.6.0'
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ module PactBroker::Client::CLI
12
12
  let(:minimum_valid_options) do
13
13
  {
14
14
  pact_dir: 'spec/pacts',
15
- consumer_version: '1.2.3',
15
+ consumer_app_version: '1.2.3',
16
16
  broker_base_url: 'http://pact-broker'
17
17
  }
18
18
  end
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.5.0
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-09-30 00:00:00.000000000 Z
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.11
244
+ rubygems_version: 2.6.12
245
245
  signing_key:
246
246
  specification_version: 4
247
247
  summary: See description