website_information 0.5.6 → 0.5.7

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: 4d993ea50f5372bf40d524fb4686ad2bcb9576ac
4
- data.tar.gz: 7f2ec2da0f3a6667947440f77c66e5b601372be5
3
+ metadata.gz: c71192ebc042e46865b5628947a06f4f87ef2919
4
+ data.tar.gz: 754aaebcf89d705f443201a954e4e3c3e7768be5
5
5
  SHA512:
6
- metadata.gz: fcb509c03de07f1de6261f8795cd97e61e0f59f6f152b2de4f4a56512dc1a170a3e39d7a0654c3a719ca400680fc1009f33422284b9a442e2cdeb3ce1532e588
7
- data.tar.gz: 254e6bf2e237753e0a677f0cdba5990371aeda7fa66580b2cd756b8c238b4fc1434800b395535c2a2672f4d6fb296e3b4b11e48becdbdb40e732253c8c0fc383
6
+ metadata.gz: d4e64913d279caada330e60517c09992fa88528a5e8b6cf3d44d152e8fb5ef34a3c3bc5967916eac42210f22f8cb13e01c4d897115c722f3020c4f4827c022fc
7
+ data.tar.gz: 8c0e69814c734db824b20dce9d6ff7554588e1fd27c84bc657db855d82d5a097ccdff1f2b0b5b15910351cb4835dfa7c8e3c86548f7c958a00b0ec930f4018f6
@@ -27,8 +27,8 @@ 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)
31
- options.add_argument('--headless')
30
+ options = Selenium::WebDriver::Chrome::Options.new(binary: binary, args: %w{headless no-sandbox disable-gpu})
31
+ # options.add_argument('--headless')
32
32
  browser = Selenium::WebDriver.for :chrome, options: options
33
33
  browser.get @url
34
34
  @capture = browser.screenshot_as(:png)
@@ -1,3 +1,3 @@
1
1
  module WebsiteInformation
2
- VERSION = "0.5.6"
2
+ VERSION = "0.5.7"
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.6
4
+ version: 0.5.7
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-25 00:00:00.000000000 Z
11
+ date: 2017-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri