phone_number_validator 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc9de6a335c51cfa3cf606ded2d0265396a88c1836575528dd9d41b6ce541180
4
- data.tar.gz: 05cbfcf561cb1889296af7e4122e807c50fa5de408470cd924dbada79f2592d6
3
+ metadata.gz: 0fe92e08d1aee913b8bf064f7b3c209c3f56c18aeea8b929feb0db7db897851b
4
+ data.tar.gz: 97a7c7f3955e0f332edad42f54b9477fc90e064dee9f9995a425048ccba387b4
5
5
  SHA512:
6
- metadata.gz: ca5de118548f3e0037e2dcc676339aaa79e9b310fff2c87bf1b6d78143a899dc08b69d4e634b8526896fcff43135162c88df04fac3f04374f0a5495eb0e0d47f
7
- data.tar.gz: 87c60e103c0b64fdb0b9506f444879d33c4b8eee704989f90e406a6c935ca567162e7882a7363167410cdf8a2bab334402b24fc62e34646fc59fc9225ccc9077
6
+ metadata.gz: '04700881270da86fea30075637e7c0cd67cc7fd7c93c367eefdff200d1b70e5fc610e3e41f594270f635141f99c9f8eeabd590d768318ba9ed25cd9aea2c4c4f'
7
+ data.tar.gz: 16d11d0684e3147144e083fca2fbaa4715cf2367092fb2b7dc6032b5316a4df27413ba6148c04ba2a303dcfee556d9afcff5bde3ae296c9cba92bee0c0ed1fb6
@@ -164,7 +164,7 @@
164
164
 
165
165
  <div class="method-description">
166
166
 
167
- <p>This test inputs no phone number and expectst he output to be
167
+ <p>This test inputs no phone number and expectst the output to be
168
168
  <strong>:nil</strong></p>
169
169
 
170
170
 
data/doc/created.rid CHANGED
@@ -1,6 +1,6 @@
1
- Fri, 23 Nov 2018 12:23:54 -0800
1
+ Fri, 23 Nov 2018 12:30:10 -0800
2
2
  README.rdoc Fri, 23 Nov 2018 12:20:43 -0800
3
3
  lib/phone_number_validator.rb Fri, 23 Nov 2018 12:20:43 -0800
4
4
  lib/phone_number_validator/validator.rb Fri, 23 Nov 2018 12:23:19 -0800
5
- test/test_phone_number_validator.rb Fri, 23 Nov 2018 12:22:46 -0800
5
+ test/test_phone_number_validator.rb Fri, 23 Nov 2018 12:29:58 -0800
6
6
  bin/pnv Fri, 23 Nov 2018 12:20:43 -0800
