rails_kvs_driver-redis_driver 0.1.0 → 0.1.1

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: 1ad02b5b22684d4f7e38ebf426d09d8e5994ca92
4
- data.tar.gz: 2054be8ce2e783dae350628f083ae31ebb0a21a7
3
+ metadata.gz: 6bae204bb5e7740f513affc1be5562ea3352ecc0
4
+ data.tar.gz: d41b5871f142e939097b696e0adb7077e0b47067
5
5
  SHA512:
6
- metadata.gz: e5b6d6e5379206846af12e7e1fb892888c6e03ccbe57c2131a2f3caaae81f8f8d75aa8d923658ea3d58256fb2cd4b7bdcc5a9dc450833cb2a406b597de4a35bf
7
- data.tar.gz: dc230b28c5ae8ff2e7bbe202a4c771b48dc4452846534fe39ec8b1b0b50473a4064ba17648421a0b990c3e33b3e1d4b856135e3009ab95b5a07d9e34ad79164c
6
+ metadata.gz: 2aa4b20460a75f46d4e8271042dc95ace30755dcc543443b58c68ddf2e44cb3380bb761462103c5e9b92b8406f20eb6406e3370e8be3030a73a724c658ab076a
7
+ data.tar.gz: 796f00a3d2e04a3274c1f67eed885b0294dac7383d4133295c134e98dc62b2d6f09d16c458fa96cb8a3b1f419e569c9662a98b5750be6aa8600dc9f226312997
data/README.md CHANGED
@@ -115,6 +115,9 @@ RailsKvsDriver::RedisDriver::Driver::session(driver_config) do |redis|
115
115
  end
116
116
  ```
117
117
 
118
+ # API DOCUMENT
119
+
120
+ * [RailsKvsDriver-RedisDriver](http://rubydoc.info/github/alfa-jpn/rails_kvs_driver-redis_driver/master/frames)
118
121
 
119
122
 
120
123
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  module RailsKvsDriver
2
2
  module RedisDriver
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = RailsKvsDriver::RedisDriver::VERSION
9
9
  spec.authors = ["alfa-jpn"]
10
10
  spec.email = ["a.nkmr.ja@gmail.com"]
11
- spec.description = "redis driver for rails kvs driver."
11
+ spec.description = "rails_kvs_driver is available to use namespace and connection pool and ruby-like methods of kvs."
12
12
  spec.summary = "redis driver for rails kvs driver."
13
13
  spec.homepage = "https://github.com/alfa-jpn/rails_kvs_driver-redis_driver"
14
14
  spec.license = "MIT"
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "yard"
25
25
 
26
26
  spec.add_dependency "redis"
27
- spec.add_dependency "rails_kvs_driver", "0.1.5"
27
+ spec.add_dependency "rails_kvs_driver", "0.1.6"
28
28
  end
@@ -242,8 +242,18 @@ shared_examples_for 'RailsKvsDriver example' do |driver_class, driver_config|
242
242
  driver_class::session(driver_config) do |kvs|
243
243
  kvs.add_sorted_set('example', 'element', 10)
244
244
 
245
- expect(kvs.sorted_sets.has_key?('example')).to be_true
246
- expect(kvs.sorted_sets.has_key?('nothing key')).to be_false
245
+ expect(kvs.sorted_sets.has_key?('example')).to be_true
246
+ expect(kvs.sorted_sets.has_key?('nothing key')).to be_false
247
+ end
248
+ end
249
+
250
+ it 'call has_member?' do
251
+ driver_class::session(driver_config) do |kvs|
252
+ kvs.add_sorted_set('example', 'element', 10)
253
+
254
+ expect(kvs.sorted_sets.has_member?('example','element')).to be_true
255
+ expect(kvs.sorted_sets.has_member?('example','nothing member')).to be_false
256
+ expect(kvs.sorted_sets.has_member?('nothing key', 'element')).to be_false
247
257
  end
248
258
  end
249
259
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_kvs_driver-redis_driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - alfa-jpn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-11 00:00:00.000000000 Z
11
+ date: 2013-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,15 +86,16 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.1.5
89
+ version: 0.1.6
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.1.5
97
- description: redis driver for rails kvs driver.
96
+ version: 0.1.6
97
+ description: rails_kvs_driver is available to use namespace and connection pool and
98
+ ruby-like methods of kvs.
98
99
  email:
99
100
  - a.nkmr.ja@gmail.com
100
101
  executables: []