neo4apis-twitter 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neo4apis/cli/twitter.rb +2 -0
- data/neo4apis-twitter.gemspec +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: 805d1b511ef57fa456ced7b6e5bd64446bba578d
|
4
|
+
data.tar.gz: 788a4dfddb54887ff1e9e43020ae7d3833720806
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5a677e3d3d0e5f62749496e74f3c250f6bb3abb60a107a4b3a345fd0fafd0fb6c1a4c11ecb49a2cfadbfebaac406af6277ec197d0340028dc9b9ef7233f3318
|
7
|
+
data.tar.gz: a2039fef3430c41a9e295108998f48449a6a7ee23b96672ef1704ec110693b0a593b4286d25657cbcea662b4034b6f052b7ef12e0564eba236160f49dfee4da1
|
data/lib/neo4apis/cli/twitter.rb
CHANGED
@@ -91,6 +91,8 @@ module Neo4Apis
|
|
91
91
|
rescue ::Twitter::Error::TooManyRequests => error
|
92
92
|
reset_in = error.rate_limit.reset_in
|
93
93
|
puts "Rate limit exceeded. Sleeping for #{reset_in} seconds"
|
94
|
+
|
95
|
+
neo4apis_client.instance_variable_get('@buffer').flush
|
94
96
|
sleep reset_in
|
95
97
|
retry
|
96
98
|
end
|
data/neo4apis-twitter.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4apis-twitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Underwood
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: neo4apis
|