dash_myadventist 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: b8ee1f4facf467942dcb3fa1b1af29ef072b037d
4
- data.tar.gz: 2be04a076538cd27f590208495570878381734b9
3
+ metadata.gz: 6936a424b59212b5bd5f1131696b826b3f843e61
4
+ data.tar.gz: 6f1461b4ed1e0caec0a5e2102428ffe09d3d510c
5
5
  SHA512:
6
- metadata.gz: 83457218c8d41ff42855053f1031d065d822e87dc618b9d9db505ec3b664f5e329f9e6d73418e5740707904606adb675e6a864fa9712c5d6bc0d474437459d61
7
- data.tar.gz: 0f52f66bf103a40cbfa195bd8341eb7be55bea76182c387c8501c99f0a68aa9749e2cbe753a2551a1564d9d603f3d548f1dd1c21d2af3bf265a7e5c781cc44d8
6
+ metadata.gz: 5f6bb0f962eb2c130e966d47171087a3f58ccf1ca16af81a4b8c8a395f925e6cec3222a6261f96f27fdc18162b0f5d12bb71c6e23a1bd2dad90fd0abec63dc97
7
+ data.tar.gz: 0643f6b4685e624ce098c85e708180deeb052044ee416e42cbaab58369492165313ced23f5ad2ff91794b77467d89423572a44552f0000b327dd178cd812e1a3
@@ -3,8 +3,8 @@ class MyadventistUser
3
3
 
4
4
  validates :first_name, :last_name, :email, :password, presence: true
5
5
  validates :email, email: true
6
- # Password complexity: at least 1 digit, uppercase, lowercase, symbol
7
- validates :password, length: {minimum: 12}, format: { with: /(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*\W).*/, message: I18n.t("dash_myadventist.myadventist_user.validations.password_complexity") }
6
+ # Password complexity: at least 1 uppercase and lowercase character
7
+ validates :password, length: {minimum: 12}, format: { with: /(?=.*[A-Z])(?=.*[a-z]).*/, message: I18n.t("dash_myadventist.myadventist_user.validations.password_complexity") }
8
8
 
9
9
  attr_accessor :first_name, :last_name, :email, :password, :adventist_uid
10
10
 
@@ -37,4 +37,4 @@ en:
37
37
  terms_of_use: terms of use
38
38
  myadventist_user:
39
39
  validations:
40
- password_complexity: requires 12 or more characters with at least one uppercase & lowercase character
40
+ password_complexity: requires at least one uppercase and lowercase character
@@ -1,3 +1,3 @@
1
1
  module DashMyadventist
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dash_myadventist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - adventistmedia