scrap_kit 0.1.13 → 0.1.14

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: b3c0ad11b6a5a21a15c49f4203e2256ebac9d83fa9ed8de4060edd7b49ed6513
4
- data.tar.gz: 4a9aa63a96b9bfda89f578827a3f7df5f03458d9a8191911d5e2ffa723ac8913
3
+ metadata.gz: d387636088d4461f9f26bcc312f9f634d20fb24ce8d0e7eff9672dfbd87664ba
4
+ data.tar.gz: fe5e85497ba66a7370a4c9b4017058ad5f9d938ff2a4add96aba2888e6f6f6ca
5
5
  SHA512:
6
- metadata.gz: c21f2fc8782ca5552f92020cbf766f982cbbc1621256a0885340507e74b73d895086343111f65b3a7c6aba23771e345b8e57f962bcb3d1ab77a56392006469e4
7
- data.tar.gz: bece24176f75eb7113fd5a8b0d1aaf151fa4d61ddd3bd697e9b4e53d2390888ef38fee6f9761ac3c02b8671710b8816b44a8236ef9f02cf547a95eff28796f88
6
+ metadata.gz: fe464311773e564ee88ce8dab45478445a6291cc6a3c2151b2d45a819e8205fea168b15127fa61fab261042a30ddb8f605f3763629f58df528afa40c5853a324
7
+ data.tar.gz: 43d4c05f94cbff4daa91c22a0d0010dbd857abcd95ee73f1f501288733d33d3c5813b4b84c6c2e09b2a62a5efadd6808d5b7a2de7c012629899ac8b966af1a71
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.14] 2020-10-10
4
+
5
+ ### Changed/Added
6
+ - Increase timeout for Chrome driver
7
+
3
8
  ## [0.1.13] 2020-09-04
4
9
 
5
10
  ### Changed/Added
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- scrap_kit (0.1.13)
4
+ scrap_kit (0.1.14)
5
5
  activesupport (~> 6.0)
6
6
  watir (~> 6.16.5)
7
7
  webdrivers (~> 4.0)
@@ -9,7 +9,7 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (6.0.3.2)
12
+ activesupport (6.0.3.4)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 0.7, < 2)
15
15
  minitest (~> 5.1)
@@ -25,7 +25,7 @@ GEM
25
25
  nokogiri (1.10.10)
26
26
  mini_portile2 (~> 2.4.0)
27
27
  rake (13.0.1)
28
- regexp_parser (1.7.1)
28
+ regexp_parser (1.8.1)
29
29
  rspec (3.9.0)
30
30
  rspec-core (~> 3.9.0)
31
31
  rspec-expectations (~> 3.9.0)
@@ -4,7 +4,7 @@ require "watir"
4
4
 
5
5
  module ScrapKit
6
6
  class Recipe
7
- attr_accessor :user_agent
7
+ attr_accessor :user_agent, :browser
8
8
 
9
9
  class << self
10
10
  def load(source)
@@ -214,7 +214,10 @@ module ScrapKit
214
214
  options.binary = chrome_bin
215
215
  end
216
216
 
217
- Watir::Browser.new(:chrome, options: options)
217
+ new_browser = Watir::Browser.new(:chrome, options: options)
218
+ new_browser.driver.manage.timeouts.page_load = 120
219
+
220
+ new_browser
218
221
  end
219
222
  end
220
223
  end
@@ -1,3 +1,3 @@
1
1
  module ScrapKit
2
- VERSION = "0.1.13"
2
+ VERSION = "0.1.14"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrap_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Leon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-05 00:00:00.000000000 Z
11
+ date: 2020-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler