diff_matcher 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@ rvm:
5
5
  - 1.9.2
6
6
  - 1.9.3
7
7
  - rbx
8
- - rbx-2.0
8
+ # - rbx-19mode
9
+ - jruby
9
10
  - ree
10
11
  - ruby-head
@@ -66,11 +66,6 @@ module DiffMatcher
66
66
  size = size > min ? (size < max ? size : max) : min
67
67
  [e]*size
68
68
  end
69
-
70
- def diff(actual, opts={})
71
- raise NotAnArray unless actual.is_a?(Array)
72
- super
73
- end
74
69
  end
75
70
 
76
71
  class Difference
@@ -1,3 +1,3 @@
1
1
  module DiffMatcher
2
- VERSION = "2.2.1"
2
+ VERSION = "2.2.2"
3
3
  end
@@ -90,7 +90,7 @@ describe "DiffMatcher::AllMatcher[expected]" do
90
90
  context "when actual is not an array" do
91
91
  let(:actual) { 'a' }
92
92
 
93
- it { expect { subject }.to raise_error(DiffMatcher::NotAnArray) }
93
+ it { should eql "\e[31m- \e[1m[1]\e[0m\e[33m+ \e[1m\"a\"\e[0m" }
94
94
  end
95
95
  end
96
96
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: diff_matcher
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.2.1
5
+ version: 2.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Playup
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-05-21 00:00:00 Z
13
+ date: 2012-06-14 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: |
@@ -60,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- hash: 2195120137284672671
63
+ hash: -2103074240095197051
64
64
  segments:
65
65
  - 0
66
66
  version: "0"