omniauth-cortex 0.0.1 → 0.1.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: 43b096b78d9d4c4271d3c963f6fa81ea570e691a
4
- data.tar.gz: d982abfbed44454896fd3ab815b559d4e963067f
3
+ metadata.gz: d04b2e838de92e5dd773bb207aea65c9dc8aea44
4
+ data.tar.gz: b6ef54749f7842cf1a7a301f9b02c8a374b1076c
5
5
  SHA512:
6
- metadata.gz: 632f55e37724c762466d62946ea96b6c6be62d7548d5dbb039fb864fb648ba7a9e197cd3fa3db3b211acf3d31d75e314f38840a20544805c55895c3192074cdf
7
- data.tar.gz: 44b007a452c0248f3872f000eeaa97ae67cd03d227ed698b6b36de6b0b8ae42ea88a58355df7935efb901af4d267eac2ffafd9a8755da4bcfba40daf71a8f8ff
6
+ metadata.gz: 27438f1fb22cb07df075c9f700a8919e9caab708fa93e4563e8b173a83c2e49371be9227e329c472e2f539920ada61ff6a599cdb57ae77208c42580ec80f7e8b
7
+ data.tar.gz: 43cbc81ac26835932832cc9d41b2af77eb7494e86909978147db5cf74e99107cc14bcfc827c3a7e3433779172907762304560d5c98e910e1047ca3bcf6c09e5f
data/.gitignore CHANGED
@@ -36,8 +36,9 @@ rerun.txt
36
36
  pickle-email-*.html
37
37
  config/initializers/secret_token.rb
38
38
 
39
- # these should all be checked in to normalise the environment:
40
- # Gemfile.lock, .ruby-version, .ruby-gemset
39
+ .ruby-version
40
+ Gemfile.lock
41
+ *.gem
41
42
 
42
43
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
43
44
  .rvmrc
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ notifications:
5
+ recipients:
6
+ - ContentEnablementProductTeam@careerbuilder.com
@@ -0,0 +1,7 @@
1
+ Version History
2
+ ====
3
+ * All Version bumps are required to update this file as well!!
4
+ ----
5
+
6
+ * 0.1.0 - Fix specs, upgrade dependencies, update license, update documentation
7
+ * 0.0.1 - Initial implementation
data/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2015 CareerBuilder, LLC
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
data/README.md CHANGED
@@ -1,6 +1,11 @@
1
- # OmniAuth::Cortex
1
+ # omniauth-cortex
2
2
 
