redic 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +7 -0
- data/README.md +2 -2
- data/lib/redic.rb +1 -1
- data/redic.gemspec +1 -1
- data/tests/redic_test.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c84fc3bb13bdc9f95139dead516fe24181fcef4f
|
4
|
+
data.tar.gz: da329d3b3da421f2c4ecaa9c99add491c176265c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 767d696ec306eeaacdfcad51f1c9034932e622064b0fbb5299f4c17303d62908eca8cf1c581026c8fdf54f21dbd7c663cd74b7e261266d619841685b5d0c2888
|
7
|
+
data.tar.gz: 1c486367002024bc82d7a204178eefbdd4c12a2a1b94bf883921d820db5a71b377ad162e06a4ce546734e2aaaa0dd6855bb8d5621b561e2c88403ae4448eec7c
|
data/CHANGELOG
ADDED
data/README.md
CHANGED
@@ -45,7 +45,7 @@ default timeout is 10 seconds.
|
|
45
45
|
|
46
46
|
```ruby
|
47
47
|
# Timeout expressed in microseconds.
|
48
|
-
redis = Redic.new(
|
48
|
+
redis = Redic.new(REDIS_URL, 2_000_000)
|
49
49
|
redis.timeout == 2_000_000 #=> true
|
50
50
|
```
|
51
51
|
|
@@ -58,7 +58,7 @@ Here's one final example using both a Redis URL and a timeout:
|
|
58
58
|
REDIS_URL = ENV.fetch("REDIS_URL")
|
59
59
|
REDIS_TIMEOUT = ENV.fetch("REDIS_TIMEOUT")
|
60
60
|
|
61
|
-
redis = Redic.new(REDIS_URL,
|
61
|
+
redis = Redic.new(REDIS_URL, REDIS_TIMEOUT)
|
62
62
|
```
|
63
63
|
|
64
64
|
## Differences with redis-rb
|
data/lib/redic.rb
CHANGED
data/redic.gemspec
CHANGED
data/tests/redic_test.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michel Martens
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hiredis
|
@@ -35,6 +35,7 @@ extra_rdoc_files: []
|
|
35
35
|
files:
|
36
36
|
- .gems
|
37
37
|
- .gitignore
|
38
|
+
- CHANGELOG
|
38
39
|
- LICENSE
|
39
40
|
- README.md
|
40
41
|
- lib/redic.rb
|