email_validator_shrajput 1.0.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f9ae26fbee6f1efb0aeedbcab6dcc48c7e684bebde461a56256a491732a79aa8
4
+ data.tar.gz: 79c49b0387440dcad4126659923564b0587eb1a1d4dea52152613084192241d8
5
+ SHA512:
6
+ metadata.gz: 676bd243a2f0ffa12cb2021380007e55750d2faa96acfa016c938750ebf21b7ad6910d8d6c5091c9ad52b68f0608c0159bc655715433650f456a86dcc5d4d19d
7
+ data.tar.gz: d593c66cda4dcd4af8f6915661904f65c3077bd1c5c3f302a00e5f715dbc553c5e9d1b8d4c986095ca0a3550fb33476e4dd97ff57af2916ea2b2ec5afe5f4206
@@ -0,0 +1,5 @@
1
+ class String
2
+ def valid_email?
3
+ !(/[a-zA-Z0-9]+@[a-z]{1,}.[a-z]{2,}/ =~ self).nil?
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,42 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: email_validator_shrajput
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Shikha Rajput
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/email_validator_shrajput.rb
20
+ homepage:
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubygems_version: 3.0.9
39
+ signing_key:
40
+ specification_version: 4
41
+ summary: Hola!
42
+ test_files: []