test-unit-rails 6.0.0 → 6.1.0

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
  SHA256:
3
- metadata.gz: a5aa6203d7433fffcd18a8066b898feca5f281f8740e154def1b1a40efc2357f
4
- data.tar.gz: 3fd9d2f800dea8931408f3b8db7ee1c03f69ee0ea8018a7962dcf5257ca14504
3
+ metadata.gz: aa8c2bbbbc61a067c2e6038c50e7f8df831c8f669c3fd57b5954e43e5037630b
4
+ data.tar.gz: 5d1627e0c1ca92d60fa45938ad20ebd4b4da5a8275956f49d47812ca763a185e
5
5
  SHA512:
6
- metadata.gz: 8de8039cdc45640d88d2856621f05e3a04880c007e853a43b68054d8e8770228a53eede25c1dbce8bc585193110f9b809c88c391cb9e788a44deffc87628234a
7
- data.tar.gz: 958f7cbb24b3b1e7ccbed6d652c1842b7ba7e51bd9e2597367906697e5e62eb19401cac9cbbe2ddba18278871ba0b9ec67e824f8b78260a09e13d2d9c2f92fda
6
+ metadata.gz: 8b930d93d630ef30b1ac1bbba739b0b89f6a2d7475c1d70aa50c58a0ded5bc2ed2d1f13e53640ab58ff05f6ed64ed46fa00f1ac557aa2b6c749a6505a95f4edb
7
+ data.tar.gz: 60c97c1f7b042b22583b4403c7f1fc063f9c1f6025b34f8d80cc773ade82baeb37f9fddd0b9f9ca07b5b038de35ed6d7150b47097cea326fa23ee3a00f5411ce
@@ -1,5 +1,16 @@
1
1
  # News
2
2
 
3
+ ## 6.1.0 - 2021-01-13 {#version-6-1-0}
4
+
5
+ ### Improvements
6
+
7
+ * Added support for Rails 6.1.
8
+ [GitHub#23][Reported by Shugo Maeda]
9
+
10
+ ### Thanks
11
+
12
+ * Shugo Maeda
13
+
3
14
  ## 6.0.0 - 2019-07-11 {#version-6-0-0}
4
15
 
5
16
  ### Improvements
@@ -26,12 +26,12 @@ module Rails
26
26
  end
27
27
  end
28
28
 
29
- def perform(*)
29
+ def perform(*args)
30
30
  $LOAD_PATH << Rails::Command.root.join("test").to_s
31
31
 
32
- ARGV.unshift("--exclude=\\Atest_helper\\.rb\\z")
33
- ARGV.unshift("--default-test-path=test")
34
- exit(Test::Unit::AutoRunner.run(true))
32
+ args.unshift("--exclude=\\Atest_helper\\.rb\\z")
33
+ args.unshift("--default-test-path=test")
34
+ exit(Test::Unit::AutoRunner.run(true, nil, args))
35
35
  end
36
36
  end
37
37
  end
@@ -49,6 +49,10 @@ end
49
49
 
50
50
  class ActiveSupport::TestCase
51
51
  self.file_fixture_path = "#{Rails.root}/test/fixtures/files" if respond_to?(:file_fixture_path=)
52
+
53
+ def skipped?
54
+ current_result.omission_count > 0
55
+ end
52
56
  end
53
57
 
54
58
  if defined?(ActiveRecord::Base)
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012-2019 Sutou Kouhei <kou@clear-code.com>
1
+ # Copyright (C) 2012-2021 Sutou Kouhei <kou@clear-code.com>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -17,7 +17,7 @@
17
17
  module Test
18
18
  module Unit
19
19
  module Rails
20
- VERSION = "6.0.0"
20
+ VERSION = "6.1.0"
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: 6.0.0
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-11 00:00:00.000000000 Z
11
+ date: 2021-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -166,7 +166,7 @@ dependencies:
166
166
  version: '0'
167
167
  description: 'Rails supports Minitest but doesn''t support test-unit.
168
168
 
169
- '
169
+ '
170
170
  email:
171
171
  - kou@clear-code.com
172
172
  executables: []
@@ -208,8 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubyforge_project:
212
- rubygems_version: 2.7.6.2
211
+ rubygems_version: 3.3.0.dev
213
212
  signing_key:
214
213
  specification_version: 4
215
214
  summary: test-unit-rails is a Rails adapter for test-unit gem. You can use full test-unit
@@ -217,7 +216,7 @@ summary: test-unit-rails is a Rails adapter for test-unit gem. You can use full
217
216
  integration with test-unit-rails.
218
217
  test_files:
219
218
  - test/run-test.rb
220
- - test/test_system_test_case.rb
221
219
  - test/test_action_controller.rb
222
220
  - test/test_action_dispatch.rb
223
221
  - test/test_helper.rb
222
+ - test/test_system_test_case.rb