omniauth-twitter 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  gem 'rake'
4
4
  # Specify your gem's dependencies in omniauth-twitter.gemspec
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Twitter
3
- VERSION = "0.0.15"
3
+ VERSION = "0.0.16"
4
4
  end
5
5
  end
@@ -20,7 +20,7 @@ module OmniAuth
20
20
  :description => raw_info['description'],
21
21
  :urls => {
22
22
  'Website' => raw_info['url'],
23
- 'Twitter' => 'http://twitter.com/' + raw_info['screen_name'],
23
+ 'Twitter' => "https://twitter.com/#{raw_info['screen_name']}",
24
24
  }
25
25
  }
26
26
  end
@@ -30,7 +30,7 @@ module OmniAuth
30
30
  end
31
31
 
32
32
  def raw_info
33
- @raw_info ||= MultiJson.load(access_token.get('/1.1/account/verify_credentials.json').body)
33
+ @raw_info ||= MultiJson.load(access_token.get('/1.1/account/verify_credentials.json?include_entities=false&skip_status=true').body)
34
34
  rescue ::Errno::ETIMEDOUT
35
35
  raise ::Timeout::Error
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-19 00:00:00.000000000 Z
12
+ date: 2013-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project: omniauth-twitter
150
- rubygems_version: 1.8.23
150
+ rubygems_version: 1.8.25
151
151
  signing_key:
152
152
  specification_version: 3
153
153
  summary: OmniAuth strategy for Twitter