minitest-spec-rails 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +8 -0
- data/README.md +16 -0
- data/lib/minitest-spec-rails/version.rb +1 -1
- data/minitest-spec-rails.gemspec +2 -1
- metadata +24 -8
- data/README.rdoc +0 -15
data/CHANGELOG.md
ADDED
data/README.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
# MiniTest::Spec For Rails
|
3
|
+
|
4
|
+
Make Test::Unit::TestCase a subclass of of MiniTest::Spec with this simple shim. Tricks ActiveSupport::TestCase to use MiniTest::Spec instead. Includes any monkey patches to make using MiniTest::Spec a drop in behavior change for any Rails 3.x project. Full Details here:
|
5
|
+
|
6
|
+
http://metaskills.net/2011/03/26/using-minitest-spec-with-rails/
|
7
|
+
|
8
|
+
|
9
|
+
# Issues
|
10
|
+
|
11
|
+
If there are any issues using this in Rails 3 outside the normal few assertions that change from Test::Unit to MiniTest::Unit, please open an issue here on github.
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
data/minitest-spec-rails.gemspec
CHANGED
@@ -9,12 +9,13 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ['Ken Collins']
|
10
10
|
s.email = ['ken@metaskills.net']
|
11
11
|
s.homepage = 'http://github.com/metaskills/minitest-spec-rails'
|
12
|
-
s.summary = 'Drop in MiniTest::Spec support for Rails 3.'
|
12
|
+
s.summary = 'Drop in MiniTest::Spec support for Rails 3.x'
|
13
13
|
s.description = 'Force ActiveSupport::TestCase to subclass MiniTest::Spec for a drop in behavior change.'
|
14
14
|
s.files = `git ls-files`.split("\n")
|
15
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
17
|
s.require_paths = ['lib']
|
18
18
|
s.add_runtime_dependency 'minitest', '~> 2.11'
|
19
|
+
s.add_runtime_dependency 'rails', '~> 3.0'
|
19
20
|
s.add_development_dependency 'rake'
|
20
21
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-spec-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 1
|
10
|
+
version: 3.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ken Collins
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-03-
|
18
|
+
date: 2012-03-28 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: minitest
|
@@ -33,9 +33,24 @@ dependencies:
|
|
33
33
|
type: :runtime
|
34
34
|
version_requirements: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
36
|
+
name: rails
|
37
37
|
prerelease: false
|
38
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 7
|
44
|
+
segments:
|
45
|
+
- 3
|
46
|
+
- 0
|
47
|
+
version: "3.0"
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: rake
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
54
|
none: false
|
40
55
|
requirements:
|
41
56
|
- - ">="
|
@@ -45,7 +60,7 @@ dependencies:
|
|
45
60
|
- 0
|
46
61
|
version: "0"
|
47
62
|
type: :development
|
48
|
-
version_requirements: *
|
63
|
+
version_requirements: *id003
|
49
64
|
description: Force ActiveSupport::TestCase to subclass MiniTest::Spec for a drop in behavior change.
|
50
65
|
email:
|
51
66
|
- ken@metaskills.net
|
@@ -57,9 +72,10 @@ extra_rdoc_files: []
|
|
57
72
|
|
58
73
|
files:
|
59
74
|
- .gitignore
|
75
|
+
- CHANGELOG.md
|
60
76
|
- Gemfile
|
61
77
|
- MIT-LICENSE
|
62
|
-
- README.
|
78
|
+
- README.md
|
63
79
|
- Rakefile
|
64
80
|
- lib/minitest-spec-rails.rb
|
65
81
|
- lib/minitest-spec-rails/test_case.rb
|
@@ -100,6 +116,6 @@ rubyforge_project:
|
|
100
116
|
rubygems_version: 1.8.17
|
101
117
|
signing_key:
|
102
118
|
specification_version: 3
|
103
|
-
summary: Drop in MiniTest::Spec support for Rails 3.
|
119
|
+
summary: Drop in MiniTest::Spec support for Rails 3.x
|
104
120
|
test_files: []
|
105
121
|
|
data/README.rdoc
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
= MiniTest::Spec For Rails
|
3
|
-
|
4
|
-
Make Test::Unit::TestCase a subclass of of MiniTest::Spec with this simple shim. Tricks ActiveSupport::TestCase to use MiniTest::Spec instead. Includes any monkey patches to make using MiniTest::Spec a drop in behavior change for any Rails 3 project. Full Details here:
|
5
|
-
|
6
|
-
http://metaskills.net/2011/03/26/using-minitest-spec-with-rails/
|
7
|
-
|
8
|
-
|
9
|
-
= Code
|
10
|
-
|
11
|
-
* http://github.com/metaskills/minitest-spec-rails
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|