governator 0.1.11 → 0.1.12

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: cc2cfb3afb5a52e54736ec79856170eae33635ca
4
- data.tar.gz: 5d707a4ee20acefff40bc18565615e9df2bf9d29
3
+ metadata.gz: 837b5c92e8f40ef39fcd3437abdba77551b27489
4
+ data.tar.gz: b77497df114b432c6d865af569da4e5eb6891987
5
5
  SHA512:
6
- metadata.gz: a06d70c950212b8f5436b9d4085841c14f67f7443eab04a2f14f4c9cba7076e56709c2f9ccdba9094c932f643f7d854190d24bac4bed708a791e9be472e101f7
7
- data.tar.gz: 71ab8dd0ac9214a82982e54c01ba2ceff210403e50c0c0f94949b59c9ba3e12d452b5fddc47acb247645d92a134098eb50c2240e65892121cf2b9542cba9bc5a
6
+ metadata.gz: 98ac4db4f0f922f66249ccd380982fd834ca5c92ac5de7429c60d4b067730d1d3d9bc2f7c2d6acfa9baa7c4d85af16f21da50a5859b7dc6fea3d109b263df2c9
7
+ data.tar.gz: 5a870c61b685356a4bbb1827518ebc43dbfd7d671d82db16b9eca9b5cf12e8902b2ba7d3c2fee5441c230d0dbd1760492767b346707f6c0eefccc135a9bab0d5
@@ -15,6 +15,9 @@ class Governator
15
15
 
16
16
  def governors
17
17
  @_governors ||= nga_list_members + rga_list_members + cspan_list_members + dga_list_members
18
+ rescue Twitter::Error::BadRequest => error
19
+ puts error, error.message, caller
20
+ retry
18
21
  end
19
22
 
20
23
  def nga_list
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Governator
4
- VERSION = '0.1.11'
4
+ VERSION = '0.1.12'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: governator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. Simon Borg