turbo-rails 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/turbo/engine.rb +5 -5
- data/lib/turbo/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: 16246f1521d9dec7821e162a414cc4060317a927872652df246ba973303e8709
|
4
|
+
data.tar.gz: 635c7ff230d7e088424d6d7e9f5731c31d580a71e3ff6c37075e6a2ff3e4c51b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e16526bdf7567af85ca9827a88468ee954541edace0b1dbcbd85b1c524edb00565f37af2d10410c7022ad3c63680bcac478608d0e3484405118c5b435334a168
|
7
|
+
data.tar.gz: 076dcce9163bc6fd1ae92c74636820c4d0577db52cee4a4af29f6f3a3f0c69d75e25e9820b38408c788c5cce24f30856f9f15d6e6455dcf52d28cc6916337a79
|
data/lib/turbo/engine.rb
CHANGED
@@ -92,8 +92,8 @@ module Turbo
|
|
92
92
|
end
|
93
93
|
|
94
94
|
initializer "turbo.broadcastable" do
|
95
|
-
ActiveSupport.on_load(:
|
96
|
-
|
95
|
+
ActiveSupport.on_load(:active_record) do
|
96
|
+
if defined?(ActiveJob)
|
97
97
|
include Turbo::Broadcastable
|
98
98
|
end
|
99
99
|
end
|
@@ -123,9 +123,9 @@ module Turbo
|
|
123
123
|
include Turbo::TestAssertions
|
124
124
|
end
|
125
125
|
|
126
|
-
ActiveSupport.on_load(:
|
127
|
-
ActiveSupport.on_load(:
|
128
|
-
|
126
|
+
ActiveSupport.on_load(:action_cable) do
|
127
|
+
ActiveSupport.on_load(:active_support_test_case) do
|
128
|
+
if defined?(ActiveJob)
|
129
129
|
require "turbo/broadcastable/test_helper"
|
130
130
|
include Turbo::Broadcastable::TestHelper
|
131
131
|
end
|
data/lib/turbo/version.rb
CHANGED
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.
|
4
|
+
version: 2.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Stephenson
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
|
-
rubygems_version: 3.5.
|
113
|
+
rubygems_version: 3.5.16
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: The speed of a single-page web application without having to write any JavaScript.
|