contacts_txt 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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/contacts_txt.rb +6 -2
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bfbcc863a75bd8144abe428442d84759fb9ed61
|
4
|
+
data.tar.gz: f38289dd6ae53b64723e845a29f9599ec431cd23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fa29dd794ce47737787aa0dfa1c54ab9256847d4736e614ca80bfe9c049e0144617b52551d3df92b1376b2a7a902f13f4735a1aa7ed82b5909be37fdb88350e
|
7
|
+
data.tar.gz: b925502e458d9c0682903d9f429cdd388f2423846bbfe1d2fe80791d3d165004dbe4dac6e8cf9232c19278537282cffcd4a79a77aab3756c2f58e880234272de
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/contacts_txt.rb
CHANGED
@@ -25,12 +25,16 @@ class ContactsTxt
|
|
25
25
|
def dx()
|
26
26
|
@dx
|
27
27
|
end
|
28
|
-
|
28
|
+
|
29
29
|
# returns a Dynarex object
|
30
|
-
#
|
30
|
+
#
|
31
31
|
def email_list()
|
32
32
|
@dx.filter {|x| x.email.length > 0}
|
33
33
|
end
|
34
|
+
|
35
|
+
def mobile_list()
|
36
|
+
@dx.filter {|x| x.mobile.length > 0}
|
37
|
+
end
|
34
38
|
|
35
39
|
def save(filename=@filename)
|
36
40
|
|
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.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
Ebw/4t8+mfs6ivuW6xdj3SlqhEXlfJ83mZuvJ3LtQteR5p0R8DSLcTXMkOrWD6wC
|
32
32
|
07GXbdChvjqXQg==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dynarex
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 1.7.17
|
56
56
|
description:
|
57
|
-
email: james@
|
57
|
+
email: james@jamesrobertson.eu
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.6.8
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Reads a contacts.txt file
|
metadata.gz.sig
CHANGED
Binary file
|