minimalist_authentication 2.1.4 → 2.1.5

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: f7b87a8cef7609390ef22d26995cb8ee9acca53ad0307c03ce7d83851411b6f4
4
- data.tar.gz: 5ca3252dc0515e323ae37de9658224629182bf5c8c0aa9c18f11d400b802c046
3
+ metadata.gz: da71f663f9018201e58575975d85f9956b7147993481c52faf412b4584d653a7
4
+ data.tar.gz: bd7928830eb2d4f1cf4dfe9a0a4530b759794d9a1b6c643a4d7d249a92f7777a
5
5
  SHA512:
6
- metadata.gz: a095c584ebc5b2dac48db94956cccce2057d845f640888d5b9ddca1566dbfcc84c239104043ee91cdf8495bf8120e23c12d179a03664e6aefcd00eb5367f82f4
7
- data.tar.gz: 2bdab56fcaf45777c4330f3bc45cac2bbc9981d3fda5209fed92702805d44f9de7918d846dda787902448a7e5a234aa8681407f67849cd602b0e47c6080b645a
6
+ metadata.gz: a7e0fb0718a42d7949f93a6ac8ce7ec47c4c4aef6c5221fd92b89f153e98d3ea51862a599a79da768f56772575026ca6a60a42e4d7f51dcf6c2b01358441d7df
7
+ data.tar.gz: 3ec3e7a79116e8bcb1ef98a609a95d693be43aadc55283d1f71c65e3cfa57a798955eedff1acc0c3b004d13cafa8f87da65f57b9964f8575472f39cbf6438d28
@@ -19,7 +19,7 @@ module MinimalistAuthentication
19
19
  end
20
20
 
21
21
  def matches_verification_token?(token)
22
- verification_token_valid? && secure_match?(token)
22
+ token.present? && verification_token_valid? && secure_match?(token)
23
23
  end
24
24
 
25
25
  def verification_token_valid?
@@ -1,3 +1,3 @@
1
1
  module MinimalistAuthentication
2
- VERSION = '2.1.4'
2
+ VERSION = '2.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimalist_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Baldwin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-25 00:00:00.000000000 Z
12
+ date: 2019-07-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.7.7
128
+ rubygems_version: 3.0.4
130
129
  signing_key:
131
130
  specification_version: 4
132
131
  summary: A Rails authentication plugin that takes a minimalist approach.