minimalist_authentication 2.2.0 → 2.2.1

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: 7a2486a7a8ebc10d0d26d0d91086b3897ab00cd9b5ab7a8536d4446158fb814f
4
- data.tar.gz: d947bf6cd11550149928753b2deb7bef9d6d6b86ce77519ed4aa26e7fd0dcca7
3
+ metadata.gz: 7393c90dec001c1a5cc41a7671335a14525c2df82b5b1ef6f09695d0f5eb618d
4
+ data.tar.gz: 5938f2b31f6139096fd59b4c2257d6056b216d276e4d4cfbad5c67edd34cbed5
5
5
  SHA512:
6
- metadata.gz: b563bfa903c84aeecf8ca548b3c0f82782916b2d73f3ab323ebec38436dc233b2e5f3417fb4f017b3eecfe776478ff976b79ed7bee1e379766acac6f02f5e85a
7
- data.tar.gz: 89f97497d4d358311f4a80cc83fa5a6cc31ddcaebf4719576f5ce563eb0b28d9c0a590ede7094b1fe79df7945a51735bedd7d15ee5369c2fb8c0052bc46ac341
6
+ metadata.gz: f84a1b08c525c57f5974d7d73f7eba50835952ea29ff8f9336d2e31af53a92074f59cb319002ab6647dddeab6cb126077cb92a01c5349a6ad5a1980e4c4c75d4
7
+ data.tar.gz: 75636fe9e427511d02809c232fd6bb6692fa5bdad2db564391ce5e97a4d8cecee149f836330849f006c8d470509f283b6c641812967dbedac058464ead0d47c5
@@ -20,9 +20,9 @@ module MinimalistAuthentication
20
20
  before_save :hash_password
21
21
 
22
22
  # Email validations
23
- validates_presence_of :email, if: :validate_email_presence?
24
- validates_uniqueness_of :email, allow_blank: true, if: :validate_email?
25
- validates_format_of :email, allow_blank: true, with: EMAIL_REGEX, if: :validate_email?
23
+ validates_presence_of :email, if: :validate_email_presence?
24
+ validates_uniqueness_of :email, allow_blank: true, case_sensitive: false, if: :validate_email?
25
+ validates_format_of :email, allow_blank: true, with: EMAIL_REGEX, if: :validate_email?
26
26
 
27
27
  # Password validations
28
28
  validates_presence_of :password, if: :validate_password?
@@ -1,3 +1,3 @@
1
1
  module MinimalistAuthentication
2
- VERSION = '2.2.0'
2
+ VERSION = '2.2.1'
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.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Baldwin