email_validator_amkumar 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: aeab34f3237247b5cedc396e83f0362a0cddbea5a9973f6d228da77fc60245cc
4
- data.tar.gz: 5f28502dfc71a657dc40e3656638b14d537d7e52cff0c0d577d8bd1d425deb7c
3
+ metadata.gz: d58462cc9f750b0dc2af3a6fc0bd859a1da77cd140923e2da63afb135124538b
4
+ data.tar.gz: 6267d185b2f3524a8ff616d22fcedfcdea3d84d84c72fd2947ae2a86771c442c
5
5
  SHA512:
6
- metadata.gz: f79173eaec759f6776c0185b038a00edc3c246cbd63d97530f928c62c38c8dbcbecbfaf23447c2b08ac30ce5a783f94aac5a9bb0ae576aab6b1795cc406a9c80
7
- data.tar.gz: d82536a584be7ce470c31cbad0a24360d58e38e8a0ee702e14f33050e9ae749dc6458caf1d7bb31608264368fb3dfc822ad57004dcf234e16aaf8554c42cfc14
6
+ metadata.gz: d5cc5896cbd52e2d49873c2d462984a1faad16bf104841905d4bd551581d05af96ba6cf7f2dcf45855b163681421988c4f8b7b46f62a368443857d220b0567cc
7
+ data.tar.gz: aa3cf532175689791be310a9364c7d7d2f79a0e474be2cd5700b29ddd6db4554b41978b493876d036812361ff29171f01236438ce2d841319ab07da99d6b5d04
data/doc/_index.html ADDED
@@ -0,0 +1,98 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Documentation by YARD 0.9.26
8
+
9
+ </title>
10
+
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
12
+
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
14
+
15
+ <script type="text/javascript">
16
+ pathId = null;
17
+ relpath = '';
18
+ </script>
19
+
20
+
21
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
24
+
25
+
26
+ </head>
27
+ <body>
28
+ <div class="nav_wrap">
29
+ <iframe id="nav" src="class_list.html?1"></iframe>
30
+ <div id="resizer"></div>
31
+ </div>
32
+
33
+ <div id="main" tabindex="-1">
34
+ <div id="header">
35
+ <div id="menu">
36
+
37
+ </div>
38
+
39
+ <div id="search">
40
+
41
+ <a class="full_list_link" id="class_list_link"
42
+ href="class_list.html">
43
+
44
+ <svg width="24" height="24">
45
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
46
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
47
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
48
+ </svg>
49
+ </a>
50
+
51
+ </div>
52
+ <div class="clear"></div>
53
+ </div>
54
+
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.26</h1>
56
+ <div id="listing">
57
+ <h1 class="alphaindex">Alphabetic Index</h1>
58
+
59
+ <div class="clear"></div>
60
+ <h2>Namespace Listing A-Z</h2>
61
+
62
+
63
+
64
+
65
+ <table>
66
+ <tr>
67
+ <td valign='top' width="33%">
68
+
69
+
70
+ <ul id="alpha_S" class="alpha">
71
+ <li class="letter">S</li>
72
+ <ul>
73
+
74
+ <li>
75
+ <span class='object_link'><a href="String.html" title="String (class)">String</a></span>
76
+
77
+ </li>
78
+
79
+ </ul>
80
+ </ul>
81
+
82
+ </td>
83
+ </tr>
84
+ </table>
85
+
86
+ </div>
87
+
88
+ </div>
89
+
90
+ <div id="footer">
91
+ Generated on Thu Apr 29 12:32:51 2021 by
92
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
93
+ 0.9.26 (ruby-3.0.0).
94
+ </div>
95
+
96
+ </div>
97
+ </body>
98
+ </html>
data/lib/README.md ADDED
@@ -0,0 +1 @@
1
+ This gem is used to check validity of email of a user
@@ -1,4 +1,8 @@
1
+ # String class
1
2
  class String
3
+ # method to validate email
4
+ # @params [object] requset object
5
+ # @returns [Boolean]
2
6
  def valid_email?
3
7
  !(/[a-zA-Z0-9]+@[a-z]{1,}.[a-z]{2,}/ =~ self).nil?
4
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_validator_amkumar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amit Kumar
@@ -28,8 +28,12 @@ description:
28
28
  email:
29
29
  executables: []
30
30
  extensions: []
31
- extra_rdoc_files: []
31
+ extra_rdoc_files:
32
+ - lib/README.md
33
+ - doc/_index.html
32
34
  files:
35
+ - doc/_index.html
36
+ - lib/README.md
33
37
  - lib/email_validator_amkumar.rb
34
38
  homepage:
35
39
  licenses: