aub-cache_advance 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/cache_advance.gemspec +1 -1
  2. data/rails/init.rb +6 -0
  3. metadata +1 -1
@@ -1,5 +1,5 @@
1
1
  Gem::Specification.new do |s|
2
- s.version = '1.0.4'
2
+ s.version = '1.0.5'
3
3
  s.date = %q{2009-01-08}
4
4
 
5
5
  s.name = %q{cache_advance}
data/rails/init.rb CHANGED
@@ -18,6 +18,12 @@ ActionController::Base.helper do
18
18
  end
19
19
  end
20
20
 
21
+ ActionMailer::Base.helper do
22
+ def cache_it(cache, options={})
23
+ yield
24
+ end
25
+ end
26
+
21
27
  # This will get called after the standard rails environment is initialized.
22
28
  config.after_initialize do
23
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aub-cache_advance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aubrey Holland