devise_code_authenticatable 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b5687abf55cbcd513929cc7f4916ea130e1cfe1bc00e377f2def23b3d45d09d
4
- data.tar.gz: 7a2beb1b1b1782f22e2bc7e22e03f984350c1349e786c98904d21a3a0b5b11ba
3
+ metadata.gz: fd002956ced9c39d04aff6ae2571c6436a33d764a0018f0c1c63d076b1ab080d
4
+ data.tar.gz: 2b3b514a7add40d4aff0679369e16ffb2bb59168b4fc61d38f18177e4cb283f2
5
5
  SHA512:
6
- metadata.gz: 574d8ce1882127ec5dc92a983cf66a9c3c6fdb31e4dc963b4d1dcd5cf98857ac9b972c86e31cbbfae94a71496cdb5dad1577a8bd9507b0d9f188f8d4234efa50
7
- data.tar.gz: a854fe426af29f8039bf0bcedcd995499d79515f44cd7bb026bcff310deead4b6996c4731e3afb5002060b05e47f28937b7022200a143903454ea5e5c32e6a7d
6
+ metadata.gz: 5b2c4800b08725bdff4fe3b50ce11ce353494f5064f87a68dfa09df6044b282a11f6155e8a4d32d4eef3fc75abfae099d98c96e647ea597fe22fd06de0924733
7
+ data.tar.gz: 33ab15669026be9ab140fe8f81d6581dd5e652ba55c32615a3c18b48dd4e94d117c75d4e5daf977e317f897bcaedfe548830c437a5eb11045374152c383cef93
data/README.md CHANGED
@@ -1,9 +1,6 @@
1
1
  # DeviseCodeAuthenticatable
2
2
  A Devise plugin for two-factor authenticatable.
3
3
 
4
- ## Demo
5
- An example rails app to use this plugin is setup in [demo](https://github.com/vincentying15/demo_for_devise_code_authenticatable)
6
-
7
4
  ## Installation
8
5
  Add this line to your Rails Gemfile:
9
6
 
@@ -11,20 +8,18 @@ Add this line to your Rails Gemfile:
11
8
  gem 'devise_code_authenticatable'
12
9
  ```
13
10
 
14
- ### Automatic installation
15
11
  Run:
16
12
 
17
13
  ```bash
18
14
  rails generate devise_code_authenticatable:install
19
15
  ```
20
16
 
21
- This will create a migration file name in your `db/migrate` folder, then
17
+ This will create a migration file in your `db/migrate` folder, then
22
18
 
23
19
 
24
20
  ```ruby
25
21
  rails db:migrate
26
22
  ```
27
- ### Devise Configuration
28
23
  Add `:authenticatable` to the model you want to enable code_authenticatable, also make sure `:database_authenticatable` is removed
29
24
 
30
25
  ```ruby
@@ -1,3 +1,3 @@
1
1
  module DeviseCodeAuthenticatable
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_code_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vincentying15
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-10 00:00:00.000000000 Z
11
+ date: 2020-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 6.0.2
19
+ version: '6.0'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
22
  version: 6.0.2.1
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 6.0.2
29
+ version: '6.0'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 6.0.2.1