libusb 0.7.1 → 0.7.2

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: 165049d0195bc1cf3452f12b69f89ecafe6b3a180b08f882f882d1784ad42efe
4
- data.tar.gz: 4f8fcd9cfc795cf601dc5058104a8406f59ed3f3c775b9d92c371d91dfab915c
3
+ metadata.gz: 5d72428d38fc654c53b2a8d3bb182ae790f2860154eb1d350f7ca57292bc0ff6
4
+ data.tar.gz: 737cc6576964289bc028380e39d5404fd91fec0fb85f2ab919df9c8c6449a297
5
5
  SHA512:
6
- metadata.gz: 11a2df6d3c53464eb4db59267cffc9e1f090f511c234d6a44ae573004f6953cb6fad6c5564595df612c314f7adea0507e3edf99be5e70a5745a6246b4ace51de
7
- data.tar.gz: 2e5288dfee1264a0edb1cc41a1ee58ea1e13a40a46032be0394ac8a0230c8c9ec77a59a01fc9ddef913260e279f6bf6f0da81c45567141bca07ab5674b75c151
6
+ metadata.gz: ae37e6a1cb842de3b0e1eacd17896a35276c7f68c4f55d9f9b00ae21d832aaacc6a671171f2b5c85ee64449147b668239e8c6fb44203a4a394c4dade30b16928
7
+ data.tar.gz: 7270194dac34b088447b998e76b805e7c33b17a03dd67209c80c4f9d7cbd52fd6610f1092e61027454179f1626f8f17649fdc414c6d80b68f09452235ae3f6eb
@@ -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: ruby
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