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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1620761360a710ca44164a7a696470cd4d83101a
4
- data.tar.gz: 3aa3335fcc7643c113eb58b73a319575dc2deccf
3
+ metadata.gz: 19708883f59e2d18eec88fe1bb44b4a9a620b616
4
+ data.tar.gz: 6ccc7ae8fe964a11c17012f1ce6c8736979b19d9
5
5
  SHA512:
6
- metadata.gz: bd4bd92ab7862c32c320cbf0ddccc59bf29162fd309ac01c8818fdcc302a5b8e03ad132964ef73aefbe5187eeb09687169cd3909793c5c88b1af2236e0133b31
7
- data.tar.gz: fecbd4e4a89ef3eeebac81a283d0f267f7e6267c1fda7c98306858516335d14fff3be9539e5e502a7b9d39a1b4f04a212ab76a5ce1fca53d2a7f5a702fafc0bc
6
+ metadata.gz: 4168b71038855057dff97f0f052c6f5e839b86e75cfe167f9554fab455d95993d84ada73575f06be318d4b8a3495019e3f2f1f42a0d45448883e98fc0673cc2b
7
+ data.tar.gz: 58c10a2450711ba8b1fc4d730cd3552f5f52b46ef18ee2efb6f358aa9182915cb0d599d5ed77d682dc9f1bdd17a546ba678e20d3827bb7b2a171470637951db3
@@ -1,3 +1,8 @@
1
+ 3.1.15
2
+ ======
3
+
4
+ * Updates Swedish mobile area codes (Thanks @joenas!)
5
+
1
6
  3.1.14
2
7
  ======
3
8
 
@@ -129,6 +129,7 @@ Currently tested on:
129
129
  [ES] Spain
130
130
  [ET] Ethiopia
131
131
  [FI] Finland
132
+ [FJ] Fiji
132
133
  [FR] France
133
134
  [GB] United Kingdom
134
135
  [GE] Georgia
@@ -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[01236]|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
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}
@@ -1,3 +1,3 @@
1
1
  module Phonie
2
- VERSION = '3.1.14'
2
+ VERSION = '3.1.15'
3
3
  end
@@ -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.14
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-03 00:00:00.000000000 Z
15
+ date: 2015-11-30 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activemodel