pointmd_comments 0.1.5 → 0.1.6

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
  SHA256:
3
- metadata.gz: a24b7ec9ac474cb157789d03ddb9c41270eb58d96578c6c6dca1ad6d68ed7f24
4
- data.tar.gz: ea9984f5c43eca94286344ec7ebc83fcac9dba399e7ab13b06a9cc80f88e7083
3
+ metadata.gz: 33e78e92e82cde074461ee904263960acf61b7f4b346ed6e6195f966fc852456
4
+ data.tar.gz: ee1271f3f136cbaf9ad88988a7de7c973fec3bcfc115823808b0e234afd016ca
5
5
  SHA512:
6
- metadata.gz: 28e1ff1042ee11284ae1c2bd87dcc41fbb77b2bc033debb92df912499253977dc83ee17e132febfdfae6aeb71e9e2f664c37864c3e50e8e9243e32668fa20565
7
- data.tar.gz: 03f40f717c3919eddfe850e5aa4381b1a90b9053a6f2ae847eec605cb3713ae93410083b38f2d9e28e6e8d85dfcf8ffbb4026c90fa6ce1fb9a2e27c336c7f170
6
+ metadata.gz: be7a9b05cdeaf6c5ec7613f628fc259ca1312c80d29258764d244e99dfb561a8c2479ae3c2620f091001764693bd875537bcc435ea2d1363be000e19f1de3c10
7
+ data.tar.gz: bb718e968268bda91b7d2227465860846f133a94d926bb24ea9eb73b5e9e2e04fb73882684ad19724d1acb218123070192987156f2e2c568859c2d46a522829b
@@ -10,7 +10,12 @@ module PointmdComments
10
10
  @source = options[:source] || Aggregators::Posts::DEFAULT_SOURCE
11
11
  @posts_aggregator = Aggregators::Posts.new(source: source, path: path)
12
12
  @comments_aggregator = Aggregators::Comments.new
13
- @browser = ::Watir::Browser.new :chrome, headless: true
13
+
14
+ client = Selenium::WebDriver::Remote::Http::Default.new
15
+ # NOTE: #timeout= is deprecated, use #read_timeout= and #open_timeout= instead
16
+ client.timeout = 600 # instead of the default 60 (seconds)
17
+
18
+ @browser = ::Watir::Browser.new :chrome, http_client: client, headless: true
14
19
  @all_comments = []
15
20
  end
16
21
 
@@ -48,6 +53,7 @@ module PointmdComments
48
53
  def write_to_csv
49
54
  # File#expand_path is needed to process paths like '~/test.txt' => '/Users/me/test.txt'
50
55
  file_path = File.expand_path(output)
56
+ puts "File Path is #{file_path}"
51
57
 
52
58
  CSV.open(file_path, 'w') do |csv|
53
59
  all_comments.each { |c| csv << c }
@@ -1,3 +1,3 @@
1
1
  module PointmdComments
2
- VERSION = '0.1.5'.freeze
2
+ VERSION = '0.1.6'.freeze
3
3
  end
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.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Stoianov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-14 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry