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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6df7ece5262347826d1e6e257837d37656c8c951
4
- data.tar.gz: 4a5ea3ddb2f149ad0c661bf64f8f30a0716ed70e
3
+ metadata.gz: c34c1ede1bdf7204119e7eb54bdb383b416295f8
4
+ data.tar.gz: 73cea8adce21cc4440f7125a45a88ac6bc669810
5
5
  SHA512:
6
- metadata.gz: 0b5987e4e6d8cef4edc5a6ce8318ce3aef6d38eef30fb6b2cbb0986d0b7e71e326fa745a9f799602a2405c27ae043310597d3b6de89ede5db26500afca90dbbc
7
- data.tar.gz: 06932b758302314fa609a140600924b61e5539c9b8b23eda9427c16e81ef3bad72848065e6f946299d539cf477298c55773be2bbfde0da15e6990539a2c9b5d2
6
+ metadata.gz: 7f63b572db5a2375c91a1fdd3aa8741f044c32d6ce49d96e0a554ed0f1406b00d1255d9ac6591dbf0e939ff05a244c70a4e8b55b659ba0e41aa93ff0c42fa086
7
+ data.tar.gz: 811a018d0b53368eccf4d6e859211f3752a4bb27e4a577292ac9a119f595719c702b838aa78e16a6c84f003668875e8b424d4985272717bf74a73d76d8447301
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Smashrun
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
@@ -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.dump(access_token.get('/my/userinfo', { access_token: access_token.token }).body)
49
+ @athlete ||= Oj.load(access_token.get('/v1/my/userinfo', { access_token: access_token.token }).body)
50
50
  end
51
51
 
52
52
  end
@@ -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.2 ruby lib
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.2"
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-28"
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.2
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-28 00:00:00.000000000 Z
11
+ date: 2017-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2