minitest-matchers 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +6 -0
  2. data/lib/minitest/matchers.rb +3 -3
  3. metadata +7 -7
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.1.1 / 2011-11-18
2
+
3
+ * 1 minor enhancement
4
+
5
+ * Fix wrong failure message
6
+
1
7
  === 1.1.0 / 2011-11-18
2
8
 
3
9
  * 1 major enhancement
@@ -1,7 +1,7 @@
1
1
  require "minitest/spec"
2
2
 
3
3
  module MiniTest::Matchers
4
- VERSION = "1.1.0" # :nodoc:
4
+ VERSION = "1.1.1" # :nodoc:
5
5
  end
6
6
 
7
7
  module MiniTest
@@ -19,8 +19,8 @@ module MiniTest
19
19
  result = matcher.matches? subject
20
20
 
21
21
  msg = message(msg) do
22
- if matcher.respond_to? :negative_failure_message
23
- matcher.negative_failure_message
22
+ if matcher.respond_to? :failure_message
23
+ matcher.failure_message
24
24
  else
25
25
  matcher.failure_message_for_should
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-11-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
17
- requirement: &70111943842540 !ruby/object:Gem::Requirement
17
+ requirement: &70120472096340 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.5.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70111943842540
25
+ version_requirements: *70120472096340
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: minitest
28
- requirement: &70111943841900 !ruby/object:Gem::Requirement
28
+ requirement: &70120472095800 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '2.8'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70111943841900
36
+ version_requirements: *70120472095800
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: hoe
39
- requirement: &70111943841260 !ruby/object:Gem::Requirement
39
+ requirement: &70120472095240 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '2.12'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70111943841260
47
+ version_requirements: *70120472095240
48
48
  description: ! 'minitest-matchers adds support for RSpec/Shoulda-style matchers to
49
49
 
50
50
  minitest/unit and minitest/spec.