phonelib 0.6.52 → 0.6.53
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/data_importer.rb +1 -1
- data/lib/phonelib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4801da2a9c49dd2b0295e53602d7061b1c6177484e5da8e2ba470b0f2de547d5
|
4
|
+
data.tar.gz: 282238ee5f874e8f03f813b0c575e410d2a1f3d3bf4ae51b53bdc45b12e246d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa81f599a3ec2e01f773fdd43b652aa447561b7c630f302ef2ea86e815311c9ab22b2c36624111c49e2c2faddc54858c780d6c1fb306365f5c889de9b37f1f0c
|
7
|
+
data.tar.gz: b5753621b2cf0d7947b029dcf0ec6fae358706b4d73a67eed881150cfca6be8fe287b031e5021f3759022bfd408c92d3a235c8b1b90491d77294da4b9cadd6d2
|
data/data/extended_data.dat
CHANGED
Binary file
|
data/data/phone_data.dat
CHANGED
Binary file
|
@@ -148,7 +148,7 @@ module Phonelib
|
|
148
148
|
io = open('http://api.geonames.org/countryInfoCSV?username=demo&style=full')
|
149
149
|
csv = CSV.new(io, {col_sep: "\t"})
|
150
150
|
csv.each do |row|
|
151
|
-
next if row[0].nil? || row[0].start_with?('#') || row[0].empty?
|
151
|
+
next if row[0].nil? || row[0].start_with?('#') || row[0].empty? || row[0].size != 2
|
152
152
|
|
153
153
|
@countries[row[0]] = row[4]
|
154
154
|
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.53
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vadim Senderovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|