phonelib 0.6.15 → 0.6.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/extended_data.dat +0 -0
- data/data/phone_data.dat +0 -0
- data/lib/phonelib/phone_analyzer_helper.rb +1 -1
- data/lib/phonelib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0d8ac9905a06408a2e22941698f44b56b8e5f6a
|
4
|
+
data.tar.gz: 49518341f5949e58af9c7a5c694e1e09b2c3b770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0487064c4a034a250185030bfb101746f11155ed61d92988aaff04e946618334cec3441db27b2066ab4dcdc53933d7a2ec26c4970222c830b7bb87f8e15498ea'
|
7
|
+
data.tar.gz: 33cd7d06fb58d82afaa0c249277727c97d1a592619979e4ebb41c4e4204cb5456aa689833fdc1f908b7e53ed6e7defb539b44056f2ed9e4426a3324ffd5d1908
|
data/data/extended_data.dat
CHANGED
Binary file
|
data/data/phone_data.dat
CHANGED
Binary file
|
@@ -105,7 +105,7 @@ module Phonelib
|
|
105
105
|
regex << "(#{data[Core::INTERNATIONAL_PREFIX]})?"
|
106
106
|
regex << "(#{data[Core::COUNTRY_CODE]})#{country_optional ? '?' : ''}"
|
107
107
|
regex << "(#{data[Core::NATIONAL_PREFIX_FOR_PARSING] || data[Core::NATIONAL_PREFIX]})?"
|
108
|
-
regex << "(#{type_regex(data[Core::TYPES][Core::GENERAL], type)})"
|
108
|
+
regex << "(#{type_regex(data[Core::TYPES][Core::GENERAL], type)})" if data[Core::TYPES]
|
109
109
|
|
110
110
|
cr("^#{regex.join}$")
|
111
111
|
end
|
data/lib/phonelib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phonelib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vadim Senderovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09
|
11
|
+
date: 2017-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|