contacts_txt 0.2.6 → 0.2.7

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
- SHA1:
3
- metadata.gz: 5ddae45ca148ba5ee0369d867d7b70e77177b5b1
4
- data.tar.gz: 05bdbb52835126daa081b2c6d543ea5bb8d52008
2
+ SHA256:
3
+ metadata.gz: a6172a8f8e5887490c16758f7290e18cd70c6d3c3474ce112ab79e05c9a88b16
4
+ data.tar.gz: aed66cdc86d8c18c834150c4c2e71f37e21c96eeaad74ca8dcc317ee35252e20
5
5
  SHA512:
6
- metadata.gz: c606d07d9205970259286045e14b7dbf53bfa2db714ba1697eb60670aef77f981e04c5b239a86281d128e2defa593c360447aa7413d5171196c2c5818f7414ee
7
- data.tar.gz: 0db64c9bdfb2cfc1dcca68aa4a334e144d59e5dca54c53143ed424fe6a7c6db35f2f1f8878253fbd5ba98e50cd144dd6813df64ea5b24c81c1a1d1e94be6c7fe
6
+ metadata.gz: 3b514849b808c3f87b8274548cdfc4a2b60295189f63932386fd3fcda3b3631247d169cf7a98916278f82ee97832d84551af20f816b774d2b6ae7e95272b4718
7
+ data.tar.gz: fe29d75dc92e9505e2744e8d28892c5fa7a9d6d649266c8b367bcb1c72503f5d280c782c4d15146e786763746695beec1673f424505e5d3f3ed25ed5a099e716
checksums.yaml.gz.sig CHANGED
@@ -1 +1 @@
1
- NC�� N�ݫ<,�\�89���x�$�>��p����?%�^V.����A�yA~,}'r�������/�3X�f%&@If'AV�_1�~d��_�hؖ���,?7X"RSzo��Dٷ����B_���vSz�Ij<bB��=KHQWYz�QVө�>+��M�����j��� d~���o1[�}L�'�I<t(����1�<��z>�Y"ɴ�����׷B4/=����P�e�z*vH%�oPU��*�Vѯ��pX
1
+ ^�AL/�+�zR`��>��m��ļ^�(oX�?�eC�����`�aV�_DOop�=����gz5��u1 �зcPTS����ZE$�΀b��M�h(��#�����{@�?�H�܄b���Z�D�jfjX"tj��a� J DI��K=Kej#�b����}�� �Q��\�m��W(��Mas�����'��,�����V�ٲ �/������hH��l50/5��+��`�#��H�Ÿ�%�S)0
data.tar.gz.sig CHANGED
Binary file
data/lib/contacts_txt.rb CHANGED
@@ -44,7 +44,7 @@ class ContactsTxt
44
44
 
45
45
  def find_by_mobile(raw_number, countrycode='44')
46
46
 
47
- number = Regexp.new number.sub(/^(?:0|#{countrycode})/,'').gsub(/ */,'')
47
+ number = Regexp.new raw_number.sub(/^(?:0|#{countrycode})/,'').gsub(/ */,'')
48
48
 
49
49
  @dx.all.find {|x| x.mobile.gsub(/ */,'') =~ number }
50
50
 
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.6
4
+ version: 0.2.7
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-08-06 00:00:00.000000000 Z
33
+ date: 2018-08-20 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: dynarex
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  requirements: []
81
81
  rubyforge_project:
82
- rubygems_version: 2.6.13
82
+ rubygems_version: 2.7.6
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: Reads a contacts.txt file
metadata.gz.sig CHANGED
Binary file