avo 2.32.0 → 2.32.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/avo/app.rb +3 -3
- 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: 8a87cb9ad28dd06e0aa9f183fc1d610f9ebd655108cd9d5053f5f7e6d0c6c2bd
|
4
|
+
data.tar.gz: a983e0f6d719b3e4b61efdfb1bf1e3d74e5fe7e77eed8b30b78ec946136786d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be5ad5ccf47de78f21816ed76abb8ee632d4940823b0132b90c38fe2aba6bfcc1cd824b42963c213ea3a6f447b10f17995215b0b4317faa5021c79637db56f87
|
7
|
+
data.tar.gz: f3a9103c23935739865dfe6e25e5cb388240243eb74cd18f6b6cf858e4bc68fd22672d5d2c517787ff7fe154d454e45a10a0e5c901600d1c311d0310c3d93aa2
|
data/Gemfile.lock
CHANGED
data/lib/avo/app.rb
CHANGED
@@ -40,11 +40,11 @@ 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
|
-
ActiveSupport::Cache
|
47
|
+
ActiveSupport::Cache.lookup_store(:file_store, "/tmp/cache")
|
48
48
|
end
|
49
49
|
elsif Rails.env.test?
|
50
50
|
Rails.cache
|
data/lib/avo/version.rb
CHANGED