postal_code 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.rdoc +5 -1
- data/Rakefile +8 -0
- data/db/US.tsv +4 -0
- data/lib/postal_code.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b50fb1b83644839b1e813d77ec50c66e37494c8
|
|
4
|
+
data.tar.gz: 07f0719791f30c1a7c8f5f6072e166fca2a5e1e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8b2c0ff3623f0d1cc761487989267ee8d892c9357c05b53848050ad906f48c1e28bee506fd791e701f584a28f7122a7aa4935f65919880d2753553b5b61c043
|
|
7
|
+
data.tar.gz: 098ce684c7a6beeb7d19d3d9aeafda93ef2385fa61320d4470ca230d762558000982f898f2ccb40266a6f928aed0e7206f65d515930a7ba166e31397bc15ca2e
|
data/README.rdoc
CHANGED
|
@@ -129,12 +129,16 @@ Bug Tracker :: https://bitbucket.org/pachl/postal_code/issues
|
|
|
129
129
|
* Change database extension from "csv" to "tsv" because we're using tabs.
|
|
130
130
|
* Fix tests.
|
|
131
131
|
|
|
132
|
+
3. 2015-01-15, v0.3.0
|
|
133
|
+
* Add 4 new ZIP codes to US database.
|
|
134
|
+
* Add rake task to upload RDoc HTML files to public server.
|
|
135
|
+
|
|
132
136
|
|
|
133
137
|
== License
|
|
134
138
|
|
|
135
139
|
({ISC License}[http://opensource.org/licenses/ISC])
|
|
136
140
|
|
|
137
|
-
Copyright (c)
|
|
141
|
+
Copyright (c) 2015, Clint Pachl <pachl@ecentryx.com>
|
|
138
142
|
|
|
139
143
|
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
140
144
|
with or without fee is hereby granted, provided that the above copyright notice
|
data/Rakefile
CHANGED
|
@@ -17,6 +17,14 @@ Rake::TestTask.new do |t|
|
|
|
17
17
|
t.warning = true
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
+
desc 'Upload RDoc HTML files to server'
|
|
21
|
+
task :upload_rdoc => :rdoc do
|
|
22
|
+
%x[
|
|
23
|
+
rdir=/var/www/sites/ecentryx.com/public/gems/postal_code
|
|
24
|
+
rsvr=hercules
|
|
25
|
+
cd ./doc && pax -w . | ssh $rsvr "cd $rdir && rm -rf ./*; pax -r"
|
|
26
|
+
]
|
|
27
|
+
end
|
|
20
28
|
|
|
21
29
|
desc 'Update postal code database'
|
|
22
30
|
task :update_db do
|
data/db/US.tsv
CHANGED
|
@@ -29071,6 +29071,7 @@
|
|
|
29071
29071
|
63966 Wappapello MO
|
|
29072
29072
|
63967 Williamsville MO
|
|
29073
29073
|
64001 Alma MO
|
|
29074
|
+
64002 Lees Summit MO
|
|
29074
29075
|
64011 Bates City MO
|
|
29075
29076
|
64012 Belton MO
|
|
29076
29077
|
64013 Blue Springs MO
|
|
@@ -29190,6 +29191,7 @@
|
|
|
29190
29191
|
64158 Kansas City MO
|
|
29191
29192
|
64160 Kansas City MO
|
|
29192
29193
|
64161 Kansas City MO
|
|
29194
|
+
64162 Kansas City MO
|
|
29193
29195
|
64163 Kansas City MO
|
|
29194
29196
|
64164 Kansas City MO
|
|
29195
29197
|
64165 Kansas City MO
|
|
@@ -33177,6 +33179,7 @@
|
|
|
33177
33179
|
73949 Texhoma OK
|
|
33178
33180
|
73950 Turpin OK
|
|
33179
33181
|
73951 Tyrone OK
|
|
33182
|
+
73960 Texhoma TX
|
|
33180
33183
|
74001 Avant OK
|
|
33181
33184
|
74002 Barnsdall OK
|
|
33182
33185
|
74003 Bartlesville OK
|
|
@@ -42113,6 +42116,7 @@
|
|
|
42113
42116
|
96970 Ebeye MH
|
|
42114
42117
|
97001 Antelope OR
|
|
42115
42118
|
97002 Aurora OR
|
|
42119
|
+
97003 Beaverton OR
|
|
42116
42120
|
97004 Beavercreek OR
|
|
42117
42121
|
97005 Beaverton OR
|
|
42118
42122
|
97006 Beaverton OR
|
data/lib/postal_code.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: postal_code
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Clint Pachl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Resolves a postal code to a corresponding city or state.
|
|
14
14
|
email: pachl@ecentryx.com
|
|
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
44
44
|
version: '0'
|
|
45
45
|
requirements: []
|
|
46
46
|
rubyforge_project:
|
|
47
|
-
rubygems_version: 2.
|
|
47
|
+
rubygems_version: 2.4.5
|
|
48
48
|
signing_key:
|
|
49
49
|
specification_version: 4
|
|
50
50
|
summary: Postal Code Resolver
|