website_information 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/website_information/params/site.rb +1 -1
- data/lib/website_information/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d993ea50f5372bf40d524fb4686ad2bcb9576ac
|
4
|
+
data.tar.gz: 7f2ec2da0f3a6667947440f77c66e5b601372be5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcb509c03de07f1de6261f8795cd97e61e0f59f6f152b2de4f4a56512dc1a170a3e39d7a0654c3a719ca400680fc1009f33422284b9a442e2cdeb3ce1532e588
|
7
|
+
data.tar.gz: 254e6bf2e237753e0a677f0cdba5990371aeda7fa66580b2cd756b8c238b4fc1434800b395535c2a2672f4d6fb296e3b4b11e48becdbdb40e732253c8c0fc383
|
@@ -26,7 +26,7 @@ module WebsiteInformation
|
|
26
26
|
|
27
27
|
def capture
|
28
28
|
if @capture.nil?
|
29
|
-
binary = ENV.fetch('
|
29
|
+
binary = ENV.fetch('GOOGLE_CHROME_BIN', nil) # for heroku
|
30
30
|
options = Selenium::WebDriver::Chrome::Options.new(binary: binary)
|
31
31
|
options.add_argument('--headless')
|
32
32
|
browser = Selenium::WebDriver.for :chrome, options: options
|