oauth2_rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oauth2_rails/base.rb +2 -2
- data/lib/oauth2_rails/version.rb +1 -1
- data/oauth2_rails-0.1.0.gem +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b1a13b84fda37d0640a7f6b02310195eb9ebd7f
|
4
|
+
data.tar.gz: 914560fef07d5285f81ec376608da1de1a86176b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6819983a373fd4162b204ba4572360a664e12885f413daf0c8b03bd924b2bb65375a119e1edb77810c0ec1ce993b3b8d505b560d2b88546da6d57e7d0f6aea53
|
7
|
+
data.tar.gz: a432593c382b1b0eff9598bc91721cb22bb9ca45f04e2fc4d8a79d8cb66bd43db383ed09f6f0719689c6e3cbf89d47ea623da9cc7f904de615dbd7c92ce38161
|
data/lib/oauth2_rails/base.rb
CHANGED
@@ -6,7 +6,7 @@ module Oauth2Rails
|
|
6
6
|
def initialize(options = {})
|
7
7
|
@oauth_id = options[:oauth_id] || OAUTH2_RAILS_ID
|
8
8
|
@oauth_secret = options[:oauth_secret] || OAUTH2_RAILS_SECRET
|
9
|
-
@redirect_uri = options[:redirect_uri] ||
|
9
|
+
@redirect_uri = options[:redirect_uri] || OAUTH2_RAILS_CALLBACK
|
10
10
|
@authorize_site = options[:authorize_site] || 'https://www.fitbit.com'
|
11
11
|
@authorize_path = options[:authorize_path] || '/oauth2/authorize'
|
12
12
|
@api_site = options[:api_site] || 'https://api.fitbit.com'
|
@@ -54,4 +54,4 @@ module Oauth2Rails
|
|
54
54
|
end
|
55
55
|
|
56
56
|
end
|
57
|
-
end
|
57
|
+
end
|
data/lib/oauth2_rails/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oauth2_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin Walker
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- lib/oauth2_rails/response.rb
|
77
77
|
- lib/oauth2_rails/user.rb
|
78
78
|
- lib/oauth2_rails/version.rb
|
79
|
+
- oauth2_rails-0.1.0.gem
|
79
80
|
- oauth2_rails.gemspec
|
80
81
|
homepage: https://github.com/ColDog/oauth2-fitbit-rails
|
81
82
|
licenses: []
|