preheatable_cache 0.1.1 → 0.1.2

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -44,7 +44,7 @@ module PreheatableCache
44
44
  def add_cache_clearing_callback
45
45
  return if @clear_callback_added
46
46
  @clear_callback_added = true
47
- if Rails.version < '2.3.8'
47
+ if Rails::VERSION::MAJOR == 2
48
48
  ActionController::Dispatcher.before_dispatch proc{ clear_preheatable_cache }
49
49
  else
50
50
  ActionDispatch::Callbacks.before proc{ clear_preheatable_cache }
@@ -74,4 +74,4 @@ module PreheatableCache
74
74
  end
75
75
 
76
76
  # must be included in lowest classes, to overwrite reads
77
- ActiveSupport::Cache::MemCacheStore.send(:include, PreheatableCache)
77
+ ActiveSupport::Cache::MemCacheStore.send(:include, PreheatableCache)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{preheatable_cache}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2010-08-16}
12
+ s.date = %q{2010-09-14}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.files = [
15
15
  "Gemfile",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Grosser
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-16 00:00:00 +02:00
17
+ date: 2010-09-14 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies: []
20
20