geocode_records 1.1.4 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -0
- data/lib/geocode_records/geocode_csv.rb +2 -1
- data/lib/geocode_records/update_table_from_csv.rb +3 -0
- data/lib/geocode_records/version.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- 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: b1bb6e6ee4a30c021bd9f73c98b924c8036dbab8
|
4
|
+
data.tar.gz: 25397fe6679e1252f8e65d5b9c0c53dfc01f7dc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35ba47791b0b92eee27adffb5c158e6c15e7bbcd3c84e160ba910e41e2d28f9b421cb9a2d484b1e35d66ef9355d3aadc6d6e0f25d5dc78d3d2431ed28cab9b02
|
7
|
+
data.tar.gz: 152742e01ff0060af7f3e45d7ec0f17fee6ab64a29a3fc631cabb0776df9275707cc30e273bf2f295d8b42b4a76ee43c0bc2cbe60a47455c099a5581c5fab874
|
data/CHANGELOG
CHANGED
@@ -9,6 +9,7 @@ class GeocodeRecords
|
|
9
9
|
ss_city_name text,
|
10
10
|
ss_state_abbreviation text,
|
11
11
|
ss_zipcode text,
|
12
|
+
ss_plus4_code text,
|
12
13
|
ss_latitude float,
|
13
14
|
ss_longitude float,
|
14
15
|
ss_default_city_name text
|
@@ -23,6 +24,7 @@ class GeocodeRecords
|
|
23
24
|
ss_city_name
|
24
25
|
ss_state_abbreviation
|
25
26
|
ss_zipcode
|
27
|
+
ss_plus4_code
|
26
28
|
ss_latitude
|
27
29
|
ss_longitude
|
28
30
|
ss_default_city_name
|
@@ -46,6 +48,7 @@ class GeocodeRecords
|
|
46
48
|
city$NUM_SUFFIX = COALESCE(src.ss_default_city_name, src.ss_city_name),
|
47
49
|
state$NUM_SUFFIX = src.ss_state_abbreviation,
|
48
50
|
postcode$NUM_SUFFIX = src.ss_zipcode,
|
51
|
+
postcode_zip4$NUM_SUFFIX = src.ss_plus4_code,
|
49
52
|
latitude$NUM_SUFFIX = src.ss_latitude,
|
50
53
|
longitude$NUM_SUFFIX = src.ss_longitude
|
51
54
|
FROM $TMP_TABLE_NAME AS src
|
data/spec/spec_helper.rb
CHANGED
@@ -28,6 +28,7 @@ unless ENV['FAST'] == 'true'
|
|
28
28
|
city text,
|
29
29
|
state text,
|
30
30
|
postcode text,
|
31
|
+
postcode_zip4 text,
|
31
32
|
latitude float,
|
32
33
|
longitude float,
|
33
34
|
glob2 text,
|
@@ -37,6 +38,7 @@ unless ENV['FAST'] == 'true'
|
|
37
38
|
city2 text,
|
38
39
|
state2 text,
|
39
40
|
postcode2 text,
|
41
|
+
postcode_zip42 text,
|
40
42
|
latitude2 float,
|
41
43
|
longitude2 float,
|
42
44
|
foo text
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geocode_records
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seamus Abshere
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|