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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad846dbde397e53fa5952298035408f72a45f194
4
- data.tar.gz: f2655ab3fd5f55bd7c3bcd4ce336bfba54955715
3
+ metadata.gz: 805d1b511ef57fa456ced7b6e5bd64446bba578d
4
+ data.tar.gz: 788a4dfddb54887ff1e9e43020ae7d3833720806
5
5
  SHA512:
6
- metadata.gz: 0bf48bb6b83eff8b94bcfa8d2fd70eeb1b8b5adf4943432d6398cf7323b5740a6d0a75d4f74e01ec9981fd69dc88a3dfd7721d07da1cf38c7946319cb21e1f0f
7
- data.tar.gz: 8b9785f5cf346ab86b9bc941311bacd31ffbcfa597952d65dff9f6c9aa1ace8780b2538abc8427c401aa2a99f0a5f4962225f9423502f2ac97eb3082e02d9f1b
6
+ metadata.gz: c5a677e3d3d0e5f62749496e74f3c250f6bb3abb60a107a4b3a345fd0fafd0fb6c1a4c11ecb49a2cfadbfebaac406af6277ec197d0340028dc9b9ef7233f3318
7
+ data.tar.gz: a2039fef3430c41a9e295108998f48449a6a7ee23b96672ef1704ec110693b0a593b4286d25657cbcea662b4034b6f052b7ef12e0564eba236160f49dfee4da1
@@ -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
@@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "neo4apis-twitter"
6
- s.version = '0.8.2'
6
+ s.version = '0.8.3'
7
7
  s.required_ruby_version = ">= 1.9.1"
8
8
 
9
9
  s.authors = "Brian Underwood"
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.2
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-03-27 00:00:00.000000000 Z
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: neo4apis