contacts_txt 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/contacts_txt.rb +8 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9619a274fc9f79d914bab2e1dccc66d4a3745315fea3421161a8454a8e96e953
|
4
|
+
data.tar.gz: 4986232a8a014cce1c7595ca2ed0571275c65c37bc351af12d9a7d62d03c1b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efbac6ef2397c828acec0bb40450f041beb26fa67c86ee5f12e87b708319fc474c2c78166a01f40a4c87cc719f108051f183a3f8285480e6fe8bff0ff2dd4053
|
7
|
+
data.tar.gz: e505035ed21b4bc6634b709539cd3c25887820f59065ab1292216aa34aa760b7d680eb4aac3a53e89f184a6d2cd396af9cd5a2e50fc3c448bff1fa4718ec5bca
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/contacts_txt.rb
CHANGED
@@ -83,6 +83,14 @@ class ContactsTxt
|
|
83
83
|
@dx.filter {|x| x.email.length > 0}
|
84
84
|
end
|
85
85
|
|
86
|
+
def list_names()
|
87
|
+
|
88
|
+
@dx.all.inject([]) do |r, x|
|
89
|
+
x.fullname.length >= 1 ? r << x.fullname : r
|
90
|
+
end
|
91
|
+
|
92
|
+
end
|
93
|
+
|
86
94
|
def mobile_list()
|
87
95
|
@dx.filter {|x| x.mobile.length > 0}
|
88
96
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contacts_txt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
Ms9N9IXVzqxWl6qaGY7lENrLhETsyyvXsYq+Djcg8A9Fvn3Fk3do1ooh9ePNno3a
|
31
31
|
1G4=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2018-12-
|
33
|
+
date: 2018-12-08 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: dynarex
|
metadata.gz.sig
CHANGED
Binary file
|