authentication-zero 2.15.3 → 2.15.4

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: 6fb0a9a6a553fede5d9554fed3c4d616b61e75c5e503fde621785003f0911fd4
4
- data.tar.gz: 1f0d80023ec24a5b7395fe5e6b60efe3b437111f757205c98a569e66dcdbc0a3
3
+ metadata.gz: 672ec873e54822b2b2326c699dd9a0be3ea0034251c38b34c5ef541be69967b6
4
+ data.tar.gz: a4e898e189bb3e20fb2e143378c8a6625d857ff57619592b669de9e076dfc6d1
5
5
  SHA512:
6
- metadata.gz: 0e5041cf30bce8ebc6ad319c51b803d6af97055c59e4e7d74d56cb3abdb8d3555fce1b96f03b11cdfd7bb63022b20d50ae55774cbd84a921165f4bc2bb8b4c60
7
- data.tar.gz: 8a26de6eedb1d793e3c58eb0f9f8d0289e1903e641ba538e30de3f43d6f8325e7386430808a56b857e6a9bb3bee261e731da2a180380d300165077a13d2be2f1
6
+ metadata.gz: '02690154f0a711b3cdeafe89b38d318d01b974e0ac78e5648d26ae8c76e44486b00973100076e17df7bbae1a9e1d01b4190c4242b479f538159a1eb5fd4d6236'
7
+ data.tar.gz: a65f3ebcdb0804789e0546db6ca5370056e93d4713bf0576133af58cc2e3dc6eb4005750d3677618121ef8f7ecb44e96a46f2b797a6cdbd23e4675eb89872e45
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- authentication-zero (2.15.3)
4
+ authentication-zero (2.15.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module AuthenticationZero
2
- VERSION = "2.15.3"
2
+ VERSION = "2.15.4"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
2
2
  def change
3
3
  create_table :email_verification_tokens do |t|
4
- t.references :user, null: false, foreign_key: true
4
+ t.references :user, null: false, foreign_key: false
5
5
  end
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
2
2
  def change
3
3
  create_table :password_reset_tokens do |t|
4
- t.references :user, null: false, foreign_key: true
4
+ t.references :user, null: false, foreign_key: false
5
5
  end
6
6
  end
7
7
  end
@@ -1,8 +1,8 @@
1
1
  class User < ApplicationRecord
2
2
  has_secure_password
3
3
 
4
- has_one :email_verification_token, dependent: :destroy
5
- has_one :password_reset_token, dependent: :destroy
4
+ has_one :email_verification_token
5
+ has_one :password_reset_token
6
6
 
7
7
  has_many :sessions, dependent: :destroy
8
8
  <%- if options.trackable? -%>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentication-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.3
4
+ version: 2.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-14 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: