anemone 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ require 'anemone/core'
3
3
 
4
4
  module Anemone
5
5
  # Version number
6
- VERSION = '0.2.1'
6
+ VERSION = '0.2.2'
7
7
 
8
8
  # default options
9
9
  DEFAULTS = {
@@ -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.1
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-24 00:00:00 -05:00
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.1
77
+ rubygems_version: 1.3.5
76
78
  signing_key:
77
- specification_version: 2
79
+ specification_version: 3
78
80
  summary: Anemone web-spider framework
79
81
  test_files:
80
82
  - spec/anemone_spec.rb