pact-support 1.14.1 → 1.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/pact/matchers/matchers.rb +5 -1
- data/lib/pact/support/version.rb +1 -1
- data/lib/pact/term.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8e36b3c66900b3202d78a5aca13982c1b27c097132c4c9564751fcca8990250
|
4
|
+
data.tar.gz: 05f9d2dac19eecaf582039de6acec5d14722c1986477619fbedb520eaeae9c7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee6227d0985aee3b0059f609de3bc793eecf1060aa25acfdf6c11c41b4d711400ac8e3a0e55719e9653071c80db273e3951ff0bcb83a4af3a1678ba2eae041c6
|
7
|
+
data.tar.gz: 9d46ef680fb7db12cecf440df63dbc9c840a754f1f94093786b442e9b652461d7d679138986ea0a6fba950ceb37837224052d1f7bc8744d0bad20a0d9ab0d38c
|
data/CHANGELOG.md
CHANGED
@@ -120,7 +120,11 @@ module Pact
|
|
120
120
|
def array_like_diff array_like, actual, options
|
121
121
|
if actual.is_a? Array
|
122
122
|
expected_size = [array_like.min, actual.size].max
|
123
|
-
|
123
|
+
# I know changing this is going to break something, but I don't know what it is, as there's no
|
124
|
+
# test that fails when I make this change. I know the unpack regexps was there for a reason however.
|
125
|
+
# Guess we'll have to change it and see!
|
126
|
+
# expected_array = expected_size.times.collect{ Pact::Term.unpack_regexps(array_like.contents) }
|
127
|
+
expected_array = expected_size.times.collect{ array_like.contents }
|
124
128
|
actual_array_diff expected_array, actual, options.merge(:type => true)
|
125
129
|
else
|
126
130
|
Difference.new array_like.generate, actual, type_difference_message(array_like.generate, actual)
|
data/lib/pact/support/version.rb
CHANGED
data/lib/pact/term.rb
CHANGED
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.
|
4
|
+
version: 1.14.2
|
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-
|
15
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: randexp
|