selenium_tor 2.0.0 → 2.0.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: d91caf67c6dbe8d0ee5a4e9e1fde84901ec736d0280dc5913b91e9d38e78bc55
4
- data.tar.gz: e3e789ac86f09532c03472f52dd80c750695d71f1b7bd4b9b4521880d5f83751
3
+ metadata.gz: 3a9593a60ababf45d1e54bf5583d46bb778b4e34c86559189eda2f855436acb8
4
+ data.tar.gz: c8e3250798ac2b5b1be3d61d1971e155bc648d0882f5998cf8fc9f7818157ba0
5
5
  SHA512:
6
- metadata.gz: bc39fe85b2f2cceddc76d77c4e5cbbfcc35f658a0af9376affd99d397617523705e4b5a2cf11a74785ff7bfb41bf83cfbd15b87e5472649191b4d346b75f6b64
7
- data.tar.gz: 2b0aa0060db12d4f6854b47b47979e9f50b7a013a8ad550a8fdb5268c1d9c8eda76df88090a81e620845cb1e114db6e8e1430cbdd983a0d0c5a0ef7f88758360
6
+ metadata.gz: edc94603c8979106bde423b38e00465c7038168742060c2a3e4880eb870a4910727b14701398a409d305273f3eb7547769ad5610d89d18c806edc76d5e61c706
7
+ data.tar.gz: 3f3157dde56b05f7046df3364a49a8f5d57586828dce22697b9fbe5d3e86d0b866ba60b20124da4635eb7aa4457589b2f4be9daac94139321d5aa16405f015ed
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## [2.0.0] - 2025-05-31
4
4
 
5
+ * fix bug loading selenium-webdriver in IRB
6
+
7
+ ## [2.0.0] - 2025-05-31
8
+
5
9
  ### New features
6
10
 
7
11
  * SocksPort is now auto selected, 'SocksPort'/:socks_port keys are ignored in Tor::Options :tor_opts hash
data/README.md CHANGED
@@ -77,7 +77,7 @@ In addition to the regular Firefox options, a `:tor_opts` key may be passed to a
77
77
 
78
78
  ### Multiple driver instances
79
79
 
80
- Running multiple tor processes requires that each uses different ports for SocksPort (and ControlPort, if used). From version 2.0 the SocksPort is auto selected, so no configuation is required. An example using the [Parallel gem](https://rubygems.org/gems/parallel):
80
+ Running multiple tor processes requires that each uses different ports for SocksPort (and ControlPort, if used). From version 2.0 the SocksPort is auto selected, so no configuration is required. An example using the [Parallel gem](https://rubygems.org/gems/parallel):
81
81
  ```ruby
82
82
  require 'parallel'
83
83
 
@@ -157,7 +157,7 @@ The patcher uses the [Bsdiff](https://gitlab.com/matzfan/bsdiff) gem.
157
157
 
158
158
  ### Exceptions
159
159
 
160
- Tor-specific webdriver funcionality raises `Tor::Error` or a subclass. `Tor::Error` itself subclasses `WebDriver::Error::WebDriverError`
160
+ Tor-specific webdriver functionality raises `Tor::Error` or a subclass. `Tor::Error` itself subclasses `WebDriver::Error::WebDriverError`
161
161
 
162
162
  ## Known issues
163
163
 
data/lib/selenium_tor.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  ENV['SE_OFFLINE'] = 'true' # we don't want selenium-manager getting & using firefox in error
4
4
  ENV['SE_AVOID_STATS'] = 'true' # no telemetry thanks!
5
5
 
6
- load 'selenium-webdriver.rb' # force load to ensure env vars are applied
6
+ require 'selenium-webdriver'
7
+ load $LOADED_FEATURES.last # force load to ensure env vars are applied
7
8
 
8
9
  require_relative 'driver'
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.0.0'
6
+ VERSION = '2.0.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.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MatzFan