oa-recruitmilitary 0.0.6 → 0.0.7

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 Recruitmilitary
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
@@ -6,11 +6,11 @@ module OmniAuth
6
6
  class Recruitmilitary < OAuth2
7
7
 
8
8
  def initialize(app, api_key = nil, secret_key = nil, options = {}, &block)
9
- client_options = {
9
+ client_options = options.fetch(:client_options, {}).merge(
10
10
  :site => RecruitMilitary.configuration.site,
11
11
  :authorize_url => RecruitMilitary.configuration.authorize_url,
12
- :access_token_url => RecruitMilitary.configuration.access_token_url,
13
- }
12
+ :access_token_url => RecruitMilitary.configuration.access_token_url)
13
+
14
14
  super(app, :recruitmilitary, api_key, secret_key, client_options, &block)
15
15
  end
16
16
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oa-recruitmilitary
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Guterl
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-17 00:00:00 -04:00
18
+ date: 2011-07-22 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  requirements: []
101
101
 
102
102
  rubyforge_project: oa-recruitmilitary
103
- rubygems_version: 1.5.2
103
+ rubygems_version: 1.6.2
104
104
  signing_key:
105
105
  specification_version: 3
106
106
  summary: OmniAuth extension for RecruitMilitary.com authentication