pointmd_comments 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pointmd_comments/aggregators/main.rb +3 -1
- data/lib/pointmd_comments/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14bdb214817ffa3446133a02ce63339577eefeb5d92b07ec706916d287401698
|
4
|
+
data.tar.gz: d56a2648b21a6a6b4c091fe050e6d16f20c20a2c0f4de9dc6a44f64c665ac328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d1fa692ce179995acf29b6b3f4ea91021279919485c76a5a10c9219995dff0d5bbb015e31f87c2331b2c76dbeaada7b181e83c825273c29842e61b83c40d70a
|
7
|
+
data.tar.gz: f90df92a739a23ed10c72d257973f60a7bffcc67ce28d1a60dbfbe8be0bff0a2753741576e0059c2db9decb0a2427a50ec1bd887e9fcaafa324bb32d53a0949d
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module PointmdComments
|
2
2
|
module Aggregators
|
3
3
|
class Main
|
4
|
+
CHROME_ARGS = %w[disable-dev-shm-usage disable-software-rasterizer no-sandbox].freeze
|
5
|
+
|
4
6
|
attr_reader :posts_aggregator, :browser, :comments_aggregator, :all_comments, :posts, :source, :output, :path
|
5
7
|
|
6
8
|
def initialize(options)
|
@@ -15,7 +17,7 @@ module PointmdComments
|
|
15
17
|
# NOTE: #timeout= is deprecated, use #read_timeout= and #open_timeout= instead
|
16
18
|
client.timeout = 600 # instead of the default 60 (seconds)
|
17
19
|
|
18
|
-
@browser = ::Watir::Browser.new :chrome, http_client: client, headless: true
|
20
|
+
@browser = ::Watir::Browser.new :chrome, http_client: client, headless: true, args: CHROME_ARGS
|
19
21
|
@all_comments = []
|
20
22
|
end
|
21
23
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pointmd_comments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolai Stoianov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|