Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Commit 391a270

Browse files
committed
Updated to latest twitter gem.
1 parent 9ee7f9e commit 391a270

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/project/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
33
gem 'dashing'
44

55
## Remove this if you don't need a twitter widget.
6-
gem 'twitter', '>= 5.0.0'
6+
gem 'twitter', '>= 5.9.0'

templates/project/jobs/twitter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
twitter = Twitter::REST::Client.new do |config|
77
config.consumer_key = 'YOUR_CONSUMER_KEY'
88
config.consumer_secret = 'YOUR_CONSUMER_SECRET'
9-
config.oauth_token = 'YOUR_OAUTH_TOKEN'
10-
config.oauth_token_secret = 'YOUR_OAUTH_SECRET'
9+
config.access_token = 'YOUR_OAUTH_TOKEN'
10+
config.access_token_secret = 'YOUR_OAUTH_SECRET'
1111
end
1212

1313
search_term = URI::encode('#todayilearned')

0 commit comments

Comments
 (0)