devise-jwt 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +5 -0
- data/Dockerfile +7 -9
- data/README.md +1 -1
- data/docker-compose.yml +7 -2
- data/lib/devise/jwt/railtie.rb +9 -0
- data/lib/devise/jwt/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fe413aae5cfcb2c703195cf5e4316f84efeecbf8f05ccca617dad9cce617009
|
4
|
+
data.tar.gz: aed9bfe1e2852eea2dc04885a4e6afc1375cc2aa6a41d273894d4611042d7cf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5856bab014b5ef50d4c2412618f74307b8261dc117a4335f0597e3cc1fd67b1d74c568bc15b12a0961fdcd0d8edf0e07ef67280eb24d8eb43177152b3760d70a
|
7
|
+
data.tar.gz: 0c3fd2d91daaefc8b261341498a6a359aa8092ca56d1f95ad934cf0e746761140de117f3ff9f08b8da48240cf8eaaeea62b8d473a7aeabe3bc693889dbd77c35
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@ 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.8.1] - 2020-02-14
|
8
|
+
### Fixed
|
9
|
+
- Fix behaviour on code reload
|
10
|
+
- Support ruby 3.0 and deprecate ruby 2.5
|
11
|
+
|
7
12
|
## [0.8.0] - 2020-07-06
|
8
13
|
### Fixed
|
9
14
|
- Fix compatibility with last version of dry-configurable
|
data/Dockerfile
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
FROM ruby:
|
2
|
-
ENV
|
3
|
-
|
4
|
-
|
5
|
-
RUN
|
6
|
-
|
7
|
-
|
8
|
-
COPY $LIB_DIR/version.rb $APP_HOME/$LIB_DIR
|
9
|
-
RUN bundle install
|
1
|
+
FROM ruby:3.0.0
|
2
|
+
ENV APP_USER devise_jwt_user
|
3
|
+
RUN apt-get update -qq && \
|
4
|
+
apt-get install -y build-essential sqlite3 libsqlite3-dev
|
5
|
+
RUN useradd -ms /bin/bash $APP_USER
|
6
|
+
USER $APP_USER
|
7
|
+
WORKDIR /home/$APP_USER/app
|
data/README.md
CHANGED
data/docker-compose.yml
CHANGED
data/lib/devise/jwt/railtie.rb
CHANGED
@@ -21,6 +21,15 @@ module Devise
|
|
21
21
|
config.revocation_strategies = defaults[:revocation_strategies]
|
22
22
|
end
|
23
23
|
end
|
24
|
+
|
25
|
+
ActiveSupport::Reloader.to_prepare do
|
26
|
+
Warden::JWTAuth.configure do |config|
|
27
|
+
defaults = DefaultsGenerator.call
|
28
|
+
|
29
|
+
config.mappings = defaults[:mappings]
|
30
|
+
config.revocation_strategies = defaults[:revocation_strategies]
|
31
|
+
end
|
32
|
+
end
|
24
33
|
end
|
25
34
|
end
|
26
35
|
end
|
data/lib/devise/jwt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-jwt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.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:
|
11
|
+
date: 2021-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -248,8 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
248
|
- !ruby/object:Gem::Version
|
249
249
|
version: '0'
|
250
250
|
requirements: []
|
251
|
-
|
252
|
-
rubygems_version: 2.7.8
|
251
|
+
rubygems_version: 3.2.3
|
253
252
|
signing_key:
|
254
253
|
specification_version: 4
|
255
254
|
summary: JWT authentication for devise
|