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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33c1cbd877def31fda7be5d4acbcd80a577ad51e
4
- data.tar.gz: 71449a1feee54a530e45cc7cb467cb4d28eaf65b
3
+ metadata.gz: 2e8d5906a34c29ae4e302386f7bfef20a9b1e8a6
4
+ data.tar.gz: c7dc0d17e489374762a9679a296581d2d48854bb
5
5
  SHA512:
6
- metadata.gz: baa2e1cc3c9393c2f343fac7afa2f264e75de330935784d5bf9579b36b71d5ff469298dd8265062d12f21e23ff4c456bc6e617a8ebdb8425581351c46a3bacb0
7
- data.tar.gz: de00dfb8e9fb9df9f48b47d874f072a1f231a20dbd08f5beb54194c908d3e784ecee23bbf1450815bb518aa2a4750ee5df25e603cf6b99006e2ea59e0279c97f
6
+ metadata.gz: 85af8c2c234195956e15233fb2f6b95e986170d460ef20ec3a41551d1ee0471b87a6e68a93e7cfe6f58383140d99f1c4f81541902ea790928b3606f24daa4adf
7
+ data.tar.gz: 4c878c500a9437678298811795004bba2a13073859c1fd22243824cd82009770052952492d67efe2550c9bc363b6e4625ac8a98dd5e6a09afccd0f074fbf95f7
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Redisable
1
+ # Redisable [![Build Status](https://travis-ci.org/yoppi/redisable.png)](https://travis-ci.org/yoppi/redisable)
2
2
 
3
3
  Thin wrapper library for Redis, enable any Ruby class to access Redis.
4
4
 
data/Rakefile CHANGED
@@ -1 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core"
3
+ require "rspec/core/rake_task"
4
+ RSpec::Core::RakeTask.new(:spec) do |spec|
5
+ spec.pattern = FileList["spec/**/*_spec.rb"]
6
+ end
7
+ task default: :spec
@@ -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_ ||= opts[:id].call(self)
21
+ id_ ||= options[:id].call(self)
22
22
  KVSKey.join_key(klass_name, id_, name, options[:blank_field])
23
23
  end
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module Redisable
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency "redis"
22
22
  spec.add_development_dependency "bundler", "~> 1.3"
23
23
  spec.add_development_dependency "rake"
24
+ spec.add_development_dependency "rspec"
24
25
  end
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.1
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