twitter_with_auto_pagination 0.15.0 → 0.15.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33f7f18af0b8604e17243e3df54211458a6f7b5a72017ce28c314f0c34ef6fb7
|
4
|
+
data.tar.gz: a026857a4bdd2ae8fb844e1eeeb714f54b937548ed472a03aab746ec9bc06af9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8abb120def53b43fce9b45a799168c0e8221de5ed577dc4b115e7ab485b387be847043971a7b0ea44a015f3d9af6c3f2101720d815aec96857b6fe14b198e9fc
|
7
|
+
data.tar.gz: '058ed2cfe1ad7d528c6dfccf3346a36e070f1a10b2995ef483ce09d955d3f1b7f3b48b9ea27aab753636798acc0754732c7a0f7f9999477d0dcf8ab36b122cbb'
|
@@ -14,8 +14,8 @@ module TwitterWithAutoPagination
|
|
14
14
|
def initialize(*args)
|
15
15
|
options = args.extract_options!
|
16
16
|
|
17
|
-
if options['cache_store']
|
18
|
-
@client = options['cache_store']
|
17
|
+
if options['cache_store'] || options[:cache_store]
|
18
|
+
@client = options['cache_store'] || options[:cache_store]
|
19
19
|
else
|
20
20
|
path = options['cache_dir'] || options[:cache_dir] || File.join('tmp', 'twitter_cache')
|
21
21
|
ttl = options['cache_ttl'] || options[:cache_ttl] || 1.hour
|