phone_number_validator 0.1.2 → 0.1.3

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: febb9da57ec183c54ba1e48c71bac532d0fc14521e2cf2a4b9fd9ab19f2b4d40
4
- data.tar.gz: 55693ee73815bb4668e07f72debb842cefeba5abc41eefd75e29cf2b7d900a67
3
+ metadata.gz: bf50bfc6b2b9a79b3755923917be7691161f86a38c4dfe54cab72f1bb957d3a5
4
+ data.tar.gz: aacbd5e271594049f21e2414f67ae3954a007643c9c86f3025a2e79eaba72352
5
5
  SHA512:
6
- metadata.gz: fe63972de50088df3cba9c3ab8a2be23bea0ce6c52922d78b8ebe3dd7da15d49198da23966a92e21cfface9d7142a4cd23e440cad04509a3668bf573a4f1f07f
7
- data.tar.gz: 4b8131b1e119afdc86c5774791070a978c132fef732d0ccbe5f288ebe2941bd8e88be5f7c9f749211a1c0348566869148a2e8f68b87abf198f5212bc1257468f
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>=&gt; &#39;+1 (949) 355-6244 ext. 198842&#39; is a valid phone number.&#39;
140
130
  =&gt; 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">&para;</a> <a href="#top">&uarr;</a></span></h2>
143
-
144
- <h3 id="label-Windows">Windows<span><a href="#label-Windows">&para;</a> <a href="#top">&uarr;</a></span></h3>
145
-
146
- <h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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 &lt;path/to/extracted/zip&gt;
159
- $ ruby setup.rb</pre>
160
-
161
- <h3 id="label-OSX">OSX<span><a href="#label-OSX">&para;</a> <a href="#top">&uarr;</a></span></h3>
162
-
163
- <h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">&para;</a> <a href="#top">&uarr;</a></span></h4>
164
-
165
- <p>Run the following:</p>
166
-
167
- <pre>$ /usr/bin/ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;
168
- $ sudo brew install ruby</pre>
169
-
170
- <h4 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">&para;</a> <a href="#top">&uarr;</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 &lt;path/to/extracted/zip&gt;
178
- $ ruby setup.rb</pre>
179
-
180
- <h3 id="label-Linux">Linux<span><a href="#label-Linux">&para;</a> <a href="#top">&uarr;</a></span></h3>
181
-
182
- <h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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 &lt;path/to/extracted/zip&gt;
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 14:57:09 -0800
2
- README.rdoc Sun, 04 Nov 2018 14:27:52 -0800
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>=&gt; &#39;+1 (949) 355-6244 ext. 198842&#39; is a valid phone number.&#39;
127
127
  =&gt; 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">&para;</a> <a href="#top">&uarr;</a></span></h2>
130
-
131
- <h3 id="label-Windows">Windows<span><a href="#label-Windows">&para;</a> <a href="#top">&uarr;</a></span></h3>
132
-
133
- <h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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 &lt;path/to/extracted/zip&gt;
146
- $ ruby setup.rb</pre>
147
-
148
- <h3 id="label-OSX">OSX<span><a href="#label-OSX">&para;</a> <a href="#top">&uarr;</a></span></h3>
149
-
150
- <h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">&para;</a> <a href="#top">&uarr;</a></span></h4>
151
-
152
- <p>Run the following:</p>
153
-
154
- <pre>$ /usr/bin/ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;
155
- $ sudo brew install ruby</pre>
156
-
157
- <h4 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">&para;</a> <a href="#top">&uarr;</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 &lt;path/to/extracted/zip&gt;
165
- $ ruby setup.rb</pre>
166
-
167
- <h3 id="label-Linux">Linux<span><a href="#label-Linux">&para;</a> <a href="#top">&uarr;</a></span></h3>
168
-
169
- <h4 id="label-Ruby">Ruby<span><a href="#label-Ruby">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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 &lt;path/to/extracted/zip&gt;
183
- $ ruby setup.rb</pre>
184
128
  </main>
185
129
 
186
130
 
Binary file
Binary file
Binary file
@@ -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.2'
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."
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.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag33188