rediska 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/lib/rediska/databases/expiring.rb +1 -1
- data/lib/rediska/version.rb +1 -1
- data/spec/support/keys.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b301b8b105df4ba9c093329e391077669b638b2
|
4
|
+
data.tar.gz: 431df3d4c271b26c2948caaf935d899995b1d08b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a59ee0d6021e31f320878d096bec22a9e1684ada257d0684f6526b8ebb29fb29e9370819afbcbb3eab41c2b3c2642db0709d83158a6a157cf98fb7374d5a127
|
7
|
+
data.tar.gz: 00eb3278e5015604341c4f69836db7524ab8e5d1b509ee4c99bda1e070999a01469da528b8f62e5b30e9a126430edd97f48eca5bcdfcc97115dbdb2b60503774
|
data/.travis.yml
CHANGED
data/lib/rediska/version.rb
CHANGED
data/spec/support/keys.rb
CHANGED
@@ -71,7 +71,7 @@ shared_examples 'keys' do
|
|
71
71
|
it "should set a key's time to live in miliseconds" do
|
72
72
|
subject.set('key1', '1')
|
73
73
|
subject.pexpire('key1', 2200)
|
74
|
-
expect(subject.pttl('key1')).to be_within(
|
74
|
+
expect(subject.pttl('key1')).to be_within(10).of(2200)
|
75
75
|
end
|
76
76
|
|
77
77
|
it 'should set the expiration for a key as a UNIX timestamp' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rediska
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonid Beder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.4.
|
151
|
+
rubygems_version: 2.4.6
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: A light-weighted redis driver for testing, development, and minimal environments
|
@@ -169,3 +169,4 @@ test_files:
|
|
169
169
|
- spec/support/strings.rb
|
170
170
|
- spec/support/transactions.rb
|
171
171
|
- spec/support/upcase_method_names.rb
|
172
|
+
has_rdoc:
|