minitest-matchers 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +6 -0
  2. data/Rakefile +2 -0
  3. data/lib/minitest/matchers.rb +3 -3
  4. metadata +17 -6
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.0.3 / 2011-09-05
2
+
3
+ * 1 minor enhancement
4
+
5
+ * Depend on minitest >= 2.5.0
6
+
1
7
  === 1.0.2 / 2011-09-04
2
8
 
3
9
  * 1 minor enhancement
data/Rakefile CHANGED
@@ -8,6 +8,8 @@ Hoe.plugin :minitest
8
8
  Hoe.spec "minitest-matchers" do
9
9
  developer "Ryan Davis", "ryand-ruby@zenspider.com"
10
10
  developer "Wojciech Mach", "wojtek@wojtekmach.pl"
11
+
12
+ dependency "minitest", ">= 2.5.0"
11
13
  end
12
14
 
13
15
  # vim: syntax=ruby
@@ -1,7 +1,7 @@
1
1
  require "minitest/spec"
2
2
 
3
3
  module MiniTest::Matchers
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
 
6
6
  def must &block
7
7
  matcher = yield
@@ -28,9 +28,9 @@ module MiniTest::Matchers
28
28
 
29
29
  it "wont #{matcher.description}" do
30
30
  result = if matcher.respond_to? :does_not_match?
31
- result = matcher.does_not_match?(subject)
31
+ matcher.does_not_match?(subject)
32
32
  else
33
- result = !matcher.matches?(subject)
33
+ !matcher.matches?(subject)
34
34
  end
35
35
 
36
36
  failure_message = if matcher.respond_to? :negative_failure_message
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.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-09-04 00:00:00.000000000Z
13
+ date: 2011-09-05 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest
17
- requirement: &2152131540 !ruby/object:Gem::Requirement
17
+ requirement: &70212276375280 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 2.5.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *70212276375280
26
+ - !ruby/object:Gem::Dependency
27
+ name: minitest
28
+ requirement: &70212276374860 !ruby/object:Gem::Requirement
18
29
  none: false
19
30
  requirements:
20
31
  - - ~>
@@ -22,10 +33,10 @@ dependencies:
22
33
  version: '1.6'
23
34
  type: :development
24
35
  prerelease: false
25
- version_requirements: *2152131540
36
+ version_requirements: *70212276374860
26
37
  - !ruby/object:Gem::Dependency
27
38
  name: hoe
28
- requirement: &2152130120 !ruby/object:Gem::Requirement
39
+ requirement: &70212276374440 !ruby/object:Gem::Requirement
29
40
  none: false
30
41
  requirements:
31
42
  - - ~>
@@ -33,7 +44,7 @@ dependencies:
33
44
  version: '2.12'
34
45
  type: :development
35
46
  prerelease: false
36
- version_requirements: *2152130120
47
+ version_requirements: *70212276374440
37
48
  description: ! 'minitest-matchers adds support for RSpec/Shoulda-style matchers to
38
49
 
39
50
  MiniTest::Spec.