keyless 1.1.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/documentation.yml +4 -3
- data/.github/workflows/release.yml +48 -0
- data/.github/workflows/test.yml +6 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -1
- data/Appraisals +8 -0
- data/CHANGELOG.md +13 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Dockerfile +3 -3
- data/Gemfile +18 -0
- data/Makefile +1 -0
- data/README.md +21 -8
- data/config/docker/.bashrc +3 -1
- data/gemfiles/rails_5.2.gemfile +16 -0
- data/gemfiles/rails_6.1.gemfile +23 -0
- data/gemfiles/rails_7.1.gemfile +23 -0
- data/keyless.gemspec +1 -18
- data/lib/keyless/version.rb +1 -1
- metadata +12 -232
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56b999585c5633e11628d671b332ba8b5d8a6faba8482f06d07d41d957d24237
|
4
|
+
data.tar.gz: 02c69a270c599fe8ee4748e55614773ccbcf7c1cd8451733f3d99f5035be8563
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dd5e3cf009e3d82ac6d3b1b094a959133438f0487e7ac1c5763f282108c86b5851a5fd6cc295b2d21feead3f844a6ee4d0f2560bb6b84820b9078ffc0d2544b
|
7
|
+
data.tar.gz: 751376be3dce021548e5679773af2cb16ea35e3c5e7c5a9a477c40a687e7ee055dfe1ae7b342b4ab492ff047057f446237b20bb26a26b042fe2e9ef0d8342f35
|
@@ -12,19 +12,20 @@ jobs:
|
|
12
12
|
runs-on: ubuntu-22.04
|
13
13
|
timeout-minutes: 5
|
14
14
|
steps:
|
15
|
-
- uses: actions/checkout@
|
15
|
+
- uses: actions/checkout@v4
|
16
16
|
|
17
17
|
- name: Install the correct Ruby version
|
18
18
|
uses: ruby/setup-ruby@v1
|
19
19
|
with:
|
20
|
-
ruby-version: 2.
|
20
|
+
ruby-version: 2.7
|
21
21
|
bundler-cache: true
|
22
|
-
rubygems: '3.
|
22
|
+
rubygems: '3.4.22'
|
23
23
|
|
24
24
|
- name: Prepare the virtual environment
|
25
25
|
uses: hausgold/actions/ci@master
|
26
26
|
with:
|
27
27
|
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
28
|
+
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
28
29
|
settings: '${{ github.repository }}'
|
29
30
|
target: ci/gem-test
|
30
31
|
|
@@ -0,0 +1,48 @@
|
|
1
|
+
name: Release
|
2
|
+
run-name: Release ${{ github.event.inputs.VERSION }}
|
3
|
+
|
4
|
+
on:
|
5
|
+
workflow_dispatch:
|
6
|
+
inputs:
|
7
|
+
VERSION:
|
8
|
+
description: The new version to release. (eg. `1.0.0`) Check the
|
9
|
+
changelog for the latest version.
|
10
|
+
|
11
|
+
concurrency:
|
12
|
+
group: '${{ github.event.inputs.VERSION }}'
|
13
|
+
cancel-in-progress: true
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
docs:
|
17
|
+
name: Release the gem
|
18
|
+
runs-on: ubuntu-22.04
|
19
|
+
timeout-minutes: 5
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v4
|
22
|
+
|
23
|
+
- name: Install Ruby 2.7
|
24
|
+
uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: 2.7
|
27
|
+
bundler-cache: true
|
28
|
+
rubygems: '3.4.22'
|
29
|
+
|
30
|
+
- name: Prepare the virtual environment
|
31
|
+
uses: hausgold/actions/ci@master
|
32
|
+
with:
|
33
|
+
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
34
|
+
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
35
|
+
settings: '${{ github.repository }}'
|
36
|
+
target: ci/gem-test
|
37
|
+
|
38
|
+
- name: Switch to SSH remotes for the Git repository
|
39
|
+
run: git-ssh-remotes
|
40
|
+
|
41
|
+
- name: Enforce version '${{ github.event.inputs.VERSION }}'
|
42
|
+
run: set-gem-version '${{ github.event.inputs.VERSION }}'
|
43
|
+
|
44
|
+
- name: Prepare the Git release commit
|
45
|
+
run: git-release-commit '${{ github.event.inputs.VERSION }}'
|
46
|
+
|
47
|
+
- name: Push the release Git commit/tag and package to the registry
|
48
|
+
run: make release
|
data/.github/workflows/test.yml
CHANGED
@@ -18,24 +18,25 @@ jobs:
|
|
18
18
|
strategy:
|
19
19
|
fail-fast: false
|
20
20
|
matrix:
|
21
|
-
ruby: ['2.
|
22
|
-
rails: ['5.2']
|
21
|
+
ruby: ['2.7']
|
22
|
+
rails: ['5.2', '6.1', '7.1']
|
23
23
|
env:
|
24
24
|
BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
|
25
25
|
steps:
|
26
|
-
- uses: actions/checkout@
|
26
|
+
- uses: actions/checkout@v4
|
27
27
|
|
28
28
|
- name: Install the correct Ruby version
|
29
29
|
uses: ruby/setup-ruby@v1
|
30
30
|
with:
|
31
31
|
ruby-version: ${{ matrix.ruby }}
|
32
32
|
bundler-cache: true
|
33
|
-
rubygems: '3.
|
33
|
+
rubygems: '3.4.22'
|
34
34
|
|
35
35
|
- name: Prepare the virtual environment
|
36
36
|
uses: hausgold/actions/ci@master
|
37
37
|
with:
|
38
38
|
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
39
|
+
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
39
40
|
settings: '${{ github.repository }}'
|
40
41
|
target: ci/gem-test
|
41
42
|
|
@@ -56,6 +57,7 @@ jobs:
|
|
56
57
|
uses: hausgold/actions/ci@master
|
57
58
|
with:
|
58
59
|
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
60
|
+
settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
|
59
61
|
settings: '${{ github.repository }}'
|
60
62
|
target: ci/noop
|
61
63
|
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
### next
|
2
|
+
|
3
|
+
* TODO: Replace this bullet point with an actual description of a change.
|
4
|
+
|
5
|
+
### 1.3.0
|
6
|
+
|
7
|
+
* Moved the development dependencies from the gemspec to the Gemfile (#2)
|
8
|
+
* Dropped support for Ruby <2.7 (#3)
|
9
|
+
|
10
|
+
### 1.2.0
|
11
|
+
|
12
|
+
* Added support for Gem release automation
|
13
|
+
|
1
14
|
### 1.1.0
|
2
15
|
|
3
16
|
* Bundler >= 2.3 is from now on required as minimal version (#1)
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at development@hausgold.de. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Dockerfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
FROM hausgold/ruby:2.
|
1
|
+
FROM hausgold/ruby:2.7
|
2
2
|
MAINTAINER Hermann Mayer <hermann.mayer@hausgold.de>
|
3
3
|
|
4
4
|
# Update system gem
|
5
|
-
RUN gem update --system '3.
|
5
|
+
RUN gem update --system '3.4.22'
|
6
6
|
|
7
7
|
# Install system packages and the latest bundler
|
8
8
|
RUN apt-get update -yqqq && \
|
@@ -11,7 +11,7 @@ RUN apt-get update -yqqq && \
|
|
11
11
|
ca-certificates \
|
12
12
|
bash-completion inotify-tools && \
|
13
13
|
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && /usr/sbin/locale-gen && \
|
14
|
-
gem install bundler -v '~> 2.
|
14
|
+
gem install bundler -v '~> 2.4.22' --no-document --no-prerelease
|
15
15
|
|
16
16
|
# Add new web user
|
17
17
|
RUN mkdir /app && \
|
data/Gemfile
CHANGED
@@ -6,3 +6,21 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
6
6
|
|
7
7
|
# Specify your gem's dependencies in keyless.gemspec
|
8
8
|
gemspec
|
9
|
+
|
10
|
+
# Development dependencies
|
11
|
+
gem 'appraisal', '~> 2.4'
|
12
|
+
gem 'bundler', '~> 2.3'
|
13
|
+
gem 'countless', '~> 1.1'
|
14
|
+
gem 'guard-rspec', '~> 4.7'
|
15
|
+
gem 'railties', '>= 5.2'
|
16
|
+
gem 'rake', '~> 13.0'
|
17
|
+
gem 'rspec', '~> 3.12'
|
18
|
+
gem 'rubocop', '~> 1.28'
|
19
|
+
gem 'rubocop-rails', '~> 2.14'
|
20
|
+
gem 'rubocop-rspec', '~> 2.10'
|
21
|
+
gem 'simplecov', '>= 0.22'
|
22
|
+
gem 'timecop', '>= 0.9.6'
|
23
|
+
gem 'vcr', '~> 6.0'
|
24
|
+
gem 'webmock', '~> 3.18'
|
25
|
+
gem 'yard', '>= 0.9.28'
|
26
|
+
gem 'yard-activesupport-concern', '>= 0.0.1'
|
data/Makefile
CHANGED
data/README.md
CHANGED
@@ -25,7 +25,9 @@ flexible on the JWT verification level.
|
|
25
25
|
- [Custom JWT verification key](#custom-jwt-verification-key)
|
26
26
|
- [Full RSA256 example](#full-rsa256-example)
|
27
27
|
- [Development](#development)
|
28
|
+
- [Code of Conduct](#code-of-conduct)
|
28
29
|
- [Contributing](#contributing)
|
30
|
+
- [Releasing](#releasing)
|
29
31
|
|
30
32
|
## Installation
|
31
33
|
|
@@ -265,17 +267,28 @@ end
|
|
265
267
|
|
266
268
|
## Development
|
267
269
|
|
268
|
-
After checking out the repo, run `
|
269
|
-
`
|
270
|
+
After checking out the repo, run `make install` to install dependencies. Then,
|
271
|
+
run `make test` to run the tests. You can also run `make shell-irb` for an
|
270
272
|
interactive prompt that will allow you to experiment.
|
271
273
|
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
274
|
+
## Code of Conduct
|
275
|
+
|
276
|
+
Everyone interacting in the project codebase, issue tracker, chat
|
277
|
+
rooms and mailing lists is expected to follow the [code of
|
278
|
+
conduct](./CODE_OF_CONDUCT.md).
|
277
279
|
|
278
280
|
## Contributing
|
279
281
|
|
280
282
|
Bug reports and pull requests are welcome on GitHub at
|
281
|
-
https://github.com/hausgold/keyless.
|
283
|
+
https://github.com/hausgold/keyless. Make sure that every pull request adds
|
284
|
+
a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
|
285
|
+
actual pull request.
|
286
|
+
|
287
|
+
## Releasing
|
288
|
+
|
289
|
+
The release process of this Gem is fully automated. You just need to open the
|
290
|
+
Github Actions [Release
|
291
|
+
Workflow](https://github.com/hausgold/keyless/actions/workflows/release.yml)
|
292
|
+
and trigger a new run via the **Run workflow** button. Insert the new version
|
293
|
+
number (check the [changelog](./CHANGELOG.md) first for the latest release) and
|
294
|
+
you're done.
|
data/config/docker/.bashrc
CHANGED
@@ -16,7 +16,9 @@ sudo sed -i 's/autostart=.*/autostart=false/g' /etc/supervisor/conf.d/*
|
|
16
16
|
sudo supervisord >/dev/null 2>&1 &
|
17
17
|
|
18
18
|
# Wait for supervisord
|
19
|
-
while ! supervisorctl status >/dev/null 2>&1; do
|
19
|
+
while ! (sudo supervisorctl status | grep avahi) >/dev/null 2>&1; do
|
20
|
+
sleep 1
|
21
|
+
done
|
20
22
|
|
21
23
|
# Boot the mDNS stack
|
22
24
|
echo '# Start the mDNS stack'
|
data/gemfiles/rails_5.2.gemfile
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
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", ">= 5.2"
|
10
|
+
gem "rake", "~> 13.0"
|
11
|
+
gem "rspec", "~> 3.12"
|
12
|
+
gem "rubocop", "~> 1.28"
|
13
|
+
gem "rubocop-rails", "~> 2.14"
|
14
|
+
gem "rubocop-rspec", "~> 2.10"
|
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"
|
5
21
|
gem "activesupport", "~> 5.2.0"
|
6
22
|
|
7
23
|
gemspec path: "../"
|
@@ -0,0 +1,23 @@
|
|
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", ">= 5.2"
|
10
|
+
gem "rake", "~> 13.0"
|
11
|
+
gem "rspec", "~> 3.12"
|
12
|
+
gem "rubocop", "~> 1.28"
|
13
|
+
gem "rubocop-rails", "~> 2.14"
|
14
|
+
gem "rubocop-rspec", "~> 2.10"
|
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: "../"
|
@@ -0,0 +1,23 @@
|
|
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", ">= 5.2"
|
10
|
+
gem "rake", "~> 13.0"
|
11
|
+
gem "rspec", "~> 3.12"
|
12
|
+
gem "rubocop", "~> 1.28"
|
13
|
+
gem "rubocop-rails", "~> 2.14"
|
14
|
+
gem "rubocop-rspec", "~> 2.10"
|
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: "../"
|
data/keyless.gemspec
CHANGED
@@ -33,27 +33,10 @@ 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 = '>= 2.
|
36
|
+
spec.required_ruby_version = '>= 2.7'
|
37
37
|
|
38
38
|
spec.add_runtime_dependency 'activesupport', '>= 5.2'
|
39
39
|
spec.add_runtime_dependency 'httparty', '>= 0.21'
|
40
40
|
spec.add_runtime_dependency 'jwt', '~> 2.6'
|
41
41
|
spec.add_runtime_dependency 'recursive-open-struct', '~> 1.1'
|
42
|
-
|
43
|
-
spec.add_development_dependency 'appraisal', '~> 2.4'
|
44
|
-
spec.add_development_dependency 'bundler', '~> 2.3'
|
45
|
-
spec.add_development_dependency 'countless', '~> 1.1'
|
46
|
-
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
47
|
-
spec.add_development_dependency 'railties', '>= 5.2'
|
48
|
-
spec.add_development_dependency 'rake', '~> 13.0'
|
49
|
-
spec.add_development_dependency 'rspec', '~> 3.12'
|
50
|
-
spec.add_development_dependency 'rubocop', '~> 1.28'
|
51
|
-
spec.add_development_dependency 'rubocop-rails', '~> 2.14'
|
52
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.10'
|
53
|
-
spec.add_development_dependency 'simplecov', '>= 0.22'
|
54
|
-
spec.add_development_dependency 'timecop', '>= 0.9.6'
|
55
|
-
spec.add_development_dependency 'vcr', '~> 6.0'
|
56
|
-
spec.add_development_dependency 'webmock', '~> 3.18'
|
57
|
-
spec.add_development_dependency 'yard', '>= 0.9.28'
|
58
|
-
spec.add_development_dependency 'yard-activesupport-concern', '>= 0.0.1'
|
59
42
|
end
|
data/lib/keyless/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keyless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
8
|
- Christopher Mühl
|
9
9
|
- Marcus Geißler
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -68,230 +68,6 @@ dependencies:
|
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '1.1'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: appraisal
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '2.4'
|
78
|
-
type: :development
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - "~>"
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '2.4'
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: bundler
|
87
|
-
requirement: !ruby/object:Gem::Requirement
|
88
|
-
requirements:
|
89
|
-
- - "~>"
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: '2.3'
|
92
|
-
type: :development
|
93
|
-
prerelease: false
|
94
|
-
version_requirements: !ruby/object:Gem::Requirement
|
95
|
-
requirements:
|
96
|
-
- - "~>"
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: '2.3'
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: countless
|
101
|
-
requirement: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - "~>"
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: '1.1'
|
106
|
-
type: :development
|
107
|
-
prerelease: false
|
108
|
-
version_requirements: !ruby/object:Gem::Requirement
|
109
|
-
requirements:
|
110
|
-
- - "~>"
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '1.1'
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: guard-rspec
|
115
|
-
requirement: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - "~>"
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '4.7'
|
120
|
-
type: :development
|
121
|
-
prerelease: false
|
122
|
-
version_requirements: !ruby/object:Gem::Requirement
|
123
|
-
requirements:
|
124
|
-
- - "~>"
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: '4.7'
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: railties
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - ">="
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '5.2'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
requirements:
|
138
|
-
- - ">="
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: '5.2'
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
name: rake
|
143
|
-
requirement: !ruby/object:Gem::Requirement
|
144
|
-
requirements:
|
145
|
-
- - "~>"
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: '13.0'
|
148
|
-
type: :development
|
149
|
-
prerelease: false
|
150
|
-
version_requirements: !ruby/object:Gem::Requirement
|
151
|
-
requirements:
|
152
|
-
- - "~>"
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: '13.0'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: rspec
|
157
|
-
requirement: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
159
|
-
- - "~>"
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: '3.12'
|
162
|
-
type: :development
|
163
|
-
prerelease: false
|
164
|
-
version_requirements: !ruby/object:Gem::Requirement
|
165
|
-
requirements:
|
166
|
-
- - "~>"
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
version: '3.12'
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: rubocop
|
171
|
-
requirement: !ruby/object:Gem::Requirement
|
172
|
-
requirements:
|
173
|
-
- - "~>"
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
version: '1.28'
|
176
|
-
type: :development
|
177
|
-
prerelease: false
|
178
|
-
version_requirements: !ruby/object:Gem::Requirement
|
179
|
-
requirements:
|
180
|
-
- - "~>"
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: '1.28'
|
183
|
-
- !ruby/object:Gem::Dependency
|
184
|
-
name: rubocop-rails
|
185
|
-
requirement: !ruby/object:Gem::Requirement
|
186
|
-
requirements:
|
187
|
-
- - "~>"
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: '2.14'
|
190
|
-
type: :development
|
191
|
-
prerelease: false
|
192
|
-
version_requirements: !ruby/object:Gem::Requirement
|
193
|
-
requirements:
|
194
|
-
- - "~>"
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
version: '2.14'
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
|
-
name: rubocop-rspec
|
199
|
-
requirement: !ruby/object:Gem::Requirement
|
200
|
-
requirements:
|
201
|
-
- - "~>"
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
version: '2.10'
|
204
|
-
type: :development
|
205
|
-
prerelease: false
|
206
|
-
version_requirements: !ruby/object:Gem::Requirement
|
207
|
-
requirements:
|
208
|
-
- - "~>"
|
209
|
-
- !ruby/object:Gem::Version
|
210
|
-
version: '2.10'
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
|
-
name: simplecov
|
213
|
-
requirement: !ruby/object:Gem::Requirement
|
214
|
-
requirements:
|
215
|
-
- - ">="
|
216
|
-
- !ruby/object:Gem::Version
|
217
|
-
version: '0.22'
|
218
|
-
type: :development
|
219
|
-
prerelease: false
|
220
|
-
version_requirements: !ruby/object:Gem::Requirement
|
221
|
-
requirements:
|
222
|
-
- - ">="
|
223
|
-
- !ruby/object:Gem::Version
|
224
|
-
version: '0.22'
|
225
|
-
- !ruby/object:Gem::Dependency
|
226
|
-
name: timecop
|
227
|
-
requirement: !ruby/object:Gem::Requirement
|
228
|
-
requirements:
|
229
|
-
- - ">="
|
230
|
-
- !ruby/object:Gem::Version
|
231
|
-
version: 0.9.6
|
232
|
-
type: :development
|
233
|
-
prerelease: false
|
234
|
-
version_requirements: !ruby/object:Gem::Requirement
|
235
|
-
requirements:
|
236
|
-
- - ">="
|
237
|
-
- !ruby/object:Gem::Version
|
238
|
-
version: 0.9.6
|
239
|
-
- !ruby/object:Gem::Dependency
|
240
|
-
name: vcr
|
241
|
-
requirement: !ruby/object:Gem::Requirement
|
242
|
-
requirements:
|
243
|
-
- - "~>"
|
244
|
-
- !ruby/object:Gem::Version
|
245
|
-
version: '6.0'
|
246
|
-
type: :development
|
247
|
-
prerelease: false
|
248
|
-
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
requirements:
|
250
|
-
- - "~>"
|
251
|
-
- !ruby/object:Gem::Version
|
252
|
-
version: '6.0'
|
253
|
-
- !ruby/object:Gem::Dependency
|
254
|
-
name: webmock
|
255
|
-
requirement: !ruby/object:Gem::Requirement
|
256
|
-
requirements:
|
257
|
-
- - "~>"
|
258
|
-
- !ruby/object:Gem::Version
|
259
|
-
version: '3.18'
|
260
|
-
type: :development
|
261
|
-
prerelease: false
|
262
|
-
version_requirements: !ruby/object:Gem::Requirement
|
263
|
-
requirements:
|
264
|
-
- - "~>"
|
265
|
-
- !ruby/object:Gem::Version
|
266
|
-
version: '3.18'
|
267
|
-
- !ruby/object:Gem::Dependency
|
268
|
-
name: yard
|
269
|
-
requirement: !ruby/object:Gem::Requirement
|
270
|
-
requirements:
|
271
|
-
- - ">="
|
272
|
-
- !ruby/object:Gem::Version
|
273
|
-
version: 0.9.28
|
274
|
-
type: :development
|
275
|
-
prerelease: false
|
276
|
-
version_requirements: !ruby/object:Gem::Requirement
|
277
|
-
requirements:
|
278
|
-
- - ">="
|
279
|
-
- !ruby/object:Gem::Version
|
280
|
-
version: 0.9.28
|
281
|
-
- !ruby/object:Gem::Dependency
|
282
|
-
name: yard-activesupport-concern
|
283
|
-
requirement: !ruby/object:Gem::Requirement
|
284
|
-
requirements:
|
285
|
-
- - ">="
|
286
|
-
- !ruby/object:Gem::Version
|
287
|
-
version: 0.0.1
|
288
|
-
type: :development
|
289
|
-
prerelease: false
|
290
|
-
version_requirements: !ruby/object:Gem::Requirement
|
291
|
-
requirements:
|
292
|
-
- - ">="
|
293
|
-
- !ruby/object:Gem::Version
|
294
|
-
version: 0.0.1
|
295
71
|
description: A reusable JWT authentication helper
|
296
72
|
email:
|
297
73
|
- hermann.mayer92@gmail.com
|
@@ -303,6 +79,7 @@ extra_rdoc_files: []
|
|
303
79
|
files:
|
304
80
|
- ".editorconfig"
|
305
81
|
- ".github/workflows/documentation.yml"
|
82
|
+
- ".github/workflows/release.yml"
|
306
83
|
- ".github/workflows/test.yml"
|
307
84
|
- ".gitignore"
|
308
85
|
- ".rspec"
|
@@ -311,6 +88,7 @@ files:
|
|
311
88
|
- ".yardopts"
|
312
89
|
- Appraisals
|
313
90
|
- CHANGELOG.md
|
91
|
+
- CODE_OF_CONDUCT.md
|
314
92
|
- Dockerfile
|
315
93
|
- Envfile
|
316
94
|
- Gemfile
|
@@ -327,13 +105,15 @@ files:
|
|
327
105
|
- doc/assets/project.svg
|
328
106
|
- docker-compose.yml
|
329
107
|
- gemfiles/rails_5.2.gemfile
|
108
|
+
- gemfiles/rails_6.1.gemfile
|
109
|
+
- gemfiles/rails_7.1.gemfile
|
330
110
|
- keyless.gemspec
|
331
111
|
- lib/keyless.rb
|
332
112
|
- lib/keyless/configuration.rb
|
333
113
|
- lib/keyless/jwt.rb
|
334
114
|
- lib/keyless/rsa_public_key.rb
|
335
115
|
- lib/keyless/version.rb
|
336
|
-
homepage:
|
116
|
+
homepage:
|
337
117
|
licenses:
|
338
118
|
- MIT
|
339
119
|
metadata:
|
@@ -342,7 +122,7 @@ metadata:
|
|
342
122
|
changelog_uri: https://github.com/hausgold/keyless/blob/master/CHANGELOG.md
|
343
123
|
bug_tracker_uri: https://github.com/hausgold/keyless/issues
|
344
124
|
documentation_uri: https://www.rubydoc.info/gems/keyless
|
345
|
-
post_install_message:
|
125
|
+
post_install_message:
|
346
126
|
rdoc_options: []
|
347
127
|
require_paths:
|
348
128
|
- lib
|
@@ -350,15 +130,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
350
130
|
requirements:
|
351
131
|
- - ">="
|
352
132
|
- !ruby/object:Gem::Version
|
353
|
-
version: '2.
|
133
|
+
version: '2.7'
|
354
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
355
135
|
requirements:
|
356
136
|
- - ">="
|
357
137
|
- !ruby/object:Gem::Version
|
358
138
|
version: '0'
|
359
139
|
requirements: []
|
360
|
-
rubygems_version: 3.3.
|
361
|
-
signing_key:
|
140
|
+
rubygems_version: 3.3.26
|
141
|
+
signing_key:
|
362
142
|
specification_version: 4
|
363
143
|
summary: A reusable JWT authentication helper
|
364
144
|
test_files: []
|