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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b04f5d5c2877130ad7148f8f70f59a7152c952a
4
- data.tar.gz: 4ec53ce5b4a212a1ecaa0b948880d5ab9ebc5ea4
3
+ metadata.gz: 1bfbcc863a75bd8144abe428442d84759fb9ed61
4
+ data.tar.gz: f38289dd6ae53b64723e845a29f9599ec431cd23
5
5
  SHA512:
6
- metadata.gz: e8d499c9199611a2b4d20606707a6030e5d9fa38d35aa70a43a0b79d4dfe134b69d2104e251f11055472622e9d25f4e80a7243a245b04d03b04c99701cdd7808
7
- data.tar.gz: 1aa070d581222a12060a720c44fca986a707fecb2f328182d2b11c414dfb6dceba0139458790613e08d131bdefc6781bbac19e4c74975eb5770cf571a6b2c63c
6
+ metadata.gz: 5fa29dd794ce47737787aa0dfa1c54ab9256847d4736e614ca80bfe9c049e0144617b52551d3df92b1376b2a7a902f13f4735a1aa7ed82b5909be37fdb88350e
7
+ data.tar.gz: b925502e458d9c0682903d9f429cdd388f2423846bbfe1d2fe80791d3d165004dbe4dac6e8cf9232c19278537282cffcd4a79a77aab3756c2f58e880234272de
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.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: 2016-12-23 00:00:00.000000000 Z
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@r0bertson.co.uk
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.5.1
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