test-unit-rails 5.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 558d3158c1c36145034433f536b302f2422f109f
4
- data.tar.gz: 89011c611a7a1c04817c914b0528dd06846e2b01
3
+ metadata.gz: 59b1c936377ee26c94b9ea8237f1f450b8299664
4
+ data.tar.gz: e442101c03263eba1ca883c962d1aad3a911dd3b
5
5
  SHA512:
6
- metadata.gz: e955f5a78c9886ae8d554e03b44f6cfb691fa552673721526319a77842d2ee77f39aeb891f4920f0211adf7abee9fd9796b7ccea2405a1bab2eea13d85abb6ef
7
- data.tar.gz: 3f594711884f14b2b2cb983d9624f12c8ac3d0756980aac7ea764f6eefbcb92b6ae3a832ba9c15fcb22ba8f70a4b221179d1ee2ae70cac25a5f782b224285de9
6
+ metadata.gz: 071e81445922d025034e2f57f4ef30cd9b3684cae41a757fcbaeb71d5b19fc7e4314cf2b152faa1bb346f59c2a86e3cf4f0b9ac646a4501c4158fdf4c5c56e88
7
+ data.tar.gz: 214cedd4ade97cf2abd4736de179169474e573e57aef363da81e5d452f6ec5ea1c9faa96a9cfcb014dd060060d69e82011a7f5bcd54876a28e0284ecbdcb65e7
@@ -1,5 +1,15 @@
1
1
  h1. News
2
2
 
3
+ h2(#5-0-1). 5.0.1 - 2016-02-27
4
+
5
+ h2. Fixes
6
+
7
+ * Added missing files to gem. [GitHub#7][Patch by y-yagi]
8
+
9
+ h2. Thanks
10
+
11
+ * y-yagi
12
+
3
13
  h2(#5-0-0). 5.0.0 - 2016-01-18
4
14
 
5
15
  Rails 5 support release.
@@ -0,0 +1,74 @@
1
+ # Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ require "test/unit/autorunner"
18
+
19
+ Rake.application[:test].clear_actions
20
+ task :test do
21
+ Test::Unit::AutoRunner.run(true, "test", [File.expand_path("test")])
22
+ end
23
+
24
+ namespace :test do
25
+ [
26
+ "models",
27
+ "helpers",
28
+ "controllers",
29
+ "mailers",
30
+ "integration",
31
+ "jobs",
32
+ ].each do |component|
33
+ Rake.application["test:#{component}"].clear_actions
34
+ task component do
35
+ path = File.expand_path("test/#{component}")
36
+ Test::Unit::AutoRunner.run(true, "test", [component])
37
+ end
38
+ end
39
+
40
+ [
41
+ {
42
+ :name => :generators,
43
+ :paths => [
44
+ "lib/generators",
45
+ ],
46
+ },
47
+ {
48
+ :name => :units,
49
+ :paths => [
50
+ "models",
51
+ "helpers",
52
+ "unit",
53
+ ],
54
+ },
55
+ {
56
+ :name => :functionals,
57
+ :paths => [
58
+ "controllers",
59
+ "mailers",
60
+ "functional",
61
+ ],
62
+ },
63
+ ].each do |meta_task|
64
+ Rake.application["test:#{meta_task[:name]}"].clear_actions
65
+ task meta_task[:name] do
66
+ paths = []
67
+ meta_task[:paths].each do |sub_path|
68
+ path = File.expand_path("test/#{sub_path}")
69
+ paths << path if File.exist?(path)
70
+ end
71
+ Test::Unit::AutoRunner.run(true, "test", paths)
72
+ end
73
+ end
74
+ end
@@ -17,7 +17,7 @@
17
17
  module Test
18
18
  module Unit
19
19
  module Rails
20
- VERSION = "5.0.0"
20
+ VERSION = "5.0.1"
21
21
  end
22
22
  end
23
23
  end
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.0
4
+ version: 5.0.1
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-01-17 00:00:00.000000000 Z
11
+ date: 2016-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -167,6 +167,7 @@ files:
167
167
  - lib/test/unit/rails.rb
168
168
  - lib/test/unit/rails/railtie.rb
169
169
  - lib/test/unit/rails/test_help.rb
170
+ - lib/test/unit/rails/testing.rake
170
171
  - lib/test/unit/rails/version.rb
171
172
  - test/run-test.rb
172
173
  - test/test_action_controller.rb