redis-set 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/redis_set.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45e696c793b4e362dcac1b1256ca2581f2346230
4
- data.tar.gz: aca48ae696bba8947b94f612431a1f5aa20e96e2
3
+ metadata.gz: 27783585289e3045d2f84d624f859f361e6d3044
4
+ data.tar.gz: 0c8932b0e84ef25cbb4a42545895885c46e60791
5
5
  SHA512:
6
- metadata.gz: d66c98309c636ee604bf8e288a7e2c85f6bde73f76bfd0ab1a27de1fbe57a358b1bcde336bfee7baeda03c75ed01ea02c02a3cbdc7fc7757f4c1bc54c2483175
7
- data.tar.gz: c8a7375bd5a71de527013e606f688e97ecfd2237b0ee3a6ccb6ba6685fd931123d12871ff08bd6b99748468b141806c545c7dd2494274b36494b204aff69c9ee
6
+ metadata.gz: 8e9cd9627438cecdba8b53374e5db2d706c1a55b44cfc81ac1fbad056eb7aa68312937166ba178893e083d466bca3d7a7fcfe01f22670e65b906d0353c5b0302
7
+ data.tar.gz: 2b19fbf7725200b75361a5a01bb4614f8202a11eea9434a21734288724352748ed96bca2fa7e4b6dd6fc427ae3bd53325e811e16af06e7e34345d9b8d61c46f8
data/lib/redis_set.rb CHANGED
@@ -3,7 +3,7 @@ require "redis"
3
3
  class RedisSet
4
4
  attr_reader :name
5
5
 
6
- VERSION = "0.0.4"
6
+ VERSION = "0.0.5"
7
7
 
8
8
  class InvalidNameException < StandardError; end;
9
9
  class InvalidRedisConfigException < StandardError; end;
@@ -28,7 +28,7 @@ class RedisSet
28
28
  end
29
29
 
30
30
  if more_options.kind_of?(Hash) && more_options[:expire]
31
- @redis.expire more_options[:expire]
31
+ expire more_options[:expire]
32
32
  end
33
33
  end
34
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-set
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Misha Conway