omniauth-idcat_mobil 0.4.0 → 0.5.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
  SHA256:
3
- metadata.gz: 7e4590276c6eeb97e7f2be0d9ece1790acfe9cb9207ba1c568aa6808c1313845
4
- data.tar.gz: 372bd3d70d5880384377bbeb624ce4138b1260aa58365dd0bdb54c234b115074
3
+ metadata.gz: 27e409d3e5d4088b730e67eae75b98113218440b00b3446da5f53821258937d7
4
+ data.tar.gz: 5efde7d2248f8299c758749d5e6031e6c9d4f68e2635c615e6c9bfd944b60935
5
5
  SHA512:
6
- metadata.gz: f5a66fcbe5c92a35a0d66f7371d02434c695067371dedfff8df0b4c740ad7c048b342a7d324580121bc8ba1882c0af49467cbe62226811d72acbcbb91356ba74
7
- data.tar.gz: 0f6d134e5b12a944cd5ed723e23e8f751dfc77703919ec71db47ebc567b0e4f57b1918d980619e7a2182790cd61914964616ab64a638b56acf77be33f3fcdfe6
6
+ metadata.gz: ce72d9c3f61068d67fb8d48ada9ba40398e6912e42bc7a2cc26040e29d27f184570309438c48b54130fcdda071b09e5a494657ed30d2fc4a7a9f072f4c796c20
7
+ data.tar.gz: bf2a541a13da6e760ce13873e92fed42ae1d3400e1d3fb3907032932d8878495775468b6abb8a9953f773abbef133db58d495f2b79e6c1b035e13aaf10096f04
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ .byebug_history
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.5
1
+ 2.7.7
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## next version:
4
4
 
5
+ ## Version 0.5.0 (MINOR)
6
+ - Send the client_id and the client_secret during the AuthToken retrieval.
7
+
5
8
  ## Version 0.4.0 (MINOR)
6
9
  - Upgrade omniauth to 2.0.4
7
10
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-idcat_mobil (0.4.0)
4
+ omniauth-idcat_mobil (0.5.0)
5
5
  omniauth (~> 2.0.4)
6
6
  omniauth-oauth2 (>= 1.7.2, < 2.0)
7
7
 
@@ -89,4 +89,4 @@ DEPENDENCIES
89
89
  rubocop-rspec
90
90
 
91
91
  BUNDLED WITH
92
- 2.3.6
92
+ 2.4.9
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module IdCatMobil
5
- VERSION = "0.4.0"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
@@ -20,6 +20,8 @@ module OmniAuth
20
20
  mode: :query, # put the param in the query of the requested url
21
21
  param_name: "AccessToken"
22
22
  }
23
+ # will be merged with token_params
24
+ option :token_options, [:client_id, :client_secret]
23
25
 
24
26
  option :user_info_path, "/serveis-rest/getUserInfo"
25
27
 
@@ -27,7 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency "omniauth", "~> 2.0.4"
28
28
  spec.add_dependency "omniauth-oauth2", ">= 1.7.2", "< 2.0"
29
29
  spec.add_development_dependency "bundler", "~> 2.2", ">= 2.2.10"
30
- spec.add_development_dependency "byebug"
31
30
  spec.add_development_dependency "rake", "~> 12.3", ">= 12.3.3"
32
31
  spec.metadata["rubygems_mfa_required"] = "true"
33
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-idcat_mobil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Valls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-08 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -64,20 +64,6 @@ dependencies:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.2.10
67
- - !ruby/object:Gem::Dependency
68
- name: byebug
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- version: '0'
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: '0'
81
67
  - !ruby/object:Gem::Dependency
82
68
  name: rake
83
69
  requirement: !ruby/object:Gem::Requirement