cache 0.3.0 → 0.3.1

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 (4) hide show
  1. data/CHANGELOG +5 -0
  2. data/lib/cache.rb +3 -0
  3. data/lib/cache/version.rb +1 -2
  4. metadata +3 -2
@@ -0,0 +1,5 @@
1
+ 0.3.1 / 2012-04-10
2
+
3
+ * Bug fixes
4
+
5
+ * Compatibility with Rails 2.x that calls Rails.cache.logger=
@@ -24,6 +24,9 @@ class Cache
24
24
  attr_reader :config
25
25
  attr_reader :metal
26
26
 
27
+ # For compatibility with Rails 2.x
28
+ attr_accessor :logger
29
+
27
30
  def initialize(metal = nil) #:nodoc:
28
31
  @pid = ::Process.pid
29
32
  @config = Config.new self
@@ -1,4 +1,3 @@
1
1
  class Cache
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
4
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-04-06 00:00:00.000000000 Z
13
+ date: 2012-04-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -54,6 +54,7 @@ extensions: []
54
54
  extra_rdoc_files: []
55
55
  files:
56
56
  - .gitignore
57
+ - CHANGELOG
57
58
  - Gemfile
58
59
  - README.md
59
60
  - Rakefile