anemone 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/anemone/anemone.rb +1 -1
- data/lib/anemone/http.rb +5 -1
- metadata +6 -4
data/lib/anemone/anemone.rb
CHANGED
data/lib/anemone/http.rb
CHANGED
@@ -30,7 +30,11 @@ module Anemone
|
|
30
30
|
end
|
31
31
|
|
32
32
|
return Page.new(url, response.body.dup, code, response.to_hash, aka, referer, depth, response_time)
|
33
|
-
rescue
|
33
|
+
rescue => e
|
34
|
+
if Anemone.options.verbose
|
35
|
+
puts e.inspect
|
36
|
+
puts e.backtrace
|
37
|
+
end
|
34
38
|
return Page.new(url)
|
35
39
|
end
|
36
40
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anemone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Kite
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-26 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -49,6 +49,8 @@ files:
|
|
49
49
|
- lib/anemone/cli/serialize.rb
|
50
50
|
has_rdoc: true
|
51
51
|
homepage: http://anemone.rubyforge.org
|
52
|
+
licenses: []
|
53
|
+
|
52
54
|
post_install_message:
|
53
55
|
rdoc_options:
|
54
56
|
- -m
|
@@ -72,9 +74,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
74
|
requirements: []
|
73
75
|
|
74
76
|
rubyforge_project: anemone
|
75
|
-
rubygems_version: 1.3.
|
77
|
+
rubygems_version: 1.3.5
|
76
78
|
signing_key:
|
77
|
-
specification_version:
|
79
|
+
specification_version: 3
|
78
80
|
summary: Anemone web-spider framework
|
79
81
|
test_files:
|
80
82
|
- spec/anemone_spec.rb
|