phony 2.19.10 → 2.19.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/phony/countries.rb +1 -1
- data/spec/lib/phony/countries_spec.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d971b51de8e8d0581c884f90238d00bbdeeee7ca248ae3b93ce75e5b759114fd
|
4
|
+
data.tar.gz: d37f03c8ca22a2fcf76b046a38cfd6cc6334d79cd377bb221e1610352b331ee7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '028169288dfdcd908210a144add1c6d6eb082703602fd4eaa069c9ca952fe8e3e8c0c46764244af569cf90ba5fb535681369b700e3f273bebde591c534e544d3'
|
7
|
+
data.tar.gz: dc281117fa228352a099b3dc28e77d13c7d8145ef93f50ab721817e6b0a6024a32e4f4587c191529142ba987498b62d9a1bd3b9c4cfbf3ae72f2537b70e375ab
|
data/lib/phony/countries.rb
CHANGED
@@ -977,7 +977,7 @@ Phony.define do
|
|
977
977
|
/\A800\d+\z/ => [3,3], # freephone
|
978
978
|
/\A830\d+\z/ => [3,3], # shared cost
|
979
979
|
/\A60\d+\z/ => [3,3], # wireless geographic
|
980
|
-
/\A(72|75|76|77)\d+\z/ => [3,4], # mobile
|
980
|
+
/\A(71|72|75|76|77)\d+\z/ => [3,4], # mobile
|
981
981
|
/\A84\d+\z/ => [3,4], # wireless geographic
|
982
982
|
/\A\d+\z/ => [2,3] # geographic
|
983
983
|
)
|
@@ -1235,6 +1235,7 @@ describe 'country descriptions' do
|
|
1235
1235
|
describe 'Samoa (Independent State of)' do
|
1236
1236
|
it_splits '685800123', ['685', false, '800', '123']
|
1237
1237
|
it_splits '68561123', ['685', false, '61', '123']
|
1238
|
+
it_splits '6857112345', ['685', false, '711', '2345']
|
1238
1239
|
it_splits '6857212345', ['685', false, '721', '2345']
|
1239
1240
|
it_splits '685830123', ['685', false, '830', '123']
|
1240
1241
|
it_splits '685601234', ['685', false, '601', '234']
|
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: 2.19.
|
4
|
+
version: 2.19.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Hanke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-21 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
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
requirements: []
|
118
|
-
rubygems_version: 3.
|
118
|
+
rubygems_version: 3.1.6
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: Fast international phone number (E164 standard) normalizing, splitting and
|