redisable 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +6 -0
- data/lib/redisable/kvs_key.rb +1 -1
- data/lib/redisable/version.rb +1 -1
- data/redisable.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e8d5906a34c29ae4e302386f7bfef20a9b1e8a6
|
4
|
+
data.tar.gz: c7dc0d17e489374762a9679a296581d2d48854bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85af8c2c234195956e15233fb2f6b95e986170d460ef20ec3a41551d1ee0471b87a6e68a93e7cfe6f58383140d99f1c4f81541902ea790928b3606f24daa4adf
|
7
|
+
data.tar.gz: 4c878c500a9437678298811795004bba2a13073859c1fd22243824cd82009770052952492d67efe2550c9bc363b6e4625ac8a98dd5e6a09afccd0f074fbf95f7
|
data/README.md
CHANGED
data/Rakefile
CHANGED
data/lib/redisable/kvs_key.rb
CHANGED
@@ -18,7 +18,7 @@ module Redisable
|
|
18
18
|
KVSKey.join_key(klass_name, id_, name, options[:blank_field])
|
19
19
|
end
|
20
20
|
define_singleton_method(name) do |id_=nil|
|
21
|
-
id_ ||=
|
21
|
+
id_ ||= options[:id].call(self)
|
22
22
|
KVSKey.join_key(klass_name, id_, name, options[:blank_field])
|
23
23
|
end
|
24
24
|
end
|
data/lib/redisable/version.rb
CHANGED
data/redisable.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redisable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoppi
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
description: Thin wrapper library for Redis, enable any Ruby class to access Redis.
|
56
70
|
email:
|
57
71
|
- y.hirokazu@gmail.com
|