turbo-rails 2.0.2 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/turbo/engine.rb CHANGED
@@ -81,10 +81,14 @@ module Turbo
81
81
  initializer "turbo.test_assertions" do
82
82
  ActiveSupport.on_load(:active_support_test_case) do
83
83
  require "turbo/test_assertions"
84
- require "turbo/broadcastable/test_helper"
85
-
86
84
  include Turbo::TestAssertions
87
- include Turbo::Broadcastable::TestHelper
85
+ end
86
+
87
+ ActiveSupport.on_load(:action_cable) do
88
+ ActiveSupport.on_load(:active_support_test_case) do
89
+ require "turbo/broadcastable/test_helper"
90
+ include Turbo::Broadcastable::TestHelper
91
+ end
88
92
  end
89
93
 
90
94
  ActiveSupport.on_load(:action_dispatch_integration_test) do
data/lib/turbo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Turbo
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stephenson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-02-09 00:00:00.000000000 Z
13
+ date: 2024-02-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activejob