omniauth-cognitiveclass 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +5 -5
- data/VERSION +1 -1
- data/lib/omniauth/strategies/cognitive_class.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93ed3f3d288edff9854eae66032874f0afd7ca19
|
|
4
|
+
data.tar.gz: 0ef450d0f180663151da91549c64dd013951f526
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6432c34b6083afee8c130650ffc8cb4397d39e1c062f28ed47e2dd73520c0143d29261b756057b6f65ead003c0a6146d65ce0dd751bfa82b601d0ff23f00f1a4
|
|
7
|
+
data.tar.gz: c0bf8ed0281f36208fe4aa2fcdab6ef71996cc83da5cd46f5f19117d5f2f5acfe7165827ae27ee8266414d5196f3e5e24e4b5f33ac43a779c32b0296a4fc506d
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.4.2] - 2017-05-17
|
|
10
|
+
### Fixed
|
|
11
|
+
- Correctly use the `COGNITIVE_SITE`, `COGNITIVE_AUTHORIZE_URL`, and
|
|
12
|
+
`COGNITIVE_TOKEN_URL` environment variables
|
|
13
|
+
|
|
9
14
|
## [0.4.0] - 2017-05-16
|
|
10
15
|
### Changed
|
|
11
16
|
- Gem renamed to `omniauth-cognitiveclass` and open sourced
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
omniauth-cognitiveclass (0.4.
|
|
4
|
+
omniauth-cognitiveclass (0.4.2)
|
|
5
5
|
omniauth-oauth2 (~> 1.4)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -27,9 +27,9 @@ GEM
|
|
|
27
27
|
multi_json (~> 1.3)
|
|
28
28
|
multi_xml (~> 0.5)
|
|
29
29
|
rack (>= 1.2, < 3)
|
|
30
|
-
omniauth (1.
|
|
31
|
-
hashie (>=
|
|
32
|
-
rack (>= 1.
|
|
30
|
+
omniauth (1.6.1)
|
|
31
|
+
hashie (>= 3.4.6, < 3.6.0)
|
|
32
|
+
rack (>= 1.6.2, < 3)
|
|
33
33
|
omniauth-oauth2 (1.4.0)
|
|
34
34
|
oauth2 (~> 1.0)
|
|
35
35
|
omniauth (~> 1.2)
|
|
@@ -79,4 +79,4 @@ DEPENDENCIES
|
|
|
79
79
|
simplecov
|
|
80
80
|
|
|
81
81
|
BUNDLED WITH
|
|
82
|
-
1.
|
|
82
|
+
1.14.6
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.2
|
|
@@ -9,9 +9,9 @@ module OmniAuth
|
|
|
9
9
|
# This is where you pass the options you would pass when
|
|
10
10
|
# initializing your consumer from the OAuth gem.
|
|
11
11
|
option :client_options,
|
|
12
|
-
site:
|
|
13
|
-
authorize_url:
|
|
14
|
-
token_url:
|
|
12
|
+
site: ENV.fetch("COGNITIVE_SITE"),
|
|
13
|
+
authorize_url: ENV.fetch("COGNITIVE_AUTHORIZE_URL"),
|
|
14
|
+
token_url: ENV.fetch("COGNITIVE_TOKEN_URL")
|
|
15
15
|
|
|
16
16
|
option :authorize_params, scope: "openid profile email"
|
|
17
17
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-cognitiveclass
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leons Petrazickis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-05-
|
|
11
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler-audit
|
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
141
141
|
version: '0'
|
|
142
142
|
requirements: []
|
|
143
143
|
rubyforge_project:
|
|
144
|
-
rubygems_version: 2.
|
|
144
|
+
rubygems_version: 2.6.11
|
|
145
145
|
signing_key:
|
|
146
146
|
specification_version: 4
|
|
147
147
|
summary: CognitiveClass strategy for the Omniauth Oauth2 Ruby library
|