keyless 2.4.0 → 2.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 +4 -4
- data/.github/workflows/release.yml +10 -12
- data/.github/workflows/test.yml +10 -12
- data/.rubocop.yml +6 -2
- data/Appraisals +0 -4
- data/CHANGELOG.md +10 -0
- data/Dockerfile +1 -1
- data/Gemfile +2 -2
- data/LICENSE +1 -1
- data/Makefile +2 -1
- data/gemfiles/rails_7.2.gemfile +2 -2
- data/gemfiles/rails_8.0.gemfile +2 -2
- data/gemfiles/rails_8.1.gemfile +2 -2
- data/keyless.gemspec +2 -2
- data/lib/keyless/version.rb +1 -1
- metadata +4 -6
- data/gemfiles/rails_6.1.gemfile +0 -23
- data/gemfiles/rails_7.1.gemfile +0 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af3225d607febce9449f1b1605072332a923f1b04869002e745578ff8dbac62e
|
|
4
|
+
data.tar.gz: 52cc8a8161a4d26d9545ff06ad1cd5bf1695425adcd59450817ddd23dc36c4e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4834be8b71f93925be39c586a32d95df0953f23f554494a948393275fa56ee507393e231108a8eb630d80dff1eb167105afdafa7db1f13d6ad6ba8738de9bf90
|
|
7
|
+
data.tar.gz: 77c8f079eb7f1b29866a831aed7cc25376b2aa8bdad8d99d7929026fdb075b5898cfab6bd0d497a10706d7ddef4ec2bf216ff40aad41e2b99710525f02acda84
|
|
@@ -15,26 +15,24 @@ concurrency:
|
|
|
15
15
|
jobs:
|
|
16
16
|
docs:
|
|
17
17
|
name: Release the gem
|
|
18
|
-
runs-on: ubuntu-
|
|
18
|
+
runs-on: ubuntu-24.04
|
|
19
19
|
timeout-minutes: 10
|
|
20
20
|
steps:
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
- name: Install Ruby 3.2
|
|
24
|
-
uses: ruby/setup-ruby@v1
|
|
25
|
-
with:
|
|
26
|
-
ruby-version: 3.2
|
|
27
|
-
bundler-cache: true
|
|
28
|
-
rubygems: '3.6.9'
|
|
29
|
-
|
|
30
|
-
- name: Prepare the virtual environment
|
|
31
|
-
uses: hausgold/actions/ci@master
|
|
21
|
+
- name: Prepare the environment
|
|
22
|
+
uses: hausgold/actions/ci@v2
|
|
32
23
|
with:
|
|
33
24
|
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
|
34
25
|
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
|
35
26
|
settings: '${{ github.repository }}'
|
|
36
27
|
target: ci/gem-test
|
|
37
28
|
|
|
29
|
+
- name: Install Ruby 3.3
|
|
30
|
+
uses: ruby/setup-ruby@v1
|
|
31
|
+
with:
|
|
32
|
+
ruby-version: 3.3
|
|
33
|
+
bundler-cache: true
|
|
34
|
+
rubygems: '3.6.9'
|
|
35
|
+
|
|
38
36
|
- name: Switch to SSH remotes for the Git repository
|
|
39
37
|
run: git-ssh-remotes
|
|
40
38
|
|
data/.github/workflows/test.yml
CHANGED
|
@@ -13,17 +13,23 @@ concurrency:
|
|
|
13
13
|
jobs:
|
|
14
14
|
test:
|
|
15
15
|
name: 'Test the gem (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }})'
|
|
16
|
-
runs-on: ubuntu-
|
|
16
|
+
runs-on: ubuntu-24.04
|
|
17
17
|
timeout-minutes: 5
|
|
18
18
|
strategy:
|
|
19
19
|
fail-fast: false
|
|
20
20
|
matrix:
|
|
21
|
-
ruby: ['3.
|
|
22
|
-
rails: ['7.
|
|
21
|
+
ruby: ['3.3', '3.4', '4.0']
|
|
22
|
+
rails: ['7.2', '8.0', '8.1']
|
|
23
23
|
env:
|
|
24
24
|
BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
|
|
25
25
|
steps:
|
|
26
|
-
-
|
|
26
|
+
- name: Prepare the environment
|
|
27
|
+
uses: hausgold/actions/ci@v2
|
|
28
|
+
with:
|
|
29
|
+
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
|
30
|
+
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
|
31
|
+
settings: '${{ github.repository }}'
|
|
32
|
+
target: ci/gem-test
|
|
27
33
|
|
|
28
34
|
- name: Install the correct Ruby version
|
|
29
35
|
uses: ruby/setup-ruby@v1
|
|
@@ -32,14 +38,6 @@ jobs:
|
|
|
32
38
|
bundler-cache: true
|
|
33
39
|
rubygems: '3.6.9'
|
|
34
40
|
|
|
35
|
-
- name: Prepare the virtual environment
|
|
36
|
-
uses: hausgold/actions/ci@master
|
|
37
|
-
with:
|
|
38
|
-
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
|
39
|
-
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
|
40
|
-
settings: '${{ github.repository }}'
|
|
41
|
-
target: ci/gem-test
|
|
42
|
-
|
|
43
41
|
- name: Run the gem tests
|
|
44
42
|
run: make test
|
|
45
43
|
|
data/.rubocop.yml
CHANGED
|
@@ -2,6 +2,10 @@ inherit_from:
|
|
|
2
2
|
- https://potpourri.hausgold.de/config/rubocop.yml
|
|
3
3
|
- https://potpourri.hausgold.de/config/rubocop-gem.yml
|
|
4
4
|
|
|
5
|
+
inherit_mode:
|
|
6
|
+
merge:
|
|
7
|
+
- Exclude
|
|
8
|
+
|
|
5
9
|
plugins:
|
|
6
10
|
- rubocop-rspec
|
|
7
11
|
- rubocop-rails
|
|
@@ -13,8 +17,8 @@ AllCops:
|
|
|
13
17
|
NewCops: enable
|
|
14
18
|
SuggestExtensions: false
|
|
15
19
|
DisplayCopNames: true
|
|
16
|
-
TargetRubyVersion: 3.
|
|
17
|
-
TargetRailsVersion: 7.
|
|
20
|
+
TargetRubyVersion: 3.3
|
|
21
|
+
TargetRailsVersion: 7.2
|
|
18
22
|
Exclude:
|
|
19
23
|
- bin/**/*
|
|
20
24
|
- vendor/**/*
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
|
4
4
|
|
|
5
|
+
### 2.6.0 (7 January 2026)
|
|
6
|
+
|
|
7
|
+
* Upgraded to Ubuntu 24.04 on Github Actions ([#23](https://github.com/hausgold/keyless/pull/23))
|
|
8
|
+
* Migrated to hausgold/actions@v2 ([#22](https://github.com/hausgold/keyless/pull/22))
|
|
9
|
+
|
|
10
|
+
### 2.5.0 (26 December 2025)
|
|
11
|
+
|
|
12
|
+
* Added Ruby 4.0 support ([#21](https://github.com/hausgold/keyless/pull/21))
|
|
13
|
+
* Dropped Ruby 3.2 and Rails 7.1 support ([#20](https://github.com/hausgold/keyless/pull/20))
|
|
14
|
+
|
|
5
15
|
### 2.4.0 (19 December 2025)
|
|
6
16
|
|
|
7
17
|
* Migrated to a shared Rubocop configuration for HAUSGOLD gems ([#19](https://github.com/hausgold/keyless/pull/19))
|
data/Dockerfile
CHANGED
data/Gemfile
CHANGED
|
@@ -9,10 +9,10 @@ gemspec
|
|
|
9
9
|
|
|
10
10
|
# Development dependencies
|
|
11
11
|
gem 'appraisal', '~> 2.4'
|
|
12
|
-
gem 'bundler', '
|
|
12
|
+
gem 'bundler', '>= 2.6', '< 5'
|
|
13
13
|
gem 'countless', '~> 2.2'
|
|
14
14
|
gem 'guard-rspec', '~> 4.7'
|
|
15
|
-
gem 'railties', '>= 7.
|
|
15
|
+
gem 'railties', '>= 7.2'
|
|
16
16
|
gem 'rake', '~> 13.0'
|
|
17
17
|
gem 'rspec', '~> 3.12'
|
|
18
18
|
gem 'rubocop'
|
data/LICENSE
CHANGED
data/Makefile
CHANGED
|
@@ -83,7 +83,8 @@ all:
|
|
|
83
83
|
install:
|
|
84
84
|
# Install the dependencies
|
|
85
85
|
@$(MKDIR) -p $(VENDOR_DIR)
|
|
86
|
-
@$(call run-shell,$(BUNDLE)
|
|
86
|
+
@$(call run-shell,$(BUNDLE) config set --local path '$(VENDOR_DIR)')
|
|
87
|
+
@$(call run-shell,$(BUNDLE) check || $(BUNDLE) install)
|
|
87
88
|
@$(call run-shell,$(BUNDLE) exec $(APPRAISAL) install)
|
|
88
89
|
|
|
89
90
|
update:
|
data/gemfiles/rails_7.2.gemfile
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
source "https://rubygems.org"
|
|
4
4
|
|
|
5
5
|
gem "appraisal", "~> 2.4"
|
|
6
|
-
gem "bundler", "
|
|
6
|
+
gem "bundler", ">= 2.6", "< 5"
|
|
7
7
|
gem "countless", "~> 2.2"
|
|
8
8
|
gem "guard-rspec", "~> 4.7"
|
|
9
|
-
gem "railties", ">= 7.
|
|
9
|
+
gem "railties", ">= 7.2"
|
|
10
10
|
gem "rake", "~> 13.0"
|
|
11
11
|
gem "rspec", "~> 3.12"
|
|
12
12
|
gem "rubocop"
|
data/gemfiles/rails_8.0.gemfile
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
source "https://rubygems.org"
|
|
4
4
|
|
|
5
5
|
gem "appraisal", "~> 2.4"
|
|
6
|
-
gem "bundler", "
|
|
6
|
+
gem "bundler", ">= 2.6", "< 5"
|
|
7
7
|
gem "countless", "~> 2.2"
|
|
8
8
|
gem "guard-rspec", "~> 4.7"
|
|
9
|
-
gem "railties", ">= 7.
|
|
9
|
+
gem "railties", ">= 7.2"
|
|
10
10
|
gem "rake", "~> 13.0"
|
|
11
11
|
gem "rspec", "~> 3.12"
|
|
12
12
|
gem "rubocop"
|
data/gemfiles/rails_8.1.gemfile
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
source "https://rubygems.org"
|
|
4
4
|
|
|
5
5
|
gem "appraisal", "~> 2.4"
|
|
6
|
-
gem "bundler", "
|
|
6
|
+
gem "bundler", ">= 2.6", "< 5"
|
|
7
7
|
gem "countless", "~> 2.2"
|
|
8
8
|
gem "guard-rspec", "~> 4.7"
|
|
9
|
-
gem "railties", ">= 7.
|
|
9
|
+
gem "railties", ">= 7.2"
|
|
10
10
|
gem "rake", "~> 13.0"
|
|
11
11
|
gem "rspec", "~> 3.12"
|
|
12
12
|
gem "rubocop"
|
data/keyless.gemspec
CHANGED
|
@@ -33,9 +33,9 @@ Gem::Specification.new do |spec|
|
|
|
33
33
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
34
34
|
spec.require_paths = ['lib']
|
|
35
35
|
|
|
36
|
-
spec.required_ruby_version = '>= 3.
|
|
36
|
+
spec.required_ruby_version = '>= 3.3'
|
|
37
37
|
|
|
38
|
-
spec.add_dependency 'activesupport', '>= 7.
|
|
38
|
+
spec.add_dependency 'activesupport', '>= 7.2'
|
|
39
39
|
spec.add_dependency 'http', '~> 5.3'
|
|
40
40
|
spec.add_dependency 'jwt', '>= 2.6'
|
|
41
41
|
spec.add_dependency 'mutex_m', '>= 0.3'
|
data/lib/keyless/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: keyless
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hermann Mayer
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - ">="
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: '7.
|
|
20
|
+
version: '7.2'
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - ">="
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: '7.
|
|
27
|
+
version: '7.2'
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: http
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -144,8 +144,6 @@ files:
|
|
|
144
144
|
- config/docker/.inputrc
|
|
145
145
|
- doc/assets/project.svg
|
|
146
146
|
- docker-compose.yml
|
|
147
|
-
- gemfiles/rails_6.1.gemfile
|
|
148
|
-
- gemfiles/rails_7.1.gemfile
|
|
149
147
|
- gemfiles/rails_7.2.gemfile
|
|
150
148
|
- gemfiles/rails_8.0.gemfile
|
|
151
149
|
- gemfiles/rails_8.1.gemfile
|
|
@@ -170,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
170
168
|
requirements:
|
|
171
169
|
- - ">="
|
|
172
170
|
- !ruby/object:Gem::Version
|
|
173
|
-
version: '3.
|
|
171
|
+
version: '3.3'
|
|
174
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
173
|
requirements:
|
|
176
174
|
- - ">="
|
data/gemfiles/rails_6.1.gemfile
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
gem "appraisal", "~> 2.4"
|
|
6
|
-
gem "bundler", "~> 2.3"
|
|
7
|
-
gem "countless", "~> 1.1"
|
|
8
|
-
gem "guard-rspec", "~> 4.7"
|
|
9
|
-
gem "railties", ">= 6.1"
|
|
10
|
-
gem "rake", "~> 13.0"
|
|
11
|
-
gem "rspec", "~> 3.12"
|
|
12
|
-
gem "rubocop"
|
|
13
|
-
gem "rubocop-rails"
|
|
14
|
-
gem "rubocop-rspec"
|
|
15
|
-
gem "simplecov", ">= 0.22"
|
|
16
|
-
gem "timecop", ">= 0.9.6"
|
|
17
|
-
gem "vcr", "~> 6.0"
|
|
18
|
-
gem "webmock", "~> 3.18"
|
|
19
|
-
gem "yard", ">= 0.9.28"
|
|
20
|
-
gem "yard-activesupport-concern", ">= 0.0.1"
|
|
21
|
-
gem "activesupport", "~> 6.1.0"
|
|
22
|
-
|
|
23
|
-
gemspec path: "../"
|
data/gemfiles/rails_7.1.gemfile
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
gem "appraisal", "~> 2.4"
|
|
6
|
-
gem "bundler", "~> 2.6"
|
|
7
|
-
gem "countless", "~> 2.2"
|
|
8
|
-
gem "guard-rspec", "~> 4.7"
|
|
9
|
-
gem "railties", ">= 7.1"
|
|
10
|
-
gem "rake", "~> 13.0"
|
|
11
|
-
gem "rspec", "~> 3.12"
|
|
12
|
-
gem "rubocop"
|
|
13
|
-
gem "rubocop-rails"
|
|
14
|
-
gem "rubocop-rspec"
|
|
15
|
-
gem "simplecov", ">= 0.22"
|
|
16
|
-
gem "timecop", ">= 0.9.6"
|
|
17
|
-
gem "vcr", "~> 6.0"
|
|
18
|
-
gem "webmock", "~> 3.18"
|
|
19
|
-
gem "yard", ">= 0.9.28"
|
|
20
|
-
gem "yard-activesupport-concern", ">= 0.0.1"
|
|
21
|
-
gem "activesupport", "~> 7.1.0"
|
|
22
|
-
|
|
23
|
-
gemspec path: "../"
|