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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/phony/countries.rb +5 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 791dda58c1a448a35162db9f85af9fd103500e3120796c04d60c0a190773a9b7
4
- data.tar.gz: 27933aabd62b90068779bc6d3ba4bbbecb64fbc24ffea12b00accbe00f790aaa
3
+ metadata.gz: ee0e24eab160121c01993dbea4575a485aeeb0d6a7c0f58b69401d0ebcdd0d7a
4
+ data.tar.gz: 92422836025ed232116c249d634156e8ec1db87dd55a4f47d14b60080cb3e276
5
5
  SHA512:
6
- metadata.gz: 61a2344d76eb13b2660803ea4c0f89a01171fdb2e314cffda9b5229c26aa5586a72a3f7c407e525170159783e719b40aae6f3d4822254e082f2e42faa8cb0266
7
- data.tar.gz: 2eaeb27b07f7ddf7b9291f1deb6f09cff24b1cdd7d00f4086a4f951d26c98e4605570cc7309e8159ff04090fd4cac7f0ac09be95f1017050ff2a685f389558b9
6
+ metadata.gz: de03997f21f72c2af8e77ab32c445b18988e0ebe9373d40c0e3f10af7fe2575f50f5cedcb59d95f7a4ab3a4c468455b2f4c1457a12c22bef72c35a7140c9877d
7
+ data.tar.gz: 3042b58ac4ae84d39938fdda9f12cf89ef98717d29f189bffc1642f045a596897d6a4ca3d26ed5320af8fc4cb5ef303e23ddb56be5b5c6b584a51191741501ad
@@ -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
- country '975', fixed(1) >> split(3, 3) # Bhutan (Kingdom of) http://www.wtng.info/wtng-975-bt.html
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.3
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-09 00:00:00.000000000 Z
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