philiprehberger-jwt_kit 0.3.0 → 0.3.2
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/CHANGELOG.md +10 -0
- data/README.md +17 -11
- data/lib/philiprehberger/jwt_kit/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b513b3bc5d568092e0a8088d423e2beade5a1b57b00486ba67f9730b9aceb6c
|
|
4
|
+
data.tar.gz: 07dcb4ce8c3ece9f4880c04e8367467ba3e5eb0da24bb753c577cc124e598a92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 597007459eeba4fb603b8b3322eead718e04a320594fb63ba1908e90a146e03f71f110ad5656d62b1d2a8dfaed9e74d4a03737373b1861744af723f1bed6c906
|
|
7
|
+
data.tar.gz: c93b1e5bd2d9c76bccdeff6bd1f3e797d3aa047f725d13c76b36d4ad346e06da50c3a7fe542f6bead0cf6dc93b0835ed5c9234dbe1c9a2a6be147dcf5aee7242
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.2] - 2026-04-09
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- CI: split long gemspec summary line to satisfy RuboCop Layout/LineLength.
|
|
14
|
+
|
|
15
|
+
## [0.3.1] - 2026-04-08
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Align gemspec summary with README description.
|
|
19
|
+
|
|
10
20
|
## [0.3.0] - 2026-03-31
|
|
11
21
|
|
|
12
22
|
### Added
|
data/README.md
CHANGED
|
@@ -2,14 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/philiprehberger/rb-jwt-kit/actions/workflows/ci.yml)
|
|
4
4
|
[](https://rubygems.org/gems/philiprehberger-jwt_kit)
|
|
5
|
-
[](https://github.com/philiprehberger/rb-jwt-kit/releases)
|
|
6
5
|
[](https://github.com/philiprehberger/rb-jwt-kit/commits/main)
|
|
7
|
-
[](LICENSE)
|
|
8
|
-
[](https://github.com/philiprehberger/rb-jwt-kit/issues?q=is%3Aissue+is%3Aopen+label%3Abug)
|
|
9
|
-
[](https://github.com/philiprehberger/rb-jwt-kit/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement)
|
|
10
|
-
[](https://github.com/sponsors/philiprehberger)
|
|
11
6
|
|
|
12
|
-
Opinionated JWT toolkit with encoding, validation, refresh tokens, and
|
|
7
|
+
Opinionated JWT toolkit for Ruby — secure by default, with support for encoding, validation, refresh tokens, revocation, and key rotation
|
|
13
8
|
|
|
14
9
|
## Requirements
|
|
15
10
|
|
|
@@ -117,8 +112,8 @@ result[:payload] # => {"user_id"=>42, "exp"=>..., "iat"=>..., "jti"=>...}
|
|
|
117
112
|
|
|
118
113
|
```ruby
|
|
119
114
|
Philiprehberger::JwtKit.configure do |c|
|
|
120
|
-
c.secret =
|
|
121
|
-
c.audience =
|
|
115
|
+
c.secret = "secret"
|
|
116
|
+
c.audience = "my-api" # string or array of strings
|
|
122
117
|
end
|
|
123
118
|
|
|
124
119
|
# Tokens automatically include the `aud` claim
|
|
@@ -204,10 +199,21 @@ bundle exec rubocop
|
|
|
204
199
|
|
|
205
200
|
## Support
|
|
206
201
|
|
|
207
|
-
If you find this
|
|
202
|
+
If you find this project useful:
|
|
208
203
|
|
|
209
|
-
[
|
|
210
|
-
|
|
204
|
+
⭐ [Star the repo](https://github.com/philiprehberger/rb-jwt-kit)
|
|
205
|
+
|
|
206
|
+
🐛 [Report issues](https://github.com/philiprehberger/rb-jwt-kit/issues?q=is%3Aissue+is%3Aopen+label%3Abug)
|
|
207
|
+
|
|
208
|
+
💡 [Suggest features](https://github.com/philiprehberger/rb-jwt-kit/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement)
|
|
209
|
+
|
|
210
|
+
❤️ [Sponsor development](https://github.com/sponsors/philiprehberger)
|
|
211
|
+
|
|
212
|
+
🌐 [All Open Source Projects](https://philiprehberger.com/open-source-packages)
|
|
213
|
+
|
|
214
|
+
💻 [GitHub Profile](https://github.com/philiprehberger)
|
|
215
|
+
|
|
216
|
+
🔗 [LinkedIn Profile](https://www.linkedin.com/in/philiprehberger)
|
|
211
217
|
|
|
212
218
|
## License
|
|
213
219
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: philiprehberger-jwt_kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Philip Rehberger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A complete JWT toolkit for Ruby. Encode and decode tokens with automatic
|
|
14
14
|
claim management (exp, iat, iss, jti), generate access/refresh token pairs, validate
|
|
@@ -56,5 +56,6 @@ requirements: []
|
|
|
56
56
|
rubygems_version: 3.5.22
|
|
57
57
|
signing_key:
|
|
58
58
|
specification_version: 4
|
|
59
|
-
summary: Opinionated JWT toolkit
|
|
59
|
+
summary: Opinionated JWT toolkit for Ruby — secure by default, with support for encoding,
|
|
60
|
+
validation, refresh tokens, revocation, and key rotation
|
|
60
61
|
test_files: []
|