libusb 0.7.1-x64-mingw-ucrt → 0.7.2-x64-mingw-ucrt

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: ce8b17cfd4c90fb80cf22ad59f4f0fd19bc91d4a43c360736718c7959f02ae53
4
- data.tar.gz: 6719a5ce6ec2b0adef68ffb69b4fcabc9670ed0e05bd7cd72ab2dedfbd1399f6
3
+ metadata.gz: 2ccf0d365a37a85e8578dc5d8772a23528ec41e81276198b61f88a5c94f8fbbf
4
+ data.tar.gz: 22b7571a172a85d87b0beba93b30766b4e447e587f0056cbcf153cf7bcb6d7ff
5
5
  SHA512:
6
- metadata.gz: 6160123a3ce440588182d63783b6426057a3b841614a936c0626ab04cca1fbcf86e252532884ff1f280b58f35637f858163b45494c33e8a842f8a4c966f45b40
7
- data.tar.gz: b061c8c87d9d15fbe70b126a8d79983cee54579854756be5d659060ae30e1ac65f7b55d9adeb2b2e594b43d5b69002c1f6d878054422831254f86aece26256bd
6
+ metadata.gz: 6111299a6824761ab57f3bca4fe5634da1c4bff4bf8f812335528625d3723bde1a8ec9a322906ab90bfcaa3418b00bd8249f7bf09d80117dc82c35f24c29edf5
7
+ data.tar.gz: 3ab1867fe6efc6cda86fe053ebba828fc00f3052caf2e817bb6d06fedc7053516b68cab0d57950c7b16441d1e66ad1fe5d80cafe65b3a3f8cf51ecae5dbc9dd5
@@ -28,8 +28,8 @@ jobs:
28
28
  - x86-mingw32
29
29
  - x64-mingw-ucrt
30
30
  - x64-mingw32
31
- - x86-linux
32
- - x86_64-linux
31
+ # - x86-linux
32
+ # - x86_64-linux
33
33
 
34
34
  runs-on: ubuntu-latest
35
35
  env:
@@ -72,12 +72,12 @@ jobs:
72
72
  - os: windows
73
73
  ruby: "3.3"
74
74
  platform: x64-mingw-ucrt
75
- - os: ubuntu
76
- ruby: "2.5"
77
- platform: x86_64-linux
78
- - os: ubuntu
79
- ruby: "3.3"
80
- platform: x86_64-linux
75
+ # - os: ubuntu
76
+ # ruby: "2.5"
77
+ # platform: x86_64-linux
78
+ # - os: ubuntu
79
+ # ruby: "3.3"
80
+ # platform: x86_64-linux
81
81
 
82
82
  runs-on: ${{ matrix.os }}-latest
83
83
  steps:
data/History.md CHANGED
@@ -1,3 +1,11 @@
1
+ 0.7.2 / 2024-10-23
2
+ ------------------
3
+
4
+ Changed:
5
+ * Call libusb_set_log_cb only when available. #51
6
+ This was a regression leading to a crash on FreeBSD-14.1.
7
+
8
+
1
9
  0.7.1 / 2024-04-20
2
10
  ------------------
3
11
 
@@ -140,7 +140,9 @@ module LIBUSB
140
140
  if id # Is Context is about to be garbage collected?
141
141
  # In GC mode there's no way to call the registered collbacks, since they are GC'ed as well.
142
142
  # So disable callbacks now.
143
- Call.libusb_set_log_cb(self, nil, LOG_CB_CONTEXT)
143
+ if Call.respond_to?(:libusb_set_log_cb)
144
+ Call.libusb_set_log_cb(self, nil, LOG_CB_CONTEXT)
145
+ end
144
146
  Call.libusb_set_pollfd_notifiers(self, nil, nil, nil)
145
147
  end
146
148
  Call.libusb_exit(self)
@@ -15,5 +15,5 @@
15
15
 
16
16
  module LIBUSB
17
17
  # Library version of libusb for Ruby
18
- VERSION = "0.7.1"
18
+ VERSION = "0.7.2"
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libusb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Lars Kanis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-20 00:00:00.000000000 Z
11
+ date: 2024-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi