diff_matcher 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module DiffMatcher
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
@@ -414,23 +414,23 @@ describe "DiffMatcher::difference(expected, actual, opts)" do
414
414
  Where, - 1 missing, + 1 additional, | 2 match_matcher
415
415
  EOF
416
416
 
417
- context "more complex", do
417
+ context "more complex," do
418
418
  expected, same, different =
419
419
  DiffMatcher::AllMatcher[
420
420
  DiffMatcher::Matcher[
421
- {nombre:String, edad:Fixnum},
422
- {name:String, age:Fixnum}
421
+ {:nombre=>String, :edad=>Fixnum},
422
+ {:name=>String, :age=>Fixnum}
423
423
  ]
424
424
  ],
425
425
  [
426
- {name: "Alice", age: 10},
427
- {name: "Bob" , age: 20},
428
- {name: "Con" , age: 30}
426
+ {:name=>"Alice", :age=>10},
427
+ {:name=>"Bob" , :age=>20},
428
+ {:name=>"Con" , :age=>30}
429
429
  ],
430
430
  [
431
- {name: "Alice", age: 10 },
432
- {name: "Bob" , age: nil},
433
- {nombre: "Con" , edad: 30 }
431
+ {:name=>"Alice", :age=>10 },
432
+ {:name=>"Bob" , :age=>nil},
433
+ {:nombre=>"Con", :edad=>30}
434
434
  ]
435
435
 
436
436
  it_behaves_like "a diff matcher", expected, same, different,
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diff_matcher
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 9
4
5
  prerelease:
5
- version: 2.1.0
6
+ segments:
7
+ - 2
8
+ - 1
9
+ - 1
10
+ version: 2.1.1
6
11
  platform: ruby
7
12
  authors:
8
13
  - Playup
@@ -62,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
67
  requirements:
63
68
  - - ">="
64
69
  - !ruby/object:Gem::Version
65
- hash: -331059827
70
+ hash: 3
66
71
  segments:
67
72
  - 0
68
73
  version: "0"
@@ -71,6 +76,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
76
  requirements:
72
77
  - - ">="
73
78
  - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
74
82
  version: "0"
75
83
  requirements: []
76
84