selenium_tor 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae1ed331a58c7e616cd3caf5f74e7efa67efa9ac29a31ee2ab1783a38822a5a5
4
- data.tar.gz: 33aacd6a6582bf72120270b7401ed7fd1efb1abf34ea13cafeb8d70ce8a15120
3
+ metadata.gz: 7d8329102a7b230a47fe7e81f837020e998eb2e8da05ce2db085a6246b0aaa7e
4
+ data.tar.gz: 2ec3cc3341b49d74e85b0d8da0de4ddee2a56f900c41b142bf21dd7ceca541cf
5
5
  SHA512:
6
- metadata.gz: 99746351074c59ad8d99cf40990abaf9a62cc787e7572f7f23069b93ea5d77ed3eae7e68794920203989d13e50f1cfdb8d3f23b4b879bafa6fe6e33eb3d57c51
7
- data.tar.gz: b4a03bbfb0c9dc2bc64929f074ba16d81153671a57ba1c2fc0ddc4f1ce5862a39fad01d5f21bc758125c309b84fe9a24e931f76dc6d28b9db049baba9eee4cdf
6
+ metadata.gz: 414a8b5ef9efd574aa72e507b97f4118ce1bc7ec9bbcd0b01307e9af3f90baf7dfebd4d07df5f3921629187d8247c680abca540e455cf37860ed6ad1a6ce6c1b
7
+ data.tar.gz: 647240fb7faf4f1ee702a77ac2d47c334f8aaf272e30661f57c78076edcdb6bc5a8bb2d5ef20449455169ac17ff34b6dc4c43ce54a13035651344d54a226a4c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## master (unreleased)
2
2
 
3
+ ## [2.2.1] - 2025-09-25
4
+
5
+ ### Bug fixes
6
+
7
+ * Fix bug in paths to NotoColorEmoji font
8
+
3
9
  ## [2.2.0] - 2025-09-25
4
10
 
5
11
  * add options arg -remote-allow-system-access necessary for TB 15+
data/lib/tor/driver.rb CHANGED
@@ -32,7 +32,7 @@ module Selenium
32
32
  LOCALHOST_PORT_REGEXP = /127\.0\.0\.1:(\d+)/
33
33
 
34
34
  NOTO_COLOR_EMOJI = 'NotoColorEmoji.ttf'
35
- FONTS_NOTO_COLOR_EMOJI_PATH = File.expand_path File.join('fonts', NOTO_COLOR_EMOJI)
35
+ FONTS_NOTO_COLOR_EMOJI_PATH = File.expand_path(File.join('..', '..', 'fonts', NOTO_COLOR_EMOJI), __dir__)
36
36
 
37
37
  attr_reader :tor_process
38
38
 
@@ -112,7 +112,7 @@ module Selenium
112
112
  if Tor::TBB_VERSION.to_i < 15
113
113
  FileUtils.rm FONTS_NOTO_COLOR_EMOJI_PATH rescue Errno::ENOENT # rubocop:disable Style/RescueModifier
114
114
  else
115
- FileUtils.cp File.expand_path(NOTO_COLOR_EMOJI), FONTS_NOTO_COLOR_EMOJI_PATH
115
+ FileUtils.cp File.expand_path(File.join('..', '..', NOTO_COLOR_EMOJI), __dir__), FONTS_NOTO_COLOR_EMOJI_PATH
116
116
  end
117
117
  end
118
118
  end
data/lib/tor/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Selenium
4
4
  module WebDriver
5
5
  module Tor
6
- VERSION = '2.2.0'
6
+ VERSION = '2.2.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium_tor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MatzFan
@@ -13,30 +13,30 @@ dependencies:
13
13
  name: bsdiff
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ">="
16
+ - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 0.1.0
18
+ version: '0.1'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
- - - ">="
23
+ - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: 0.1.0
25
+ version: '0.1'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: selenium-webdriver
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - ">="
30
+ - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: '4.32'
32
+ version: '4.35'
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
37
+ - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '4.32'
39
+ version: '4.35'
40
40
  description: An extension for Selenium::WebDriver that automates Tor Browser
41
41
  executables: []
42
42
  extensions: []
@@ -219,7 +219,6 @@ licenses:
219
219
  - MIT
220
220
  metadata:
221
221
  homepage_uri: https://gitlab.com/matzfan/selenium-tor
222
- source_code_uri: https://gitlab.com/matzfan/selenium-tor
223
222
  changelog_uri: https://gitlab.com/matzfan/selenium-tor/CHANGELOG.md
224
223
  rubygems_mfa_required: 'true'
225
224
  rdoc_options: []