email_crawler 0.0.3 → 0.0.4

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: 9590be19e4c2c30760de7bc79dc96b7815200a74
4
- data.tar.gz: 31a306c6c349a0726956aa2584d3ddb79bc46670
3
+ metadata.gz: 2de69de34df458d935de9deaed59993e9b66e26b
4
+ data.tar.gz: ac1e1063e63f708ed663183b4bb3b6331b686520
5
5
  SHA512:
6
- metadata.gz: 55a356b3d377a82709859c1c3bf255f3e81675a1dd2732cd7ab12ec1cf632e0409a4e888999965d0cfbacef985369abd60cdf8ddad78c632d99419bb0c73f4f4
7
- data.tar.gz: 400f4480ae3f1a900ac88d5e923f5a1d9d59471ed84e945754c7b0ff7dcdc11b53df2c34e6f4be4a42144da0d679b5f4432e1657fca9aab5dd41dc5909bd5ba3
6
+ metadata.gz: de5977cd80e45368403850c964e4e50e56c4efef0f17d16ecb5cf942f612aff49d00542ae462f4f6b477b8d9d91201c8364e0995cbed88e696a32c1dea230304
7
+ data.tar.gz: 4d5b2008c4d23886f45ebeae9d46391d3b22ac6e5eab74a4b93b9c6aee43af7898978e225482818bb81b6d822b16caeb53bb686433b09af79e560eb5a65655dc
@@ -1,3 +1,4 @@
1
+ require "openssl"
1
2
  require "open-uri"
2
3
  require "json"
3
4
  require "dotenv"
@@ -16,7 +17,7 @@ module EmailCrawler
16
17
  Dotenv.load
17
18
 
18
19
  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)
20
+ ssl_verify_mode: ::OpenSSL::SSL::VERIFY_NONE).read)
20
21
  json["droplets"].
21
22
  select{ |droplet| droplet["name"] =~ /proxy\d+/ }.
22
23
  map { |droplet| droplet["ip_address"] }
@@ -1,3 +1,3 @@
1
1
  module EmailCrawler
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
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.3
4
+ version: 0.0.4
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-27 00:00:00.000000000 Z
11
+ date: 2014-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize