pact-support 0.5.8 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2de833e83f1a3601b744d32284ec97cae255845
4
- data.tar.gz: 7973e7dc4abf2be5585fa711cf6720bb03142b3a
3
+ metadata.gz: 8332f5346c4cc2cab4115702bace6cacdcfaa727
4
+ data.tar.gz: f64dfa7882eb26521ef44330df6801f802245029
5
5
  SHA512:
6
- metadata.gz: c699cb335a46aa904f37e2eaad71794f91a7c979ac80537eaa6ca666863cfd82cf9218be1cf666495d6cc903c69abf805a7c041115a76e72994526caffc6a96b
7
- data.tar.gz: e7c6c581a58a1508441b502a3ceb65a364fb6dde957ef4096fb52246edafd2f2d80df17e022d29083b13c890dbfc742fd03a029cb060fc8ffe8e5b7ab4f07cfc
6
+ metadata.gz: ed7b69cac96db9188a9e91bbf0441d627e7202789d6beba8d7f283f390280a43b47a5de1e9c525d6147761571d87c61454dbdd5778ebe6631006886d504c04bb
7
+ data.tar.gz: 7837ef35f030837c9451bbbc679d5db603e3473175b9ba624ee15921225d2f8f67ec0b400757fea0b807e037ae81847d1e747dda940b5faac74090bb2fb87d91
@@ -2,6 +2,10 @@ Do this to generate your change history
2
2
 
3
3
  git log --pretty=format:' * %h - %s (%an, %ad)' vX.Y.Z..HEAD
4
4
 
5
+ ### 0.5.9 (27 Jun 2016)
6
+ * dea4645 - Clarify that pact-support will only work with ruby >= 2.0 (Sergei Matheson, Mon Jun 27 10:18:32 2016 +1000)
7
+ * 50ea21f - Update json_differ.rb (Beth Skurrie, Thu Jun 9 16:01:34 2016 +1000)
8
+ * d303870 - Comment. (Beth Skurrie, Thu Jun 9 15:57:34 2016 +1000)
5
9
 
6
10
  ### 0.5.8 (26 May 2016)
7
11
  * 768b382 - Add pactfile_write_order configuration (Alex Malkov, Mon May 23 11:02:27 2016 +0100)
@@ -15,6 +15,7 @@ require 'pact/matchers/no_diff_at_index'
15
15
  require 'pact/array_like'
16
16
 
17
17
  module Pact
18
+ # should be called Differs
18
19
  module Matchers
19
20
 
20
21
  NO_DIFF_AT_INDEX = NoDiffAtIndex.new
@@ -4,8 +4,8 @@ module Pact
4
4
  class JsonDiffer
5
5
 
6
6
  extend Matchers
7
-
8
-
7
+
8
+ # Delegates to https://github.com/bethesque/pact-support/blob/master/lib/pact/matchers/matchers.rb#L25
9
9
  def self.call expected, actual, options = {}
10
10
  diff expected, actual, options
11
11
  end
@@ -1,5 +1,5 @@
1
1
  module Pact
2
2
  module Support
3
- VERSION = "0.5.8"
3
+ VERSION = "0.5.9"
4
4
  end
5
5
  end
@@ -11,6 +11,8 @@ Gem::Specification.new do |gem|
11
11
  gem.summary = %q{Shared code for Pact gems}
12
12
  gem.homepage = "https://github.com/bethesque/pact-support"
13
13
 
14
+ gem.required_ruby_version = '>= 2.0'
15
+
14
16
  gem.files = `git ls-files`.split($/)
15
17
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
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: 0.5.8
4
+ version: 0.5.9
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: 2016-05-26 00:00:00.000000000 Z
15
+ date: 2016-06-27 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: randexp
@@ -365,7 +365,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
365
365
  requirements:
366
366
  - - ">="
367
367
  - !ruby/object:Gem::Version
368
- version: '0'
368
+ version: '2.0'
369
369
  required_rubygems_version: !ruby/object:Gem::Requirement
370
370
  requirements:
371
371
  - - ">="