pact-provider-verifier 1.30.0 → 1.30.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
  SHA256:
3
- metadata.gz: eff9b2a71c6f40e45953272878aa7ebb258bd185033401f6a4e9c3fc6e1af02b
4
- data.tar.gz: 78eeba2766a964d9adfd07ed49e58691e6a55964bb3a908b4ac3c23d7632f939
3
+ metadata.gz: '099c188a928486e7a91e529fb8dfa2b45535b9339402840e2743525622df8d74'
4
+ data.tar.gz: ed7c66ffae90698d5425dd89581a25436e4a5117110d01258570f53784577dc0
5
5
  SHA512:
6
- metadata.gz: f634377b978faadc856ca664c65276fc6a0e656b92bc92d85bd337096000b28dc2cfc3de269fa6e872592533391c1ba51e0646b8c8c4c1d6739215b602c0d1d6
7
- data.tar.gz: 45d8857e5dee13d48abf1d8391acd8ae1b277dd733c9e748f693b2df006246b18e9be856526f4045e2c3042e80229f304814281e51c5b211d66f0373e72eee93
6
+ metadata.gz: 9890c13f0c7e63dbe61cdec01fbade7936d8a775ef0a0b85ae741990b8ca085813a9f019065d3e69549b2827e440cbf2f46f9cd66b0e68d52203052e1080babc
7
+ data.tar.gz: a9450e4732f8a0a39bdfd74baa17331dd559a35ace0663e8b41f915f43fd3c5429361ae121f57ed24d69d03e0944cbd8b0270990aac53e0337b6f67971bc34c5
@@ -1,3 +1,13 @@
1
+ <a name="v1.30.1-1"></a>
2
+ ### v1.30.1-1 (2020-04-22)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * use symbol names for consumer version selectors ([c2c986b](/../../commit/c2c986b))
8
+ * correctly handle multiple parameters specified in the format --name=value ([c0852d0](/../../commit/c0852d0))
9
+
10
+
1
11
  <a name="v1.30.0-1"></a>
2
12
  ### v1.30.0-1 (2020-02-19)
3
13
 
data/README.md CHANGED
@@ -17,7 +17,7 @@ binary-like CLI tool.
17
17
 
18
18
  ### Docker
19
19
 
20
- Take a look at https://github.com/DiUS/pact-provider-verifier-docker or https://github.com/pact-foundation/pact-ruby-cli
20
+ Take a look at https://hub.docker.com/r/pactfoundation/pact-cli
21
21
 
22
22
  ### Native Installation
23
23
 
@@ -229,7 +229,7 @@ module Pact
229
229
  end
230
230
 
231
231
  def parse_consumer_version_selectors consumer_version_selectors
232
- consumer_version_selectors.collect{ | string | JSON.parse(string) }
232
+ consumer_version_selectors.collect{ | string | JSON.parse(string, symbolize_names: true) }
233
233
  end
234
234
 
235
235
  def merge_provider_version_tags(options)
@@ -45,20 +45,31 @@ module Pact
45
45
  def self.turn_muliple_tag_options_into_array argv
46
46
  new_argv = []
47
47
  opt_name = nil
48
- argv.each_with_index do | arg, i |
49
- if arg.start_with?('-')
50
- opt_name = arg
51
- existing = new_argv.find { | a | a.first == opt_name }
52
- if !existing
53
- new_argv << [arg]
48
+ argv.each_with_index do | word, i |
49
+ if word.start_with?('-')
50
+ if word.include?('=')
51
+ opt_name, opt_value = word.split('=', 2)
52
+
53
+ existing = new_argv.find { | a | a.first == opt_name }
54
+ if existing
55
+ existing << opt_value
56
+ else
57
+ new_argv << [opt_name, opt_value]
58
+ end
59
+ else
60
+ opt_name = word
61
+ existing = new_argv.find { | a | a.first == opt_name }
62
+ if !existing
63
+ new_argv << [word]
64
+ end
54
65
  end
55
66
  else
56
67
  if opt_name
57
68
  existing = new_argv.find { | a | a.first == opt_name }
58
- existing << arg
69
+ existing << word
59
70
  opt_name = nil
60
71
  else
61
- new_argv << [arg]
72
+ new_argv << [word]
62
73
  end
63
74
  end
64
75
  end
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module ProviderVerifier
3
- VERSION = "1.30.0"
3
+ VERSION = "1.30.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-provider-verifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.30.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Fellows
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-02-19 00:00:00.000000000 Z
12
+ date: 2020-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec