unbreakable 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- # Specify your gem's dependencies in govkit-ca.gemspec
3
+ # Specify your gem's dependencies in unbreakable.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -55,6 +55,6 @@ For now, the best way to learn how to use this gem is to read the documentation.
55
55
 
56
56
  # Bugs? Questions?
57
57
 
58
- Unbreakable's main repository is on GitHub: [http://github.com/opennorth/unbreakable](http://github.com/opennorth/unbreakable), where your contributions, forks, bug reports, feature requests, and feedback are greatly welcomed.
58
+ This gem's main repository is on GitHub: [http://github.com/opennorth/unbreakable](http://github.com/opennorth/unbreakable), where your contributions, forks, bug reports, feature requests, and feedback are greatly welcomed.
59
59
 
60
60
  Copyright (c) 2011 Open North Inc., released under the MIT license
@@ -30,8 +30,8 @@ module Unbreakable
30
30
  end
31
31
  rescue ::Timeout::Error
32
32
  if retry_attempt < retry_limit
33
- log.warn "Timeout on #{relative_path}, retrying in #{retry_delay} (#{retry_attempt}/#{retry_limit})"
34
- sleep retry_delay
33
+ log.warn "Timeout on #{relative_path}, retrying in #{retry_delay(retry_attempt)} (#{retry_attempt}/#{retry_limit})"
34
+ sleep retry_delay(retry_attempt)
35
35
  retry
36
36
  else
37
37
  log.error "Timeout on #{relative_path}, skipping"
@@ -29,7 +29,7 @@ module Unbreakable
29
29
  #
30
30
  # You can raise +Dragonfly::Configurable::NotConfigured+ if a configurable
31
31
  # variable is required but missing. If a variable is invalid, you can raise
32
- # +Dragonfly::Configurable::BadConfigAttribute+.
32
+ # +Dragonfly::Configurable::InvalidConfiguration+.
33
33
  #
34
34
  # If a process has dependencies or conditions, then you can test for these
35
35
  # conditions and throw +:unable_to_handle+ to skip processing.
@@ -1,3 +1,3 @@
1
1
  module Unbreakable
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -2,4 +2,4 @@
2
2
  --format nested
3
3
  --loadby mtime
4
4
  --reverse
5
- --backtrace
5
+ --backtrace
@@ -9,17 +9,16 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["Open North"]
10
10
  s.email = ["info@opennorth.ca"]
11
11
  s.homepage = "http://github.com/opennorth/unbreakable"
12
- s.summary = %q{Make your scrapers unbreakable}
13
- s.description = %q{Abstracts and bulletproofs common scraping tasks.}
14
-
15
- s.rubyforge_project = "unbreakable"
12
+ s.summary = %q{Abstracts and bulletproofs scraping tasks}
16
13
 
17
14
  s.files = `git ls-files`.split("\n")
18
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
17
  s.require_paths = ["lib"]
21
18
 
22
- s.add_runtime_dependency('activesupport', '~> 3.1.0')
23
- s.add_runtime_dependency('dragonfly', '~> 0.9.8')
19
+ s.add_runtime_dependency('activesupport', '~> 3.1')
20
+ s.add_runtime_dependency('hashie', '~> 1.2.0')
21
+ s.add_runtime_dependency('mongo', '~> 1.4.1')
22
+ s.add_runtime_dependency('bson_ext', '~> 1.4.1')
24
23
  s.add_development_dependency('rspec', '~> 2.6.0')
25
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unbreakable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,33 +9,75 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-09 00:00:00.000000000Z
12
+ date: 2012-09-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70196241006160 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.0
21
+ version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70196241006160
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
25
30
  - !ruby/object:Gem::Dependency
26
- name: dragonfly
27
- requirement: &70196240974480 !ruby/object:Gem::Requirement
31
+ name: hashie
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
31
36
  - !ruby/object:Gem::Version
32
- version: 0.9.8
37
+ version: 1.2.0
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70196240974480
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 1.2.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: mongo
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 1.4.1
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.4.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: bson_ext
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 1.4.1
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.4.1
36
78
  - !ruby/object:Gem::Dependency
37
79
  name: rspec
38
- requirement: &70196240973840 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
39
81
  none: false
40
82
  requirements:
41
83
  - - ~>
@@ -43,8 +85,13 @@ dependencies:
43
85
  version: 2.6.0
44
86
  type: :development
45
87
  prerelease: false
46
- version_requirements: *70196240973840
47
- description: Abstracts and bulletproofs common scraping tasks.
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.6.0
94
+ description:
48
95
  email:
49
96
  - info@opennorth.ca
50
97
  executables: []
@@ -88,12 +135,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
135
  - !ruby/object:Gem::Version
89
136
  version: '0'
90
137
  requirements: []
91
- rubyforge_project: unbreakable
92
- rubygems_version: 1.8.6
138
+ rubyforge_project:
139
+ rubygems_version: 1.8.24
93
140
  signing_key:
94
141
  specification_version: 3
95
- summary: Make your scrapers unbreakable
142
+ summary: Abstracts and bulletproofs scraping tasks
96
143
  test_files:
97
144
  - spec/spec.opts
98
145
  - spec/spec_helper.rb
99
146
  - spec/unbreakable_spec.rb
147
+ has_rdoc: