onlyoffice_webdriver_wrapper 1.3.0 → 1.4.0

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: 3ebd6585c7fa7339f45f6c4cc6acf200763edda5356862974dc5069dbf54aa1d
4
- data.tar.gz: c816b14ab0f8af65dda718477784a029fa3dd7417e0faa6f6df88f728d177fc5
3
+ metadata.gz: add2464b963456afecf4dd8d60f4c5cc3c5d8cb058b5790bb5c8fefad6ab4ab3
4
+ data.tar.gz: '0824add22db9a973f921af3987a6bf4d7aa73c846e9b8de31075f1f2e0a5823c'
5
5
  SHA512:
6
- metadata.gz: 9435bd972e6fa81a3358716518ce105fb2e72f852c926afa631938f5f64314f3d23a1c90aac63a3849ea6fbcee8de64b8ca6327c58e65c859841a29ad35f1fd5
7
- data.tar.gz: 1e91503f0ef8d2c178111b0c0ded5b5844b55915cced1d5d6a889fd1bafea1b148847b2b374cfa17e30fc456ccb277438ea72aa62cdcd17c021a23017dbf428e
6
+ metadata.gz: 5ae7dac8b4489ca1d36bb07a3317ae16a554a1840448822061969c599e430a6a5f982e3fdbeefc542d79135efcb2a02a6d28ed2f8c880d32fbeed87915f3f9b1
7
+ data.tar.gz: 1a77a2d22684cb561be7837c3309da4ee72b9b0fd617a3752577606707adf810f546448e3e74d850e7a2c763070bca13b2d9b7b4bfe1c00dd2ee108349a1225f
@@ -4,6 +4,6 @@ module OnlyofficeWebdriverWrapper
4
4
  # Module for storing version data
5
5
  module Version
6
6
  # @return [String] Current stable version of gem
7
- STRING = '1.3.0'
7
+ STRING = '1.4.0'
8
8
  end
9
9
  end
@@ -34,7 +34,7 @@ module OnlyofficeWebdriverWrapper
34
34
  when :nexus_10_chrome
35
35
  USERAGENT_NEXUS_10_CHROME
36
36
  else
37
- webdriver_error("Unknown user device for starting browser: #{@device}")
37
+ raise("Unknown user device for starting browser: #{@device}")
38
38
  end
39
39
  end
40
40
 
@@ -75,7 +75,7 @@ module OnlyofficeWebdriverWrapper
75
75
  @headless = HeadlessHelper.new(record_video: record_video)
76
76
  @headless.start
77
77
 
78
- @download_directory = Dir.mktmpdir('webdriver-download')
78
+ @download_directory = params.fetch(:download_directory, Dir.mktmpdir('webdriver-download'))
79
79
  @browser = params.fetch(:browser, browser)
80
80
  @proxy = params[:proxy]
81
81
  return if params[:do_not_start_browser]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onlyoffice_webdriver_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ONLYOFFICE
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-02-25 00:00:00.000000000 Z
14
+ date: 2022-03-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: headless
@@ -275,7 +275,7 @@ files:
275
275
  - lib/onlyoffice_webdriver_wrapper/helpers/bin/geckodriver
276
276
  - lib/onlyoffice_webdriver_wrapper/helpers/chrome_helper.rb
277
277
  - lib/onlyoffice_webdriver_wrapper/helpers/chrome_helper/chrome_version_helper.rb
278
- - lib/onlyoffice_webdriver_wrapper/helpers/chrome_helper/chromedriver_bin/chromedriver_linux_96
278
+ - lib/onlyoffice_webdriver_wrapper/helpers/chrome_helper/chromedriver_bin/chromedriver_linux_100
279
279
  - lib/onlyoffice_webdriver_wrapper/helpers/chrome_helper/chromedriver_bin/chromedriver_linux_97
280
280
  - lib/onlyoffice_webdriver_wrapper/helpers/chrome_helper/chromedriver_bin/chromedriver_linux_98
281
281
  - lib/onlyoffice_webdriver_wrapper/helpers/chrome_helper/chromedriver_bin/chromedriver_mac
@@ -332,7 +332,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
332
332
  - !ruby/object:Gem::Version
333
333
  version: '0'
334
334
  requirements: []
335
- rubygems_version: 3.3.7
335
+ rubygems_version: 3.3.10
336
336
  signing_key:
337
337
  specification_version: 4
338
338
  summary: ONLYOFFICE Webdriver Wrapper Gem