test-unit-rails 5.0.2 → 5.0.3
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.
- checksums.yaml +4 -4
- data/{README.textile → README.md} +7 -7
- data/doc/text/{news.textile → news.md} +34 -21
- data/lib/test/unit/rails/test_help.rb +4 -0
- data/lib/test/unit/rails/version.rb +1 -1
- metadata +9 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fc9b4c4b00b22218694a671a9f5eea25fee92c05
|
|
4
|
+
data.tar.gz: 5d927d150b7df50d9ee4cab22d29b7533f2a6386
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aaeb98ebc8d468d10d4e3b59953439ce117aeace1266202f0294315afddfbfb9c9001192fd1313986b0c9842e4eb122da08b3500c4949e6d07525d94998519ca
|
|
7
|
+
data.tar.gz: c1fd29d51f9f993b64659e05812ba888e101769a8456525701b52b59ddc14be69ff7412f60951bd4ec14f4dd16ba3d13a8120c17e153909e77827283d6fb8851
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
# test-unit-rails
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[Web site](http://test-unit.github.io/#test-unit-rails)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Description
|
|
6
6
|
|
|
7
|
-
test-unit-rails is a Rails adapter for test-unit 3. You can use full test-unit 3 features,
|
|
7
|
+
test-unit-rails is a Rails adapter for test-unit 3. You can use full test-unit 3 features, [RR](https://rubygems.org/gems/rr) integration and [Capybara](https://rubygems.org/gems/capybara) integration with test-unit-rails.
|
|
8
8
|
|
|
9
9
|
Rails supports Test::Unit bundled in Ruby 1.8 and MiniTest but doesn't support test-unit 2. Rails with test-unit 2 works but is not fully worked.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## Install
|
|
12
12
|
|
|
13
13
|
Add the following codes to your Gemfile:
|
|
14
14
|
|
|
@@ -33,13 +33,13 @@ require 'test/unit/rails/test_help'
|
|
|
33
33
|
|
|
34
34
|
Now you can use full test-unit 3.x features, RR integration and Capybara integration.
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
## License
|
|
37
37
|
|
|
38
38
|
LGPLv2.1 or later.
|
|
39
39
|
|
|
40
40
|
(Kouhei Sutou has a right to change the license including contributed patches.)
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
## Authors
|
|
43
43
|
|
|
44
44
|
* Kouhei Sutou
|
|
45
45
|
* Haruka Yoshihara
|
|
@@ -1,51 +1,64 @@
|
|
|
1
|
-
|
|
1
|
+
# News
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## 5.0.3 - 2016-12-19 {#version-5-0-3}
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### Improvements
|
|
6
|
+
|
|
7
|
+
* Converted documents to Markdown from Textile.
|
|
8
|
+
[GitHub#10][Patch by takiy33]
|
|
9
|
+
|
|
10
|
+
* Supported `file_fixture`.
|
|
11
|
+
|
|
12
|
+
### Thanks
|
|
13
|
+
|
|
14
|
+
* takiy33
|
|
15
|
+
|
|
16
|
+
## 5.0.2 - 2016-06-28 {#version-5-0-2}
|
|
17
|
+
|
|
18
|
+
### Improvements
|
|
6
19
|
|
|
7
20
|
* Supported Rails applications that don't use Active Record.
|
|
8
21
|
[GitHub#8][Patch by Akira Matsuda]
|
|
9
22
|
|
|
10
|
-
|
|
23
|
+
### Fixes
|
|
11
24
|
|
|
12
25
|
* Fixed test failure. [Reported by Shita Koyanagi]
|
|
13
26
|
|
|
14
|
-
|
|
27
|
+
### Thanks
|
|
15
28
|
|
|
16
29
|
* Shita Koyanagi
|
|
17
30
|
|
|
18
31
|
* Akira Matsuda
|
|
19
32
|
|
|
20
|
-
|
|
33
|
+
## 5.0.1 - 2016-02-27 {#version-5-0-1}
|
|
21
34
|
|
|
22
|
-
|
|
35
|
+
### Fixes
|
|
23
36
|
|
|
24
37
|
* Added missing files to gem. [GitHub#7][Patch by y-yagi]
|
|
25
38
|
|
|
26
|
-
|
|
39
|
+
### Thanks
|
|
27
40
|
|
|
28
41
|
* y-yagi
|
|
29
42
|
|
|
30
|
-
|
|
43
|
+
## 5.0.0 - 2016-01-18 {#version-5-0-0}
|
|
31
44
|
|
|
32
45
|
Rails 5 support release.
|
|
33
46
|
|
|
34
|
-
|
|
47
|
+
### Improvements
|
|
35
48
|
|
|
36
49
|
* Supported Rails 5.
|
|
37
50
|
* Required Rails 4 or later explicitly.
|
|
38
51
|
[GitHub#5][Patch by Charles Lowell]
|
|
39
52
|
|
|
40
|
-
|
|
53
|
+
### Thanks
|
|
41
54
|
|
|
42
55
|
* Charles Lowell
|
|
43
56
|
|
|
44
|
-
|
|
57
|
+
## 1.0.4 - 2014-09-07 {#version-1-0-4}
|
|
45
58
|
|
|
46
59
|
Bug fixes release.
|
|
47
60
|
|
|
48
|
-
|
|
61
|
+
### Fixes
|
|
49
62
|
|
|
50
63
|
* Used the correct class to be extended for running tests by @Test::Unit@ .
|
|
51
64
|
@ActiveSupport::TestCase@ is used now but before @Test::Unit::TestCase@ was.
|
|
@@ -53,9 +66,9 @@ h3. Fixes
|
|
|
53
66
|
by @ActionController::TestCase@ (for controller tests) and
|
|
54
67
|
@ActionDispatch::IntegrationTest@ (for integration tests).
|
|
55
68
|
|
|
56
|
-
|
|
69
|
+
## 1.0.3 - 2014-09-04 {#version-1-0-3}
|
|
57
70
|
|
|
58
|
-
|
|
71
|
+
### Improvements
|
|
59
72
|
|
|
60
73
|
* Supported Rails 4.0.0.
|
|
61
74
|
After this version, test-unit-rails requires test-unit-activesupport
|
|
@@ -64,24 +77,24 @@ h3. Improvements
|
|
|
64
77
|
If you want to use this gem with Rails 3.2.16 or older, please use
|
|
65
78
|
1.0.2 version.
|
|
66
79
|
|
|
67
|
-
|
|
80
|
+
## 1.0.2 - 2012-07-05 {#version-1-0-2}
|
|
68
81
|
|
|
69
|
-
|
|
82
|
+
### Improvements
|
|
70
83
|
|
|
71
84
|
* Supported Bundler 1.2.0.pre.1.
|
|
72
85
|
[GitHub#1] [Reported by Michael D.W. Prendergast]
|
|
73
86
|
|
|
74
|
-
|
|
87
|
+
### Thanks
|
|
75
88
|
|
|
76
89
|
* Michael D.W. Prendergast
|
|
77
90
|
|
|
78
|
-
|
|
91
|
+
## 1.0.1 - 2012-06-03 {#version-1-0-1}
|
|
79
92
|
|
|
80
|
-
|
|
93
|
+
### Improvements
|
|
81
94
|
|
|
82
95
|
* Extracted ActiveSupport related codes into test-unit-activesupport
|
|
83
96
|
gem and depended on it.
|
|
84
97
|
|
|
85
|
-
|
|
98
|
+
## 1.0.0 - 2012-1-2 {#version-1-0-0}
|
|
86
99
|
|
|
87
100
|
The first release!!!
|
|
@@ -41,6 +41,10 @@ if defined?(ActiveRecord::Migration)
|
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
class ActiveSupport::TestCase
|
|
45
|
+
self.file_fixture_path = "#{Rails.root}/test/fixtures/files"
|
|
46
|
+
end
|
|
47
|
+
|
|
44
48
|
if defined?(ActiveRecord::Base)
|
|
45
49
|
class ActiveSupport::TestCase
|
|
46
50
|
include ActiveRecord::TestFixtures
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test-unit-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.0.
|
|
33
|
+
version: 1.0.7
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.0.
|
|
40
|
+
version: 1.0.7
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: test-unit-notify
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -176,9 +176,9 @@ extra_rdoc_files: []
|
|
|
176
176
|
files:
|
|
177
177
|
- COPYING
|
|
178
178
|
- Gemfile
|
|
179
|
-
- README.
|
|
179
|
+
- README.md
|
|
180
180
|
- Rakefile
|
|
181
|
-
- doc/text/news.
|
|
181
|
+
- doc/text/news.md
|
|
182
182
|
- lib/rails/commands/test.rb
|
|
183
183
|
- lib/test/unit/rails.rb
|
|
184
184
|
- lib/test/unit/rails/railtie.rb
|
|
@@ -209,15 +209,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
209
209
|
version: '0'
|
|
210
210
|
requirements: []
|
|
211
211
|
rubyforge_project:
|
|
212
|
-
rubygems_version: 2.5.
|
|
212
|
+
rubygems_version: 2.5.2
|
|
213
213
|
signing_key:
|
|
214
214
|
specification_version: 4
|
|
215
215
|
summary: test-unit-rails is a Rails adapter for test-unit 3. You can use full test-unit
|
|
216
|
-
3 features,
|
|
216
|
+
3 features, [RR](https://rubygems.org/gems/rr) integration and [Capybara](https://rubygems.org/gems/capybara)
|
|
217
217
|
integration with test-unit-rails.
|
|
218
218
|
test_files:
|
|
219
219
|
- test/test_action_controller.rb
|
|
220
|
+
- test/test_helper.rb
|
|
220
221
|
- test/run-test.rb
|
|
221
222
|
- test/test_action_dispatch.rb
|
|
222
|
-
- test/test_helper.rb
|
|
223
|
-
has_rdoc:
|