grape-jwt-authentication 2.1.0 → 2.3.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: a76b78814c21de200efd81a5b97a2032909f0dc67cb702562a814abb250986ab
4
- data.tar.gz: dc5c5536b5d5d445ae8391d7787e41858c178e200fc6cdf41fe8cb1349b7fa77
3
+ metadata.gz: 6b2b39a53b2482a6c6e9479cef2fe25de503034ef972db992d804858b04b5d66
4
+ data.tar.gz: 2e96eb6bf6b40cb8a1c7068a4146dae54673de021148ee36f42483366ed3973d
5
5
  SHA512:
6
- metadata.gz: 4cb2b1ff597b9bfee4947d57a5c1ad0f0b1123b298a5675d78d761786ea2eb33cdb4b199d23e72e1fa41b72dc708b2d6149d3150bc5e10d9544313943e34203e
7
- data.tar.gz: 4fc142b1b6519a2a4fa0f1ba5895fd929bfca37ff26a1ad3de2096b23241f1d846710a0f3abfdb3f0a6e020300c6728f9db3686f0d0887f20e5c2ae3f480e973
6
+ metadata.gz: f5c69c37ce78036b4fd706d3a665452e69d8695e7cba84261a7339c2c30ed02a5e7c0bbb13e48e375187f55533da948a91dbba7f74087e312fb684dabcbbc041
7
+ data.tar.gz: 3903190b5dcb51a634ef564d91ae9569f996f1b943dc7d460442cf7a1e2e4ab024db881a72c4a7f810f016486220a3f1f2246e0a7a243e8ab9005d111ecb420b
@@ -25,6 +25,7 @@ jobs:
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@v3
22
+
23
+ - name: Install Ruby 2.5
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: 2.5
27
+ bundler-cache: true
28
+ rubygems: '3.3.26'
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
@@ -36,6 +36,7 @@ jobs:
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/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
+ ### 2.3.0
6
+
7
+ * Implemented case-insensitive header value checks for Grape 2.0.0+ compatibility, aligning with HTTP/2+ semantics (#11, #12)
8
+ * Moved the development dependencies from the gemspec to the Gemfile (#10)
9
+
10
+ ### 2.2.0
11
+
12
+ * Added support for Gem release automation
13
+
1
14
  ### 2.1.0
2
15
 
3
16
  * Bundler >= 2.3 is from now on required as minimal version (#9)
@@ -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/Gemfile CHANGED
@@ -6,3 +6,23 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
6
 
7
7
  # Specify your gem's dependencies in grape-jwt-authentication.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 'rack', '~> 2.2'
16
+ gem 'rack-test', '~> 2.0'
17
+ gem 'railties', '>= 5.2'
18
+ gem 'rake', '~> 13.0'
19
+ gem 'rspec', '~> 3.12'
20
+ gem 'rubocop', '~> 1.28'
21
+ gem 'rubocop-rails', '~> 2.14'
22
+ gem 'rubocop-rspec', '~> 2.10'
23
+ gem 'simplecov', '>= 0.22'
24
+ gem 'timecop', '>= 0.9.6'
25
+ gem 'vcr', '~> 6.0'
26
+ gem 'webmock', '~> 3.18'
27
+ gem 'yard', '>= 0.9.28'
28
+ gem 'yard-activesupport-concern', '>= 0.0.1'
data/Makefile CHANGED
@@ -13,6 +13,7 @@ BASH_RUN_SHELL_FLAGS ?=
13
13
 
14
14
  # Directories
15
15
  VENDOR_DIR ?= vendor/bundle
16
+ GEMFILES_DIR ?= gemfiles
16
17
 
17
18
  # Host binaries
18
19
  AWK ?= awk
@@ -35,6 +36,11 @@ RSPEC ?= rspec
35
36
  RUBOCOP ?= rubocop
36
37
  YARD ?= yard
37
38
 
39
+ # Files
40
+ GEMFILES ?= $(subst _,-,$(patsubst $(GEMFILES_DIR)/%.gemfile,%,\
41
+ $(wildcard $(GEMFILES_DIR)/*.gemfile)))
42
+ TEST_GEMFILES := $(GEMFILES:%=test-%)
43
+
38
44
  # Define a generic shell run wrapper
39
45
  # $1 - The command to run
40
46
  ifeq ($(MAKE_ENV),docker)
data/README.md CHANGED
@@ -31,7 +31,9 @@ flexible on the JWT verification level.
31
31
  - [Per-API configuration](#per-api-configuration)
32
32
  - [Full RSA256 example](#full-rsa256-example)
33
33
  - [Development](#development)
34
+ - [Code of Conduct](#code-of-conduct)
34
35
  - [Contributing](#contributing)
36
+ - [Releasing](#releasing)
35
37
 
36
38
  ## Installation
37
39
 
@@ -413,17 +415,28 @@ end
413
415
 
414
416
  ## Development
415
417
 
416
- After checking out the repo, run `bin/setup` to install dependencies. Then, run
417
- `bundle exec rake spec` to run the tests. You can also run `bin/console` for an
418
+ After checking out the repo, run `make install` to install dependencies. Then,
419
+ run `make test` to run the tests. You can also run `make shell-irb` for an
418
420
  interactive prompt that will allow you to experiment.
419
421
 
420
- To install this gem onto your local machine, run `bundle exec rake install`. To
421
- release a new version, update the version number in `version.rb`, and then run
422
- `bundle exec rake release`, which will create a git tag for the version, push
423
- git commits and tags, and push the `.gem` file to
424
- [rubygems.org](https://rubygems.org).
422
+ ## Code of Conduct
423
+
424
+ Everyone interacting in the project codebase, issue tracker, chat
425
+ rooms and mailing lists is expected to follow the [code of
426
+ conduct](./CODE_OF_CONDUCT.md).
425
427
 
426
428
  ## Contributing
427
429
 
428
430
  Bug reports and pull requests are welcome on GitHub at
429
- https://github.com/hausgold/grape-jwt-authentication.
431
+ https://github.com/hausgold/grape-jwt-authentication. Make sure that every pull request adds
432
+ a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
433
+ actual pull request.
434
+
435
+ ## Releasing
436
+
437
+ The release process of this Gem is fully automated. You just need to open the
438
+ Github Actions [Release
439
+ Workflow](https://github.com/hausgold/grape-jwt-authentication/actions/workflows/release.yml)
440
+ and trigger a new run via the **Run workflow** button. Insert the new version
441
+ number (check the [changelog](./CHANGELOG.md) first for the latest release) and
442
+ you're done.
@@ -2,6 +2,24 @@
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 "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"
5
23
  gem "activejob", "~> 5.2.0"
6
24
  gem "activerecord", "~> 5.2.0"
7
25
  gem "activesupport", "~> 5.2.0"
@@ -34,28 +34,9 @@ Gem::Specification.new do |spec|
34
34
  spec.required_ruby_version = '>= 2.5'
35
35
 
36
36
  spec.add_runtime_dependency 'activesupport', '>= 5.2'
37
- spec.add_runtime_dependency 'grape', '~> 1.0'
37
+ spec.add_runtime_dependency 'grape', '>= 1.0', '< 3.0'
38
38
  spec.add_runtime_dependency 'httparty', '>= 0.21'
39
39
  spec.add_runtime_dependency 'jwt', '~> 2.6'
40
40
  spec.add_runtime_dependency 'keyless', '~> 1.1'
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 'rack', '~> 2.2'
48
- spec.add_development_dependency 'rack-test', '~> 2.0'
49
- spec.add_development_dependency 'railties', '>= 5.2'
50
- spec.add_development_dependency 'rake', '~> 13.0'
51
- spec.add_development_dependency 'rspec', '~> 3.12'
52
- spec.add_development_dependency 'rubocop', '~> 1.28'
53
- spec.add_development_dependency 'rubocop-rails', '~> 2.14'
54
- spec.add_development_dependency 'rubocop-rspec', '~> 2.10'
55
- spec.add_development_dependency 'simplecov', '>= 0.22'
56
- spec.add_development_dependency 'timecop', '>= 0.9.6'
57
- spec.add_development_dependency 'vcr', '~> 6.0'
58
- spec.add_development_dependency 'webmock', '~> 3.18'
59
- spec.add_development_dependency 'yard', '>= 0.9.28'
60
- spec.add_development_dependency 'yard-activesupport-concern', '>= 0.0.1'
61
42
  end
@@ -115,7 +115,10 @@ module Grape
115
115
  Grape::Middleware::Formatter.new(->(_) {}).call(env)
116
116
 
117
117
  # Parse the JWT token from the request headers.
118
- token = parse_token(env['HTTP_AUTHORIZATION'])
118
+ # Downcase the header keys to account for HTTP/2+
119
+ # semantics in Grape 2.0.0+
120
+ lowercase_env = env.transform_keys(&:downcase)
121
+ token = parse_token(lowercase_env['http_authorization'])
119
122
 
120
123
  # Inject the parsed token to the Rack environment.
121
124
  inject_token_into_env(env, token)
@@ -5,7 +5,7 @@ module Grape
5
5
  # The gem version details.
6
6
  module Authentication
7
7
  # The version of the +grape-jwt-authentication+ gem
8
- VERSION = '2.1.0'
8
+ VERSION = '2.3.0'
9
9
 
10
10
  class << self
11
11
  # Returns the version of gem as a string.
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.1.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2024-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: grape
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '3.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '1.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '3.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: httparty
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -94,258 +100,6 @@ dependencies:
94
100
  - - "~>"
95
101
  - !ruby/object:Gem::Version
96
102
  version: '1.1'
97
- - !ruby/object:Gem::Dependency
98
- name: appraisal
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '2.4'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '2.4'
111
- - !ruby/object:Gem::Dependency
112
- name: bundler
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '2.3'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '2.3'
125
- - !ruby/object:Gem::Dependency
126
- name: countless
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '1.1'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '1.1'
139
- - !ruby/object:Gem::Dependency
140
- name: guard-rspec
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '4.7'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '4.7'
153
- - !ruby/object:Gem::Dependency
154
- name: rack
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '2.2'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '2.2'
167
- - !ruby/object:Gem::Dependency
168
- name: rack-test
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '2.0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '2.0'
181
- - !ruby/object:Gem::Dependency
182
- name: railties
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: '5.2'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- version: '5.2'
195
- - !ruby/object:Gem::Dependency
196
- name: rake
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: '13.0'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: '13.0'
209
- - !ruby/object:Gem::Dependency
210
- name: rspec
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - "~>"
214
- - !ruby/object:Gem::Version
215
- version: '3.12'
216
- type: :development
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - "~>"
221
- - !ruby/object:Gem::Version
222
- version: '3.12'
223
- - !ruby/object:Gem::Dependency
224
- name: rubocop
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - "~>"
228
- - !ruby/object:Gem::Version
229
- version: '1.28'
230
- type: :development
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - "~>"
235
- - !ruby/object:Gem::Version
236
- version: '1.28'
237
- - !ruby/object:Gem::Dependency
238
- name: rubocop-rails
239
- requirement: !ruby/object:Gem::Requirement
240
- requirements:
241
- - - "~>"
242
- - !ruby/object:Gem::Version
243
- version: '2.14'
244
- type: :development
245
- prerelease: false
246
- version_requirements: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - "~>"
249
- - !ruby/object:Gem::Version
250
- version: '2.14'
251
- - !ruby/object:Gem::Dependency
252
- name: rubocop-rspec
253
- requirement: !ruby/object:Gem::Requirement
254
- requirements:
255
- - - "~>"
256
- - !ruby/object:Gem::Version
257
- version: '2.10'
258
- type: :development
259
- prerelease: false
260
- version_requirements: !ruby/object:Gem::Requirement
261
- requirements:
262
- - - "~>"
263
- - !ruby/object:Gem::Version
264
- version: '2.10'
265
- - !ruby/object:Gem::Dependency
266
- name: simplecov
267
- requirement: !ruby/object:Gem::Requirement
268
- requirements:
269
- - - ">="
270
- - !ruby/object:Gem::Version
271
- version: '0.22'
272
- type: :development
273
- prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - ">="
277
- - !ruby/object:Gem::Version
278
- version: '0.22'
279
- - !ruby/object:Gem::Dependency
280
- name: timecop
281
- requirement: !ruby/object:Gem::Requirement
282
- requirements:
283
- - - ">="
284
- - !ruby/object:Gem::Version
285
- version: 0.9.6
286
- type: :development
287
- prerelease: false
288
- version_requirements: !ruby/object:Gem::Requirement
289
- requirements:
290
- - - ">="
291
- - !ruby/object:Gem::Version
292
- version: 0.9.6
293
- - !ruby/object:Gem::Dependency
294
- name: vcr
295
- requirement: !ruby/object:Gem::Requirement
296
- requirements:
297
- - - "~>"
298
- - !ruby/object:Gem::Version
299
- version: '6.0'
300
- type: :development
301
- prerelease: false
302
- version_requirements: !ruby/object:Gem::Requirement
303
- requirements:
304
- - - "~>"
305
- - !ruby/object:Gem::Version
306
- version: '6.0'
307
- - !ruby/object:Gem::Dependency
308
- name: webmock
309
- requirement: !ruby/object:Gem::Requirement
310
- requirements:
311
- - - "~>"
312
- - !ruby/object:Gem::Version
313
- version: '3.18'
314
- type: :development
315
- prerelease: false
316
- version_requirements: !ruby/object:Gem::Requirement
317
- requirements:
318
- - - "~>"
319
- - !ruby/object:Gem::Version
320
- version: '3.18'
321
- - !ruby/object:Gem::Dependency
322
- name: yard
323
- requirement: !ruby/object:Gem::Requirement
324
- requirements:
325
- - - ">="
326
- - !ruby/object:Gem::Version
327
- version: 0.9.28
328
- type: :development
329
- prerelease: false
330
- version_requirements: !ruby/object:Gem::Requirement
331
- requirements:
332
- - - ">="
333
- - !ruby/object:Gem::Version
334
- version: 0.9.28
335
- - !ruby/object:Gem::Dependency
336
- name: yard-activesupport-concern
337
- requirement: !ruby/object:Gem::Requirement
338
- requirements:
339
- - - ">="
340
- - !ruby/object:Gem::Version
341
- version: 0.0.1
342
- type: :development
343
- prerelease: false
344
- version_requirements: !ruby/object:Gem::Requirement
345
- requirements:
346
- - - ">="
347
- - !ruby/object:Gem::Version
348
- version: 0.0.1
349
103
  description: A reusable Grape JWT authentication concern
350
104
  email:
351
105
  - hermann.mayer92@gmail.com
@@ -355,6 +109,7 @@ extra_rdoc_files: []
355
109
  files:
356
110
  - ".editorconfig"
357
111
  - ".github/workflows/documentation.yml"
112
+ - ".github/workflows/release.yml"
358
113
  - ".github/workflows/test.yml"
359
114
  - ".gitignore"
360
115
  - ".rspec"
@@ -363,6 +118,7 @@ files:
363
118
  - ".yardopts"
364
119
  - Appraisals
365
120
  - CHANGELOG.md
121
+ - CODE_OF_CONDUCT.md
366
122
  - Dockerfile
367
123
  - Envfile
368
124
  - Gemfile
@@ -385,7 +141,7 @@ files:
385
141
  - lib/grape/jwt/authentication/dependencies.rb
386
142
  - lib/grape/jwt/authentication/jwt_handler.rb
387
143
  - lib/grape/jwt/authentication/version.rb
388
- homepage:
144
+ homepage:
389
145
  licenses:
390
146
  - MIT
391
147
  metadata:
@@ -394,7 +150,7 @@ metadata:
394
150
  changelog_uri: https://github.com/hausgold/grape-jwt-authentication/blob/master/CHANGELOG.md
395
151
  bug_tracker_uri: https://github.com/hausgold/grape-jwt-authentication/issues
396
152
  documentation_uri: https://www.rubydoc.info/gems/grape-jwt-authentication
397
- post_install_message:
153
+ post_install_message:
398
154
  rdoc_options: []
399
155
  require_paths:
400
156
  - lib
@@ -409,8 +165,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
409
165
  - !ruby/object:Gem::Version
410
166
  version: '0'
411
167
  requirements: []
412
- rubygems_version: 3.3.8
413
- signing_key:
168
+ rubygems_version: 3.3.26
169
+ signing_key:
414
170
  specification_version: 4
415
171
  summary: A reusable Grape JWT authentication concern
416
172
  test_files: []