pact 1.41.0 → 1.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96a4c13319a6a73992c90671ac2bd8534c5cc8b7
4
- data.tar.gz: 635cd37e9d7dfb4e0e96df05ed6f04fe5950d715
3
+ metadata.gz: f6d1e46624d3756dd84a50512d752e7e9b57a350
4
+ data.tar.gz: 2a809893a9f2079e56cd7731c05295aa6834f595
5
5
  SHA512:
6
- metadata.gz: e7e439fab1aa8e5ac7213bdd07b3253477c15c5f134bb85587569e20aaf78b474121b1979ec97deb699af37e510a9a140b5cceb2a7ab83aa841ad861792ee8e4
7
- data.tar.gz: 2fe5aff283d9aa665ae86612d37cf39e1472b9c38120d8d5caf6ce1239e57b29e899576c7cbc9c48d38a511266c3e926c5589b9b5999b43f69effb1ace20ef29
6
+ metadata.gz: e1938a05fdd651247fe0a0c8786ea6b603b7c6364105c40571a72953d9e5cb13fc963ec56591ebb3dc47273f9ca254b47b36c7c924d669143e8c0d726b35bc68
7
+ data.tar.gz: b4ef952c2d0c7ccc62e1a65e46ec174b0443e87727668721449cab333bae7a9542071c34b915e3df24e15d8bcac24a825867417847c4dceb17571630e792d90a
@@ -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
 
@@ -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 ? JSON.dump(payload) : nil, headers))
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 ? JSON.dump(payload) : nil, headers))
48
+ wrap_response(href, @http_client.post(href, payload ? payload.to_json : nil, headers))
49
49
  end
50
50
 
51
51
  def expand(params)
@@ -1,4 +1,4 @@
1
1
  # Remember to bump pact-provider-proxy when this changes major version
2
2
  module Pact
3
- VERSION = "1.41.0"
3
+ VERSION = "1.41.1"
4
4
  end
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.0
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-05-22 00:00:00.000000000 Z
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.11
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