commons_yellowme 0.11.3 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/commons/formatter/regex_constants.rb +2 -0
- data/lib/commons/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 176fc50a7143d11e3ad6c7f2ec42c30cb3a08537ad93bb2c5c3274eaab29cf86
|
4
|
+
data.tar.gz: 625ceba15ebb3fedae9c00fb6a2289952e83c21d43942d8e3c42f8c8897e21ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9b1f51d10f3ff7976ee0d78f829700345a3e0681bb72cc7ea0f127f6a11d749db565728208ced72a868a5caed7cda4e49f6fced625d254dad2554af2b9de664
|
7
|
+
data.tar.gz: a6589d26c77d5c44575dcdc6df79ff774fdb09b5c2d2bec2909bf62c35aba4bbb10a1c2813821c1f3804b6a1cfe993135028ca0a2b5b9e39765b57847edf83fc
|
@@ -4,6 +4,8 @@ module Commons
|
|
4
4
|
PROPER_NOUN = /\A\p{L}[\p{L}'\.\-]*( [\p{L}'\.\-]+)*\z/u
|
5
5
|
CURP = /\A([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HM](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)\z/
|
6
6
|
RFC = /\A([A-ZÑ\x26]{3,4}(\d{2})(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[0-1])([A-Z0-9]){2}([A0-9]))?\z/i
|
7
|
+
ELECTOR_KEY = /\A[A-Z]{6}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])\d{2}[A-Z]\d{3}\z/
|
8
|
+
MX_MONEY = /\A-?\d{1,12}(\.\d{0,6})?\z/
|
7
9
|
end
|
8
10
|
end
|
9
11
|
end
|
data/lib/commons/version.rb
CHANGED