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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/valid_zip_codes.rb +0 -11
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45d0c722fe3da2737779c1e5c1a981ddadd5b2ec
4
- data.tar.gz: 613fe08522f81345dea5a96f2faf7885dc267e6c
3
+ metadata.gz: 6e081f552b3e81ea8fccab1cb0f18358aa3f5df7
4
+ data.tar.gz: 4ebc577d0404c58d1dde23170c668e50702978e3
5
5
  SHA512:
6
- metadata.gz: d199ac427891347859bf9d4331b21fc5ea3af73ed58825cc090e7e144b540e7ac5332bf8cc0aa839c33cdcec090a7066cac2d40c7e52213f461d5d805f0c40a9
7
- data.tar.gz: 677f055a0c21ee159733c65732568d2548ee47f2fa258d6a2a11d27d124e0f30c20290f073647444a4da74f5eac641e8916d69edc16f10896a7c94e3903523bc
6
+ metadata.gz: a70b97d76ee9385ba63e9593dc692bc86062666fc62b38ed3943880baabf65561259356e20a7d0535c7539ef280dacf00d7b0a436c3718d42cacc360631eb880
7
+ data.tar.gz: f7762889d1ab066eda0547c8f83c9358ba45ff75cd031d0a4f94ed659cb185e0967e4aa7576a97ee0aad1bd607e4e59a21d102d9c67f63365b28dda53d5f9db9
@@ -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.1
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: []