phone_number_validator 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +0 -52
- data/doc/README_rdoc.html +0 -66
- data/doc/created.rid +2 -2
- data/doc/index.html +0 -56
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +0 -10
- data/phone_number_validator.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf50bfc6b2b9a79b3755923917be7691161f86a38c4dfe54cab72f1bb957d3a5
|
4
|
+
data.tar.gz: aacbd5e271594049f21e2414f67ae3954a007643c9c86f3025a2e79eaba72352
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc6e917e5829a9fd091e8df217b45451c5c46275740ffddd300d6982228357e4e3b603ed09de82260cefe36294a7582e4ea79e28ecde5fe9ec1f5a84032168a6
|
7
|
+
data.tar.gz: 707073b1e901250b0521b0ffc9490ceb244dff6be027fe5545063c3a48183c48e99387bf8c4a67e0f82bccdb460668b648bf6a1ad20d0d017072d6a99e954358
|
data/README.rdoc
CHANGED
@@ -40,55 +40,3 @@ This app is a US phone number-validating RubyGem.
|
|
40
40
|
|
41
41
|
=> '+1 (949) 355-6244 ext. 198842' is a valid phone number.'
|
42
42
|
=> true
|
43
|
-
|
44
|
-
== Download/Install Ruby and RubyGems (on all OS)
|
45
|
-
|
46
|
-
=== Windows
|
47
|
-
|
48
|
-
==== Ruby
|
49
|
-
|
50
|
-
Download and install the RubyInstaller from {RubyInstaller's website}[https://rubyinstaller.org/].
|
51
|
-
|
52
|
-
==== RubyGems
|
53
|
-
|
54
|
-
Download and extract the zip file from the {RubyGems download page}[https://rubygems.org/pages/download].
|
55
|
-
|
56
|
-
Then run the following:
|
57
|
-
|
58
|
-
$ cd <path/to/extracted/zip>
|
59
|
-
$ ruby setup.rb
|
60
|
-
|
61
|
-
=== OSX
|
62
|
-
|
63
|
-
==== Ruby
|
64
|
-
|
65
|
-
Run the following:
|
66
|
-
|
67
|
-
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
68
|
-
$ sudo brew install ruby
|
69
|
-
|
70
|
-
==== RubyGems
|
71
|
-
|
72
|
-
Download and extract the zip file from the {RubyGems download page}[https://rubygems.org/pages/download].
|
73
|
-
|
74
|
-
Then run the following:
|
75
|
-
|
76
|
-
$ cd <path/to/extracted/zip>
|
77
|
-
$ ruby setup.rb
|
78
|
-
|
79
|
-
=== Linux
|
80
|
-
|
81
|
-
==== Ruby
|
82
|
-
|
83
|
-
Run the following:
|
84
|
-
|
85
|
-
$ sudo apt install ruby-full
|
86
|
-
|
87
|
-
==== RubyGems
|
88
|
-
|
89
|
-
Download and extract the zip file from the {RubyGems download page}[https://rubygems.org/pages/download].
|
90
|
-
|
91
|
-
Then run the following:
|
92
|
-
|
93
|
-
$ cd <path/to/extracted/zip>
|
94
|
-
$ ruby setup.rb
|
data/doc/README_rdoc.html
CHANGED
@@ -65,16 +65,6 @@
|
|
65
65
|
<li><a href="#label-In+command+line">In command line</a>
|
66
66
|
<li><a href="#label-In+Ruby+code">In Ruby code</a>
|
67
67
|
<li><a href="#label-Output">Output</a>
|
68
|
-
<li><a href="#label-Download-2FInstall+Ruby+and+RubyGems+-28on+all+OS-29">Download/Install Ruby and RubyGems (on all OS)</a>
|
69
|
-
<li><a href="#label-Windows">Windows</a>
|
70
|
-
<li><a href="#label-Ruby">Ruby</a>
|
71
|
-
<li><a href="#label-RubyGems">RubyGems</a>
|
72
|
-
<li><a href="#label-OSX">OSX</a>
|
73
|
-
<li><a href="#label-Ruby">Ruby</a>
|
74
|
-
<li><a href="#label-RubyGems">RubyGems</a>
|
75
|
-
<li><a href="#label-Linux">Linux</a>
|
76
|
-
<li><a href="#label-Ruby">Ruby</a>
|
77
|
-
<li><a href="#label-RubyGems">RubyGems</a>
|
78
68
|
</ul>
|
79
69
|
</div>
|
80
70
|
|
@@ -138,62 +128,6 @@
|
|
138
128
|
|
139
129
|
<pre>=> '+1 (949) 355-6244 ext. 198842' is a valid phone number.'
|
140
130
|
=> true</pre>
|
141
|
-
|
142
|
-
<h2 id="label-Download-2FInstall+Ruby+and+RubyGems+-28on+all+OS-29">Download/Install Ruby and RubyGems (on all OS)<span><a href="#label-Download-2FInstall+Ruby+and+RubyGems+-28on+all+OS-29">¶</a> <a href="#top">↑</a></span></h2>
|
143
|
-
|
144
|
-
<h3 id="label-Windows">Windows<span><a href="#label-Windows">¶</a> <a href="#top">↑</a></span></h3>
|
145
|
-
|
146
|
-
<h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">¶</a> <a href="#top">↑</a></span></h4>
|
147
|
-
|
148
|
-
<p>Download and install the RubyInstaller from <a
|
149
|
-
href="https://rubyinstaller.org/">RubyInstaller’s website</a>.</p>
|
150
|
-
|
151
|
-
<h4 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">¶</a> <a href="#top">↑</a></span></h4>
|
152
|
-
|
153
|
-
<p>Download and extract the zip file from the <a
|
154
|
-
href="https://rubygems.org/pages/download">RubyGems download page</a>.</p>
|
155
|
-
|
156
|
-
<p>Then run the following:</p>
|
157
|
-
|
158
|
-
<pre>$ cd <path/to/extracted/zip>
|
159
|
-
$ ruby setup.rb</pre>
|
160
|
-
|
161
|
-
<h3 id="label-OSX">OSX<span><a href="#label-OSX">¶</a> <a href="#top">↑</a></span></h3>
|
162
|
-
|
163
|
-
<h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">¶</a> <a href="#top">↑</a></span></h4>
|
164
|
-
|
165
|
-
<p>Run the following:</p>
|
166
|
-
|
167
|
-
<pre>$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
168
|
-
$ sudo brew install ruby</pre>
|
169
|
-
|
170
|
-
<h4 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">¶</a> <a href="#top">↑</a></span></h4>
|
171
|
-
|
172
|
-
<p>Download and extract the zip file from the <a
|
173
|
-
href="https://rubygems.org/pages/download">RubyGems download page</a>.</p>
|
174
|
-
|
175
|
-
<p>Then run the following:</p>
|
176
|
-
|
177
|
-
<pre>$ cd <path/to/extracted/zip>
|
178
|
-
$ ruby setup.rb</pre>
|
179
|
-
|
180
|
-
<h3 id="label-Linux">Linux<span><a href="#label-Linux">¶</a> <a href="#top">↑</a></span></h3>
|
181
|
-
|
182
|
-
<h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">¶</a> <a href="#top">↑</a></span></h4>
|
183
|
-
|
184
|
-
<p>Run the following:</p>
|
185
|
-
|
186
|
-
<pre>$ sudo apt install ruby-full</pre>
|
187
|
-
|
188
|
-
<h4 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">¶</a> <a href="#top">↑</a></span></h4>
|
189
|
-
|
190
|
-
<p>Download and extract the zip file from the <a
|
191
|
-
href="https://rubygems.org/pages/download">RubyGems download page</a>.</p>
|
192
|
-
|
193
|
-
<p>Then run the following:</p>
|
194
|
-
|
195
|
-
<pre>$ cd <path/to/extracted/zip>
|
196
|
-
$ ruby setup.rb</pre>
|
197
131
|
</main>
|
198
132
|
|
199
133
|
|
data/doc/created.rid
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
Sun, 04 Nov 2018
|
2
|
-
README.rdoc Sun, 04 Nov 2018
|
1
|
+
Sun, 04 Nov 2018 15:07:02 -0800
|
2
|
+
README.rdoc Sun, 04 Nov 2018 15:06:02 -0800
|
3
3
|
lib/phone_number_validator.rb Sun, 04 Nov 2018 14:34:47 -0800
|
4
4
|
lib/phone_number_validator/validator.rb Sun, 04 Nov 2018 14:38:44 -0800
|
5
5
|
test/test_phone_number_validator.rb Sun, 04 Nov 2018 11:53:56 -0800
|
data/doc/index.html
CHANGED
@@ -125,62 +125,6 @@
|
|
125
125
|
|
126
126
|
<pre>=> '+1 (949) 355-6244 ext. 198842' is a valid phone number.'
|
127
127
|
=> true</pre>
|
128
|
-
|
129
|
-
<h2 id="label-Download-2FInstall+Ruby+and+RubyGems+-28on+all+OS-29">Download/Install Ruby and RubyGems (on all OS)<span><a href="#label-Download-2FInstall+Ruby+and+RubyGems+-28on+all+OS-29">¶</a> <a href="#top">↑</a></span></h2>
|
130
|
-
|
131
|
-
<h3 id="label-Windows">Windows<span><a href="#label-Windows">¶</a> <a href="#top">↑</a></span></h3>
|
132
|
-
|
133
|
-
<h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">¶</a> <a href="#top">↑</a></span></h4>
|
134
|
-
|
135
|
-
<p>Download and install the RubyInstaller from <a
|
136
|
-
href="https://rubyinstaller.org/">RubyInstaller’s website</a>.</p>
|
137
|
-
|
138
|
-
<h4 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">¶</a> <a href="#top">↑</a></span></h4>
|
139
|
-
|
140
|
-
<p>Download and extract the zip file from the <a
|
141
|
-
href="https://rubygems.org/pages/download">RubyGems download page</a>.</p>
|
142
|
-
|
143
|
-
<p>Then run the following:</p>
|
144
|
-
|
145
|
-
<pre>$ cd <path/to/extracted/zip>
|
146
|
-
$ ruby setup.rb</pre>
|
147
|
-
|
148
|
-
<h3 id="label-OSX">OSX<span><a href="#label-OSX">¶</a> <a href="#top">↑</a></span></h3>
|
149
|
-
|
150
|
-
<h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">¶</a> <a href="#top">↑</a></span></h4>
|
151
|
-
|
152
|
-
<p>Run the following:</p>
|
153
|
-
|
154
|
-
<pre>$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
155
|
-
$ sudo brew install ruby</pre>
|
156
|
-
|
157
|
-
<h4 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">¶</a> <a href="#top">↑</a></span></h4>
|
158
|
-
|
159
|
-
<p>Download and extract the zip file from the <a
|
160
|
-
href="https://rubygems.org/pages/download">RubyGems download page</a>.</p>
|
161
|
-
|
162
|
-
<p>Then run the following:</p>
|
163
|
-
|
164
|
-
<pre>$ cd <path/to/extracted/zip>
|
165
|
-
$ ruby setup.rb</pre>
|
166
|
-
|
167
|
-
<h3 id="label-Linux">Linux<span><a href="#label-Linux">¶</a> <a href="#top">↑</a></span></h3>
|
168
|
-
|
169
|
-
<h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">¶</a> <a href="#top">↑</a></span></h4>
|
170
|
-
|
171
|
-
<p>Run the following:</p>
|
172
|
-
|
173
|
-
<pre>$ sudo apt install ruby-full</pre>
|
174
|
-
|
175
|
-
<h4 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">¶</a> <a href="#top">↑</a></span></h4>
|
176
|
-
|
177
|
-
<p>Download and extract the zip file from the <a
|
178
|
-
href="https://rubygems.org/pages/download">RubyGems download page</a>.</p>
|
179
|
-
|
180
|
-
<p>Then run the following:</p>
|
181
|
-
|
182
|
-
<pre>$ cd <path/to/extracted/zip>
|
183
|
-
$ ruby setup.rb</pre>
|
184
128
|
</main>
|
185
129
|
|
186
130
|
|
data/doc/js/navigation.js.gz
CHANGED
Binary file
|
data/doc/js/search_index.js.gz
CHANGED
Binary file
|
data/doc/js/searcher.js.gz
CHANGED
Binary file
|
data/doc/table_of_contents.html
CHANGED
@@ -38,16 +38,6 @@
|
|
38
38
|
<li><a href="README_rdoc.html#label-In+command+line">In command line</a>
|
39
39
|
<li><a href="README_rdoc.html#label-In+Ruby+code">In Ruby code</a>
|
40
40
|
<li><a href="README_rdoc.html#label-Output">Output</a>
|
41
|
-
<li><a href="README_rdoc.html#label-Download-2FInstall+Ruby+and+RubyGems+-28on+all+OS-29">Download/Install Ruby and RubyGems (on all OS)</a>
|
42
|
-
<li><a href="README_rdoc.html#label-Windows">Windows</a>
|
43
|
-
<li><a href="README_rdoc.html#label-Ruby">Ruby</a>
|
44
|
-
<li><a href="README_rdoc.html#label-RubyGems">RubyGems</a>
|
45
|
-
<li><a href="README_rdoc.html#label-OSX">OSX</a>
|
46
|
-
<li><a href="README_rdoc.html#label-Ruby">Ruby</a>
|
47
|
-
<li><a href="README_rdoc.html#label-RubyGems">RubyGems</a>
|
48
|
-
<li><a href="README_rdoc.html#label-Linux">Linux</a>
|
49
|
-
<li><a href="README_rdoc.html#label-Ruby">Ruby</a>
|
50
|
-
<li><a href="README_rdoc.html#label-RubyGems">RubyGems</a>
|
51
41
|
</ul>
|
52
42
|
</li>
|
53
43
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'phone_number_validator'
|
3
|
-
spec.version = '0.1.
|
3
|
+
spec.version = '0.1.3'
|
4
4
|
spec.date = Time.now.strftime("%Y-%m-%d")
|
5
5
|
spec.summary = 'Validate any US phone number!'
|
6
6
|
spec.description = "This gem is a United States phone number validator. This gem uses a complex regular expression that can validate any United States phone number."
|