rails_jwt_auth 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -11
- data/lib/generators/rails_jwt_auth/install_generator.rb +2 -2
- data/lib/rails_jwt_auth/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: 6dea41e10dc4a6cbed20dda27ee1c6e0f68a947c08fa83e0c617e7f2407156b8
|
4
|
+
data.tar.gz: b1331f29423b908ba9712c1a5ebf303dc21a13577507c27ff47ce08f6c585902
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68dda6972d70400b76987eec57c1e3323eb3f7eac49c3f4eb3102a8ca0fe9d2b8e621743aa50147545ce3d4ddb17cc15d20942872fe94f077aa6094238e1afed
|
7
|
+
data.tar.gz: 573960c4cad77a2cce9de2e33008c2beae5210fce9f1d3b9c1fc3747a5ca18bab3a133f3055d24a85e83bd22713606564d100a134735e09d7ebade47e6b7ffea
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# RailsJwtAuth
|
2
2
|
|
3
|
-
|
3
|
+
![Gem Version](https://badge.fury.io/rb/rails_jwt_auth.svg)
|
4
4
|
![Build Status](https://travis-ci.org/rjurado01/rails_jwt_auth.svg?branch=master)
|
5
5
|
|
6
6
|
Rails-API authentication solution based on JWT and inspired by Devise.
|
@@ -241,16 +241,6 @@ Registration api is defined by `RailsJwtAuth::RegistrationsController`.
|
|
241
241
|
}
|
242
242
|
```
|
243
243
|
|
244
|
-
2. Delete user:
|
245
|
-
|
246
|
-
```js
|
247
|
-
{
|
248
|
-
url: host/registration,
|
249
|
-
method: DELETE,
|
250
|
-
headers: { 'Authorization': 'Bearer auth_token'}
|
251
|
-
}
|
252
|
-
```
|
253
|
-
|
254
244
|
### Confirmation
|
255
245
|
|
256
246
|
Confirmation api is defined by `RailsJwtAuth::ConfirmationsController`.
|
@@ -6,8 +6,8 @@ class RailsJwtAuth::InstallGenerator < Rails::Generators::Base
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def create_routes
|
9
|
-
route "
|
10
|
-
route "
|
9
|
+
route "resource :session, controller: 'rails_jwt_auth/sessions', only: [:create, :destroy]"
|
10
|
+
route "resource :registration, controller: 'rails_jwt_auth/registrations', only: [:create]"
|
11
11
|
|
12
12
|
route "resources :confirmations, controller: 'rails_jwt_auth/confirmations', only: [:create, :update]"
|
13
13
|
route "resources :passwords, controller: 'rails_jwt_auth/passwords', only: [:create, :update]"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_jwt_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rjurado
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|
@@ -58,8 +58,7 @@ dependencies:
|
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '6.1'
|
61
|
-
description: Rails authentication solution based on
|
62
|
-
Devise.
|
61
|
+
description: Rails-API authentication solution based on JWT and inspired by Devise.
|
63
62
|
email:
|
64
63
|
- rjurado@openmailbox.org
|
65
64
|
executables: []
|