cachetastic 3.5.1 → 3.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cachetastic (3.5.0)
4
+ cachetastic (3.5.1)
5
5
  activesupport
6
6
  configatron
7
7
 
@@ -35,6 +35,15 @@ module Cachetastic # :nodoc:
35
35
  self.instance.send(sym, *args, &block)
36
36
  end
37
37
 
38
+ def available_caches
39
+ @available_caches ||= []
40
+ end
41
+
42
+ def inherited(klass)
43
+ available_caches << klass
44
+ super
45
+ end
46
+
38
47
  end # class << self
39
48
 
40
49
  # Returns an object from the cache for a given key.
@@ -1,3 +1,3 @@
1
1
  module Cachetastic
2
- VERSION = "3.5.1"
2
+ VERSION = "3.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cachetastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: