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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5956f06797c3f79547c0385cc672b451e8ad23b
4
- data.tar.gz: 6d4a9b488113ce87fe0bc4b8615dac61ecf60aec
3
+ metadata.gz: b1bb6e6ee4a30c021bd9f73c98b924c8036dbab8
4
+ data.tar.gz: 25397fe6679e1252f8e65d5b9c0c53dfc01f7dc5
5
5
  SHA512:
6
- metadata.gz: 1b3a7c67d72a3d38b0a76903f66fef501dea328f9c752df674aedc918a12ef2e7c166eb65c95ef9bf041e864ae7ce1caa81dea421d7b4852161c15d71dff87eb
7
- data.tar.gz: eaa1f7f94982cb13ea692f43b42cf5b82e286c49787c8aa688b2b0764f83c36a63b1eaa0806b1c71bf8123295b086a08f67ea1eae012a1c5c1a6914c972d666f
6
+ metadata.gz: 35ba47791b0b92eee27adffb5c158e6c15e7bbcd3c84e160ba910e41e2d28f9b421cb9a2d484b1e35d66ef9355d3aadc6d6e0f25d5dc78d3d2431ed28cab9b02
7
+ data.tar.gz: 152742e01ff0060af7f3e45d7ec0f17fee6ab64a29a3fc631cabb0776df9275707cc30e273bf2f295d8b42b4a76ee43c0bc2cbe60a47455c099a5581c5fab874
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 1.2.0 / 2018-02-14
2
+
3
+ * Breaking changes
4
+
5
+ * Also update postcode_zip4[2]
6
+
1
7
  1.1.4 / 2018-01-29
2
8
 
3
9
  * Enhancements
@@ -16,7 +16,8 @@ class GeocodeRecords
16
16
  city_name: true,
17
17
  default_city_name: true,
18
18
  state_abbreviation: true,
19
- zipcode: true
19
+ zipcode: true,
20
+ plus4_code: true,
20
21
  },
21
22
  metadata: {
22
23
  latitude: true,
@@ -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
@@ -1,3 +1,3 @@
1
1
  class GeocodeRecords
2
- VERSION = '1.1.4'
2
+ VERSION = '1.2.0'
3
3
  end
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.1.4
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-01-29 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport