minitest-spec-rails 6.1.0 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/minitest-spec-rails/railtie.rb +20 -22
- data/lib/minitest-spec-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41993f64d8b90aa1cc2984e7b50670de5b12f39a86a0a5b646644584308b8dd9
|
4
|
+
data.tar.gz: 6cefc26e1b9a27ff330e1b864e8906fa3ef02ff6c617816af726cef9d20819df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75b4a8ea89bae06a7700068b84473f514b5366567dc134b2cfdc75a4d28af60952e71246cfa56dd631465b9ebaa00a5b42493f173b661cb743e95cdf0c14789e
|
7
|
+
data.tar.gz: fbc2400c04af0ddc2118ff803b85fc32204b6ee4930a4abae9db5c31ff22ab1045629f0ebee3f3b4742f94cb3a7514863193d2ae7918773ca56315d1953299d6
|
data/CHANGELOG.md
CHANGED
@@ -3,32 +3,30 @@ module MiniTestSpecRails
|
|
3
3
|
config.minitest_spec_rails = ActiveSupport::OrderedOptions.new
|
4
4
|
config.minitest_spec_rails.mini_shoulda = false
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
require 'minitest-spec-rails/init/action_dispatch'
|
14
|
-
end
|
15
|
-
ActiveSupport.on_load(:action_mailer) do
|
16
|
-
require 'minitest-spec-rails/init/action_mailer'
|
17
|
-
end
|
18
|
-
ActiveSupport.on_load(:active_job) do
|
19
|
-
require 'minitest-spec-rails/init/active_job'
|
20
|
-
end
|
6
|
+
config.before_initialize do |_app|
|
7
|
+
require 'active_support'
|
8
|
+
require 'minitest-spec-rails/init/active_support'
|
9
|
+
require 'minitest-spec-rails/parallelize'
|
10
|
+
ActiveSupport.on_load(:action_controller) do
|
11
|
+
require 'minitest-spec-rails/init/action_controller'
|
12
|
+
require 'minitest-spec-rails/init/action_dispatch'
|
21
13
|
end
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
14
|
+
ActiveSupport.on_load(:action_mailer) do
|
15
|
+
require 'minitest-spec-rails/init/action_mailer'
|
16
|
+
end
|
17
|
+
ActiveSupport.on_load(:active_job) do
|
18
|
+
require 'minitest-spec-rails/init/active_job'
|
27
19
|
end
|
20
|
+
end
|
28
21
|
|
29
|
-
|
30
|
-
|
22
|
+
initializer 'minitest-spec-rails.action_view', after: 'action_view.setup_action_pack', group: :all do |_app|
|
23
|
+
ActiveSupport.on_load(:action_view) do
|
24
|
+
require 'minitest-spec-rails/init/action_view'
|
31
25
|
end
|
32
26
|
end
|
27
|
+
|
28
|
+
initializer 'minitest-spec-rails.mini_shoulda', group: :all do |app|
|
29
|
+
require 'minitest-spec-rails/init/mini_shoulda' if app.config.minitest_spec_rails.mini_shoulda
|
30
|
+
end
|
33
31
|
end
|
34
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-spec-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|