phonie 3.1.14 → 3.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +5 -0
- data/Readme.rdoc +1 -0
- data/lib/phonie/data/phone_countries.yml +1 -1
- data/lib/phonie/version.rb +1 -1
- data/test/countries/se_test.rb +9 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19708883f59e2d18eec88fe1bb44b4a9a620b616
|
4
|
+
data.tar.gz: 6ccc7ae8fe964a11c17012f1ce6c8736979b19d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4168b71038855057dff97f0f052c6f5e839b86e75cfe167f9554fab455d95993d84ada73575f06be318d4b8a3495019e3f2f1f42a0d45448883e98fc0673cc2b
|
7
|
+
data.tar.gz: 58c10a2450711ba8b1fc4d730cd3552f5f52b46ef18ee2efb6f358aa9182915cb0d599d5ed77d682dc9f1bdd17a546ba678e20d3827bb7b2a171470637951db3
|
data/Changelog.md
CHANGED
data/Readme.rdoc
CHANGED
@@ -1560,7 +1560,7 @@
|
|
1560
1560
|
:iso_3166_code: SE
|
1561
1561
|
:name: Sweden
|
1562
1562
|
:international_dialing_prefix: '00'
|
1563
|
-
:area_code: 900|1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|7[
|
1563
|
+
:area_code: 900|1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|7[012369]|8|9[09]|1[2457]\d|2[2457-9]\d|3[0247-9]\d|4[1357-9]\d|5[0-35-9]\d|6[124-9]\d|74\d|9[1-8]\d
|
1564
1564
|
:local_number_format: \d{5,8}
|
1565
1565
|
:mobile_format: 7\d{8}
|
1566
1566
|
:number_format: \d{7,10}
|
data/lib/phonie/version.rb
CHANGED
data/test/countries/se_test.rb
CHANGED
@@ -115,7 +115,7 @@ class SETest < Phonie::TestCase
|
|
115
115
|
parse_test('+46635555555', '46', '63', '5555555', "Sweden", false)
|
116
116
|
end
|
117
117
|
|
118
|
-
# 070,
|
118
|
+
# 070,
|
119
119
|
def test_mobile_70
|
120
120
|
parse_test('+46705555555', '46', '70', '5555555', "Sweden", true)
|
121
121
|
end
|
@@ -125,12 +125,12 @@ class SETest < Phonie::TestCase
|
|
125
125
|
parse_test('+46715555555', '46', '71', '5555555')
|
126
126
|
end
|
127
127
|
|
128
|
-
# 072,
|
128
|
+
# 072,
|
129
129
|
def test_mobile_72
|
130
130
|
parse_test('+46725555555', '46', '72', '5555555')
|
131
131
|
end
|
132
132
|
|
133
|
-
# 073,
|
133
|
+
# 073,
|
134
134
|
def test_mobile_73
|
135
135
|
parse_test('+46735555555', '46', '73', '5555555')
|
136
136
|
end
|
@@ -140,6 +140,11 @@ class SETest < Phonie::TestCase
|
|
140
140
|
parse_test('+46765555555', '46', '76', '5555555')
|
141
141
|
end
|
142
142
|
|
143
|
+
# 079,
|
144
|
+
def test_mobile_79
|
145
|
+
parse_test('+46795555555', '46', '79', '5555555')
|
146
|
+
end
|
147
|
+
|
143
148
|
# 090 Umeå
|
144
149
|
def test_umea
|
145
150
|
parse_test('+46905555555', '46', '90', '5555555')
|
@@ -450,7 +455,7 @@ class SETest < Phonie::TestCase
|
|
450
455
|
def test_vannas
|
451
456
|
parse_test('+469355555555', '46', '935', '5555555')
|
452
457
|
end
|
453
|
-
# 0939 Premium rate calls
|
458
|
+
# 0939 Premium rate calls
|
454
459
|
# 0940 Vilhelmina
|
455
460
|
# 0941 Åsele
|
456
461
|
# 0942 Dorotea
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phonie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomislav Car
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-11-
|
15
|
+
date: 2015-11-30 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activemodel
|