diff options
author | wjoe <joe@lc8n.com> | 2012-02-07 13:13:00 +0000 |
---|---|---|
committer | wjoe <joe@lc8n.com> | 2012-02-07 13:13:00 +0000 |
commit | ff7dee7d4ed62ab738cd1273661727fe74893d6a (patch) | |
tree | f746392b4a58c12d64eb431886880b41e061566d | |
parent | 0218fc53a41c95dd64fdb6f41ace854b580b72a3 (diff) |
Historic commit 1.0.5 (02-Feb-2012 18:21)
-rw-r--r-- | blatweet.rb | 12 | ||||
-rw-r--r-- | config.yaml | 4 |
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 |