postal_code 0.3.3 → 0.3.4
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 +6 -3
- data/lib/postal_code.rb +1 -1
- data/test/test_postal_code.rb +2 -2
- 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: c13a2fb2a219e99e1ad01009729fc6fc949f8bba
|
|
4
|
+
data.tar.gz: 12eb88ec692d1d9c0cf000fccd10a671d6067ced
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4aab528b794ffdf3e8bf0185298e07e2017448042ccd3a787897ba26b4d6ffdf4b98255321fd7f9e1535b898d5469a9f43639327881dc3b7ced5cbea2c37836
|
|
7
|
+
data.tar.gz: 24411c0cf392f8dd3a1c4f0d7a47c843d16a7041322eefb809fc6c2473d43c4e43639d8e77ee4444a5ddc736265f174bb37a7937c788de19d551c7c53866c5d3
|
data/README.rdoc
CHANGED
|
@@ -112,7 +112,7 @@ completeness or accuracy of their data.
|
|
|
112
112
|
|
|
113
113
|
== Links
|
|
114
114
|
|
|
115
|
-
Homepage ::
|
|
115
|
+
Homepage :: https://ecentryx.com/gems/postal_code
|
|
116
116
|
Ruby Gem :: https://rubygems.org/gems/postal_code
|
|
117
117
|
Source Code :: https://bitbucket.org/pachl/postal_code/src
|
|
118
118
|
Bug Tracker :: https://bitbucket.org/pachl/postal_code/issues
|
|
@@ -142,12 +142,15 @@ Bug Tracker :: https://bitbucket.org/pachl/postal_code/issues
|
|
|
142
142
|
6. 2017-04-07, v0.3.3
|
|
143
143
|
* Update US database. (427 additions and 468 deletions)
|
|
144
144
|
|
|
145
|
+
7. 2017-06-03, v0.3.4
|
|
146
|
+
* Fix deprecated test code.
|
|
147
|
+
|
|
145
148
|
|
|
146
149
|
== License
|
|
147
150
|
|
|
148
|
-
({ISC License}[
|
|
151
|
+
({ISC License}[https://opensource.org/licenses/ISC])
|
|
149
152
|
|
|
150
|
-
Copyright (c)
|
|
153
|
+
Copyright (c) 2017, Clint Pachl <pachl@ecentryx.com>
|
|
151
154
|
|
|
152
155
|
Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
153
156
|
with or without fee is hereby granted, provided that the above copyright notice
|
data/lib/postal_code.rb
CHANGED
data/test/test_postal_code.rb
CHANGED
|
@@ -43,8 +43,8 @@ class PostalCodeTest < Minitest::Unit::TestCase
|
|
|
43
43
|
|
|
44
44
|
def test_postal_code_not_found_in_any_city
|
|
45
45
|
pcode = '99999'
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
assert_nil PostalCode.city(pcode)
|
|
47
|
+
assert_nil PostalCode.state(pcode)
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
def test_reactive_cache
|
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.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Clint Pachl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-03 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.6.11
|
|
48
48
|
signing_key:
|
|
49
49
|
specification_version: 4
|
|
50
50
|
summary: Postal Code Resolver
|