matchbox 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +2 -2
- data/lib/matchbox.rb +7 -3
- data/lib/matchbox/version.rb +1 -1
- metadata +5 -3
data/Rakefile
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
Bundler::GemHelper.install_tasks
|
3
3
|
|
4
|
-
task :default => 'test
|
4
|
+
task :default => 'test'
|
5
5
|
|
6
6
|
require 'rake/testtask'
|
7
|
-
Rake::TestTask.new
|
7
|
+
Rake::TestTask.new do |t|
|
8
8
|
t.ruby_opts += ['-rubygems']
|
9
9
|
t.libs << 'test'
|
10
10
|
t.pattern = 'test/test_*.rb'
|
data/lib/matchbox.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# I created this since:
|
4
4
|
#
|
5
5
|
# * I like assertions, not the Shoulda "should" statements.
|
6
|
-
# * I want to use
|
6
|
+
# * I want to use shoulda-matchers in my Rails project.
|
7
7
|
# * I'm in love with the simplicity of the contest gem.
|
8
8
|
#
|
9
9
|
# These methods are based upon those found in shoulda-context.
|
@@ -38,6 +38,10 @@ module Matchbox
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
|
42
|
-
|
41
|
+
module Test
|
42
|
+
module Unit
|
43
|
+
class TestCase
|
44
|
+
include Matchbox
|
45
|
+
end
|
46
|
+
end
|
43
47
|
end
|
data/lib/matchbox/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: matchbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Alexander Kern
|
@@ -10,7 +10,8 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-12 00:00:00 -07:00
|
14
|
+
default_executable:
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: test-unit
|
@@ -89,6 +90,7 @@ files:
|
|
89
90
|
- matchbox.gemspec
|
90
91
|
- test/test_helper.rb
|
91
92
|
- test/test_matchbox.rb
|
93
|
+
has_rdoc: true
|
92
94
|
homepage: https://github.com/CapnKernul/matchbox
|
93
95
|
licenses: []
|
94
96
|
|
@@ -112,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
114
|
requirements: []
|
113
115
|
|
114
116
|
rubyforge_project: matchbox
|
115
|
-
rubygems_version: 1.
|
117
|
+
rubygems_version: 1.6.2
|
116
118
|
signing_key:
|
117
119
|
specification_version: 3
|
118
120
|
summary: Use RSpec and Shoulda matchers in Test::Unit
|