mail_verifier 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 9bf87cbb2b36d389caf9c0c3db372ff4ab13d741
4
- data.tar.gz: dbc54a5fac2d07bf84e347ea53dce1958747ed68
3
+ metadata.gz: a79ab7df5ec43bfbefa6d2fbeddb9ac63cd43bf3
4
+ data.tar.gz: 242a4d6534c5645f79d5725130b3cb71325811bb
5
5
  SHA512:
6
- metadata.gz: 6cd3a8d5b6f9fccf551921065eb906bf5bb9c486b111fc8d869fab06f4ce86e6c226f5b923441395c97d0a8accb79880ea600d0507b48064ea67155f08a86cfd
7
- data.tar.gz: 27f1dd877be5307ac26d747e2baaedb853ad0ddce6add3e2d1904951e3f47a43731c11ff15e27cc5d4998c8096a644e1ca97c1455a501a8f5af0b97e0b7442ff
6
+ metadata.gz: 95504a8c78a0502a64c0367bf2bd5d8c14b06ecc4d4902ae4f6036eaf802da0af007ef5bfbd6c9addb50c1b11d06ec3c9b4457225b781e2b757908c47190ad2f
7
+ data.tar.gz: 33ccd4b224af3eac9cc00f4e1f9d43be466a5a9df1412cad788af984922e39b54c752a4cad922d294889ea8e9a466adedaf1485885ddec2f7740c8b42ac09c71
data/README.md CHANGED
@@ -1,8 +1,13 @@
1
- # MailVerifier
1
+ # Mail Verifier
2
+ [![Maintainability](https://api.codeclimate.com/v1/badges/49c77c86fcd8c99f28d7/maintainability)](https://codeclimate.com/github/elfenars/mail_verifier/maintainability)
3
+ [![Dependency Status](https://gemnasium.com/badges/github.com/elfenars/mail_verifier.svg)](https://gemnasium.com/github.com/elfenars/mail_verifier)
4
+ [![Gem Version](https://badge.fury.io/rb/mail_verifier.svg)](https://badge.fury.io/rb/mail_verifier)
2
5
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/mail_verifier`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+ MailVerifier was inspired in [kamil/email_verifier](https://github.com/kamilc/email_verifier), but without the whole shebang.
4
7
 
5
- TODO: Delete this and the text above, and describe your gem
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
- TODO: Write usage instructions here
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/[USERNAME]/mail_verifier.
47
+ Bug reports and pull requests are welcome on GitHub at https://github.com/elfenars/mail_verifier.
36
48
 
37
49
 
38
50
  ## License
@@ -1,3 +1,3 @@
1
1
  module MailVerifier
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -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.0
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: 2017-07-26 00:00:00.000000000 Z
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: '0'
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.11
108
+ rubygems_version: 2.6.14
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: Small gem to verify emails.