phony 2.15.3 → 2.15.4

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: 66082af04790d81ebf24e2913697c47f3ad26300
4
- data.tar.gz: 5ae4cf6f50a8f8640af98ea6f98df259bdfdadfb
3
+ metadata.gz: c1d19eb8a8082b90a7ab5f4d1ed99ff1ed81d568
4
+ data.tar.gz: 18c182c2868435991f59482bd088299949bd282b
5
5
  SHA512:
6
- metadata.gz: e30b9551e2dae5f74fa819d9702fa161b1938daf3eb43d76fc0c6e07544cee646357173c8d84c1036893d93455e6bf1f38e2845105bb5758753e174d82d299a5
7
- data.tar.gz: ef59080fd68c2bfb4a5d76319b7aefd0593e47894f9708db2a3767e091c4fd163a9bbcda1334c30093ef9e0c12b21684bd0917e97097da48c5c9c056fbbceff4
6
+ metadata.gz: 0835fc40bc4be2abacd4ca1d181939ff26c366ad03f7e073b31d6b55661679c2397b2f31f433be1b8af74e9197b76c50868e84103c622cc236d5e99abf9e6224
7
+ data.tar.gz: 7e2a7f3ee9320457118ae855b87c99c587589bb5857e85c4d1ee699281cc03c1cdd0566e714ef8e54a4e208edd777038c565d0603bd3d586d0acab7f4cc7fd94
@@ -271,7 +271,7 @@ Phony.define do
271
271
  #
272
272
  country '66',
273
273
  trunk('0') |
274
- match(/\A([89]\d\d)\d+\z/) >> split(3,3) | # mobile
274
+ match(/\A([689]\d\d)\d+\z/) >> split(3,3) | # mobile
275
275
  one_of('2') >> split(3,4) | # Bangkok
276
276
  fixed(2) >> split(3,3) # Rest
277
277
 
@@ -245,6 +245,7 @@ describe 'plausibility' do
245
245
  '+992 474 456 123']
246
246
  it_is_correct_for 'Thailand', :samples => ['+6621231234',
247
247
  '+6636123123',
248
+ '+66612345678',
248
249
  '+66851234567',
249
250
  '+66921234567']
250
251
  it_is_correct_for 'Togolese Republic', :samples => '+228 1234 5678'
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.15.3
4
+ version: 2.15.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: 2015-09-21 00:00:00.000000000 Z
11
+ date: 2015-10-10 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