omniauth-scalingo 1.0.0 → 1.0.1

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: 591861fd8ed10256e73e45730c6d86a8c604a892
4
- data.tar.gz: c29d583cb2ed0445ba67f5f3d51ae2fc97adec32
3
+ metadata.gz: 678557e5dee6e47a6844dbb83004aae23a9ddc1e
4
+ data.tar.gz: f4cda77a43bbaa64eb6545731621aea80e48ee23
5
5
  SHA512:
6
- metadata.gz: ad73fca9c7fa395a02f1db4bc41b8332d426941b41e8f4d511d1333ff3d18dd01c7dbb5452651f6c598f4cddf95eaba505517c48bcd7f5f687d00ad8c7b3a407
7
- data.tar.gz: 519d7aeb2fe53bd2bb793c77d724f75066a1bafef26f1aae94775fc4f15fe01be2b44db750c03e7eda60387f182108ab7e86b27b7d5b03164bb1488fcccf86f9
6
+ metadata.gz: a84b76474d0943abffca87276fe4c3c00cf11a3998296e378d988e04233cd3e57b83cc9872c287a5358da12aa9c65acabe45f7e0d182a354db82d7b5674872a9
7
+ data.tar.gz: c3ea59d5cff1f57fa8b6f8a8f6950346291a2b10422b55ac6aafad3c737f8760335610618f640a645ab235188924c644d427ded63fae27c4b1e34ba7d51d8b90
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Scalingo
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -37,12 +37,11 @@ module OmniAuth
37
37
  end
38
38
 
39
39
  extra do
40
- {:raw_info => raw_info, :all_emails => emails}
40
+ {:raw_info => raw_info}
41
41
  end
42
42
 
43
43
  def raw_info
44
- access_token.options[:mode] = :query
45
- @raw_info ||= access_token.get('user').parsed
44
+ @raw_info ||= access_token.get('/v1/users/self').parsed['user']
46
45
  end
47
46
 
48
47
  def callback_url
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-scalingo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Léo Unbekandt