omniauth-icos 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 558e0a0bf99f64aad6ce865cf82687368fc43677
4
- data.tar.gz: 92ccde964c4332b20bc8f3273fc6a9c0ddcfb12d
3
+ metadata.gz: b89a3507d9e3f6602e48428dee3b68dc8a2e5f35
4
+ data.tar.gz: 29c5909ac2d9966356f2511f94fa4d4f3583319e
5
5
  SHA512:
6
- metadata.gz: b07c9831b7cc6c39cca3941bff0bcfe9a92fa0291393ec5c6ca0be2aef3082fb9bba18e66490f82c28a635eb20a2f8977a227b8696971c016fc3bd0ec4733908
7
- data.tar.gz: caab6e3c2dde5d8d84cd5b6a40af87f3b92b6d92b799625b13b7eb18eaae92b515c0257c038497b62990781f08ff08df51de1ef10931cc76cd3f16dc3790aea5
6
+ metadata.gz: f580481e7abc11bf08c9fad4533a77688e767e6fc3fc533ffea9a19cbbaef7257507b224900d0480401b97453dfa3df9a31ccc0f1642af6b110803ed3ae3c278
7
+ data.tar.gz: d0584165dceb3165d034112cd8696bccf6db2af465b53e8d5d29d1d04c94c5e33299fca216ba669339f9f7856ec5f135f9b87a9843cde09472acb4f9904079c1
@@ -4,7 +4,7 @@ require 'securerandom'
4
4
 
5
5
  module OmniAuth
6
6
  module Strategies
7
- class ICOS < OmniAuth::Strategies::OAuth2
7
+ class Icos < OmniAuth::Strategies::OAuth2
8
8
  DEFAULT_SCOPES = 'hydra.consent offline'
9
9
 
10
10
  option :name, 'icos'
@@ -67,7 +67,6 @@ module OmniAuth
67
67
  end
68
68
 
69
69
  def raw_info
70
- puts MultiJson.decode(access_token.get('/v1/services/client/').body)
71
70
  @raw_info ||= MultiJson.decode(access_token.get('/v1/services/client/').body)
72
71
  rescue ::Errno::ETIMEDOUT
73
72
  raise ::Timeout::Error
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module ICOS
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-icos
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
  - Nikita Anistratenko