phony 3.0.3 → 3.0.4
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 +4 -4
- data/lib/phony/countries.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee0e24eab160121c01993dbea4575a485aeeb0d6a7c0f58b69401d0ebcdd0d7a
|
|
4
|
+
data.tar.gz: 92422836025ed232116c249d634156e8ec1db87dd55a4f47d14b60080cb3e276
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de03997f21f72c2af8e77ab32c445b18988e0ebe9373d40c0e3f10af7fe2575f50f5cedcb59d95f7a4ab3a4c468455b2f4c1457a12c22bef72c35a7140c9877d
|
|
7
|
+
data.tar.gz: 3042b58ac4ae84d39938fdda9f12cf89ef98717d29f189bffc1642f045a596897d6a4ca3d26ed5320af8fc4cb5ef303e23ddb56be5b5c6b584a51191741501ad
|
data/lib/phony/countries.rb
CHANGED
|
@@ -1255,7 +1255,11 @@ Phony.define do
|
|
|
1255
1255
|
one_of(%w[92 97]) >> split(3) | # mobile
|
|
1256
1256
|
fixed(2) >> split(3, 3)
|
|
1257
1257
|
|
|
1258
|
-
|
|
1258
|
+
# Bhutan (Kingdom of)
|
|
1259
|
+
# https://en.wikipedia.org/wiki/Telephone_numbers_in_Bhutan
|
|
1260
|
+
country '975',
|
|
1261
|
+
one_of(%w(16 17 77)) >> split(3, 3) | # Mobile
|
|
1262
|
+
one_of(%w(2)) >> split(3, 3) # Landline
|
|
1259
1263
|
|
|
1260
1264
|
# Mongolia
|
|
1261
1265
|
# https://www.numberingplans.com/?page=plans&sub=phonenr&alpha_2_input=MN
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: phony
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Hanke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'Fast international phone number (E164 standard) normalizing, splitting
|
|
14
14
|
and formatting. Lots of formatting options: International (+.., 00..), national
|