phony 2.22.3 → 2.22.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 +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70b211455d497b5f0db953a0b7a674fdddae906fa2ef4beb9d6038f45f429f48
|
4
|
+
data.tar.gz: 6ff8c7f7383fa7d00c54b75d4017db2c282e1bf0f498b633e7be3ef1518cf617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9f346c5cd7cadb47d34b0d4cd387889c766042b6b320db26be935bdfa1c21294ea29e167ade52fd2a26741e06950fabc8f89c0b6879849a6ff62f5f964cbfc9
|
7
|
+
data.tar.gz: e9515019859332ab94ef95c1c81c5ebe6980466df053d4445a896fdc7b3e272560c5ea881591dc53054c52026d94b29c2c0a6fa311c5994354ca22cf4993898b
|
data/lib/phony/countries.rb
CHANGED
@@ -101,7 +101,7 @@ Phony.define do
|
|
101
101
|
match(/^(800|90\d)\d+$/) >> split(2, 3) | # Toll free service and premium numbers
|
102
102
|
match(/^(46[056789])\d{6}$/) >> split(2, 2, 2) | # Mobile (Lycamobile, Telenet, Join Experience, Proximus 0460)
|
103
103
|
match(/^(4[789]\d)\d{6}$/) >> split(2, 2, 2) | # Mobile
|
104
|
-
match(/^(45[
|
104
|
+
match(/^(45[156])\d{6}$/) >> split(2, 2, 2) | # Mobile Vikings, Digi and Voo
|
105
105
|
one_of('2', '3', '4', '9') >> split(3, 2, 2) | # Short NDCs
|
106
106
|
fixed(2) >> split(2, 2, 2) # 2-digit NDCs
|
107
107
|
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.22.
|
4
|
+
version: 2.22.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Hanke
|
8
|
+
autorequire:
|
8
9
|
bindir: bin
|
9
10
|
cert_chain: []
|
10
|
-
date:
|
11
|
+
date: 2025-08-08 00:00:00.000000000 Z
|
11
12
|
dependencies: []
|
12
13
|
description: 'Fast international phone number (E164 standard) normalizing, splitting
|
13
14
|
and formatting. Lots of formatting options: International (+.., 00..), national
|
@@ -82,6 +83,7 @@ homepage: https://github.com/floere/phony
|
|
82
83
|
licenses:
|
83
84
|
- MIT
|
84
85
|
metadata: {}
|
86
|
+
post_install_message:
|
85
87
|
rdoc_options: []
|
86
88
|
require_paths:
|
87
89
|
- lib
|
@@ -96,7 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
98
|
- !ruby/object:Gem::Version
|
97
99
|
version: '0'
|
98
100
|
requirements: []
|
99
|
-
rubygems_version: 3.
|
101
|
+
rubygems_version: 3.5.21
|
102
|
+
signing_key:
|
100
103
|
specification_version: 4
|
101
104
|
summary: Fast international phone number (E164 standard) normalizing, splitting and
|
102
105
|
formatting.
|