jay_doubleu_tee 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99f790e08b792c0ba695a3a4f58a763d9dde8ce4115e945f28d3cf43da6c4118
4
- data.tar.gz: e2041a8d8edf5a0b2caf14dbfeb6e64839e3bc4146a80b08e02df6f071fa724c
3
+ metadata.gz: 1ca496fec80501e8e98bc75a5965dfc18cce6768e9285c7ec234de1296256e9f
4
+ data.tar.gz: 5ad933fb852efaff69de32b0d14066e4801fb6954e43e97c1bf29949a6b52b69
5
5
  SHA512:
6
- metadata.gz: 173ceb6452a1084064adb766cf711b0ed4f4891da056e67bb1cd1cfec2584591f270a13a0e1caa74b3338fbe3941480e601f7c81a721a3162587a7165bb7f63f
7
- data.tar.gz: 44b3582ca38846273810922bbfd7175f65da84bbfd71a66057af29bf382211c89fea23982e24caf9f62eaf6ec2755b0f1eb860aa672dcfdea745fe2e50ac7f49
6
+ metadata.gz: 7e124fc6bfe66c4ec3d9e65e6a1c07f9f509b174727b7e77f6cf1c18cb699876abea9c9e1174a0d166739dfc8aab6b4b2f4e5b95d88c97abd394f5d76130d6c3
7
+ data.tar.gz: d7c8b055c577e28513cede0ae6473df26d15c88b38f83829a6ab689aef397d692816e59f742125432478c2c9a61928bb236cc0933f9b0a83c3ba90d362597bf1
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.0.2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jay_doubleu_tee (0.3.0)
4
+ jay_doubleu_tee (0.3.1)
5
5
  dry-configurable
6
6
  dry-effects
7
7
  dry-monads
@@ -62,4 +62,4 @@ DEPENDENCIES
62
62
  rspec (~> 3.0)
63
63
 
64
64
  BUNDLED WITH
65
- 2.1.4
65
+ 2.4.3
data/README.md CHANGED
@@ -167,6 +167,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
167
167
 
168
168
  It's built on top of several gems to ensure the best user experience.
169
169
 
170
+ - [Hanami Mastery screencast](https://hanamimastery.com/episodes/12-authorization-with-jwt)
170
171
  - [JWT](https://github.com/jwt/ruby-jwt#algorithms-and-usage)
171
172
  - [dry-effects](https://dry-rb.org/gems/dry-effects). Here is the [video tutorial for dry-effects](https://hanamimastery.com/episodes/11-effective-ruby-programming-with-dry-effects)
172
173
  - [dry-monads](https://dry-rb.org/gems/dry-monads). Here is a [video tutorial for dry-monads](https://hanamimastery.com/episodes/7-untangle-your-app-with-dry-monads)
@@ -1,3 +1,3 @@
1
1
  module JayDoubleuTee
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -14,7 +14,7 @@ module JayDoubleuTee
14
14
 
15
15
  extend Dry::Configurable
16
16
 
17
- setting :algorithm, default: 'RS256' do |value|
17
+ setting :algorithm, default: 'RS256', constructor: ->(value) do
18
18
  raise ConfigurationError, "Unsupported algorithm." unless ALGORITHMS.include?(value)
19
19
  value
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jay_doubleu_tee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Wilgosz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-31 00:00:00.000000000 Z
11
+ date: 2023-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -76,6 +76,7 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - ".gitignore"
78
78
  - ".rspec"
79
+ - ".tool-versions"
79
80
  - ".travis.yml"
80
81
  - CODE_OF_CONDUCT.md
81
82
  - Gemfile
@@ -116,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
117
  - !ruby/object:Gem::Version
117
118
  version: '0'
118
119
  requirements: []
119
- rubygems_version: 3.1.4
120
+ rubygems_version: 3.2.31
120
121
  signing_key:
121
122
  specification_version: 4
122
123
  summary: A JWT authorization solution for any ruby web app.