mailboxvalidator_ruby 1.0.0 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32a848bdfcf5df4f05312a7da6d8aac31d92ea1b
4
- data.tar.gz: 72260d290a292c015970894bc71488a2532ceeda
3
+ metadata.gz: 75d82a7027ac9e0414ccb3d9e6dd8fd7fffd38c0
4
+ data.tar.gz: 371db16787b83c35c160ef016de49e949b0c362f
5
5
  SHA512:
6
- metadata.gz: 6f5a83a4e1054649b43d0e28c5ea998ebf6ff10a85b657cc48faf65c5ca4f7628cda39541aef5d4b381375075212c58bc92548f50fab0d456d8c1448f76c99f1
7
- data.tar.gz: 0f046bf21524bc910e47c4378f290f3037bad4920b38ff076cc4231996e165e358cd77f017ac84b500cfda73de56c04c58a90130f153a193185512f523b39440
6
+ metadata.gz: e857f5270fa8499fecc19b8ee372c96c930ed86a9a53b783c2d7025eeb826c476e58c6c4de65ae89bd586b36dcd5b0f4512f2244380533562f75e062eabebfa2
7
+ data.tar.gz: 911b99294458cc59d0844176fcccdb7fcdffa139383730180293af1c9bb1b733e86f0139b587d8aaca2a8696b7d753ef46c22afdf1c76f7909fe2c00a697af0c
data/README.rdoc CHANGED
@@ -27,6 +27,9 @@ elsif mbv.result != nil
27
27
  puts "is_suppressed: #{mbv.result.is_suppressed}"
28
28
  puts "is_role: #{mbv.result.is_role}"
29
29
  puts "is_high_risk: #{mbv.result.is_high_risk}"
30
+ puts "is_catchall: #{mbv.result.is_catchall}"
31
+ puts "mailboxvalidator_score: #{mbv.result.mailboxvalidator_score}"
32
+ puts "time_taken: #{mbv.result.time_taken}"
30
33
  puts "status: #{mbv.result.status}"
31
34
  puts "credits_available: #{mbv.result.credits_available}"
32
35
  puts "error_code: #{mbv.result.error_code}"
@@ -35,9 +38,9 @@ end
35
38
 
36
39
  == Dependencies
37
40
 
38
- * Go to http://www.mailboxvalidator.com/plans to sign up for a trial plan or a paid plan and you'll be given an API key.
41
+ * Go to http://www.mailboxvalidator.com/plans#api to sign up for a FREE API plan and you'll be given an API key.
39
42
 
40
43
  == Copyright
41
44
 
42
- Copyright (c) 2015 MailboxValidator.com
45
+ Copyright (c) 2017 MailboxValidator.com
43
46
 
@@ -16,7 +16,7 @@ module MailboxValidator
16
16
 
17
17
  def query_single(email)
18
18
  @email = CGI.escape(email)
19
- uri = URI("https://api.mailboxvalidator.com?key=#{@apikey}&email=#{@email}")
19
+ uri = URI("https://api.mailboxvalidator.com/v1/validation/single?key=#{@apikey}&email=#{@email}")
20
20
 
21
21
  begin
22
22
  Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
data/test/test.rb CHANGED
@@ -23,6 +23,9 @@ elsif mbv.result != nil
23
23
  puts "is_suppressed: #{mbv.result.is_suppressed}"
24
24
  puts "is_role: #{mbv.result.is_role}"
25
25
  puts "is_high_risk: #{mbv.result.is_high_risk}"
26
+ puts "is_catchall: #{mbv.result.is_catchall}"
27
+ puts "mailboxvalidator_score: #{mbv.result.mailboxvalidator_score}"
28
+ puts "time_taken: #{mbv.result.time_taken}"
26
29
  puts "status: #{mbv.result.status}"
27
30
  puts "credits_available: #{mbv.result.credits_available}"
28
31
  puts "error_code: #{mbv.result.error_code}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailboxvalidator_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MailboxValidator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-19 00:00:00.000000000 Z
11
+ date: 2016-07-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: MailboxValidator API wrapper
14
14
  email: support@mailboxvalidator
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  version: '0'
40
40
  requirements: []
41
41
  rubyforge_project:
42
- rubygems_version: 2.4.6
42
+ rubygems_version: 2.4.5.1
43
43
  signing_key:
44
44
  specification_version: 4
45
45
  summary: MailboxValidator API wrapper