phony 2.15.34 → 2.15.35

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: 2cfea1b2c896c11f99eaf4d577489d7b78bc80e2
4
- data.tar.gz: c48fb044665be985ee8780bc427e0f6eb36c7b26
3
+ metadata.gz: 8eb89b0ff4f52abf8a86f32ce33d1268a029087e
4
+ data.tar.gz: 40f878eeb5595721e49c5a213242f2c6c3a80b7c
5
5
  SHA512:
6
- metadata.gz: d7450503afab6cf778a54a50d229860905ac4763a5376a52e6540016ce75301d129986ef6820adef35123d4319a3a7423aa34fce6ba74c348e2c9c34c25206c7
7
- data.tar.gz: df109cf1ea2f6cd083aa589a8ae8ffe2362968af67583a93c06e842bc7d4f668e3a53227a342e3b532edfc173e3768a28eb55201bce2372396d2514907124e5f
6
+ metadata.gz: 0a8a642516a0f2167d2925ef75149850fb95b709a98ca5a5685f52383237186613a9db64cdc57a204930df48f842630acfd049ab3b88d1c6a13a6cfc995d46dc
7
+ data.tar.gz: e7ea6048bf616590daa46944ac420688dcc4b18a6c1d66166ab0c42efe6b51165906f3ad3d18ff0362fd430b39a32cd9ddf25d2e8b8d08494bfc9e88c133b911
@@ -14,7 +14,7 @@ ndcs_with_5_subscriber_digits = %w(30130 30131 30132 30133 30134 30135 30136 301
14
14
  34783 34784 34785 34786 34787 34788 34789 34791 34792 34794 34795 34796 34797 34798 34922 34932 34934 34936 34938
15
15
  34940 34948 34949 34992 34993 34994 34995 34996 34997 35130 35131 35133 35134 35138 35139 35140 35141 35142 35143
16
16
  35144 35145 35146 35147 35148 35149 35150 35151 35152 35153 35154 35155 35156 35157 35158 35159 35160 35161 35163
17
- 35164 35165 35166 35167 35168 35169 35190 35191 3522 35230 35231 35232 35233 35234 35235 35236 35237 35238 35239
17
+ 35164 35165 35166 35167 35168 35169 35190 35191 35230 35231 35232 35233 35234 35235 35236 35237 35238 35239
18
18
  35240 35241 35242 35243 35244 35245 35247 35248 35249 35251 35252 35253 35256 35257 35330 35331 35332 35333 35334
19
19
  35335 35336 35337 35338 35339 35341 35342 35344 35345 35346 35347 35348 35349 35351 35352 35354 35355 35356 35357
20
20
  35358 35359 35361 35362 35363 35364 35365 35366 35367 35368 35379 38141 38150 38151 38152 38153 38154 38155 38156
@@ -103,7 +103,7 @@ ndcs_with_5_subscriber_digits = %w(30130 30131 30132 30133 30134 30135 30136 301
103
103
  87872 87873 87874 87875 87876 87877 87878 87879 87922 87932 87934 87935 87937 87938 87951 87961 87964
104
104
  )
105
105
 
106
- ndcs_with_6_subscriber_digits = %w(3012 3022 3412 3435 3439 3452 3456 3462 3463 3466 3473 3494 3496 3513 3519 3532 3537
106
+ ndcs_with_6_subscriber_digits = %w(3012 3022 3412 3435 3439 3452 3456 3462 3463 3466 3473 3494 3496 3513 3519 3522 3532 3537
107
107
  3812 3822 3823 3842 3843 3846 3852 3854 3882 3902 3919 3942 3952 3953 3955 4012 4112 4132 4152 4162 4212 4217 4232 4234
108
108
  4236 4242 4712 4722 4725 4742 4752 4812 4822 4832 4842 4852 4855 4862 4872 4912 4922 4932 4942 8112 8142 8152 8162
109
109
  8172 8202 8212 8216 8313 8332 8342 8352 8362 8412 8422 8442 8443 8452 8453 8464 8482 8512 8552 8553 8555 8557 8617
@@ -376,6 +376,10 @@ describe 'plausibility' do
376
376
  Phony.plausible?('+62 22 0000 0000').should be_true
377
377
  Phony.plausible?('+62 22 000 000 000').should be_true
378
378
  end
379
+
380
+ it 'is correct for Russia' do
381
+ Phony.plausible?('+7 3522 000 000').should be_true
382
+ end
379
383
  end
380
384
  end
381
385
  end
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.34
4
+ version: 2.15.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Hanke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-11 00:00:00.000000000 Z
11
+ date: 2016-11-13 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