omniauth-idcat_mobil 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -5
- data/lib/omniauth/idcat_mobil/version.rb +1 -1
- data/lib/omniauth/strategies/idcat_mobil.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cd4decd80542047e503636a9b5ec7ae7699ec6e135f0e8afa2aeb948e78d942
|
4
|
+
data.tar.gz: 838abde42f55082115439ade97a311635459576354cfd91d449eb85a3949d3a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d6e4fa0be7c3e6c8ad1a39cef03051e42ac03527921369d8e8c7e0c54a2a5c298c9b82c68fceb0693be90754596e95ef5f3f9e0622074fe31019773bd6cfd82
|
7
|
+
data.tar.gz: d5a73fcc308d3b887ae9955fd430fc7088510d340d17ca4e2e44f8f9a0c10f363843e5244321941c19669b05d613f165e91e9527be0110a058053dc8b1f86799
|
data/CHANGELOG.md
CHANGED
@@ -2,20 +2,24 @@
|
|
2
2
|
|
3
3
|
## next version:
|
4
4
|
|
5
|
+
## Version 0.2.4 (PATCH)
|
6
|
+
- FIX: do not delete the session state before checking it.
|
7
|
+
- DOC: Change CHANGELOG format, prefix with change type.
|
8
|
+
|
5
9
|
## Version 0.2.3 (PATCH)
|
6
10
|
- FIX: do not delete the session state before checking it.
|
7
11
|
- DOC: Correct mispelling in README
|
8
12
|
|
9
13
|
## Version 0.2.2 (PATCH)
|
10
14
|
- FIX: Fix internal `log` method is wrongly invoked from `omniauth`.
|
11
|
-
- Bump Ruby version to 2.7.5
|
15
|
+
- DEP: Bump Ruby version to 2.7.5
|
12
16
|
|
13
17
|
## Version 0.2.1 (PATCH)
|
14
|
-
- Apply security upgrades
|
15
|
-
- Add a .ruby-version file
|
18
|
+
- DEP: Apply security upgrades
|
19
|
+
- CONF: Add a .ruby-version file
|
16
20
|
|
17
21
|
## Version 0.2.0 (MINOR)
|
18
|
-
- Remove Gemfile.lock to avoid forcing the versioning of apps using this gem.
|
22
|
+
- REFACT: Remove Gemfile.lock to avoid forcing the versioning of apps using this gem.
|
19
23
|
|
20
24
|
## Version 0.1.1 (PATCH)
|
21
|
-
-
|
25
|
+
- REFACT: Remove one declaration of info email field which was setted twice. \#[3](https://github.com/gencat/omniauth-idcat_mobil/pull/3)
|
@@ -94,9 +94,10 @@ module OmniAuth
|
|
94
94
|
end
|
95
95
|
|
96
96
|
def raw_info
|
97
|
-
|
98
|
-
|
99
|
-
|
97
|
+
if @raw_info
|
98
|
+
idcat_log("Access token response was: #{access_token.try(:response)}")
|
99
|
+
else
|
100
|
+
idcat_log("Performing getUserInfo...")
|
100
101
|
response= access_token.get(options.user_info_path)
|
101
102
|
result= %i(status headers body).collect {|m| response.send(m)}
|
102
103
|
idcat_log("getUserInfo response status/headers/body: #{result}")
|