switchman 4.3.6 → 4.3.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2006f24bb61000cf22294395b7597c5551a56600b7c1b1fea0923f3d94e498e3
4
- data.tar.gz: 30818e17d6547d86d46936e01c2df78118bbf992667cd1614c69bab9e173211c
3
+ metadata.gz: eea7cea63378aabc3ec96301a6e0e45954645f884d5a7b51d364f7b2ee2e79c1
4
+ data.tar.gz: 97fa904edae8523840acfd399b2ba7fd904f2272ffe7fedf06fe28d5e2699d76
5
5
  SHA512:
6
- metadata.gz: 110c91ddc723bde6ec5cbacbb992a67d87da0880fca81e22ff1b3c8d7852b0a53bc3024501c9eaae3c7a5f355615a5f6d880faf4fd5ace003adc148bcb14d3a8
7
- data.tar.gz: '08a4458dcd9fa616e9079bd98f3609c42fa397941426c69725d517018c19b3e88dd952702c9bd7870112e8210fb85d94c8d6f706199aac1554c371e1f46b6f29'
6
+ metadata.gz: 92f6de1866e931368a15a004cecdbb56ea8e18963cef9398b131b09051782e734dd6202ebcda1e6e1eccf3bfbd09b07389048943b8e5bf4807a9de8e13229fd5
7
+ data.tar.gz: fbbd2273720edb4166f7237f0385068e3056d4b6ec113c83c4b187ee377abdce8a350c215877d7d91c9e9a74d400205fb6bcd274cabb03e48515eda7f9d8acf0
@@ -159,7 +159,9 @@ module Switchman
159
159
  ::Rails.cache = Switchman.config[:cache_map][::Rails.env]
160
160
  ::Rails.singleton_class.prepend(Rails::ClassMethods)
161
161
 
162
- ::ActiveSupport.on_load(:action_controller) do
162
+ # :action_controller also fires for ActionController::API, which must not
163
+ # get our cache_store= override; Rails assigns to it during boot.
164
+ ::ActiveSupport.on_load(:action_controller_base) do
163
165
  include ActionController::Caching
164
166
  end
165
167
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Switchman
4
- VERSION = "4.3.6"
4
+ VERSION = "4.3.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchman
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.6
4
+ version: 4.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2026-09-10 00:00:00.000000000 Z
13
+ date: 2026-09-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord