email_crawler 0.0.2 → 0.0.3

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: 62e4b0ccd69dee8523ebdbb12e3a14c6820b7592
4
- data.tar.gz: dc1c7941ed58d5de961ad7bcad9f95af16fb164f
3
+ metadata.gz: 9590be19e4c2c30760de7bc79dc96b7815200a74
4
+ data.tar.gz: 31a306c6c349a0726956aa2584d3ddb79bc46670
5
5
  SHA512:
6
- metadata.gz: a71df8fb24765c8acafef1da841b1dfc5c4b7ffdb1f429fc0ffddc375f2ef28107fe353eb4deb352b697d84584c666adfab4370d635487305d38d64a1f5cb1d3
7
- data.tar.gz: 43de8cb5b8fa2456ffed8a3e08c04e580079170eb47593587e5abee57103ba6c0bbde70fc62bd0d86a90cce5fb2b11c76ba7c5a2c7357b1a29f9fd6ba479a770
6
+ metadata.gz: 55a356b3d377a82709859c1c3bf255f3e81675a1dd2732cd7ab12ec1cf632e0409a4e888999965d0cfbacef985369abd60cdf8ddad78c632d99419bb0c73f4f4
7
+ data.tar.gz: 400f4480ae3f1a900ac88d5e923f5a1d9d59471ed84e945754c7b0ff7dcdc11b53df2c34e6f4be4a42144da0d679b5f4432e1657fca9aab5dd41dc5909bd5ba3
data/README.md CHANGED
@@ -4,17 +4,9 @@ Email crawler: crawls the top ten Google search results looking for email addres
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'email_crawler'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
7
  $ gem install email_crawler
8
+ $ cp .env.example .env
9
+ # set your Digital Ocean credentials (@see lib/email_crawler/proxy.rb for more details)
18
10
 
19
11
  ## Usage
20
12
 
@@ -50,7 +42,7 @@ email-crawler -q "berlin walks" -g google.de -m 250 > ~/Desktop/belin-walks-emai
50
42
 
51
43
  ## Contributing
52
44
 
53
- 1. Fork it ( http://github.com/cristianrasch/email_crawler/fork )
45
+ 1. Fork it ( http://github.com/wecodeio/email_crawler/fork )
54
46
  2. Create your feature branch (`git checkout -b my-new-feature`)
55
47
  3. Commit your changes (`git commit -am 'Add some feature'`)
56
48
  4. Push to the branch (`git push origin my-new-feature`)
@@ -15,7 +15,8 @@ module EmailCrawler
15
15
  @all ||= begin
16
16
  Dotenv.load
17
17
 
18
- json = JSON.parse(open("https://api.digitalocean.com/droplets/?client_id=#{ENV['DO_CLIENT_ID']}&api_key=#{ENV['DO_API_KEY']}").read)
18
+ json = JSON.parse(open("https://api.digitalocean.com/droplets/?client_id=#{ENV['DO_CLIENT_ID']}&api_key=#{ENV['DO_API_KEY']}",
19
+ ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE).read)
19
20
  json["droplets"].
20
21
  select{ |droplet| droplet["name"] =~ /proxy\d+/ }.
21
22
  map { |droplet| droplet["ip_address"] }
@@ -1,3 +1,3 @@
1
1
  module EmailCrawler
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_crawler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cristian Rasch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-25 00:00:00.000000000 Z
11
+ date: 2014-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize