alephant-sequencer 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alephant/sequencer/sequence_cache.rb +2 -2
- data/lib/alephant/sequencer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8985623b8393ab4ebd95f41d25492f7840be3ac4
|
4
|
+
data.tar.gz: 4c0f2c03d1c38622b7414384837bad081b047243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54a1d999505ab34e199ef7390a3be4f69845eef0aaafdb7ad817311fa2eaa4b793b720f14bf01453292b19e972f75f014909c74b36b8c307ddb6488d9f1cd499
|
7
|
+
data.tar.gz: 638e0b118f9b890528a9dea44aa7080c7f1e91b65922458f08a558aa7d76bda01aeb96572abd55d5341baefad75cd66f7855857f1b2e6c015ff4e49e834b2d0c
|
@@ -8,7 +8,7 @@ module Alephant
|
|
8
8
|
|
9
9
|
attr_reader :config
|
10
10
|
|
11
|
-
DEFAULT_TTL =
|
11
|
+
DEFAULT_TTL = 2
|
12
12
|
|
13
13
|
def initialize(config={})
|
14
14
|
@config = config
|
@@ -46,7 +46,7 @@ module Alephant
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def ttl
|
49
|
-
config["
|
49
|
+
config["sequencer_elasticache_ttl"] || DEFAULT_TTL
|
50
50
|
end
|
51
51
|
|
52
52
|
def versioned(key)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alephant-sequencer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BBC News
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|