warden-jwt_auth 0.4.0 → 0.4.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: '08fbf8be1ea2562fdf818a1903e0c7a7a1bf2ec10de9915de41f419edb48b75c'
4
- data.tar.gz: 7e12556b1273851e036659028c319399322757a4ba84d5f5ded65081e2e2297a
3
+ metadata.gz: b475f458e9adf1097324377c7ade74b9588ef9cd47f118242492d99827cf9964
4
+ data.tar.gz: d056f9ad9ca86eb2333990d03dde267596f0e89a1113ce31c53dc7870d5e759e
5
5
  SHA512:
6
- metadata.gz: 32022229cd5c21e19f677d4272c09b70a4e551df4ea37dc267f3a935ce428361fc2e3b9e89a8c6976f1f6aee1710e5d8c3e849632d91c18601b76a758b85e149
7
- data.tar.gz: '028fab1a3abf352782f8d0492a4a5154ab20a0b9f7ae58f921f171582aa935f44e09d68359ad24c731b50af5715105c2fce3f837c537bd0d7012e055dc832281'
6
+ metadata.gz: 1e436835b182b57bf302ebfb35c54437344746fcc0e0af40b7b11d0889f20a1f0805e2fb59d533e396b58c739ed10b8edfcf3b8434d7f52619d4cf9fa7d7cb33
7
+ data.tar.gz: fec8c82f12818c341d5fa196b4f4b1a123a02570a478c4a7bd98a0c61422f84449ae2828db341f0371ec12bd860e0461530056ef679206220f7d591a2fff7575
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## [0.4.1] - 2020-02-23
8
+ - Upgrade dry-configurable dependency to fix upstream bug preventing
9
+ warden-jwt_auth to be loaded ([21](https://github.com/waiting-for-dev/warden-jwt_auth/issues/21)).
10
+
7
11
  ## [0.4.0] - 2019-08-01
8
12
  ### Added
9
13
  - Allow configuration of the signing algorithm ([19](https://github.com/waiting-for-dev/warden-jwt_auth/pull/19)].
data/README.md CHANGED
@@ -24,7 +24,7 @@ If what you need is a JWT authentication library for [devise](https://github.com
24
24
  ## Installation
25
25
 
26
26
  ```ruby
27
- gem 'warden-jwt_auth', '~> 0.3.6'
27
+ gem 'warden-jwt_auth'
28
28
  ```
29
29
 
30
30
  And then execute:
@@ -60,7 +60,7 @@ end
60
60
  **Important:** You are encouraged to use a dedicated secret key, different than others in use in your application. If several components share the same secret key, chances that a vulnerability in one of them has a wider impact increase. Also, never share your secrets pushing it to a remote repository, you are better off using an environment variable like in the example.
61
61
 
62
62
  Currently, HS256 algorithm is the default.
63
- Configure the matching secret and algorithm name to use a different one (e.g. RS256)
63
+ Configure the matching secret and algorithm name to use a different one (e.g. RS256) (see [ruby-jwt](https://github.com/jwt/ruby-jwt#algorithms-and-usage) to see which are supported)
64
64
  ```ruby
65
65
  Warden::JWTAuth.configure do |config|
66
66
  config.secret = OpenSSL::PKey::RSA.new(ENV['WARDEN_JWT_SECRET_KEY'])
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Warden
4
4
  module JWTAuth
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ['lib']
22
22
 
23
23
  spec.add_dependency 'dry-auto_inject', '~> 0.6'
24
- spec.add_dependency 'dry-configurable', '~> 0.8'
24
+ spec.add_dependency 'dry-configurable', '~> 0.11', '>= 0.11.3'
25
25
  spec.add_dependency 'jwt', '~> 2.1'
26
26
  spec.add_dependency 'warden', '~> 1.2'
27
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warden-jwt_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Busqué
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-01 00:00:00.000000000 Z
11
+ date: 2020-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-auto_inject
@@ -30,14 +30,20 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.8'
33
+ version: '0.11'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 0.11.3
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
- version: '0.8'
43
+ version: '0.11'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.11.3
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: jwt
43
49
  requirement: !ruby/object:Gem::Requirement