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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bde773a8062f76d29ce0655fd0948bf963f1a0627b02d3d9df706225049fab6
4
- data.tar.gz: 6503ea6bde6130648c2f2613e097ee9cc8db3e58d07702fea4d47a94b62a5118
3
+ metadata.gz: 8a87cb9ad28dd06e0aa9f183fc1d610f9ebd655108cd9d5053f5f7e6d0c6c2bd
4
+ data.tar.gz: a983e0f6d719b3e4b61efdfb1bf1e3d74e5fe7e77eed8b30b78ec946136786d9
5
5
  SHA512:
6
- metadata.gz: c17065eb96f4b82a8f0d33f50627e635462e737c3fae582ab371c10a7976594df137fa8db3bb77252fcbc5d4c873ec4eb3db24c8ddedd201c6d830574be5687d
7
- data.tar.gz: 762e69b4a753622e1a6ad3eef2038e27acf05b36356bbe31a1cb7798ba1491f65306fb867d4eea41f0ffe8870c959c66df8f5a55768620119d7158ef56a6e05a
6
+ metadata.gz: be5ad5ccf47de78f21816ed76abb8ee632d4940823b0132b90c38fe2aba6bfcc1cd824b42963c213ea3a6f447b10f17995215b0b4317faa5021c79637db56f87
7
+ data.tar.gz: f3a9103c23935739865dfe6e25e5cb388240243eb74cd18f6b6cf858e4bc68fd22672d5d2c517787ff7fe154d454e45a10a0e5c901600d1c311d0310c3d93aa2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.32.0)
4
+ avo (2.32.2)
5
5
  actionview (>= 6.0)
6
6
  active_link_to
7
7
  activerecord (>= 6.0)
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::FileStore.new
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
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.32.0" unless const_defined?(:VERSION)
2
+ VERSION = "2.32.2" unless const_defined?(:VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.32.0
4
+ version: 2.32.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin