omniauth-younility 1.0.1 → 2.0.0

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: ef324b47951cdc421201c0ba54fd1b6c3ef23c1b
4
- data.tar.gz: 2e483d32881a41630ca02e03d75bee84b84f5a8a
3
+ metadata.gz: 5663e064844049779c08ac1f32d8b9366eec3f19
4
+ data.tar.gz: 9dea146159f61aa2e07db8d97f8a6d512eeb6051
5
5
  SHA512:
6
- metadata.gz: 63e2a15825a1739a9de0fab06597d026bedf476271873b8349e3719950df14fcc52a3ec0cc752023b1e453e5c656576112baff69c42605a7bd9cec79eccb1dbc
7
- data.tar.gz: 17e8aa176be5311015ed4304595af10962f5578df08a171f36bdc1b822ca347544bfe27bca56273b13c52d83e81d0eed5dd55bb7dcab76ecdee1a1a2b701c46f
6
+ metadata.gz: 8643de0b6257c1c925c36d034c15a61ec24d20b54e174277502fbd282739802589d58c433211c92517d9c1e015593abf7598a6d3f99cd4694b6a29842b56d16e
7
+ data.tar.gz: 961d9ca37d199b7030c739832a2dd3045f2e2c2a78ee8a47bec109e45d4baaeafe83f72ae2289dcbb54a600572c28a464c0f932a29cb7c4a94113976542f42ae
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Omniauth Younility Strategy
2
2
 
3
- Version 1.0.1
3
+ Version 2.0.0
4
4
 
5
5
  OAuth2 strategy for [`omniauth`](http://rubygems.org/gems/omniauth) and
6
6
  [Younility](http://www.younility.com/).
@@ -8,8 +8,8 @@ module OmniAuth
8
8
 
9
9
  option :client_options, {
10
10
  site: 'https://app.younility.com',
11
- authorize_url: '/api/oauth/authorize',
12
- token_url: '/api/oauth/token'
11
+ authorize_url: '/oauth/authorize',
12
+ token_url: '/oauth/token'
13
13
  }
14
14
 
15
15
  def authorize_params
@@ -40,7 +40,7 @@ module OmniAuth
40
40
  end
41
41
 
42
42
  def raw_info
43
- @raw_info ||= access_token.get('/api/v0/whoami').parsed
43
+ @raw_info ||= access_token.get('/v0/whoami').parsed
44
44
  end
45
45
 
46
46
  def build_access_token
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Younility
3
- VERSION = "1.0.1"
3
+ VERSION = "2.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-younility
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Cameron
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2016-01-06 00:00:00.000000000 Z
13
+ date: 2016-05-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler