free_zipcode_data 1.0.4 → 1.0.5

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
  SHA256:
3
- metadata.gz: 1a5f9a722d9ff1bbcc1193331bf6d984ac4b2ce2afe6071be732705ccbeabfb4
4
- data.tar.gz: 75482e25b6c287825626f9c65a79c8d6503210b68b7b1da9c32b4d853abbbfe6
3
+ metadata.gz: caeadd9186e20fdf53c5105a2b3d54ae7c5e6646e94181979736050d37a75f5e
4
+ data.tar.gz: f994867251dbd808ef031cd271b7fa7f25ae0b062909692e266af203fcb553ac
5
5
  SHA512:
6
- metadata.gz: 3527193d29ad810c87f7a7eadacdcff5c7a9cab5cfb22ef93026298d103e5221cc55aae5c7267370f0e78cb633e3a8e690ef9aa8854b27f3c0e04226da90a51c
7
- data.tar.gz: e5afcbf7926bb23130655e891f4951b85369d07becabc02ce805fbd2fb57a199a2da33697f136a0db0e9b1952247c291f214f4fea44226b07e80985baa839f15
6
+ metadata.gz: bf016f5695c5f62a1e7c33096550f4a620654f3c8f87f53f5cf672f983c8a347f2b7276e08c2da8a3039443cae2d5c2254568581de4db093213d33cb1cb1d9f1
7
+ data.tar.gz: e37864e45ab0afc419e4bb99356308f012fa26b4a5728bc6d8c8346a21d6616de7494363953505e0d752738781e025c3828589c6321df937a93e0d454e7cd98a
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ *1.0.5* (October 04, 2024)
2
+
3
+ * Fix a data parsing error where foreign countries use the pipe symbol in city names
4
+
1
5
  *1.0.4* (September 18, 2024)
2
6
 
3
7
  * Upgrade Kiba Gem - Now works with Ruby 3.x
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- free_zipcode_data (1.0.4)
4
+ free_zipcode_data (1.0.5)
5
5
  colored (~> 1.2)
6
6
  kiba (~> 4.0)
7
7
  optimist (~> 3.0)
@@ -77,8 +77,9 @@ module FreeZipcodeData
77
77
  end
78
78
  @logger.verbose("Preparing: #{filename} for processing...")
79
79
  CSV.open(filename, 'w') do |outfile|
80
- outfile << %w[COUNTRY POSTAL_CODE CITY STATE SHORT_STATE COUNTY SHORT_COUNTY COMMUNITY SHORT_COMMUNITY LATITUDE LONGITUDE ACCURACY]
81
- CSV.foreach(unzipped_datafile, headers: false, col_sep: "\t", quote_char: '|') do |row|
80
+ outfile << %w[COUNTRY POSTAL_CODE CITY STATE SHORT_STATE COUNTY SHORT_COUNTY COMMUNITY
81
+ SHORT_COMMUNITY LATITUDE LONGITUDE ACCURACY]
82
+ CSV.foreach(unzipped_datafile, headers: false, col_sep: "\t", quote_char: '^') do |row|
82
83
  outfile << row
83
84
  end
84
85
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FreeZipcodeData
4
- VERSION = '1.0.4'.freeze
4
+ VERSION = '1.0.5'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: free_zipcode_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Blackburn
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-18 00:00:00.000000000 Z
12
+ date: 2024-10-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler