sequel_acts_as_cacheable 1.3 → 1.4

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
  SHA1:
3
- metadata.gz: 53d6ea8a264d47a76246e7e97294fb2197aefb8e
4
- data.tar.gz: 50af6d2226fb7259a07e97a128c7d919248498bf
3
+ metadata.gz: c463606c4da512ebd8eac485dfc687f7daf74263
4
+ data.tar.gz: d20b7df511315159c9ae1d48b62f9d664031a3d9
5
5
  SHA512:
6
- metadata.gz: a011d119fd654ea206f3d8e9d72c681a74172062ec8e674085c53f6f168818b12db5fde77eedaec27f6f76716cf34010ccc3c07da2a8f2d02f260bee722ca42d
7
- data.tar.gz: c39312517e4f21e93f890e25f53182737724062057bb710289200d55675e0b17fe3a1280d3edaec07b5e1698e6b6813a588861892aca5acded894786db7ac6d6
6
+ metadata.gz: 5b1e3c3b6b6ba41563ec93652ce80b42f520cde7d8faaa1e065d0b32c889a01ad18aaf1ae3c0eede2f66975e979d96c81d33316ba5f06234f7886c87cf4b75e6
7
+ data.tar.gz: bd57fde85501e7a27f99ee0e4edbab30637723c271e6f072eaa2c58f18c7c04f3e989da93f9d624421bd094f5446364df01ab4886412a2ecd5dae2d7ed87f1e8
@@ -55,7 +55,7 @@ module Sequel
55
55
  cache_value = @acts_as_cacheable_cache.get key
56
56
  rescue Exception => e
57
57
  if acts_as_cacheable_logger
58
- acts_as_cacheable_logger.error "CACHE.get failed in primary key lookup with args #{args.inspect} and model #{self.class.name} so using mysql lookup instead, exception was #{e.inspect}"
58
+ acts_as_cacheable_logger.error "CACHE.get failed in primary key lookup with args #{args.inspect} and model #{name} so using mysql lookup instead, exception was #{e.inspect}"
59
59
  end
60
60
  cache_value = super *args
61
61
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel_acts_as_cacheable
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misha Conway