avo 2.32.0 → 2.32.1
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/Gemfile.lock +1 -1
- data/lib/avo/app.rb +2 -2
- data/lib/avo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c6192664a6f2cf7fda32b54292112074307b4a466ae24e36557400f8dda2ae2
|
|
4
|
+
data.tar.gz: 5ea0bf6383dd42c82f9bff901cc1a96efe44fcba73c1c0cd78759bb60741daca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29b7f5aecc3d93ba210b71fa6722180da7fffcd064ba893af008830c569ab88cf27c26e775bfd1aebe19eba375fb94adf96cb35241d14377c734a4bda15a2d75
|
|
7
|
+
data.tar.gz: 326eaf0e5b31f9805d90d10ac4a79def06c9b91038dc02e087be59bb1e6eb1d94887823d75f1bb7093d0021f402cf7690a6ea20a6b14799813851e129d2adafb
|
data/Gemfile.lock
CHANGED
data/lib/avo/app.rb
CHANGED
|
@@ -40,8 +40,8 @@ module Avo
|
|
|
40
40
|
# We decided against the MemoryStore in production because it will not be shared between multiple processes (when using Puma).
|
|
41
41
|
def get_cache_store
|
|
42
42
|
if Rails.env.production?
|
|
43
|
-
case Rails.cache.class
|
|
44
|
-
when ActiveSupport::Cache::MemCacheStore, ActiveSupport::Cache::RedisCacheStore
|
|
43
|
+
case Rails.cache.class.to_s
|
|
44
|
+
when 'ActiveSupport::Cache::MemCacheStore', 'ActiveSupport::Cache::RedisCacheStore'
|
|
45
45
|
Rails.cache
|
|
46
46
|
else
|
|
47
47
|
ActiveSupport::Cache::FileStore.new
|
data/lib/avo/version.rb
CHANGED