krawler 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/krawler.rb +1 -1
  2. data/lib/krawler/version.rb +1 -1
  3. metadata +4 -4
@@ -3,7 +3,6 @@ require 'mechanize'
3
3
  require 'timeout'
4
4
  require 'uri'
5
5
  require 'thread'
6
- require 'pry'
7
6
 
8
7
  module Krawler
9
8
 
@@ -24,6 +23,7 @@ module Krawler
24
23
  @mutex = Mutex.new
25
24
  @agent = Mechanize.new
26
25
  @agent.user_agent = 'Krawler'
26
+ @agent.ssl_version = 'SSLv3'
27
27
  @headers = { 'Accept-Encoding' => 'gzip, deflate' }
28
28
  end
29
29
 
@@ -1,3 +1,3 @@
1
1
  module Krawler
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krawler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-10 00:00:00.000000000 Z
12
+ date: 2012-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mechanize
16
- requirement: &70098728720940 !ruby/object:Gem::Requirement
16
+ requirement: &70288588270600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 2.5.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70098728720940
24
+ version_requirements: *70288588270600
25
25
  description: Simple little website crawler.
26
26
  email:
27
27
  - mike@urlgonomics.com