sreeix-cache-money 0.2.26 → 0.2.27

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.
Files changed (2) hide show
  1. data/lib/cache_money.rb +1 -1
  2. metadata +2 -2
data/lib/cache_money.rb CHANGED
@@ -24,7 +24,7 @@ require 'cash/util/marshal'
24
24
 
25
25
  class ActiveRecord::Base
26
26
  def self.is_cached(options = {})
27
- if options == false
27
+ if (options == false || options[:repository].nil?)
28
28
  include NoCash
29
29
  else
30
30
  options.assert_valid_keys(:ttl, :repository, :version)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sreeix-cache-money
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.26
5
+ version: 0.2.27
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nick Kallen
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- hash: -3452354867585433890
115
+ hash: -1254412095328383851
116
116
  segments:
117
117
  - 0
118
118
  version: "0"