turbo-rails 2.0.8 → 2.0.9

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: 4727e6617dc1c23ff57cb213e98eb3fd3aa11a364451d10622034c9514cb658a
4
- data.tar.gz: d20337dc3363beb18a4c5ef1b57cef22643ba2d654294daa84ce7a447645dc55
3
+ metadata.gz: 16246f1521d9dec7821e162a414cc4060317a927872652df246ba973303e8709
4
+ data.tar.gz: 635c7ff230d7e088424d6d7e9f5731c31d580a71e3ff6c37075e6a2ff3e4c51b
5
5
  SHA512:
6
- metadata.gz: 32987a0bdfce8ac6a2050e7190293f5eddabf9e6349b9d228a557153d27adda86d760dcdf4fdcd3ccc00a8fd8ccb9ed945101898d6c4636cba8289835ea89ed1
7
- data.tar.gz: c5382c8d5504679799bdb22c30b73b0f057ac4c1ab818d386a23da0925e2f743f4c5f630fc33c6c9795394ef0f4fef199d661343cc1664e2156edc081ee885b0
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(:active_job) do
96
- ActiveSupport.on_load(:active_record) do
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(:active_job) do
127
- ActiveSupport.on_load(:action_cable) do
128
- ActiveSupport.on_load(:active_support_test_case) do
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
@@ -1,3 +1,3 @@
1
1
  module Turbo
2
- VERSION = "2.0.8"
2
+ VERSION = "2.0.9"
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.8
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.11
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.