aranha 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
- SHA1:
3
- metadata.gz: d42a8f70c968b31bdebeabf29b8bedec2e6fb349
4
- data.tar.gz: 02073e7887d058c7fb8da6f4c1f968e6a4c32f65
2
+ SHA256:
3
+ metadata.gz: db4987f0c4c725a35cddd376afbd950d541491d700e3f392bb4def95d2885a24
4
+ data.tar.gz: f5d84a48f26780e4a9c84c623a150ccd1528afdd0c3b39c23580bbe22dbe4896
5
5
  SHA512:
6
- metadata.gz: 1c7b862a85058d1a71052972a6dd7a11b610cd44d97cc6c2bdd02187ca33b5cee6e8ffb9318a9447c649ceaf5d0f9085b4764623bdaaa3141bc103d1f24c3f14
7
- data.tar.gz: a925e487b0ca5d81f04896922018721a3b62152c83a7196a786c28496f5854a0ff5a75c3dfb50bf02a8f9e89e73be0702571391b85b1ad1e3ecd940f2f93719d
6
+ metadata.gz: 9ec0aa19303a62e0f260da849f55524d14f539b522b4944f28fb399698a60bc6cb4f2f3c10aaf5782c76ba1d5c5102d1350a6aaf7fd050a2a3969d3ced028ba9
7
+ data.tar.gz: f098aeb43bce8afe3a9330667ef0e34805852737857bf54f066c4ad976b48b2b4ed05d8a36d3c560f41640596889a30604e239a0c30e8a4d9bb8b0a165e9b589
@@ -1,7 +1,10 @@
1
1
  # frozen_string_literal: true
2
+ require 'net/http'
3
+
2
4
  module Aranha
3
5
  class Processor
4
- NETWORK_EXCEPTIONS = [::HTTPClient::BadResponseError, Errno::ECONNRESET].freeze
6
+ NETWORK_EXCEPTIONS = [::HTTPClient::BadResponseError, Errno::ECONNRESET,
7
+ ::Net::HTTPFatalError].freeze
5
8
  DEFAULT_MAX_TRIES = 3
6
9
 
7
10
  def initialize
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Aranha
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aranha
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
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-26 00:00:00.000000000 Z
11
+ date: 2018-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_scaffold
@@ -149,47 +149,47 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.4.8
152
+ rubygems_version: 2.7.7
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Rails utilities for web crawling.
156
156
  test_files:
157
- - test/integration/navigation_test.rb
158
- - test/dummy/config.ru
157
+ - test/dummy/Rakefile
159
158
  - test/dummy/README.rdoc
160
- - test/dummy/db/schema.rb
161
- - test/dummy/app/views/layouts/application.html.erb
162
- - test/dummy/app/assets/stylesheets/application.css
163
- - test/dummy/app/assets/javascripts/application.js
164
- - test/dummy/app/helpers/application_helper.rb
165
- - test/dummy/app/controllers/application_controller.rb
166
- - test/dummy/bin/bundle
167
159
  - test/dummy/bin/rails
168
- - test/dummy/bin/setup
169
160
  - test/dummy/bin/rake
170
- - test/dummy/Rakefile
171
- - test/dummy/config/environments/production.rb
172
- - test/dummy/config/environments/test.rb
173
- - test/dummy/config/environments/development.rb
174
- - test/dummy/config/application.rb
175
- - test/dummy/config/boot.rb
176
- - test/dummy/config/locales/en.yml
177
- - test/dummy/config/initializers/session_store.rb
178
- - test/dummy/config/initializers/filter_parameter_logging.rb
179
- - test/dummy/config/initializers/wrap_parameters.rb
180
- - test/dummy/config/initializers/backtrace_silencers.rb
181
- - test/dummy/config/initializers/inflections.rb
182
- - test/dummy/config/initializers/to_time_preserves_timezone.rb
161
+ - test/dummy/bin/bundle
162
+ - test/dummy/bin/setup
183
163
  - test/dummy/config/initializers/assets.rb
164
+ - test/dummy/config/initializers/to_time_preserves_timezone.rb
165
+ - test/dummy/config/initializers/wrap_parameters.rb
166
+ - test/dummy/config/initializers/session_store.rb
184
167
  - test/dummy/config/initializers/cookies_serializer.rb
168
+ - test/dummy/config/initializers/inflections.rb
185
169
  - test/dummy/config/initializers/mime_types.rb
170
+ - test/dummy/config/initializers/backtrace_silencers.rb
171
+ - test/dummy/config/initializers/filter_parameter_logging.rb
172
+ - test/dummy/config/boot.rb
173
+ - test/dummy/config/locales/en.yml
186
174
  - test/dummy/config/secrets.yml
175
+ - test/dummy/config/environment.rb
187
176
  - test/dummy/config/database.yml
188
177
  - test/dummy/config/routes.rb
189
- - test/dummy/config/environment.rb
190
- - test/dummy/public/422.html
178
+ - test/dummy/config/environments/development.rb
179
+ - test/dummy/config/environments/test.rb
180
+ - test/dummy/config/environments/production.rb
181
+ - test/dummy/config/application.rb
182
+ - test/dummy/app/assets/stylesheets/application.css
183
+ - test/dummy/app/assets/javascripts/application.js
184
+ - test/dummy/app/views/layouts/application.html.erb
185
+ - test/dummy/app/helpers/application_helper.rb
186
+ - test/dummy/app/controllers/application_controller.rb
187
+ - test/dummy/db/schema.rb
191
188
  - test/dummy/public/favicon.ico
192
- - test/dummy/public/404.html
193
189
  - test/dummy/public/500.html
194
- - test/aranha_test.rb
190
+ - test/dummy/public/422.html
191
+ - test/dummy/public/404.html
192
+ - test/dummy/config.ru
195
193
  - test/test_helper.rb
194
+ - test/aranha_test.rb
195
+ - test/integration/navigation_test.rb