3
- OmniAuth strategy for Cortex's OAuth 2.0 implementation
3
+ [![Build Status](https://travis-ci.org/cortex-cms/omniauth-cortex.svg?branch=master)](https://travis-ci.org/cortex-cms/omniauth-cortex)
4
+ [![Dependency Status](https://gemnasium.com/cortex-cms/omniauth-cortex.svg)](https://gemnasium.com/cortex-cms/omniauth-cortex)
5
+
6
+ OmniAuth strategy for Cortex's OAuth 2.0 implementation.
7
+
8
+ [omniauth-github](https://github.com/intridea/omniauth-github) was used as a helpful model for this project.
4
9
 
5
10
  ## Installation
6
11
 
@@ -34,7 +39,7 @@ provider :cortex, ENV['CORTEX_KEY'], ENV['CORTEX_SECRET'], scope: 'scope1, scope
34
39
  :client_options => {
35
40
  :site => 'http://localhost:3000/api/v1',
36
41
  :authorize_url => 'http://localhost:3000/oauth/authorize',
37
- :token_url => 'http://localhost:3000/oauth/access_token'
42
+ :token_url => 'http://localhost:3000/oauth/token'
38
43
  }
39
44
  }
40
45
  ```
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Cortex
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -6,30 +6,29 @@ module OmniAuth
6
6
  option :name, 'cortex'
7
7
 
8
8
  option :client_options, {
9
- :site => 'http://stg.api.cbcortex.com/api/v1',
10
- :authorize_url => 'http://stg.api.cbcortex.com/oauth/authorize',
11
- :token_url => 'http://stg.api.cbcortex.com/oauth/access_token'
9
+ :site => 'http://api.cbcortex.com/api/v1',
10
+ :authorize_url => 'http://api.cbcortex.com/oauth/authorize',
11
+ :token_url => 'http://api.cbcortex.com/oauth/token'
12
12
  }
13
13
 
14
14
  uid{ raw_info['id'] }
15
15
 
16
16
  info do
17
17
  {
18
- :nickname => raw_info['email'],
19
- :email => raw_info['email'],
20
- :name => raw_info['fullname'],
21
- :first_name => raw_info['firstname'],
22
- :last_name => raw_info['lastname'],
23
- :image => raw_info['gravatar']
18
+ :email => raw_info['email'],
19
+ :full_name => raw_info['fullname'],
20
+ :first_name => raw_info['firstname'],
21
+ :last_name => raw_info['lastname'],
22
+ :image => raw_info['gravatar']
24
23
  }
25
24
  end
26
25
 
27
26
  extra do
28
- {:raw_info => raw_info}
27
+ { :raw_info => raw_info }
29
28
  end
30
29
 
31
30
  def raw_info
32
- @raw_info ||= access_token.get('/users/me').parsed
31
+ @raw_info ||= access_token.get('users/me').parsed
33
32
  end
34
33
  end
35
34
  end
@@ -6,24 +6,23 @@ require 'omniauth-cortex/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'omniauth-cortex'
8
8
  spec.version = OmniAuth::Cortex::VERSION
9
- spec.authors = ['Alex Tharp']
10
- spec.email = ['alex.tharp@careerbuilder.com']
11
- spec.summary = %q{OmniAuth strategy for Cortex's OAuth 2.0 implementation}
12
- spec.homepage = 'https://github.com/cb-talent-development/omniauth-cortex'
13
- spec.license = 'MIT'
9
+ spec.authors = ['CB Content Enablement']
10
+ spec.email = 'ContentEnablementProductTeam@careerbuilder.com'
11
+ spec.summary = "OmniAuth strategy for Cortex's OAuth 2.0 implementation"
12
+ spec.homepage = 'https://github.com/cortex-cms/omniauth-cortex'
13
+ spec.license = 'Apache-2.0'
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0")
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_development_dependency 'bundler', '~> 1.6'
21
- spec.add_development_dependency 'rake'
22
- spec.add_development_dependency 'rspec', '~> 2.14'
23
- spec.add_development_dependency 'rack-test'
24
- spec.add_development_dependency 'simplecov'
25
- spec.add_development_dependency 'webmock'
20
+ spec.add_development_dependency 'rake', '~> 11.1'
21
+ spec.add_development_dependency 'rspec', '~> 3.4'
22
+ spec.add_development_dependency 'rack-test', '~> 0.6'
23
+ spec.add_development_dependency 'simplecov', '~> 0.11'
24
+ spec.add_development_dependency 'webmock', '~> 1.24'
26
25
 
27
- spec.add_dependency 'omniauth', '~> 1.0'
28
- spec.add_dependency 'omniauth-oauth2', '~> 1.1'
26
+ spec.add_dependency 'omniauth', '~> 1.3'
27
+ spec.add_dependency 'omniauth-oauth2', '~> 1.4'
29
28
  end
@@ -1,13 +1,13 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe OmniAuth::Strategies::Cortex do
4
- let(:access_token) { stub('AccessToken', :options => {}) }
5
- let(:parsed_response) { stub('ParsedResponse') }
6
- let(:response) { stub('Response', :parsed => parsed_response) }
4
+ let(:access_token) { double('AccessToken', :options => {}) }
5
+ let(:parsed_response) { double('ParsedResponse') }
6
+ let(:response) { double('Response', :parsed => parsed_response) }
7
7
 
8
8
  let(:local_site) { 'http://localhost:3000/api/v1' }
9
9
  let(:local_authorize_url) { 'http://localhost:3000/oauth/authorize' }
10
- let(:local_token_url) { 'http://localhost:3000/oauth/access_token' }
10
+ let(:local_token_url) { 'http://localhost:3000/oauth/token' }
11
11
  let(:local) do
12
12
  OmniAuth::Strategies::Cortex.new('CORTEX_KEY', 'CORTEX_SECRET',
13
13
  {
@@ -25,41 +25,41 @@ describe OmniAuth::Strategies::Cortex do
25
25
  end
26
26
 
27
27
  before(:each) do
28
- subject.stub!(:access_token).and_return(access_token)
28
+ allow(subject).to receive(:access_token).and_return(access_token)
29
29
  end
30
30
 
31
31
  context "client options" do
32
32
  it 'should have correct site' do
33
- subject.options.client_options.site.should eq('http://stg.api.cbcortex.com/api/v1')
33
+ expect(subject.options.client_options.site).to eq('http://api.cbcortex.com/api/v1')
34
34
  end
35
35
 
36
36
  it 'should have correct authorize url' do
37
- subject.options.client_options.authorize_url.should eq('http://stg.api.cbcortex.com/oauth/authorize')
37
+ expect(subject.options.client_options.authorize_url).to eq('http://api.cbcortex.com/oauth/authorize')
38
38
  end
39
39
 
40
40
  it 'should have correct token url' do
41
- subject.options.client_options.token_url.should eq('http://stg.api.cbcortex.com/oauth/access_token')
41
+ expect(subject.options.client_options.token_url).to eq('http://api.cbcortex.com/oauth/token')
42
42
  end
43
43
 
44
44
  describe "should be overrideable" do
45
45
  it "for site" do
46
- local.options.client_options.site.should eq(local_site)
46
+ expect(local.options.client_options.site).to eq(local_site)
47
47
  end
48
48
 
49
49
  it "for authorize url" do
50
- local.options.client_options.authorize_url.should eq(local_authorize_url)
50
+ expect(local.options.client_options.authorize_url).to eq(local_authorize_url)
51
51
  end
52
52
 
53
53
  it "for token url" do
54
- local.options.client_options.token_url.should eq(local_token_url)
54
+ expect(local.options.client_options.token_url).to eq(local_token_url)
55
55
  end
56
56
  end
57
57
  end
58
58
 
59
59
  context "#raw_info" do
60
60
  it "should use relative paths" do
61
- access_token.should_receive(:get).with('/users/me').and_return(response)
62
- subject.raw_info.should eq(parsed_response)
61
+ expect(access_token).to receive(:get).with('users/me').and_return(response)
62
+ expect(subject.raw_info).to eq(parsed_response)
63
63
  end
64
64
  end
65
65
 
metadata CHANGED
@@ -1,140 +1,126 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-cortex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Alex Tharp
7
+ - CB Content Enablement
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-10 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '11.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.6'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: '11.1'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rspec
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '2.14'
33
+ version: '3.4'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '2.14'
40
+ version: '3.4'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rack-test
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ">="
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '0'
47
+ version: '0.6'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ">="
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: '0.6'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: simplecov
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ">="
59
+ - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '0'
61
+ version: '0.11'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ">="
66
+ - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '0'
68
+ version: '0.11'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: webmock
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - ">="
73
+ - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: '0'
75
+ version: '1.24'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - ">="
80
+ - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: '0'
82
+ version: '1.24'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: omniauth
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: '1.0'
89
+ version: '1.3'
104
90
  type: :runtime
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: '1.0'
96
+ version: '1.3'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: omniauth-oauth2
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - "~>"
116
102
  - !ruby/object:Gem::Version
117
- version: '1.1'
103
+ version: '1.4'
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
107
  requirements:
122
108
  - - "~>"
123
109
  - !ruby/object:Gem::Version
124
- version: '1.1'
110
+ version: '1.4'
125
111
  description:
126
- email:
127
- - alex.tharp@careerbuilder.com
112
+ email: ContentEnablementProductTeam@careerbuilder.com
128
113
  executables: []
129
114
  extensions: []
130
115
  extra_rdoc_files: []
131
116
  files:
132
117
  - ".editorconfig"
133
118
  - ".gitignore"
119
+ - ".travis.yml"
120
+ - CHANGELOG.md
134
121
  - Gemfile
135
- - Gemfile.lock
136
122
  - Guardfile
137
- - LICENSE.txt
123
+ - LICENSE
138
124
  - README.md
139
125
  - Rakefile
140
126
  - lib/omniauth-cortex.rb
@@ -143,9 +129,9 @@ files:
143
129
  - omniauth-cortex.gemspec
144
130
  - spec/omniauth/strategies/cortex_spec.rb
145
131
  - spec/spec_helper.rb
146
- homepage: https://github.com/cb-talent-development/omniauth-cortex
132
+ homepage: https://github.com/cortex-cms/omniauth-cortex
147
133
  licenses:
148
- - MIT
134
+ - Apache-2.0
149
135
  metadata: {}
150
136
  post_install_message:
151
137
  rdoc_options: []
@@ -163,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
149
  version: '0'
164
150
  requirements: []
165
151
  rubyforge_project:
166
- rubygems_version: 2.2.2
152
+ rubygems_version: 2.5.1
167
153
  signing_key:
168
154
  specification_version: 4
169
155
  summary: OmniAuth strategy for Cortex's OAuth 2.0 implementation
@@ -1,114 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- omniauth-cortex (0.0.1)
5
- omniauth (~> 1.0)
6
- omniauth-oauth2 (~> 1.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- addressable (2.3.6)
12
- celluloid (0.15.2)
13
- timers (~> 1.1.0)
14
- celluloid-io (0.15.0)
15
- celluloid (>= 0.15.0)
16
- nio4r (>= 0.5.0)
17
- coderay (1.1.0)
18
- crack (0.4.2)
19
- safe_yaml (~> 1.0.0)
20
- diff-lcs (1.2.5)
21
- docile (1.1.3)
22
- faraday (0.9.0)
23
- multipart-post (>= 1.2, < 3)
24
- ffi (1.9.3)
25
- formatador (0.2.4)
26
- growl (1.0.3)
27
- guard (2.6.0)
28
- formatador (>= 0.2.4)
29
- listen (~> 2.7)
30
- lumberjack (~> 1.0)
31
- pry (>= 0.9.12)
32
- thor (>= 0.18.1)
33
- guard-bundler (2.0.0)
34
- bundler (~> 1.0)
35
- guard (~> 2.2)
36
- guard-rspec (4.2.8)
37
- guard (~> 2.1)
38
- rspec (>= 2.14, < 4.0)
39
- hashie (2.1.0)
40
- jwt (0.1.11)
41
- multi_json (>= 1.5)
42
- listen (2.7.1)
43
- celluloid (>= 0.15.2)
44
- celluloid-io (>= 0.15.0)
45
- rb-fsevent (>= 0.9.3)
46
- rb-inotify (>= 0.9)
47
- lumberjack (1.0.5)
48
- method_source (0.8.2)
49
- multi_json (1.9.2)
50
- multi_xml (0.5.5)
51
- multipart-post (2.0.0)
52
- nio4r (1.0.0)
53
- oauth2 (0.9.3)
54
- faraday (>= 0.8, < 0.10)
55
- jwt (~> 0.1.8)
56
- multi_json (~> 1.3)
57
- multi_xml (~> 0.5)
58
- rack (~> 1.2)
59
- omniauth (1.2.1)
60
- hashie (>= 1.2, < 3)
61
- rack (~> 1.0)
62
- omniauth-oauth2 (1.1.2)
63
- faraday (>= 0.8, < 0.10)
64
- multi_json (~> 1.3)
65
- oauth2 (~> 0.9.3)
66
- omniauth (~> 1.2)
67
- pry (0.9.12.6)
68
- coderay (~> 1.0)
69
- method_source (~> 0.8)
70
- slop (~> 3.4)
71
- rack (1.5.2)
72
- rack-test (0.6.2)
73
- rack (>= 1.0)
74
- rake (10.2.2)
75
- rb-fsevent (0.9.4)
76
- rb-inotify (0.9.3)
77
- ffi (>= 0.5.0)
78
- rspec (2.14.1)
79
- rspec-core (~> 2.14.0)
80
- rspec-expectations (~> 2.14.0)
81
- rspec-mocks (~> 2.14.0)
82
- rspec-core (2.14.8)
83
- rspec-expectations (2.14.5)
84
- diff-lcs (>= 1.1.3, < 2.0)
85
- rspec-mocks (2.14.6)
86
- safe_yaml (1.0.2)
87
- simplecov (0.8.2)
88
- docile (~> 1.1.0)
89
- multi_json
90
- simplecov-html (~> 0.8.0)
91
- simplecov-html (0.8.0)
92
- slop (3.5.0)
93
- thor (0.19.1)
94
- timers (1.1.0)
95
- webmock (1.17.4)
96
- addressable (>= 2.2.7)
97
- crack (>= 0.3.2)
98
-
99
- PLATFORMS
100
- ruby
101
-
102
- DEPENDENCIES
103
- bundler (~> 1.6)
104
- growl
105
- guard
106
- guard-bundler
107
- guard-rspec
108
- omniauth-cortex!
109
- rack-test
110
- rake
111
- rb-fsevent
112
- rspec (~> 2.14)
113
- simplecov
114
- webmock
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Alex Tharp
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.