omniauth-outrightmental 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module OutrightMental
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -5,8 +5,8 @@ module OmniAuth
5
5
  class OutrightMental < OmniAuth::Strategies::OAuth2
6
6
  option :client_options, {
7
7
  :site => 'https://ont.io/',
8
- :authorize_url => 'https://ont.io/auth/authorize',
9
- :token_url => 'https://ont.io/auth/access_token'
8
+ :authorize_url => 'https://ont.io/#/auth/authorize',
9
+ :token_url => 'https://ont.io/#/auth/access_token'
10
10
  }
11
11
 
12
12
  def request_phase
@@ -34,11 +34,11 @@ describe OmniAuth::Strategies::OutrightMental do
34
34
  end
35
35
 
36
36
  it 'should have correct authorize url' do
37
- subject.options.client_options.authorize_url.should eq('https://ont.io/auth/authorize')
37
+ subject.options.client_options.authorize_url.should eq('https://ont.io/#/auth/authorize')
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/access_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.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: