pact-support 1.16.2 → 1.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/pact/consumer_contract/query.rb +12 -0
- data/lib/pact/support/version.rb +1 -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: 21b34941c3f361a8b7de218ebbbcd6327da07bdbc751a44a05fec1a3b9c1c54b
|
4
|
+
data.tar.gz: 7b0fa37d00fcafe3850b22ce19657e1cbef146d3d9ee77d1cc92503376409289
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa6230402d114538c81e6d1a90bed0267f86a21a18e9bda1cd75545a8853e9bebce1b1babb965e2eb07a50cb863f9c2567720f31efd884e3aeca8d74cd442094
|
7
|
+
data.tar.gz: 7b35d7033cba46c342f0eba471e5bbb3409875a9715fed8e4033903e1332d601d449d505b9d0ebd9ae789607abcdf8398cae4df65b9834542407c29c83b451ff
|
data/CHANGELOG.md
CHANGED
@@ -109,6 +109,18 @@ module Pact
|
|
109
109
|
obj.is_a?(Hash)
|
110
110
|
end
|
111
111
|
|
112
|
+
def self.params_hash_has_key?(hash, key)
|
113
|
+
return false if /\[\]/.match?(key)
|
114
|
+
|
115
|
+
key.split(/[\[\]]+/).inject(hash) do |h, part|
|
116
|
+
next h if part == ''
|
117
|
+
return false unless params_hash_type?(h) && h.key?(part)
|
118
|
+
h[part]
|
119
|
+
end
|
120
|
+
|
121
|
+
true
|
122
|
+
end
|
123
|
+
|
112
124
|
def self.unescape(s, encoding = Encoding::UTF_8)
|
113
125
|
URI.decode_www_form_component(s, encoding)
|
114
126
|
end
|
data/lib/pact/support/version.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.16.
|
4
|
+
version: 1.16.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-11-
|
15
|
+
date: 2020-11-10 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: randexp
|