contacts_txt 0.2.4 → 0.2.5
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 +1 -1
- metadata +2 -2
- 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: f30081584d55a25cded5e381282e16ff7178d7f7
|
4
|
+
data.tar.gz: d997433b728d628547289736c6dc22735e278cf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c6fd58a3355932f1100c7057411fc48d1dd1127457a1f7b03a9c146c25d6e0067d1e8d2a722701cef33019ec0736df4599d8fac308210b830a4af15b0344d11
|
7
|
+
data.tar.gz: 77bc470e038b871de2f746236b8e4db04cc3d6d4334e34fcfa1545b8ec7615cc4ac467f410d7f5f0d6eeed39cfc6e85871d8c43f8b0a18fcbd2589cb4ca5a84b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/contacts_txt.rb
CHANGED
@@ -51,7 +51,7 @@ class ContactsTxt
|
|
51
51
|
|
52
52
|
def find_by_name(raw_name)
|
53
53
|
|
54
|
-
name = Regexp.new raw_name, Regexp::IGNORECASE
|
54
|
+
name = Regexp.new '\b' + raw_name + '\b', Regexp::IGNORECASE
|
55
55
|
|
56
56
|
@dx.all.select do |x|
|
57
57
|
x.fullname =~ name or x.firstname =~ name or x.lastname =~ name
|
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.5
|
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-
|
33
|
+
date: 2018-08-02 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: dynarex
|
metadata.gz.sig
CHANGED
Binary file
|