website_information 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/website_information/params/site.rb +1 -1
- data/lib/website_information/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e9b92b3d30227c97666ea9fe32c8fc9507bdaa5
|
4
|
+
data.tar.gz: 4a7072b38298108edb69ce6482e953b35a67562d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a4e435558b6a08df1f47292548b26f3693830d0348d5a1edb1e6690bfca7e8d73e2a0d77daf189e273e1587c411d912f5a1688bc9f371e78b34b61c841f7108
|
7
|
+
data.tar.gz: fdc22080a8dc907e50ae84e247d607d641bd03b39c5b03d58fde320e1e0261ea5bb1db1a877ec17bd499082581642c96087edaccd92f050b4b6672db7fd76e7c
|
@@ -27,7 +27,7 @@ module WebsiteInformation
|
|
27
27
|
def capture
|
28
28
|
if @capture.nil?
|
29
29
|
binary = ENV.fetch('GOOGLE_CHROME_BIN', nil) # for heroku
|
30
|
-
options = Selenium::WebDriver::Chrome::Options.new(binary: binary, args: %w{headless no-sandbox disable-gpu})
|
30
|
+
options = Selenium::WebDriver::Chrome::Options.new(binary: binary, args: %w{headless no-sandbox disable-gpu window-size=1280,600 hide-scrollbars})
|
31
31
|
browser = Selenium::WebDriver.for :chrome, options: options
|
32
32
|
begin
|
33
33
|
browser.get @url
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: website_information
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- miraoto
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|