mail_verifier 0.1.0 → 0.1.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 +4 -4
- data/README.md +17 -5
- data/lib/mail_verifier/version.rb +1 -1
- data/mail_verifier.gemspec +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a79ab7df5ec43bfbefa6d2fbeddb9ac63cd43bf3
|
4
|
+
data.tar.gz: 242a4d6534c5645f79d5725130b3cb71325811bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95504a8c78a0502a64c0367bf2bd5d8c14b06ecc4d4902ae4f6036eaf802da0af007ef5bfbd6c9addb50c1b11d06ec3c9b4457225b781e2b757908c47190ad2f
|
7
|
+
data.tar.gz: 33ccd4b224af3eac9cc00f4e1f9d43be466a5a9df1412cad788af984922e39b54c752a4cad922d294889ea8e9a466adedaf1485885ddec2f7740c8b42ac09c71
|
data/README.md
CHANGED
@@ -1,8 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# Mail Verifier
|
2
|
+
[](https://codeclimate.com/github/elfenars/mail_verifier/maintainability)
|
3
|
+
[](https://gemnasium.com/github.com/elfenars/mail_verifier)
|
4
|
+
[](https://badge.fury.io/rb/mail_verifier)
|
2
5
|
|
3
|
-
|
6
|
+
MailVerifier was inspired in [kamil/email_verifier](https://github.com/kamilc/email_verifier), but without the whole shebang.
|
4
7
|
|
5
|
-
|
8
|
+
This is straight to the point, require the gem and do your verification. No Railsties and other bangs.
|
9
|
+
|
10
|
+
Also, **no external dependencies**, pure good ol' Ruby Standard Library.
|
6
11
|
|
7
12
|
## Installation
|
8
13
|
|
@@ -22,7 +27,14 @@ Or install it yourself as:
|
|
22
27
|
|
23
28
|
## Usage
|
24
29
|
|
25
|
-
|
30
|
+
```ruby
|
31
|
+
require "mail_verifier"
|
32
|
+
MailVerifier.verify("origin_valid_mail@example.com", "mail_you_want_to_check@example.com")
|
33
|
+
```
|
34
|
+
|
35
|
+
Some domains check back if your domain is valid, therefore you need to provide a valid email (`origin_valid_mail`) first.
|
36
|
+
|
37
|
+
As for the destination mail, of course it _can_ be invalid, we don't know. This is why we check, right? :D
|
26
38
|
|
27
39
|
## Development
|
28
40
|
|
@@ -32,7 +44,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
44
|
|
33
45
|
## Contributing
|
34
46
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
47
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/elfenars/mail_verifier.
|
36
48
|
|
37
49
|
|
38
50
|
## License
|
data/mail_verifier.gemspec
CHANGED
@@ -21,6 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
+
spec.required_ruby_version = '>= 2.0.0'
|
25
|
+
|
24
26
|
spec.add_development_dependency "bundler", "~> 1.14"
|
25
27
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
28
|
spec.add_development_dependency "rspec", "~> 3.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail_verifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Feña Agar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
97
|
requirements:
|
98
98
|
- - ">="
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version:
|
100
|
+
version: 2.0.0
|
101
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
103
|
- - ">="
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project:
|
108
|
-
rubygems_version: 2.6.
|
108
|
+
rubygems_version: 2.6.14
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: Small gem to verify emails.
|