Binary file
@@ -1 +1 @@
1
- var search_data = {"index":{"searchIndex":["phonenumbervalidator","validator","phonenumbervalidatortest","new()","test_invalid_phone_number()","test_no_phone_number()","test_valid_phone_number()","validate_phone_number()","validate_phone_number()","readme"],"longSearchIndex":["phonenumbervalidator","phonenumbervalidator::validator","phonenumbervalidatortest","phonenumbervalidator::validator::new()","phonenumbervalidatortest#test_invalid_phone_number()","phonenumbervalidatortest#test_no_phone_number()","phonenumbervalidatortest#test_valid_phone_number()","phonenumbervalidator::validate_phone_number()","phonenumbervalidator::validator#validate_phone_number()",""],"info":[["PhoneNumberValidator","","PhoneNumberValidator.html","","<p>This class is the master/parent class to all of the validation\nfunctionality\n"],["PhoneNumberValidator::Validator","","PhoneNumberValidator/Validator.html","","<p>This class does all of the matching and checking work for the validation of\nthe phone number.\n"],["PhoneNumberValidatorTest","","PhoneNumberValidatorTest.html","","<p>This class respresents the testing-unit for this gem app\n<p><strong>Inherits from:</strong>\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">Test</span><span class=\"ruby-operator\">::</span><span class=\"ruby-constant\">Unit</span><span class=\"ruby-operator\">::</span><span class=\"ruby-constant\">TestCase</span>\n</pre>\n"],["new","PhoneNumberValidator::Validator","PhoneNumberValidator/Validator.html#method-c-new","(phone_number = '+1 (949) 355-6244 ext. 198842')","<p>initializes the <strong>@phone_number</strong> instance variable\n"],["test_invalid_phone_number","PhoneNumberValidatorTest","PhoneNumberValidatorTest.html#method-i-test_invalid_phone_number","()","<p>This test inputs an invalid phone number and expects the output to be\n<strong>false</strong>\n"],["test_no_phone_number","PhoneNumberValidatorTest","PhoneNumberValidatorTest.html#method-i-test_no_phone_number","()","<p>This test inputs no phone number and expectst he output to be\n<strong>:nil</strong>\n"],["test_valid_phone_number","PhoneNumberValidatorTest","PhoneNumberValidatorTest.html#method-i-test_valid_phone_number","()","<p>This test inputs a valid phone number and expects the output to be\n<strong>true</strong>\n"],["validate_phone_number","PhoneNumberValidator","PhoneNumberValidator.html#method-c-validate_phone_number","(phone_number)","<p>Validates any United States phone number!\n<p><strong>Example:</strong>\n\n<pre>PhoneNumberValidator.validate_phone_number(&#39;+1 (949) ...</pre>\n"],["validate_phone_number","PhoneNumberValidator::Validator","PhoneNumberValidator/Validator.html#method-i-validate_phone_number","()","<p>Checks to see if the phone number the user entered is valid by testing\nregex the pattern with the phone …\n"],["README","","README_rdoc.html","","<p>Phone Number Validator\n<p>About\n<p>This app is a US phone number-validating RubyGem.\n"]]}}
1
+ var search_data = {"index":{"searchIndex":["phonenumbervalidator","validator","phonenumbervalidatortest","new()","test_invalid_phone_number()","test_no_phone_number()","test_valid_phone_number()","validate_phone_number()","validate_phone_number()","readme"],"longSearchIndex":["phonenumbervalidator","phonenumbervalidator::validator","phonenumbervalidatortest","phonenumbervalidator::validator::new()","phonenumbervalidatortest#test_invalid_phone_number()","phonenumbervalidatortest#test_no_phone_number()","phonenumbervalidatortest#test_valid_phone_number()","phonenumbervalidator::validate_phone_number()","phonenumbervalidator::validator#validate_phone_number()",""],"info":[["PhoneNumberValidator","","PhoneNumberValidator.html","","<p>This class is the master/parent class to all of the validation\nfunctionality\n"],["PhoneNumberValidator::Validator","","PhoneNumberValidator/Validator.html","","<p>This class does all of the matching and checking work for the validation of\nthe phone number.\n"],["PhoneNumberValidatorTest","","PhoneNumberValidatorTest.html","","<p>This class respresents the testing-unit for this gem app\n<p><strong>Inherits from:</strong>\n\n<pre class=\"ruby\"><span class=\"ruby-constant\">Test</span><span class=\"ruby-operator\">::</span><span class=\"ruby-constant\">Unit</span><span class=\"ruby-operator\">::</span><span class=\"ruby-constant\">TestCase</span>\n</pre>\n"],["new","PhoneNumberValidator::Validator","PhoneNumberValidator/Validator.html#method-c-new","(phone_number = '+1 (949) 355-6244 ext. 198842')","<p>initializes the <strong>@phone_number</strong> instance variable\n"],["test_invalid_phone_number","PhoneNumberValidatorTest","PhoneNumberValidatorTest.html#method-i-test_invalid_phone_number","()","<p>This test inputs an invalid phone number and expects the output to be\n<strong>false</strong>\n"],["test_no_phone_number","PhoneNumberValidatorTest","PhoneNumberValidatorTest.html#method-i-test_no_phone_number","()","<p>This test inputs no phone number and expectst the output to be\n<strong>:nil</strong>\n"],["test_valid_phone_number","PhoneNumberValidatorTest","PhoneNumberValidatorTest.html#method-i-test_valid_phone_number","()","<p>This test inputs a valid phone number and expects the output to be\n<strong>true</strong>\n"],["validate_phone_number","PhoneNumberValidator","PhoneNumberValidator.html#method-c-validate_phone_number","(phone_number)","<p>Validates any United States phone number!\n<p><strong>Example:</strong>\n\n<pre>PhoneNumberValidator.validate_phone_number(&#39;+1 (949) ...</pre>\n"],["validate_phone_number","PhoneNumberValidator::Validator","PhoneNumberValidator/Validator.html#method-i-validate_phone_number","()","<p>Checks to see if the phone number the user entered is valid by testing\nregex the pattern with the phone …\n"],["README","","README_rdoc.html","","<p>Phone Number Validator\n<p>About\n<p>This app is a US phone number-validating RubyGem.\n"]]}}
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'phone_number_validator'
3
- spec.version = '0.5.0'
3
+ spec.version = '0.5.1'
4
4
  spec.date = Time.now.strftime("%Y-%m-%d")
5
5
  spec.summary = 'Validate any US phone number!'
6
6
  spec.description = <<-EOF
@@ -23,7 +23,7 @@ class PhoneNumberValidatorTest < Test::Unit::TestCase
23
23
  end
24
24
 
25
25
  ##
26
- # This test inputs no phone number and expectst he output to be <b>:nil</b>
26
+ # This test inputs no phone number and expectst the output to be <b>:nil</b>
27
27
  def test_no_phone_number
28
28
  assert_equal :nil,
29
29
  PhoneNumberValidator.validate_phone_number('')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phone_number_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag33188