minitest-spec-rails 7.1.0 → 7.2.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: 8a2989f1706a0168c45d78e39ab60653fd2bfa474b35da44baf10a3c96a6bafc
4
- data.tar.gz: 1bf80ba6ff70170f2ade4032752a119ae50e71c5ef9088d2bb0433801e478ed6
3
+ metadata.gz: d45d0f576ead81293a568b0d0a7de54b1c0f58db87a5146f321b6e2fe8a43433
4
+ data.tar.gz: 20dcff696a39c8e9994be10dd677c461a2a7dca0bf15f91c894f1a71f22c8cd6
5
5
  SHA512:
6
- metadata.gz: 69bde3a701acbb80be35241215857814b7dd1511e50a7b83c0035a3c8ee157eee9787271100bb59123cf8906feb0e023d0bbae9dd664ec27f3cd2af45329b8a0
7
- data.tar.gz: a272548e1b379d1e378e924ad8173986961746678e37a34f390f8543bada37fd4537b9f271e0af735c357f222ee8c805ec4ae477ebc8eb1c07a76a996098fc92
6
+ metadata.gz: 93252710ba2a83ecfdddc34533498a0657ebca18ff0e53c78f283a53d0b2857df878741252fc40f70d55908e7d47dbf4a74461ba952e16fb89d8a9b485a0dd15
7
+ data.tar.gz: '058000caeba140b5860d79b38e63b59c5043bab0ef3f526342bb927cb53b12fb057746c88082e21149f3413e44596a209ed786ed4b7614b60a8c33e6229c4fda'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 7.2.0
2
+
3
+ - Wrap action_view init in config.to_prepare block. Fixes #122. Thanks @Hal-Sumi
4
+
1
5
  ## 7.1.0
2
6
 
3
7
  - Use Minitest instead of MiniTest. Fixes #119. Thanks @evgeni
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- minitest-spec-rails (7.1.0)
4
+ minitest-spec-rails (7.2.0)
5
5
  minitest (>= 5.0)
6
6
  railties (>= 4.1)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- minitest-spec-rails (7.1.0)
4
+ minitest-spec-rails (7.2.0)
5
5
  minitest (>= 5.0)
6
6
  railties (>= 4.1)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- minitest-spec-rails (7.1.0)
4
+ minitest-spec-rails (7.2.0)
5
5
  minitest (>= 5.0)
6
6
  railties (>= 4.1)
7
7
 
@@ -23,8 +23,10 @@ module MiniTestSpecRails
23
23
  end
24
24
 
25
25
  initializer 'minitest-spec-rails.action_view', after: 'action_view.setup_action_pack', group: :all do |_app|
26
- ActiveSupport.on_load(:action_view) do
27
- require 'minitest-spec-rails/init/action_view'
26
+ Rails.application.config.to_prepare do
27
+ ActiveSupport.on_load(:action_view) do
28
+ require 'minitest-spec-rails/init/action_view'
29
+ end
28
30
  end
29
31
  end
30
32
 
@@ -1,3 +1,3 @@
1
1
  module MiniTestSpecRails
2
- VERSION = '7.1.0'.freeze
2
+ VERSION = '7.2.0'.freeze
3
3
  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: 7.1.0
4
+ version: 7.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: 2023-07-31 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest