phonelib 0.6.22 → 0.6.23

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: 73b3d8a14f0b8759fd8b6bef0535a46b7a9d0731
4
- data.tar.gz: ae495d47f1ad7b0d6c2cd28f54ce665cef40fc22
3
+ metadata.gz: 573b358ca48ca35ddc9bf18c7db307ae0ecb3ace
4
+ data.tar.gz: 004b1c1a8ac9d076f6168ef60688b1c7acde4313
5
5
  SHA512:
6
- metadata.gz: da7be7fee93026ad690e049a1e5afe825222756f82c9770a3918d1ef9e31f937c17e5af1fc0377c34b7b97da6a1b9296dfd33e4f4588bf634ca95a453a07a1c4
7
- data.tar.gz: 1254c4b20dbdd079151f4bbbf0378192ba0b80d5af02dc9c5f20bc9b6549712bb82d3f596406817b9ff51550fc0192ab01e9051192904f20f41fb29c5dcc2058
6
+ metadata.gz: e50830e94086b7a8fc0c4d0f534ff5248fb6a778dd483e1fab1506ddf0565b2e48bb2ac6509c97599f59ab2c13a2108560ab35b56a4fb7cf8c94e443d6d73459
7
+ data.tar.gz: 4f39bd625f9a5a69fc86cd189e9611f783187ab441693d8067af11867031a824661c7291264d0d9a06fcfed44087e144b32d0f0e075b305240098f1be6a07ec0
data/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  [![Build Status](https://travis-ci.org/daddyz/phonelib.png?branch=master)](http://travis-ci.org/daddyz/phonelib)
6
6
  [![](https://codeclimate.com/github/daddyz/phonelib/badges/coverage.svg)](https://codeclimate.com/github/daddyz/phonelib/coverage)
7
7
  [![](https://codeclimate.com/github/daddyz/phonelib/badges/gpa.svg)](https://codeclimate.com/github/daddyz/phonelib)
8
- [![Dependency Status](https://gemnasium.com/daddyz/phonelib.svg)](https://gemnasium.com/daddyz/phonelib)
9
8
  [![Inline docs](http://inch-ci.org/github/daddyz/phonelib.svg?branch=master)](http://inch-ci.org/github/daddyz/phonelib)
10
9
 
11
10
  Phonelib is a gem allowing you to validate phone number. All validations are based on [Google libphonenumber](https://github.com/googlei18n/libphonenumber).
@@ -112,7 +111,7 @@ if mixed with <tt>possible</tt> will check if number is possible for specified t
112
111
  <tt>countries: :us</tt> or <tt>countries: [:us, :ca]</tt> - allows to validate against specific countries,
113
112
  if mixed with <tt>possible</tt> will check if number is possible for specified countries
114
113
 
115
- <tt>country_specifier: -> phone { phone.country.try(:upcase) }</tt> - allows to specify country for validation dynamically for each validation.
114
+ <tt>country_specifier: -> phone { phone.country.try(:upcase) }</tt> - allows to specify country for validation dynamically for each validation. Usefull when phone is stored as national number without country prefix.
116
115
 
117
116
  <tt>extensions: false</tt> - set to perform check for phone extension to be blank
118
117
 
Binary file
data/data/phone_data.dat CHANGED
Binary file
@@ -1,4 +1,4 @@
1
1
  module Phonelib
2
2
  # @private
3
- VERSION = '0.6.22'
3
+ VERSION = '0.6.23'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phonelib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.22
4
+ version: 0.6.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vadim Senderovich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-23 00:00:00.000000000 Z
11
+ date: 2018-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake