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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2c510f98cc25863f8f7d1e8c4fa698993a71438f948d6f1cd039c3535ce735f
4
- data.tar.gz: b743977b94da58395d324f3df3c8ed6b82ea14f3098836d162c9d0b42cec366b
3
+ metadata.gz: 5cd4decd80542047e503636a9b5ec7ae7699ec6e135f0e8afa2aeb948e78d942
4
+ data.tar.gz: 838abde42f55082115439ade97a311635459576354cfd91d449eb85a3949d3a5
5
5
  SHA512:
6
- metadata.gz: ddc16470b5a9b7f4298d773568dbbbae3584d85aec130fe9728883da4ef9c8b36eb239aafcd3b841d8d428a200896fcaee1b5e73447ac6a5325d89bac94718dd
7
- data.tar.gz: 15b24d49ae852316ea14be9d5c546035e2943b9b1cf87d3f1127f7b81f16f8976aa31bef02c03b9f6ab9019d7bc36bf41de31a93a1a888d5fcbf7c69fbe83307
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
- - [REFACTOR] Remove one declaration of info email field which was setted twice. \#[3](https://github.com/gencat/omniauth-idcat_mobil/pull/3)
25
+ - REFACT: Remove one declaration of info email field which was setted twice. \#[3](https://github.com/gencat/omniauth-idcat_mobil/pull/3)
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module IdCatMobil
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
@@ -94,9 +94,10 @@ module OmniAuth
94
94
  end
95
95
 
96
96
  def raw_info
97
- idcat_log("Access token response was: #{access_token.response}")
98
- idcat_log("Performing getUserInfo...")
99
- unless @raw_info
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}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-idcat_mobil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Valls