lockie 0.2.2 → 0.2.3
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/README.md +2 -2
- data/lib/lockie/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22b01ff539d6b9fe6b8fb0fcd73e6b8bc105ca61a0648f8a16c89849d053fc51
|
|
4
|
+
data.tar.gz: 7599b02b2baa3bd11fb5c7047472103d45b81c175dfe718c04d419013f535b7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 489f49143709e699aa79b8c97af3936740b7b7806dfe46fdc5239a01d6dd2174344fc44a3e2813321593e15257e9ab23595e97e970c7a894de83207433042b18
|
|
7
|
+
data.tar.gz: 182b318346dea189a9b1798bc788cb7714d820ffe901a314cb406c4b2dc809cadff978262267175917132cfebd84bf73e7c0819dba154cf83bb3c21daee50bbc
|
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ A drop-in, none assuming warden based Password and JWT authentication for Rails
|
|
|
9
9
|
Add this line to your application's Gemfile:
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
|
-
gem 'lockie', '~> 0.2.
|
|
12
|
+
gem 'lockie', '~> 0.2.2'
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
And then execute:
|
|
@@ -30,7 +30,7 @@ Add the following lines to your base controller e.g. `ApplicationController`:
|
|
|
30
30
|
include Lockie::ControllerHelper
|
|
31
31
|
before_action :authenticate!
|
|
32
32
|
```
|
|
33
|
-
That's it! All your controllers that inherits `ApplicationController` are now protected
|
|
33
|
+
That's it! All your controllers that inherits `ApplicationController` are now protected with `Authorization token` or with `email and password`.
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
## Adding a session controller
|
data/lib/lockie/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lockie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Melvin Sembrano
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-03-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '5.2'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - "
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '5.2'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
136
|
version: '0'
|
|
137
137
|
requirements: []
|
|
138
|
-
rubygems_version: 3.0.
|
|
138
|
+
rubygems_version: 3.0.3
|
|
139
139
|
signing_key:
|
|
140
140
|
specification_version: 4
|
|
141
141
|
summary: Drop in password and JWT token authentication for Ruby on Rails
|