grape-jwt-authentication 2.3.0 → 2.4.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 +3 -3
- data/.github/workflows/release.yml +4 -4
- data/.github/workflows/test.yml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -1
- data/Appraisals +12 -0
- data/CHANGELOG.md +6 -1
- data/Dockerfile +3 -3
- data/config/docker/.bashrc +3 -1
- data/gemfiles/rails_6.1.gemfile +27 -0
- data/gemfiles/rails_7.1.gemfile +27 -0
- data/grape-jwt-authentication.gemspec +1 -1
- data/lib/grape/jwt/authentication/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6d7cd4e7b29be0ee62e126f876a7d2dbf41a14450ccd0f3c7fb245776ecab56
|
4
|
+
data.tar.gz: daa0779bd52d42f20a6d178a7fc250d963612447838667b7654d39c83c92d239
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09c4ea85cccfccaf096bb2eb56305fb818769588bbed3aedb7573cd4eaa801ef22bfe4bad423eed7e8bb5b45776f8ddf2955581ca84a06a0a9b7cbadff31fa5
|
7
|
+
data.tar.gz: 6451aaef79673f7a1b91b6c4a2c8a39c55966e13edc269413af26054a78d37499f59f9d604e9d34e103283798ab018bd9c03e837fb6abb89572e495fa0726b80
|
@@ -12,14 +12,14 @@ 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
|
@@ -18,14 +18,14 @@ jobs:
|
|
18
18
|
runs-on: ubuntu-22.04
|
19
19
|
timeout-minutes: 5
|
20
20
|
steps:
|
21
|
-
- uses: actions/checkout@
|
21
|
+
- uses: actions/checkout@v4
|
22
22
|
|
23
|
-
- name: Install Ruby 2.
|
23
|
+
- name: Install Ruby 2.7
|
24
24
|
uses: ruby/setup-ruby@v1
|
25
25
|
with:
|
26
|
-
ruby-version: 2.
|
26
|
+
ruby-version: 2.7
|
27
27
|
bundler-cache: true
|
28
|
-
rubygems: '3.
|
28
|
+
rubygems: '3.4.22'
|
29
29
|
|
30
30
|
- name: Prepare the virtual environment
|
31
31
|
uses: hausgold/actions/ci@master
|
data/.github/workflows/test.yml
CHANGED
@@ -18,19 +18,19 @@ 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
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/Appraisals
CHANGED
@@ -5,3 +5,15 @@ appraise 'rails-5.2' do
|
|
5
5
|
gem 'activerecord', '~> 5.2.0'
|
6
6
|
gem 'activesupport', '~> 5.2.0'
|
7
7
|
end
|
8
|
+
|
9
|
+
appraise 'rails-6.1' do
|
10
|
+
gem 'activejob', '~> 6.1.0'
|
11
|
+
gem 'activerecord', '~> 6.1.0'
|
12
|
+
gem 'activesupport', '~> 6.1.0'
|
13
|
+
end
|
14
|
+
|
15
|
+
appraise 'rails-7.1' do
|
16
|
+
gem 'activejob', '~> 7.1.0'
|
17
|
+
gem 'activerecord', '~> 7.1.0'
|
18
|
+
gem 'activesupport', '~> 7.1.0'
|
19
|
+
end
|
data/CHANGELOG.md
CHANGED
@@ -2,9 +2,14 @@
|
|
2
2
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
4
4
|
|
5
|
+
### 2.4.0
|
6
|
+
|
7
|
+
* Dropped support for Ruby <2.7 (#13)
|
8
|
+
|
5
9
|
### 2.3.0
|
6
10
|
|
7
|
-
* Implemented case-insensitive header value checks for Grape 2.0.0+
|
11
|
+
* Implemented case-insensitive header value checks for Grape 2.0.0+
|
12
|
+
compatibility, aligning with HTTP/2+ semantics (#11, #12)
|
8
13
|
* Moved the development dependencies from the gemspec to the Gemfile (#10)
|
9
14
|
|
10
15
|
### 2.2.0
|
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/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'
|
@@ -0,0 +1,27 @@
|
|
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 "rack", "~> 2.2"
|
10
|
+
gem "rack-test", "~> 2.0"
|
11
|
+
gem "railties", ">= 5.2"
|
12
|
+
gem "rake", "~> 13.0"
|
13
|
+
gem "rspec", "~> 3.12"
|
14
|
+
gem "rubocop", "~> 1.28"
|
15
|
+
gem "rubocop-rails", "~> 2.14"
|
16
|
+
gem "rubocop-rspec", "~> 2.10"
|
17
|
+
gem "simplecov", ">= 0.22"
|
18
|
+
gem "timecop", ">= 0.9.6"
|
19
|
+
gem "vcr", "~> 6.0"
|
20
|
+
gem "webmock", "~> 3.18"
|
21
|
+
gem "yard", ">= 0.9.28"
|
22
|
+
gem "yard-activesupport-concern", ">= 0.0.1"
|
23
|
+
gem "activejob", "~> 6.1.0"
|
24
|
+
gem "activerecord", "~> 6.1.0"
|
25
|
+
gem "activesupport", "~> 6.1.0"
|
26
|
+
|
27
|
+
gemspec path: "../"
|
@@ -0,0 +1,27 @@
|
|
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 "rack", "~> 2.2"
|
10
|
+
gem "rack-test", "~> 2.0"
|
11
|
+
gem "railties", ">= 5.2"
|
12
|
+
gem "rake", "~> 13.0"
|
13
|
+
gem "rspec", "~> 3.12"
|
14
|
+
gem "rubocop", "~> 1.28"
|
15
|
+
gem "rubocop-rails", "~> 2.14"
|
16
|
+
gem "rubocop-rspec", "~> 2.10"
|
17
|
+
gem "simplecov", ">= 0.22"
|
18
|
+
gem "timecop", ">= 0.9.6"
|
19
|
+
gem "vcr", "~> 6.0"
|
20
|
+
gem "webmock", "~> 3.18"
|
21
|
+
gem "yard", ">= 0.9.28"
|
22
|
+
gem "yard-activesupport-concern", ">= 0.0.1"
|
23
|
+
gem "activejob", "~> 7.1.0"
|
24
|
+
gem "activerecord", "~> 7.1.0"
|
25
|
+
gem "activesupport", "~> 7.1.0"
|
26
|
+
|
27
|
+
gemspec path: "../"
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
32
|
spec.require_paths = ['lib']
|
33
33
|
|
34
|
-
spec.required_ruby_version = '>= 2.
|
34
|
+
spec.required_ruby_version = '>= 2.7'
|
35
35
|
|
36
36
|
spec.add_runtime_dependency 'activesupport', '>= 5.2'
|
37
37
|
spec.add_runtime_dependency 'grape', '>= 1.0', '< 3.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-jwt-authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -135,6 +135,8 @@ files:
|
|
135
135
|
- doc/assets/project.svg
|
136
136
|
- docker-compose.yml
|
137
137
|
- gemfiles/rails_5.2.gemfile
|
138
|
+
- gemfiles/rails_6.1.gemfile
|
139
|
+
- gemfiles/rails_7.1.gemfile
|
138
140
|
- grape-jwt-authentication.gemspec
|
139
141
|
- lib/grape/jwt/authentication.rb
|
140
142
|
- lib/grape/jwt/authentication/configuration.rb
|
@@ -158,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
160
|
requirements:
|
159
161
|
- - ">="
|
160
162
|
- !ruby/object:Gem::Version
|
161
|
-
version: '2.
|
163
|
+
version: '2.7'
|
162
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
165
|
requirements:
|
164
166
|
- - ">="
|