validates_zipcode 0.3.2 → 0.3.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d69de112628ab38fe5ec60e90d96f49601f988de22528de0de4286fcb080d56
4
- data.tar.gz: 4bddb4ac3fdb64fa8013489ee4fa6611970feb97db546e3da1a46887ef26b493
3
+ metadata.gz: b76a1516fa07d400bf8ecab157426a63385b512985468c7e506e5d5150f28570
4
+ data.tar.gz: 9bae835a99376edbe35c42e0419cf2dc7aec0cde7d22f6c5c4e4215389c9412c
5
5
  SHA512:
6
- metadata.gz: 7fe6dfdaefe75178df3f5fdebd9841fcbd2ef6179f2565f0d6aa410ad34df62b3789b95e0318c989b404367324e176aad6e82adeccf6445766b108107f889a2c
7
- data.tar.gz: 434ea691cf005b4e3b14d406e58ac343f2ba01378fae35403c18b5a8fbf3e3276aa17fb6004bda6704e6578d8799329e441a0a0e33510ddbd712afda42fc32f5
6
+ metadata.gz: bc3619b94ba8b577fd35fa33c5a54b0c229470bc7b173c1408b9a5e552d5cd25ebe141f1445b5694e9576721837984f553b30eeade95485d210d188f5e11e294
7
+ data.tar.gz: 64baae1849d7ee97f4d887f5519f9a126ac00a129a47304de21f62790ae8a9c3e1ef9b163336efcd1bbf87d05b75b449be456ee2beacd60ecdeba59e980f8169
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 0.3.3
6
+
7
+ - Fixes AR regex
8
+
5
9
  ## 0.3.2
6
10
 
7
11
  - Adds formatter for CA ~ @devthiago
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- validates_zipcode (0.3.2)
4
+ validates_zipcode (0.3.3)
5
5
  activemodel (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- validates_zipcode (0.3.2)
4
+ validates_zipcode (0.3.3)
5
5
  activemodel (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- validates_zipcode (0.3.2)
4
+ validates_zipcode (0.3.3)
5
5
  activemodel (>= 4.2.0)
6
6
 
7
7
  GEM
@@ -14,7 +14,7 @@ GIT
14
14
  PATH
15
15
  remote: ..
16
16
  specs:
17
- validates_zipcode (0.3.2)
17
+ validates_zipcode (0.3.3)
18
18
  activemodel (>= 4.2.0)
19
19
 
20
20
  GEM
@@ -32,8 +32,7 @@ module ValidatesZipcode
32
32
  SG: /\A\d{6}\z/,
33
33
  DZ: /\A\d{5}\z/,
34
34
  AD: /\AAD\d{3}\z/,
35
- AR: /\A([A-HJ-NP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})\z/,
36
- # AR: /\A([A-HJ-NP-Z])?\d{4}([A-Z]{3})?\z/,
35
+ AR: /\A[A-HJ-NP-Z]{1}\d{4}([A-Z]{3})?\z/,
37
36
  AM: /\A(37)?\d{4}\z/,
38
37
  BH: /\A((1[0-2]|[2-9])\d{2})?\z/,
39
38
  BD: /\A\d{4}\z/,
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ValidatesZipcode
3
- VERSION = '0.3.2'
3
+ VERSION = '0.3.3'
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.3.2
4
+ version: 0.3.3
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-08-21 00:00:00.000000000 Z
11
+ date: 2020-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel