aranha 0.7.0 → 0.7.1

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
2
  SHA256:
3
- metadata.gz: d8acb62bae7e2cede5a9d658d705bfbc28229cc9a595207d9f6f7796a7681e1f
4
- data.tar.gz: debd7afd142d1de8d2ff38f6f7cf35cf89b82174ce278f7f2247324cfeb53b41
3
+ metadata.gz: 7aa55fd73027420e64c7f04f2e7938409bfba46a56b57de1bf318602caf945cd
4
+ data.tar.gz: e5ae62cae83c8391d4e197fbafca53859db7e4d9bb4b3c8a23caa72205bed8b4
5
5
  SHA512:
6
- metadata.gz: 7ce9a11b1c49756f67dae806d065cdd0fbdbe8f9b2e132ec4cc2efad55f198fd2c8fbea1c21a27cef9e22398a0632d8efef03a02c590a57a9abc2d7024c7ef23
7
- data.tar.gz: 3dc367711f35207d2f693f01fe4ae2f485eb79f7052fbccd75876e4a90c8a2e98624947980135dc764b95b7f30b791227002f7fee609638ce5a961ad83c04e7a
6
+ metadata.gz: 48824461bcc815c742f1b4e997e07d56864737daaf1665bb5cde4d2d6288c073b78180b25541a9ffbaa0f877ce6563f2343cc17fd25324afe545b305189f2d62
7
+ data.tar.gz: c70c85bd6ee7a2cd6c1d8170d38b2e9adc3dadf51f555ad2655d8a8c4e50979c7d85bbabe23598f0531ae982dcf8e831486b23e724931fd6be934798cb45f815
@@ -8,7 +8,7 @@ module Aranha
8
8
  class HttpGet
9
9
  class << self
10
10
  def valid_source?(source)
11
- source.to_s.start_with?('http://')
11
+ source.to_s =~ %r{\Ahttps?://}
12
12
  end
13
13
  end
14
14
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aranha
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  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.7.0
4
+ version: 0.7.1
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: 2019-07-28 00:00:00.000000000 Z
11
+ date: 2019-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_scaffold
@@ -190,5 +190,5 @@ specification_version: 4
190
190
  summary: Rails utilities for web crawling.
191
191
  test_files:
192
192
  - test/aranha_test.rb
193
- - test/test_helper.rb
194
193
  - test/integration/navigation_test.rb
194
+ - test/test_helper.rb