omniauth-casenex 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-casenex (0.1)
4
+ omniauth-casenex (0.3)
5
5
  multi_json (~> 1.3)
6
6
  omniauth-oauth2 (~> 1.0.2)
7
7
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Casenex
3
- VERSION = "0.2"
3
+ VERSION = "0.3"
4
4
  end
5
5
  end
@@ -10,6 +10,7 @@ module OmniAuth
10
10
  # initializing your consumer from the OAuth gem.
11
11
  option :client_options, {
12
12
  :site => "https://sharp-stone-1355.herokuapp.com",
13
+ :authorize_url => '/auth/authorize',
13
14
  :token_url => '/auth/access_token'
14
15
  }
15
16
 
@@ -11,15 +11,15 @@ describe OmniAuth::Strategies::Casenex do
11
11
  end
12
12
 
13
13
  it 'should have correct site' do
14
- subject.options.client_options.site.should eq('http://auth.casenex.com')
14
+ subject.options.client_options.site.should eq('https://sharp-stone-1355.herokuapp.com')
15
15
  end
16
16
 
17
17
  it 'should have correct authorize url' do
18
- subject.options.client_options.authorize_url.should eq('https://auth.casenex.com/auth/authorize')
18
+ subject.options.client_options.authorize_url.should eq('/auth/authorize')
19
19
  end
20
20
 
21
21
  it 'should have correct token url' do
22
- subject.options.client_options.token_url.should eq('https://auth.casenex.com/auth/access_token')
22
+ subject.options.client_options.token_url.should eq('/auth/access_token')
23
23
  end
24
24
  end
25
25
  end
data/spec/spec_helper.rb CHANGED
@@ -4,4 +4,5 @@ require 'omniauth'
4
4
  require 'omniauth-casenex'
5
5
 
6
6
  RSpec.configure do |config|
7
+
7
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-casenex
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-06 00:00:00.000000000 Z
12
+ date: 2012-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json