postkode 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/postkode.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 742e3f8d4c57bb303470cb594686b30740c6383f
4
- data.tar.gz: 50571a36fcca7c7d17af15d9a1e31dc826b4fcbd
3
+ metadata.gz: de69fab27624f4646e6d4aa3162db94ddae7e85d
4
+ data.tar.gz: 428bcf1476e0bc90b60719aad7f1b55ac7ee8f10
5
5
  SHA512:
6
- metadata.gz: dd024b1159a87ee8fde54d37bda5ab38334ac45728c2eaa8e7117372c4a7cfbf7a949d6c344f6624105d8861cab9d12de7904a607e73e16840316a132867ae12
7
- data.tar.gz: 05b33cc24a2f3738aa9d7b32f328f0452093a1a44680ac26930e2c5ed433574de88c521e97641ef411fd4ed26d7f11771884d71b745f8bf7671e4a2b863c1d79
6
+ metadata.gz: 44fea1f84f34e81998a236339d6fb649929b3e5246846498a7c50e1648a36ce9ca47036378a0d8462eb7f3dcb25588cae2d6b1b494a3daab23d2e34d8c301ad2
7
+ data.tar.gz: b31f22a173ba03b960f7d03370c4ed676846b62dc5b133070ac5a16e20e2b60c23b109955625bcbd40be67ae099e8000e1745268a89141e9a83bf1af5e56406c
data/lib/postkode.rb CHANGED
@@ -52,12 +52,12 @@ class Postkode
52
52
  end
53
53
 
54
54
  def self.get_outcode(string)
55
- found = PostcodeHelper.validate(string, true)
55
+ found = Postkode.validate(string, true)
56
56
  found ? found[0] : nil
57
57
  end
58
58
 
59
59
  def self.get_inward(string)
60
- found = PostcodeHelper.validate(string, true)
60
+ found = Postkode.validate(string, true)
61
61
  found ? found[1] : nil
62
62
  end
63
63
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postkode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - K M Lawrence