nofakemail 0.0.3 → 0.0.4

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.
data/.gitignore CHANGED
@@ -13,4 +13,5 @@ capybara-*.html
13
13
  /spec/tmp/*
14
14
  **.orig
15
15
  rerun.txt
16
- pickle-email-*.html
16
+ pickle-email-*.html
17
+ *.gem
data/lib/nofakemail.rb CHANGED
@@ -17,7 +17,13 @@ module Nofakemail
17
17
  body = open("http://nofakemail.net/webservice/isTrashmail/json?#{email_array.join("&")}").read rescue ""
18
18
  json_body = ActiveSupport::JSON.decode body
19
19
 
20
- json_body["emails"]
20
+ emails = {}
21
+
22
+ json_body["emails"].each_pair do |email,key|
23
+ emails[email] = !key
24
+ end
25
+
26
+ emails
21
27
  end
22
28
  end
23
29
  end
@@ -1,3 +1,3 @@
1
1
  module Nofakemail
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nofakemail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -25,8 +25,6 @@ files:
25
25
  - Rakefile
26
26
  - lib/nofakemail.rb
27
27
  - lib/nofakemail/version.rb
28
- - nofakemail-0.0.1.gem
29
- - nofakemail-0.0.2.gem
30
28
  - nofakemail.gemspec
31
29
  homepage: ''
32
30
  licenses: []
data/nofakemail-0.0.1.gem DELETED
Binary file
data/nofakemail-0.0.2.gem DELETED
Binary file