omniauth-outrightmental 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module OmniAuth
6
6
  option :client_options, {
7
7
  :site => 'https://ont.io/',
8
8
  :authorize_url => 'https://ont.io/#/auth/authorize',
9
- :token_url => 'https://ont.io/#/auth/access_token'
9
+ :token_url => 'https://ont.io/#/auth/token'
10
10
  }
11
11
 
12
12
  def request_phase
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module OutrightMental
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ describe OmniAuth::Strategies::OutrightMental do
7
7
 
8
8
  let(:enterprise_site) { 'https://some.other.site.com/api/v3' }
9
9
  let(:enterprise_authorize_url) { 'https://some.other.site.com/auth/authorize' }
10
- let(:enterprise_token_url) { 'https://some.other.site.com/auth/access_token' }
10
+ let(:enterprise_token_url) { 'https://some.other.site.com/auth/token' }
11
11
  let(:enterprise) do
12
12
  OmniAuth::Strategies::OutrightMental.new('OUTRIGHTMENTAL_KEY', 'OUTRIGHTMENTAL_SECRET',
13
13
  {
@@ -38,7 +38,7 @@ describe OmniAuth::Strategies::OutrightMental do
38
38
  end
39
39
 
40
40
  it 'should have correct token url' do
41
- subject.options.client_options.token_url.should eq('https://ont.io/#/auth/access_token')
41
+ subject.options.client_options.token_url.should eq('https://ont.io/#/auth/token')
42
42
  end
43
43
 
44
44
  describe "should be overrideable" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-outrightmental
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: