valid_zip_codes 0.0.1 → 0.0.2
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/lib/valid_zip_codes.rb +0 -11
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e081f552b3e81ea8fccab1cb0f18358aa3f5df7
|
4
|
+
data.tar.gz: 4ebc577d0404c58d1dde23170c668e50702978e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a70b97d76ee9385ba63e9593dc692bc86062666fc62b38ed3943880baabf65561259356e20a7d0535c7539ef280dacf00d7b0a436c3718d42cacc360631eb880
|
7
|
+
data.tar.gz: f7762889d1ab066eda0547c8f83c9358ba45ff75cd031d0a4f94ed659cb185e0967e4aa7576a97ee0aad1bd607e4e59a21d102d9c67f63365b28dda53d5f9db9
|
data/lib/valid_zip_codes.rb
CHANGED
@@ -45,14 +45,3 @@ class ValidZipCodes
|
|
45
45
|
end
|
46
46
|
|
47
47
|
end
|
48
|
-
|
49
|
-
validator = ValidZipCodes.new
|
50
|
-
|
51
|
-
# Check if zip code is valid
|
52
|
-
validator.is_valid_zip?("DK", 8000)
|
53
|
-
|
54
|
-
# Get the city name for zip code
|
55
|
-
validator.get_city_name("DK", 8000)
|
56
|
-
|
57
|
-
# Check if gem supports country
|
58
|
-
validator.supports_country?("DK")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: valid_zip_codes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Salomonsson
|
@@ -10,7 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2015-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Gem to validate zip codes and get city names. Currently only for denmark
|
13
|
+
description: Gem to validate zip codes and get city names. Currently only for denmark
|
14
|
+
and sweden.
|
14
15
|
email: mathias@salomonsson.dk
|
15
16
|
executables: []
|
16
17
|
extensions: []
|