record_cache 1.0.0 → 1.0.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.
- data/VERSION +1 -1
- data/lib/record_cache.rb +4 -0
- data/lib/record_cache/index.rb +2 -1
- data/record_cache.gemspec +1 -0
- metadata +7 -9
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.1
|
data/lib/record_cache.rb
CHANGED
data/lib/record_cache/index.rb
CHANGED
|
@@ -57,7 +57,8 @@ module RecordCache
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
def namespace
|
|
60
|
-
|
|
60
|
+
record_cache_class = model_class.record_cache_class
|
|
61
|
+
"#{record_cache_class.name}_#{record_cache_class.version}_#{RecordCache.version}_#{fields_hash}:#{name}"
|
|
61
62
|
end
|
|
62
63
|
|
|
63
64
|
def fields_hash
|
data/record_cache.gemspec
CHANGED
|
@@ -9,6 +9,7 @@ Gem::Specification.new do |gem|
|
|
|
9
9
|
gem.description = %q{Active Record caching and indexing in memcache.}
|
|
10
10
|
gem.summary = gem.description
|
|
11
11
|
gem.homepage = "https://github.com/ninjudd/record_cache"
|
|
12
|
+
gem.license = 'MIT'
|
|
12
13
|
|
|
13
14
|
gem.add_development_dependency 'shoulda', '3.0.1'
|
|
14
15
|
gem.add_development_dependency 'mocha'
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: record_cache
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 1
|
|
10
|
+
version: 1.0.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Justin Balthrop
|
|
@@ -15,8 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2013-
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2013-10-25 00:00:00 Z
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
22
21
|
name: shoulda
|
|
@@ -209,10 +208,9 @@ files:
|
|
|
209
208
|
- record_cache.gemspec
|
|
210
209
|
- test/record_cache_test.rb
|
|
211
210
|
- test/test_helper.rb
|
|
212
|
-
has_rdoc: true
|
|
213
211
|
homepage: https://github.com/ninjudd/record_cache
|
|
214
|
-
licenses:
|
|
215
|
-
|
|
212
|
+
licenses:
|
|
213
|
+
- MIT
|
|
216
214
|
post_install_message:
|
|
217
215
|
rdoc_options: []
|
|
218
216
|
|
|
@@ -239,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
239
237
|
requirements: []
|
|
240
238
|
|
|
241
239
|
rubyforge_project:
|
|
242
|
-
rubygems_version: 1.
|
|
240
|
+
rubygems_version: 1.8.15
|
|
243
241
|
signing_key:
|
|
244
242
|
specification_version: 3
|
|
245
243
|
summary: Active Record caching and indexing in memcache.
|