website_information 0.5.8 → 0.5.9

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
  SHA1:
3
- metadata.gz: 212d7eb57089e42848e48939785ae1de86b95518
4
- data.tar.gz: 720ec37fb8031380764b16de3bc2c41ea3c70631
3
+ metadata.gz: 1e9b92b3d30227c97666ea9fe32c8fc9507bdaa5
4
+ data.tar.gz: 4a7072b38298108edb69ce6482e953b35a67562d
5
5
  SHA512:
6
- metadata.gz: defb7883d3252f56c95e62adf04f2c2a02e64a07c2f172d295cd16bd9d6ddc12dbfd48060630d378d58a57664b3260d0aa5cfc0cbb7bcffbe4c1960ec3bba9fe
7
- data.tar.gz: 740655facd3ee1263c4a457332d4854fecde548838961b8f94f5d16ba137b459e176414354ddf0df52e6fc49af636d7e2439c25a4a49a55509699e2661779128
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
@@ -1,3 +1,3 @@
1
1
  module WebsiteInformation
2
- VERSION = "0.5.8"
2
+ VERSION = "0.5.9"
3
3
  end
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.8
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-10-30 00:00:00.000000000 Z
11
+ date: 2017-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri