pact-support 1.14.2 → 1.14.3

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: a8e36b3c66900b3202d78a5aca13982c1b27c097132c4c9564751fcca8990250
4
- data.tar.gz: 05f9d2dac19eecaf582039de6acec5d14722c1986477619fbedb520eaeae9c7f
3
+ metadata.gz: '087dcf6851c39ea4ebd35e99b0ca22187881043cfdfd9066aec43f84e7b0312a'
4
+ data.tar.gz: 0dbadb7e1f17f75c08380559800293bc1d150c96d86f757d28baf12a0db3151e
5
5
  SHA512:
6
- metadata.gz: ee6227d0985aee3b0059f609de3bc793eecf1060aa25acfdf6c11c41b4d711400ac8e3a0e55719e9653071c80db273e3951ff0bcb83a4af3a1678ba2eae041c6
7
- data.tar.gz: 9d46ef680fb7db12cecf440df63dbc9c840a754f1f94093786b442e9b652461d7d679138986ea0a6fba950ceb37837224052d1f7bc8744d0bad20a0d9ab0d38c
6
+ metadata.gz: 605bef579256f250e1f460558c1c70f5883ce3112aec69b41aa26128ba76d0f3fbebd7c6ca766c5d2552b22302d60c3c9b34a42d69ae6d642dde2db227b365fc
7
+ data.tar.gz: 6d3876bbfa8f702790a4131c72fb092952297ee963e2a0e6cdd28d76de69ef6fdd6c11c55d18ef5cfc907fddc9fb972838f01a6f16d0700c93d920a7697e351b
@@ -1,3 +1,12 @@
1
+ <a name="v1.14.3"></a>
2
+ ### v1.14.3 (2020-04-06)
3
+
4
+
5
+ #### Bug Fixes
6
+
7
+ * do not blow up when there are no matchers ([ac70846](/../../commit/ac70846))
8
+
9
+
1
10
  <a name="v1.14.2"></a>
2
11
  ### v1.14.2 (2020-03-25)
3
12
 
@@ -108,8 +108,10 @@ module Pact
108
108
  def log_ignored_rules
109
109
  @matching_rules.each do | jsonpath, rules_hash |
110
110
  rules_array = rules_hash["matchers"]
111
- ((rules_array.length - 1)..0).each do | index |
112
- rules_array.delete_at(index) if rules_array[index].empty?
111
+ if rules_array
112
+ ((rules_array.length - 1)..0).each do | index |
113
+ rules_array.delete_at(index) if rules_array[index].empty?
114
+ end
113
115
  end
114
116
  end
115
117
 
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Support
3
- VERSION = "1.14.2"
3
+ VERSION = "1.14.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pact-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.2
4
+ version: 1.14.3
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: 2020-03-25 00:00:00.000000000 Z
15
+ date: 2020-04-06 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp