From ff7dee7d4ed62ab738cd1273661727fe74893d6a Mon Sep 17 00:00:00 2001 From: wjoe Date: Tue, 7 Feb 2012 13:13:00 +0000 Subject: Historic commit 1.0.5 (02-Feb-2012 18:21) --- blatweet.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'blatweet.rb') diff --git a/blatweet.rb b/blatweet.rb index 5777126..2b19016 100644 --- a/blatweet.rb +++ b/blatweet.rb @@ -7,7 +7,7 @@ output = [] username = nil number_of_tweets = 1 limit = false -version = 'v1.0.4' +version = 'v1.0.5' help = false ops = nil @@ -31,12 +31,12 @@ end begin twitter_config = YAML::load( File.open( 'config.yaml' ) ) - + Twitter.configure do |config| - config.consumer_key = twitter_config[:consumer_key] - config.consumer_secret = twitter_config[:consumer_secret] - config.oauth_token = twitter_config[:oauth_token] - config.oauth_token_secret = twitter_config[:oauth_token_secret] + config.consumer_key = twitter_config['consumer_key'] + config.consumer_secret = twitter_config['consumer_secret'] + config.oauth_token = twitter_config['oauth_token'] + config.oauth_token_secret = twitter_config['oauth_token_secret'] end if help -- cgit v1.2.3