ethon-impersonate 0.17.3-arm64-darwin-24 → 0.17.5-arm64-darwin-24

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: 3a3f79a9adf6f63fe4bc22ebcb3de6dbc67373c65ff826393f0472f96ee080b2
4
- data.tar.gz: 922e6c6cc35a012ce5e4484b922924f4c4d9c3563c2e04f3578c85b583b4782f
3
+ metadata.gz: e1802b93f748dc9e0ab98353bb1db237b5df2f4cb93ba4a11b93c8153ca176da
4
+ data.tar.gz: 566e1fc66957382109c922f9728f995aa8c1a28017c9108d46b379b6adf79c53
5
5
  SHA512:
6
- metadata.gz: e2247f2c3bae599100305aa14baa170b0bdd0472e48463f2b52e648009c69d2601578a9dbaeec65345a993a78fcc56aed762cea7f82ed30ebfd36e7e86b40dbb
7
- data.tar.gz: d353e4c0600383de771c87df4e9c6e11e8372f599bcd49b14352509053e2f3438facb96d33deb323cd6293eed002aa66fc5ca638207328ce9d6c604c9f391ba1
6
+ metadata.gz: 203f55dc96a35e238cb68bfb2d4b6165860642f746c7e18dcce1c8c0e280e4c68c3bd63111c2f4b0bc7fd7f6bd0a5cd2ccf0681487d65763d844e8f80fb42413
7
+ data.tar.gz: 5c17cd73f991e60813d545a75cafd29f18d907c959e38cfa2bed97e839ded8bf57aa573223667b3de05e308acc90947c8046a0cf6fbf7d18d739ab757026050f
@@ -8,12 +8,6 @@ module EthonImpersonate
8
8
  callback :progress_callback, [:pointer, :long_long, :long_long, :long_long, :long_long], :int
9
9
  ffi_lib_flags :now, :global
10
10
 
11
- ffi_lib [
12
- ENV['CURL_IMPERSONATE_PATH'],
13
- "libcurl-impersonate-chrome",
14
- "libcurl-impersonate-chrome.4.dylib",
15
- File.expand_path('../../../../ext/libcurl-impersonate-chrome', __FILE__),
16
- File.expand_path('../../../../ext/libcurl-impersonate-chrome.4.dylib', __FILE__),
17
- ]
11
+ ffi_lib EthonImpersonate::Impersonate::Settings.ffi_libs
18
12
  end
19
13
  end
@@ -48,10 +48,6 @@ module EthonImpersonate
48
48
  libraries += lib_names
49
49
  libraries += lib_names.map { |lib_name| File.join(LIB_EXT_PATH, lib_name) }
50
50
 
51
- # if FFI::Platform::OS == "windows"
52
- # libraries << File.join(LIB_EXT_PATH, "bin", LIB_OS_FULL_NAME_MAP[FFI::Platform::OS])
53
- # end
54
-
55
51
  libraries
56
52
  end
57
53
 
@@ -2,5 +2,5 @@
2
2
  module EthonImpersonate
3
3
 
4
4
  # EthonImpersonate version.
5
- VERSION = "0.17.3"
5
+ VERSION = "0.17.5"
6
6
  end
@@ -12,13 +12,13 @@ rescue LoadError
12
12
  end
13
13
  require 'tempfile'
14
14
 
15
+ require 'ethon_impersonate/impersonate'
15
16
  require 'ethon_impersonate/libc'
16
17
  require 'ethon_impersonate/curl'
17
18
  require 'ethon_impersonate/easy'
18
19
  require 'ethon_impersonate/errors'
19
20
  require 'ethon_impersonate/loggable'
20
21
  require 'ethon_impersonate/multi'
21
- require 'ethon_impersonate/impersonate'
22
22
  require 'ethon_impersonate/version'
23
23
 
24
24
  # EthonImpersonate is a very simple curl-impersonate wrapper.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethon-impersonate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.3
4
+ version: 0.17.5
5
5
  platform: arm64-darwin-24
6
6
  authors:
7
7
  - David Sojevic
@@ -37,7 +37,6 @@ files:
37
37
  - README.md
38
38
  - config/puma.rb
39
39
  - ethon-impersonate.gemspec
40
- - ext/libcurl-impersonate.4.dylib
41
40
  - lib/ethon-impersonate.rb
42
41
  - lib/ethon/impersonate.rb
43
42
  - lib/ethon_impersonate.rb
Binary file