mhennemeyer-matchy 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+
1
2
  == 0.0.1 2008-10-03
2
3
 
3
4
  * 1 major enhancement:
@@ -8,10 +8,10 @@ module Matchy
8
8
  # This needs to be better.
9
9
  # How can we decide if we really have a
10
10
  # suite of MiniTest Tests?
11
- # Rails for example defines MiniTest, so only check for
11
+ # Rails for example defines MiniTest, so to only check for
12
12
  # defined?(MiniTest) would be malicious
13
- defined?(MiniTest) && defined?(MiniTest::Assertions) &&
14
- (!defined?(Test::Unit::TestCase) || (Test::Unit::TestCase < MiniTest::Assertions))
13
+ defined?(FORCE_MINITEST) || defined?(MiniTest) && defined?(MiniTest::Assertions) &&
14
+ (!defined?(Test::Unit::TestCase) || (Test::Unit::TestCase < MiniTest::Assertions))
15
15
  end
16
16
 
17
17
  def self.assertions_module
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "matchy"
3
- s.version = "0.3.2"
3
+ s.version = "0.3.3"
4
4
  s.date = "2009-02-08"
5
5
  s.summary = "RSpec-esque matchers for use in Test::Unit"
6
6
  s.email = "mhennemeyer@gmail.com"
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'minitest/unit'
3
+ FORCE_MINITEST = true
3
4
  load File.dirname(__FILE__) + '/../lib/matchy.rb'
4
5
 
5
6
  MiniTest::Unit.autorun
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mhennemeyer-matchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy McAnally