devise-security 0.14.0.rc1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +1 -1
- data/README.md +1 -1
- data/Rakefile +1 -2
- data/lib/devise-security/models/mongoid/old_password.rb +1 -1
- data/lib/devise-security/schema.rb +1 -1
- data/lib/devise-security/version.rb +1 -1
- data/test/dummy/db/migrate/20120508165529_create_tables.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f875949c3596aacd2a09f825b702622301681f698c670d2b6c168cb094683cb6
|
4
|
+
data.tar.gz: a6fc0fa7ec647e3b42fbf2d87f8b8e021519c5b0a452a5f6d1a343e3ccbd6756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02a70ddfe0355473ec47e4e44a573e18e9e1c3687ac748d2aac0a72b6df41dae012e722eec8d27c02dbc2ec8610c4141a7f06cd4e92237d88f25e98ce1993dd2
|
7
|
+
data.tar.gz: c0f4bf76ad2e033523de11ecba217c1fb21666eda4922ca6b7564dd7df34fa2d95d058ab3bdb78e8bb52dd4f7b9419bbd62a71e92554ccaaac2d59333127f99d
|
data/Appraisals
CHANGED
data/README.md
CHANGED
@@ -186,7 +186,7 @@ create_table :old_passwords do |t|
|
|
186
186
|
t.string :password_salt # Optional. bcrypt stores the salt in the encrypted password field so this column may not be necessary.
|
187
187
|
t.datetime :created_at
|
188
188
|
end
|
189
|
-
add_index :old_passwords, [:password_archivable_type, :password_archivable_id], name:
|
189
|
+
add_index :old_passwords, [:password_archivable_type, :password_archivable_id], name: 'index_password_archivable'
|
190
190
|
```
|
191
191
|
|
192
192
|
### Session limitable
|
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ class OldPassword
|
|
13
13
|
|
14
14
|
field :password_archivable_id, type: String
|
15
15
|
validates_presence_of :password_archivable_id
|
16
|
-
index({ password_archivable_type: 1, password_archivable_id: 1 }, name:
|
16
|
+
index({ password_archivable_type: 1, password_archivable_id: 1 }, name: 'index_password_archivable')
|
17
17
|
|
18
18
|
include Mongoid::Timestamps
|
19
19
|
|
@@ -29,7 +29,7 @@ module DeviseSecurity
|
|
29
29
|
# create_table :old_passwords do
|
30
30
|
# t.password_archivable
|
31
31
|
# end
|
32
|
-
# add_index :old_passwords, [:password_archivable_type, :password_archivable_id], name:
|
32
|
+
# add_index :old_passwords, [:password_archivable_type, :password_archivable_id], name: 'index_password_archivable'
|
33
33
|
#
|
34
34
|
def password_archivable
|
35
35
|
apply_devise_schema :encrypted_password, String, limit: 128, null: false
|
@@ -30,7 +30,7 @@ class CreateTables < MIGRATION_CLASS
|
|
30
30
|
t.integer :password_archivable_id, :null => false
|
31
31
|
t.datetime :created_at
|
32
32
|
end
|
33
|
-
add_index :old_passwords, [:password_archivable_type, :password_archivable_id], :
|
33
|
+
add_index :old_passwords, [:password_archivable_type, :password_archivable_id], name: 'index_password_archivable'
|
34
34
|
end
|
35
35
|
|
36
36
|
def self.down
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-security
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.0
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Scholl
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2019-
|
15
|
+
date: 2019-04-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: railties
|
@@ -418,9 +418,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
418
418
|
version: 2.3.0
|
419
419
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
420
420
|
requirements:
|
421
|
-
- - "
|
421
|
+
- - ">="
|
422
422
|
- !ruby/object:Gem::Version
|
423
|
-
version:
|
423
|
+
version: '0'
|
424
424
|
requirements: []
|
425
425
|
rubyforge_project:
|
426
426
|
rubygems_version: 2.7.8
|