cache_fu 0.2.0.pre3 → 0.2.0

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/{README → README.md} +7 -9
  2. metadata +26 -7
@@ -1,4 +1,4 @@
1
- == cache_fu
1
+ #cache_fu
2
2
 
3
3
  A rewrite of acts_as_cached.
4
4
  This version is only compatible with rails 3 and above.
@@ -10,15 +10,13 @@ For fragment and page caching use Rails DalliStore as it already provides all th
10
10
 
11
11
  This gem is very useful for caching in models.
12
12
 
13
- == Changes from acts_as_cached 1
13
+ ##Changes from acts_as_cached 1
14
14
 
15
- - You can no longer set a 'ttl' method on a class. Instead,
16
- pass :ttl to acts_as_cached:
17
- >> acts_as_cached :ttl => 15.minutes
15
+ * You can no longer set a 'ttl' method on a class. Instead, pass :ttl to acts_as_cached: `acts_as_cached :ttl => 15.minutes`
18
16
 
19
- - The is_cached? method is aliased as cached?
17
+ * The is_cached? method is aliased as cached?
20
18
 
21
- - set_cache on an instance can take a ttl
22
- >> @story.set_cache(15.days)
19
+ * set_cache on an instance can take a ttl: `@story.set_cache(15.days)`
23
20
 
24
- Surendra Singhi [ ssinghi[at]kreeti[dot]com]
21
+ ##Author
22
+ [Surendra Singhi](ssinghi@kreeti.com)
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cache_fu
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 6
5
- version: 0.2.0.pre3
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
6
11
  platform: ruby
7
12
  authors:
8
13
  - Surendra Singhi
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-10-31 00:00:00 +05:30
18
+ date: 2012-07-30 00:00:00 +05:30
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
@@ -21,6 +26,10 @@ dependencies:
21
26
  requirements:
22
27
  - - ~>
23
28
  - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 3
32
+ - 0
24
33
  version: "3.0"
25
34
  type: :runtime
26
35
  version_requirements: *id001
@@ -32,6 +41,10 @@ dependencies:
32
41
  requirements:
33
42
  - - ~>
34
43
  - !ruby/object:Gem::Version
44
+ hash: 7
45
+ segments:
46
+ - 3
47
+ - 0
35
48
  version: "3.0"
36
49
  type: :development
37
50
  version_requirements: *id002
@@ -59,7 +72,7 @@ files:
59
72
  - test/local_cache_test.rb
60
73
  - test/sti_test.rb
61
74
  - LICENSE
62
- - README
75
+ - README.md
63
76
  has_rdoc: true
64
77
  homepage: http://github.com/kreetitech/cache_fu
65
78
  licenses: []
@@ -74,17 +87,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
87
  requirements:
75
88
  - - ">="
76
89
  - !ruby/object:Gem::Version
90
+ hash: 3
91
+ segments:
92
+ - 0
77
93
  version: "0"
78
94
  required_rubygems_version: !ruby/object:Gem::Requirement
79
95
  none: false
80
96
  requirements:
81
- - - ">"
97
+ - - ">="
82
98
  - !ruby/object:Gem::Version
83
- version: 1.3.1
99
+ hash: 3
100
+ segments:
101
+ - 0
102
+ version: "0"
84
103
  requirements: []
85
104
 
86
105
  rubyforge_project:
87
- rubygems_version: 1.6.2
106
+ rubygems_version: 1.3.7
88
107
  signing_key:
89
108
  specification_version: 3
90
109
  summary: Makes caching easy for ActiveRecord models