botolo 0.50.0 → 0.50.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
  SHA1:
3
- metadata.gz: 5db849cbb8017808accaae72cc3f6b430fcf963f
4
- data.tar.gz: f00801595c7363ad64c12ac6cf1311b0b42a846c
3
+ metadata.gz: 7c056a9154f918d01201c929a490c128e05948a3
4
+ data.tar.gz: 2053ec72550fa757df861b769e9c29ef6ff0ce42
5
5
  SHA512:
6
- metadata.gz: f9a3246e555a4895cce738cc2260f68945f1f8c3579ad5eb88bdd972ff1672673222a57dab80001fdede898b9ed5be8990fa4ea0ec48b3a709b7f8aafdcbacb7
7
- data.tar.gz: 45a383398b60148e2dcf444c94ed47fcae0acfcab719cb51550b37dd691ac8283fc71437b76e02d9a24383fc5cbe89f308974a794d5c61dd74083bb8319eb5d6
6
+ metadata.gz: 1e9be23278fe4f07801f7e0436326548a5623e6736902a676879e19402181aac16085c8fc74a162ecc0279490da167d24197f29631640251bdc2e183acb9b885
7
+ data.tar.gz: ee7b4bddc504a28533361fb146184b597a95298d195bb54450e518247df1f46dc69283558baf06cd69e751f410e78f9fc7d79ed4438fba63dad749f80a256e27
@@ -16,6 +16,7 @@ module Botolo
16
16
  a=Hash.new
17
17
  a[:name] = account['name']
18
18
  begin
19
+ $logger.log "authenticating #{a[:name]}"
19
20
  a[:client] = Twitter::REST::Client.new do |config|
20
21
  config.consumer_key = account['consumer_key']
21
22
  config.consumer_secret = account['consumer_secret']
@@ -15,6 +15,7 @@ module Botolo
15
15
  if @config['twitter']['enabled']
16
16
  $twitter_api = Botolo::API::Tweet.instance
17
17
  $twitter_api.authenticate(@config['twitter'])
18
+ @online unless $twitter_api.twitters.empty?
18
19
  end
19
20
 
20
21
  @tasks = @config['task']
@@ -1,3 +1,3 @@
1
1
  module Botolo
2
- VERSION = "0.50.0"
2
+ VERSION = "0.50.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.50.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paolo Perego