test-unit-rails 7.0.0 → 7.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
  SHA256:
3
- metadata.gz: a27fa94bd179bccf62c15919bcc7cccb3852d1ef3453494c4ff84d2a6757c9aa
4
- data.tar.gz: e4dd133123bb2484f0efff4e06d53dfa217071dff1a697921623228785a09404
3
+ metadata.gz: d46e412bbe2fd2980326eb50753abaed5fb01481543a99e1c58ad02f518d471c
4
+ data.tar.gz: 00440ce2d65df0d843755f1b70c5a7033def981658b04bd28355a7e3ff28d990
5
5
  SHA512:
6
- metadata.gz: 48dc673edefb28ebb9faa0a22fad368fe59ddc292d35a953a92b58e6475b472eae40f4914c9f431246cc9e8c702e9f411fb890d61cd92cc97ce1a5e79d64be5f
7
- data.tar.gz: 6d3fd26cd33aa2465526c7ab197548e05eb5623276465458345bb3aed6233f143183b0638ccd39770b453fce1f6dbfeea47e42a9ee9aacd2435e350d90d389a1
6
+ metadata.gz: c4fbd933a02bfe832660eba919d9023301952a4a5828e593bd6db8809ec4f4a5dcfc12cbada97b9544da8b660751fd977f07dae0cd6a2d8e45cdb3a3f948d034
7
+ data.tar.gz: 1d16b06284fe585fe70402c4d20c4843781f090cad5693dd81e61b00f56e9bea0e8b7e9946d4969effc60b595d7c9f14ef4b474848472df739fd5f098696cc3e
data/doc/text/news.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # News
2
2
 
3
+ ## 7.0.1 - 2023-06-14 {#version-7-0-1}
4
+
5
+ ### Improvements
6
+
7
+ * Added support for Rails 7.1.
8
+
9
+ [GH-25](https://github.com/test-unit/test-unit-rails/issues/25)
10
+
11
+ Patch by Akira Matsuda
12
+
13
+ ### Thanks
14
+
15
+ * Akira Matsuda
16
+
3
17
  ## 7.0.0 - 2021-12-20 {#version-7-0-0}
4
18
 
5
19
  ### Improvements
@@ -58,7 +58,13 @@ end
58
58
  if defined?(ActiveRecord::Base)
59
59
  class ActiveSupport::TestCase
60
60
  include ActiveRecord::TestFixtures
61
- self.fixture_path = "#{Rails.root}/test/fixtures/"
61
+ if respond_to?(:fixture_paths=)
62
+ self.fixture_paths = ["#{Rails.root}/test/fixtures/"]
63
+ ActionDispatch::IntegrationTest.fixture_paths = self.fixture_paths
64
+ else
65
+ self.fixture_path = "#{Rails.root}/test/fixtures/"
66
+ ActionDispatch::IntegrationTest.fixture_path = self.fixture_path
67
+ end
62
68
 
63
69
  setup do
64
70
  setup_fixtures
@@ -68,8 +74,6 @@ if defined?(ActiveRecord::Base)
68
74
  teardown_fixtures
69
75
  end
70
76
  end
71
-
72
- ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
73
77
  end
74
78
 
75
79
  class ActionController::TestCase
@@ -80,7 +84,11 @@ class ActionController::TestCase
80
84
  if defined?(ActiveRecord::Base)
81
85
  include ActiveRecord::TestFixtures
82
86
 
83
- self.fixture_path = "#{Rails.root}/test/fixtures/"
87
+ if respond_to?(:fixture_paths=)
88
+ self.fixture_paths = ["#{Rails.root}/test/fixtures/"]
89
+ else
90
+ self.fixture_path = "#{Rails.root}/test/fixtures/"
91
+ end
84
92
  end
85
93
  end
86
94
 
@@ -17,7 +17,7 @@
17
17
  module Test
18
18
  module Unit
19
19
  module Rails
20
- VERSION = "7.0.0"
20
+ VERSION = "7.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: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -194,7 +194,7 @@ homepage: https://github.com/test-unit/test-unit-rails
194
194
  licenses:
195
195
  - LGPLv2 or later
196
196
  metadata: {}
197
- post_install_message:
197
+ post_install_message:
198
198
  rdoc_options: []
199
199
  require_paths:
200
200
  - lib
@@ -209,8 +209,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  requirements: []
212
- rubygems_version: 3.3.0.dev
213
- signing_key:
212
+ rubygems_version: 3.5.0.dev
213
+ signing_key:
214
214
  specification_version: 4
215
215
  summary: test-unit-rails is a Rails adapter for test-unit gem. You can use full test-unit
216
216
  gem features, [RR](https://rubygems.org/gems/rr) integration and [Capybara](https://rubygems.org/gems/capybara)