omniauth-fitbit 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Fitbit
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
@@ -9,6 +9,7 @@ module OmniAuth
9
9
 
10
10
  option :client_options, {
11
11
  :site => 'https://api.fitbit.com',
12
+ :authorize_url => 'https://www.fitbit.com/oauth/authorize',
12
13
  :request_token_path => '/oauth/request_token',
13
14
  :access_token_path => '/oauth/access_token',
14
15
  :authorize_path => '/oauth/authorize'
@@ -19,8 +19,9 @@ describe "OmniAuth::Strategies::Fitbit" do
19
19
  end
20
20
 
21
21
  it 'has correct authorize url' do
22
- subject.options.client_options.authorize_path.should eq('/oauth/authorize')
22
+ subject.options.client_options.authorize_url.should eq('https://www.fitbit.com/oauth/authorize')
23
23
  end
24
+
24
25
  end
25
26
 
26
27
  context 'uid' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-fitbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
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: 2014-08-20 00:00:00.000000000 Z
12
+ date: 2015-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-oauth