validates_zipcode 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 343e69c647725f0880b8f407077fd94f5447eaed7d0cb04fe243d3014d96f7c5
4
- data.tar.gz: 3bc68a4ef43157358344a855ab852694a00dc1885296103fbec60a9babff49f1
3
+ metadata.gz: 433bed9455e92a8d15ee319afaf7e40f25eb188af84f8a480691a3f5ba030f2d
4
+ data.tar.gz: 625157e0787d574631dd74b82d47c550105831dcd542e296b598a40fe9ff533f
5
5
  SHA512:
6
- metadata.gz: 256bb6fec230722b189f35bf6181d62ab97be209894e10476026a031a671d2f55434ec5dad6e15db0b0b75fde1a28aa414e5686aa124642d4c45032f0ad801b5
7
- data.tar.gz: 498fbf19b2a2eac4e684fab5d9e5e484314126ce23c42dd8ff941aa72dcfcd582a28e83a94d15d287c3e0493608ec106d99770de0cb5972f61e55336db0d3190
6
+ metadata.gz: 427e1f62ff4cffe6a37d35cc5258b4f456442c59acf17779aa4c3e90e9b836bc12dbf095f17f8569eaabfe7d3fecee0311f7a9e87b26d608256dd6976627dc40
7
+ data.tar.gz: 16af43886485c7444d8c305f135a8b8112b3bcfd99738543144295d3df5df98b44c31ee87084ddb419ea942f13f511a70517f18e2880ee24623087b12728cadd
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 0.2.4
6
+
7
+ - Fixes LV postal code format
8
+
5
9
  ## 0.2.3
6
10
 
7
11
  - Fixes MU postal code format ~ @thrasherDGK
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- validates_zipcode (0.2.3)
4
+ validates_zipcode (0.2.4)
5
5
  activemodel (>= 3.2.0)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- validates_zipcode (0.2.3)
4
+ validates_zipcode (0.2.4)
5
5
  activemodel (>= 3.2.0)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- validates_zipcode (0.2.3)
4
+ validates_zipcode (0.2.4)
5
5
  activemodel (>= 3.2.0)
6
6
 
7
7
  GEM
@@ -194,7 +194,7 @@ module ValidatesZipcode
194
194
  KN: /\A([a-zA-Z\d\s]){3,8}\z/,
195
195
  KP: /\A([a-zA-Z\d\s]){3,8}\z/,
196
196
  LI: /\A\d{4}\z/,
197
- LV: /\A([a-zA-Z]|\d){3,8}\z/,
197
+ LV: /\A(LV)?\-?\d{4}\z/,
198
198
  LY: /\A\d{5}\z/,
199
199
  LT: /\A(LT-)?\d{5}\z/,
200
200
  LC: /\A([a-zA-Z\d\s]){3,}\z/,
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ValidatesZipcode
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_zipcode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-18 00:00:00.000000000 Z
11
+ date: 2020-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel