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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c4792b4c6cfb7669e27f8a7e10e07120a775e6df6e49684a58d0739c037455f
4
- data.tar.gz: 9680c97a0e97e21f8e3c7c731be1b75ca3b9d32d43992069204707f91a8bbc82
3
+ metadata.gz: f875949c3596aacd2a09f825b702622301681f698c670d2b6c168cb094683cb6
4
+ data.tar.gz: a6fc0fa7ec647e3b42fbf2d87f8b8e021519c5b0a452a5f6d1a343e3ccbd6756
5
5
  SHA512:
6
- metadata.gz: 6c4a5e3d4770a85b291591fb97251b44643b2f7a777e91eccd188ef17695acc6de6cd42dd05ffb8a21b6b4ea08ae70e583df2c7533424e35bb77c132740cbaad
7
- data.tar.gz: a865684ed344f4f543b29217a6cd2ce0e62ef523de6953f4a8e5f41631b69943d8a38df0a2ce6b7a2a13fc6119c15aecdf1d65e95ef838fdd7769c78bfe91353
6
+ metadata.gz: 02a70ddfe0355473ec47e4e44a573e18e9e1c3687ac748d2aac0a72b6df41dae012e722eec8d27c02dbc2ec8610c4141a7f06cd4e92237d88f25e98ce1993dd2
7
+ data.tar.gz: c0f4bf76ad2e033523de11ecba217c1fb21666eda4922ca6b7564dd7df34fa2d95d058ab3bdb78e8bb52dd4f7b9419bbd62a71e92554ccaaac2d59333127f99d
data/Appraisals CHANGED
@@ -28,7 +28,7 @@ appraise 'rails-5.2-stable' do
28
28
  end
29
29
 
30
30
  appraise 'rails-6.0-beta' do
31
- gem 'rails', '~> 6.0.0.beta1'
31
+ gem 'rails', '~> 6.0.0.beta3'
32
32
  group :mongoid do
33
33
  gem "mongoid", "~> 6.0"
34
34
  end
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: :index_password_archivable
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
@@ -1,8 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  $LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'lib')
4
- require 'rubygems'
5
- require 'bundler'
4
+ require 'bundler/gem_tasks'
6
5
  require 'rake/testtask'
7
6
  require 'rdoc/task'
8
7
  require 'devise-security/version'
@@ -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: :index_password_archivable)
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: :index_password_archivable
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeviseSecurity
4
- VERSION = '0.14.0.rc1'
4
+ VERSION = '0.14.0'
5
5
  end
@@ -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], :name => :index_password_archivable
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.rc1
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-03-07 00:00:00.000000000 Z
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: 1.3.1
423
+ version: '0'
424
424
  requirements: []
425
425
  rubyforge_project:
426
426
  rubygems_version: 2.7.8