contacts_client 0.0.51 → 0.0.52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +10 -10
- data/app/models/email.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMjU2":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
5
|
-
|
4
|
+
NjZjNThhODkzMWUxOGY5OGNlOGQxMTEwNDExYTdkM2Y2ZDk5YWI3YWVmOGJi
|
5
|
+
NTRjNjNlNzUzMmUwMGE2NzhmOQ==
|
6
6
|
data.tar.gz: !binary |-
|
7
|
-
|
8
|
-
|
7
|
+
ZDE4ZmQ0MmRkMjI3MmZlYjBiMDhjZWUxMmI1NTc0NGIxNzFjZWM1NmQ2ZjJh
|
8
|
+
MDdlOWI5MzE4NjIxYmUyMTJlYw==
|
9
9
|
SHA512:
|
10
10
|
metadata.gz: !binary |-
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
MTRhODVkZjIyOWZmNmFiODJiNWU5YjY4ODFmNGM5ZDYwZGVkY2YzMTllMWZm
|
12
|
+
NjNhNzQ3ODJhZTM3YTEwMTgyOGExODc0NGZjNGE0YzBmMzA2NzRjMzlmN2Mz
|
13
|
+
MTgxNDhlODI5ZTZmNzZjOTUzZTM0M2JmZjJlZTFjNDg3YTI5ZjE=
|
14
14
|
data.tar.gz: !binary |-
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
OTEwMjBmOTI3ZjExZTllN2NhMTE3NzhiNzZhZWU0MWYwZGJmNzhlNDczMDEx
|
16
|
+
NTE4YTkxYTIwZjE3MTkzZGQzZmVlNTU1ZjE4N2VkZDFkYzc1NmZiNGYyZWI1
|
17
|
+
YmExODJkNDBmYWQwMWI0N2FhMmVhNGRhZDUxYTVkODZlMDYxNmU=
|
data/app/models/email.rb
CHANGED
@@ -17,7 +17,10 @@ class Email < ContactAttribute
|
|
17
17
|
self.class.name
|
18
18
|
end
|
19
19
|
|
20
|
-
|
20
|
+
|
21
|
+
# enable on rails4 # validates :value, { with: URI::MailTo::EMAIL_REGEXP }
|
22
|
+
validates :value, :email_format => true # before rails 4
|
23
|
+
|
21
24
|
|
22
25
|
private
|
23
26
|
def strip_whitespace
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contacts_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.52
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dwayne Macgowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|