omniauth-idcat_mobil 0.5.0 → 0.6.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27e409d3e5d4088b730e67eae75b98113218440b00b3446da5f53821258937d7
4
- data.tar.gz: 5efde7d2248f8299c758749d5e6031e6c9d4f68e2635c615e6c9bfd944b60935
3
+ metadata.gz: eb096c609d86862ad03c355782bc9a394a531bd218be9988ba164dc2235c1204
4
+ data.tar.gz: 9f8bb45bca1831bdd1f7e9bb02bc0006a616a71958f6945618c20367124ed784
5
5
  SHA512:
6
- metadata.gz: ce72d9c3f61068d67fb8d48ada9ba40398e6912e42bc7a2cc26040e29d27f184570309438c48b54130fcdda071b09e5a494657ed30d2fc4a7a9f072f4c796c20
7
- data.tar.gz: bf2a541a13da6e760ce13873e92fed42ae1d3400e1d3fb3907032932d8878495775468b6abb8a9953f773abbef133db58d495f2b79e6c1b035e13aaf10096f04
6
+ metadata.gz: 0db1aba5e13fba4bb2d3221674692f825890d3c55102a0f19a7faec15dc73938d92e867be75d99072e49d0feda1253acb48f035008a51af671983f325c216613
7
+ data.tar.gz: 54bf90ba2bdc3c3da5bc982e33a1b0d18e0b0780dbb09908323f0371ba43df6848bef23077c66f24327f2162e65bf7484caaf9208038386916228292732264c6
@@ -16,7 +16,7 @@ jobs:
16
16
  runs-on: ubuntu-latest
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v2.0.0
19
+ - uses: actions/checkout@v4
20
20
  with:
21
21
  fetch-depth: 1
22
22
 
@@ -25,7 +25,7 @@ jobs:
25
25
  ruby-version: ${{ env.RUBY_VERSION }}
26
26
 
27
27
  - name: Recover Ruby dependency cache
28
- uses: actions/cache@v2
28
+ uses: actions/cache@v4
29
29
  with:
30
30
  path: ./vendor/bundle
31
31
  key: ${{ runner.OS }}-rubydeps-${{ hashFiles('Gemfile.lock') }}
@@ -16,7 +16,7 @@ jobs:
16
16
  runs-on: ubuntu-latest
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v2.0.0
19
+ - uses: actions/checkout@v4
20
20
  with:
21
21
  fetch-depth: 1
22
22
 
@@ -25,7 +25,7 @@ jobs:
25
25
  ruby-version: ${{ env.RUBY_VERSION }}
26
26
 
27
27
  - name: Recover Ruby dependency cache
28
- uses: actions/cache@v1
28
+ uses: actions/cache@v4
29
29
  with:
30
30
  path: ./vendor/bundle
31
31
  key: ${{ runner.OS }}-rubydeps-${{ hashFiles('Gemfile.lock') }}
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## next version:
4
4
 
5
+ ## Version 0.6.0 (MINOR)
6
+ - Bump omniauth dependency to v2.1 series.
7
+ - Force Hashie >= 5.0.0.
8
+
5
9
  ## Version 0.5.0 (MINOR)
6
10
  - Send the client_id and the client_secret during the AuthToken retrieval.
7
11
 
data/Gemfile.lock CHANGED
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-idcat_mobil (0.5.0)
5
- omniauth (~> 2.0.4)
4
+ omniauth-idcat_mobil (0.6.0)
5
+ hashie (>= 5.0.0)
6
+ omniauth (~> 2.1.2)
6
7
  omniauth-oauth2 (>= 1.7.2, < 2.0)
7
8
 
8
9
  GEM
@@ -17,6 +18,7 @@ GEM
17
18
  faraday-net_http (2.0.3)
18
19
  hashie (5.0.0)
19
20
  jwt (2.3.0)
21
+ logger (1.7.0)
20
22
  multi_json (1.15.0)
21
23
  multi_xml (0.6.0)
22
24
  oauth2 (1.4.9)
@@ -25,9 +27,10 @@ GEM
25
27
  multi_json (~> 1.3)
26
28
  multi_xml (~> 0.5)
27
29
  rack (>= 1.2, < 3)
28
- omniauth (2.0.4)
30
+ omniauth (2.1.4)
29
31
  hashie (>= 3.4.6)
30
- rack (>= 1.6.2, < 3)
32
+ logger
33
+ rack (>= 2.2.3)
31
34
  rack-protection
32
35
  omniauth-oauth2 (1.7.2)
33
36
  oauth2 (~> 1.4)
@@ -35,7 +38,7 @@ GEM
35
38
  parallel (1.21.0)
36
39
  parser (3.1.0.0)
37
40
  ast (~> 2.4.1)
38
- rack (2.2.3)
41
+ rack (2.2.8.1)
39
42
  rack-protection (2.2.0)
40
43
  rack
41
44
  rack-test (1.1.0)
@@ -43,7 +46,8 @@ GEM
43
46
  rainbow (3.1.1)
44
47
  rake (12.3.3)
45
48
  regexp_parser (2.2.0)
46
- rexml (3.2.5)
49
+ rexml (3.2.8)
50
+ strscan (>= 3.0.9)
47
51
  rspec (3.10.0)
48
52
  rspec-core (~> 3.10.0)
49
53
  rspec-expectations (~> 3.10.0)
@@ -72,6 +76,7 @@ GEM
72
76
  rubocop (~> 1.19)
73
77
  ruby-progressbar (1.11.0)
74
78
  ruby2_keywords (0.0.5)
79
+ strscan (3.1.0)
75
80
  unicode-display_width (2.1.0)
76
81
 
77
82
  PLATFORMS
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module IdCatMobil
5
- VERSION = "0.5.0"
5
+ VERSION = "0.6.0"
6
6
  end
7
7
  end
@@ -123,7 +123,7 @@ module OmniAuth
123
123
  # --------------------------------------------------
124
124
 
125
125
  def idcat_log(msg)
126
- idcat_logger.debug(msg)
126
+ idcat_logger.info("[idcat_mobil] #{msg}")
127
127
  end
128
128
 
129
129
  def idcat_logger
@@ -24,7 +24,10 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
26
 
27
- spec.add_dependency "omniauth", "~> 2.0.4"
27
+ # Hashie >= 5.0.0 is required for compatibility with newer ActiveSupport versions.
28
+ # Older versions of Hashie have conflicts with ActiveSupport's Hash extensions.
29
+ spec.add_dependency "hashie", ">=5.0.0"
30
+ spec.add_dependency "omniauth", "~> 2.1.2"
28
31
  spec.add_dependency "omniauth-oauth2", ">= 1.7.2", "< 2.0"
29
32
  spec.add_development_dependency "bundler", "~> 2.2", ">= 2.2.10"
30
33
  spec.add_development_dependency "rake", "~> 12.3", ">= 12.3.3"
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-idcat_mobil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Valls
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2026-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: hashie
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 5.0.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: omniauth
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: 2.0.4
33
+ version: 2.1.2
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: 2.0.4
40
+ version: 2.1.2
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: omniauth-oauth2
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -119,7 +133,7 @@ licenses:
119
133
  - MIT
120
134
  metadata:
121
135
  rubygems_mfa_required: 'true'
122
- post_install_message:
136
+ post_install_message:
123
137
  rdoc_options: []
124
138
  require_paths:
125
139
  - lib
@@ -135,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
149
  version: '0'
136
150
  requirements: []
137
151
  rubygems_version: 3.1.6
138
- signing_key:
152
+ signing_key:
139
153
  specification_version: 4
140
154
  summary: User registration and login through IdCat mòbil.
141
155
  test_files: []