selenium_tor 1.5.0 → 1.5.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: defca2c98d6db63f24a6b4dda2a2ade30ce248af24fe670e4237cd3feda2d2eb
4
- data.tar.gz: a976b592807e153f0aaabff92a02e22f55bf900ea35b7435ba66f305990e8b6b
3
+ metadata.gz: 9c45649309a0d50821238c2dc502b8e1d5e9f2137a24229cd09c4493aa45ea7d
4
+ data.tar.gz: 56177ff95c346118c5497bc0cfa44a1de83d3705be663596d7aefe8ab475e72e
5
5
  SHA512:
6
- metadata.gz: 76f9832dc38aac26dce3591d0c624f9f57dab9aca02ef732dcf6beb13ffbc3c0ab090964ee12cacc2b8bef7b16981f8ba1febfe5733eb3125c8e7899cf99d95a
7
- data.tar.gz: 9bb0c63ff4cfeaf847d8a3adaaac562ef9c74783c4629976de3d54b9014d2316b28828276e1862e8e0be19c6d0625c897c04cee3dc17dcf5d72ede23223461b9
6
+ metadata.gz: 3d8ed9f5b35b852ea189f755d33af91676cbfb3b5750506b9955653220ec5bda98303dfe89dbf2ff850bdbc538d37d26169e5a5b74ff3f10cb3bfeff04b511e9
7
+ data.tar.gz: 4628ebe827ab1ef4004c7c5c09d1126a2aecb5ce53f52c652221ec76da36890f5ab9bb8df46b44da331a00d6a8a5eb8b94750ef8bdf84df6849d31cc1782f56f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## master (unreleased)
2
2
 
3
+ ## [1.5.1] - 2024-09-02
4
+
5
+ Fix load path error in LibxulPatchable module
6
+
3
7
  ## [1.5.0] - 2024-08-31
4
8
 
5
9
  ### Bug fixes
@@ -13,6 +13,7 @@ module Selenium
13
13
  class LibxulPatchableError < StandardError; end
14
14
 
15
15
  # PATCH_REPO = 'https://gitlab.com/matzfan/keymaster/-/releases' # TODO
16
+ LIBXUL_CHECKSUMS = YAML.load_file(File.join(__dir__, 'libxul_checksums.yml'))[Tor::TBB_VERSION]
16
17
  PATCH_REPO = 'https://gitlab.com/matzfan/keymaster/-/raw/main/patches/tor-browser'
17
18
  ISSUES_URL = 'https://gitlab.com/matzfan/keymaster/-/issues'
18
19
 
@@ -64,15 +65,15 @@ module Selenium
64
65
  end
65
66
 
66
67
  def unpatched_libxul_checksum_for_version
67
- YAML.load_file('libxul_checksums.yml')[Tor::TBB_VERSION]['unpatched_libxul']
68
+ LIBXUL_CHECKSUMS['unpatched_libxul']
68
69
  end
69
70
 
70
71
  def patched_libxul_checksum_for_version
71
- YAML.load_file('libxul_checksums.yml')[Tor::TBB_VERSION]['patched_libxul']
72
+ LIBXUL_CHECKSUMS['patched_libxul']
72
73
  end
73
74
 
74
75
  def patch_checksum_for_version
75
- YAML.load_file('libxul_checksums.yml')[Tor::TBB_VERSION]['patch_checksum']
76
+ LIBXUL_CHECKSUMS['patch_checksum']
76
77
  end
77
78
 
78
79
  def checksum_for(file)
data/lib/tor/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Selenium
4
4
  module WebDriver
5
5
  module Tor
6
- VERSION = '1.5.0'
6
+ VERSION = '1.5.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium_tor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MatzFan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-31 00:00:00.000000000 Z
11
+ date: 2024-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -47,6 +47,7 @@ files:
47
47
  - lib/selenium_tor.rb
48
48
  - lib/service.rb
49
49
  - lib/tor/driver.rb
50
+ - lib/tor/libxul_checksums.yml
50
51
  - lib/tor/libxul_patchable.rb
51
52
  - lib/tor/options.rb
52
53
  - lib/tor/profile.rb
@@ -55,7 +56,6 @@ files:
55
56
  - lib/tor/tor_process.rb
56
57
  - lib/tor/torrc.rb
57
58
  - lib/tor/version.rb
58
- - libxul_checksums.yml
59
59
  - selenium_tor.gemspec
60
60
  - sig/tor.rbs
61
61
  - tmp/.placeholder