pact-support 1.3.0 → 1.3.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: 6bc207d989ed7eac517729f4664305316b83b64b
4
- data.tar.gz: 5e1a83e3f0d51d01ef712ee33091ef070b926ba6
3
+ metadata.gz: 1e668698e96af72ebd649a7e15fcaa82b7142573
4
+ data.tar.gz: 92cd14ff7d38523862c61ef9895a535e2a041dde
5
5
  SHA512:
6
- metadata.gz: fc3a3af1fa03f3d920741bd65e0bf83047bc29eddea3109d755cababd978d0de9e26f2c1e3c944f79623b2d41ef06416184357c2247d62b6e072b5059c81d33c
7
- data.tar.gz: 286126e9c5cc0e5c617e0c1cb324a5453a82b8b37f34dc367ded266dbb19618d1f7cbf7f73029b6ed83a3850cb2c9ee325caa642acf844347998d0122f407eb8
6
+ metadata.gz: ee0b4cc48097be82874667836994d807d2f99ee755d82456af17e08659132265b936c6684faa2547c80642f0043d8623d21c544f7cd7ab54726e1cc7231f7f7f
7
+ data.tar.gz: 713779dfcf51c9ba6e3a75791c0d21522e9f643ba31757b030a0ce3e8c963bd67f21dc5201b0155c1894a458c736f9454d851f4cfdb07c515a8d1159251d3c2e
@@ -1,3 +1,11 @@
1
+ <a name="v1.3.1"></a>
2
+ ### v1.3.1 (2018-03-19)
3
+
4
+ #### Bug Fixes
5
+
6
+ * dynamically load pact/matchers ([d80e0ff](/../../commit/d80e0ff))
7
+
8
+
1
9
  <a name="v1.3.0"></a>
2
10
  ### v1.3.0 (2018-03-19)
3
11
 
@@ -3,10 +3,9 @@ require 'uri'
3
3
  module Pact
4
4
  class FormDiffer
5
5
 
6
- extend Matchers
7
-
8
6
  def self.call expected, actual, options = {}
9
- diff to_hash(expected), to_hash(actual), options
7
+ require 'pact/matchers' # avoid recursive loop between this file and pact/matchers
8
+ ::Pact::Matchers.diff to_hash(expected), to_hash(actual), options
10
9
  end
11
10
 
12
11
  def self.to_hash form_body
@@ -29,6 +28,5 @@ module Pact
29
28
  hash[key] << value
30
29
  end
31
30
  end
32
-
33
31
  end
34
32
  end
@@ -1,13 +1,10 @@
1
1
  module Pact
2
2
  class JsonDiffer
3
3
 
4
- extend Matchers
5
-
6
4
  # Delegates to https://github.com/pact-foundation/pact-support/blob/master/lib/pact/matchers/matchers.rb#L25
7
5
  def self.call expected, actual, options = {}
8
- diff expected, actual, options
6
+ require 'pact/matchers' # avoid recursive loop between this file and pact/matchers
7
+ ::Pact::Matchers.diff expected, actual, options
9
8
  end
10
-
11
-
12
9
  end
13
10
  end
@@ -1,12 +1,10 @@
1
- require 'pact/matchers/difference'
2
1
 
3
2
  module Pact
4
3
  class TextDiffer
5
4
 
6
- extend Matchers
7
-
8
5
  def self.call expected, actual, options = {}
9
- diff expected, actual, options
6
+ require 'pact/matchers' # avoid recursive loop between this file and pact/matchers
7
+ ::Pact::Matchers.diff expected, actual, options
10
8
  end
11
9
 
12
10
  end
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Support
3
- VERSION = "1.3.0"
3
+ VERSION = "1.3.1"
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.3.0
4
+ version: 1.3.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: 2018-03-18 00:00:00.000000000 Z
15
+ date: 2018-03-19 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp