summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blatweet.rb12
-rw-r--r--config.yaml4
2 files changed, 8 insertions, 8 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
diff --git a/config.yaml b/config.yaml
index 6d452cd..4af3639 100644
--- a/config.yaml
+++ b/config.yaml
@@ -1,4 +1,4 @@
consumer_key: vXaBVIrxiJw2TKVJyI1w
consumer_secret: Xrg8ezA461OlLP94951kWxONMs9CkDCVkW25KZICjY8
-oauth_token: 143847685-6uQb9mhDCqhNASYtsi6ZwZoO3Am5Yq2IbPtcjUJ0
-oauth_token_secret: YxnmXtywSbIvJHyX6pdGhDnkQiR2Z1KJ84DQyzVpUk
+oauth_token: 143847685-F9qvpDaAyHMeuE86yMm8sBd6KhDswQAeoUM0hFoJ
+oauth_token_secret: PstQH40WKY1ER23MbcdihxoVPGL5vA0KuaCtr9PnE