phcmemberspro 5.4.0 → 5.4.1

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: 23fa8c21324ad06e4c60ff9b129dcc6bdd33919b
4
- data.tar.gz: 57622dc94bb0b0c8f75cd99b29e59dd2492a3517
3
+ metadata.gz: ec860698968b2ce7a857f77513f098c43e6f9cc6
4
+ data.tar.gz: 8003313f970d35ab4ed81031d474606359dd7446
5
5
  SHA512:
6
- metadata.gz: 14bdd33cbfcd89cc54f21ecc234bf42a5f193142be34f77218f701390adc9d092818cca87f1af30ae478b977a8230fd1241dc7ada5680ceecb059d33a473e409
7
- data.tar.gz: 8c8f5f84440d7a1a42a03311ff5c4e08ba55b23c7d0ad5f580aa6ed7dc25414bf127b4aa2fe24d183280272adde7ea98b3ff266d2dfdf40be976ada27fca165f
6
+ metadata.gz: 96bab732f1295577950dd08abcaf3628ba40ff66b455d9cc6c1347f4b102918496e7f66970cb6a7c2274fa7f58afcd5d38ac1e314b0f015c9ce32fb0aa024b67
7
+ data.tar.gz: 3f249b243791052cc7daaa46024070ec633a314650677862194f09c762a83f9ea9d19e3decb07d8332afb7612c8cae650e4dd42a1c6dd230409f8ef0aeef0a76
@@ -10,7 +10,7 @@ module Phcmemberspro
10
10
 
11
11
  # Directory Category Index
12
12
  def index
13
- @current_member = Members::Main.where(user_id: current_user.id)
13
+ @directory_categories = Members::Main.where(user_id: current_user.id)
14
14
  end
15
15
 
16
16
  # Directory Category Details
@@ -7,7 +7,7 @@ module Phcmemberspro
7
7
  # Validation for Form Fields
8
8
  validates :catname,
9
9
  presence: true,
10
- uniqueness => {:scope => :user_id},
10
+ uniqueness: {scope: :user_id},
11
11
  length: { minimum: 3 }
12
12
 
13
13
  end
@@ -23,12 +23,12 @@ module Phcmemberspro
23
23
 
24
24
  validates :memail,
25
25
  presence: true,
26
- uniqueness => {:scope => :user_id},
26
+ uniqueness: {scope: :user_id},
27
27
  length: { minimum: 6 }
28
28
 
29
29
  validates :mphone,
30
30
  presence: true,
31
- uniqueness => {:scope => :user_id},
31
+ uniqueness: {scope: :user_id},
32
32
  format: { with: /\A(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}\z/, message: "Please Follow this Phone Number Format: xxx-xxx-xxxx" }
33
33
 
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module Phcmemberspro
2
- VERSION = "5.4.0"
2
+ VERSION = "5.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcmemberspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.0
4
+ version: 5.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts