Permalink
Browse files

Merge pull request #54 from sferik/https

Use HTTPS for Twitter URL
  • Loading branch information...
2 parents 9a83999 + 0534f74 commit 3ced123fc64532b751e60f9f6a7a26c76cc857a5 @arunagw committed Apr 3, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 Gemfile
  2. +1 −1 lib/omniauth/strategies/twitter.rb
View
@@ -1,4 +1,4 @@
-source "http://rubygems.org"
+source "https://rubygems.org"
gem 'rake'
# Specify your gem's dependencies in omniauth-twitter.gemspec
@@ -20,7 +20,7 @@ class Twitter < OmniAuth::Strategies::OAuth
:description => raw_info['description'],
:urls => {
'Website' => raw_info['url'],
- 'Twitter' => 'http://twitter.com/' + raw_info['screen_name'],
+ 'Twitter' => "https://twitter.com/#{raw_info['screen_name']}",
}
}
end

0 comments on commit 3ced123

Please sign in to comment.