summaryrefslogtreecommitdiff
path: root/blatweet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'blatweet.rb')
-rw-r--r--blatweet.rb12
1 files changed, 6 insertions, 6 deletions
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