omniauth-smashrun 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/omniauth-smashrun/version.rb +1 -1
- data/lib/omniauth/strategies/smashrun.rb +1 -1
- data/omniauth-smashrun.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c34c1ede1bdf7204119e7eb54bdb383b416295f8
|
4
|
+
data.tar.gz: 73cea8adce21cc4440f7125a45a88ac6bc669810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f63b572db5a2375c91a1fdd3aa8741f044c32d6ce49d96e0a554ed0f1406b00d1255d9ac6591dbf0e939ff05a244c70a4e8b55b659ba0e41aa93ff0c42fa086
|
7
|
+
data.tar.gz: 811a018d0b53368eccf4d6e859211f3752a4bb27e4a577292ac9a119f595719c702b838aa78e16a6c84f003668875e8b424d4985272717bf74a73d76d8447301
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -46,7 +46,7 @@ module OmniAuth
|
|
46
46
|
def athlete
|
47
47
|
access_token.options[:mode] = :query
|
48
48
|
access_token.options[:param_name] = :access_token
|
49
|
-
@athlete ||= Oj.
|
49
|
+
@athlete ||= Oj.load(access_token.get('/v1/my/userinfo', { access_token: access_token.token }).body)
|
50
50
|
end
|
51
51
|
|
52
52
|
end
|
data/omniauth-smashrun.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: omniauth-smashrun 0.0.
|
5
|
+
# stub: omniauth-smashrun 0.0.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "omniauth-smashrun"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Naveed Ahmad"]
|
14
|
-
s.date = "2017-08-
|
14
|
+
s.date = "2017-08-29"
|
15
15
|
s.description = "OmniAuth strategy for Smashrun"
|
16
16
|
s.email = "naveedahmada036@gmail.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-smashrun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naveed Ahmad
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|