pact 1.41.0 → 1.41.1
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/hal/link.rb +2 -2
- data/lib/pact/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6d1e46624d3756dd84a50512d752e7e9b57a350
|
4
|
+
data.tar.gz: 2a809893a9f2079e56cd7731c05295aa6834f595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1938a05fdd651247fe0a0c8786ea6b603b7c6364105c40571a72953d9e5cb13fc963ec56591ebb3dc47273f9ca254b47b36c7c924d669143e8c0d726b35bc68
|
7
|
+
data.tar.gz: b4ef952c2d0c7ccc62e1a65e46ec174b0443e87727668721449cab333bae7a9542071c34b915e3df24e15d8bcac24a825867417847c4dceb17571630e792d90a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
<a name="v1.41.1"></a>
|
2
|
+
### v1.41.1 (2019-09-04)
|
3
|
+
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* use to_json instead of JSON.dump because it generates different JSON when used in conjuction with other libraries (eg. Oj) ([14566fb](/../../commit/14566fb))
|
8
|
+
|
9
|
+
|
1
10
|
<a name="v1.41.0"></a>
|
2
11
|
### v1.41.0 (2019-05-22)
|
3
12
|
|
data/lib/pact/hal/link.rb
CHANGED
@@ -41,11 +41,11 @@ module Pact
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def put(payload = nil, headers = {})
|
44
|
-
wrap_response(href, @http_client.put(href, payload ?
|
44
|
+
wrap_response(href, @http_client.put(href, payload ? payload.to_json : nil, headers))
|
45
45
|
end
|
46
46
|
|
47
47
|
def post(payload = nil, headers = {})
|
48
|
-
wrap_response(href, @http_client.post(href, payload ?
|
48
|
+
wrap_response(href, @http_client.post(href, payload ? payload.to_json : nil, headers))
|
49
49
|
end
|
50
50
|
|
51
51
|
def expand(params)
|
data/lib/pact/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.41.
|
4
|
+
version: 1.41.1
|
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: 2019-
|
15
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: randexp
|
@@ -397,7 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
397
397
|
version: '0'
|
398
398
|
requirements: []
|
399
399
|
rubyforge_project:
|
400
|
-
rubygems_version: 2.6.
|
400
|
+
rubygems_version: 2.6.14.3
|
401
401
|
signing_key:
|
402
402
|
specification_version: 4
|
403
403
|
summary: Enables consumer driven contract testing, providing a mock service and DSL
|