libusb 0.6.4-x64-mingw32 → 0.7.1-x64-mingw32
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 +4 -4
- data/.appveyor.yml +33 -0
- data/.github/workflows/ci.yml +185 -0
- data/.gitignore +1 -0
- data/.travis.yml +12 -7
- data/Gemfile +4 -1
- data/History.md +46 -0
- data/README.md +29 -4
- data/Rakefile +43 -14
- data/lib/libusb/bos.rb +85 -29
- data/lib/libusb/call.rb +132 -16
- data/lib/libusb/configuration.rb +3 -4
- data/lib/libusb/constants.rb +4 -0
- data/lib/libusb/context.rb +176 -35
- data/lib/libusb/context_reference.rb +38 -0
- data/lib/libusb/dependencies.rb +2 -2
- data/lib/libusb/dev_handle.rb +34 -24
- data/lib/libusb/device.rb +50 -8
- data/lib/libusb/endpoint.rb +3 -2
- data/lib/libusb/eventmachine.rb +8 -4
- data/lib/libusb/gem_helper.rb +9 -6
- data/lib/libusb/libusb_recipe.rb +2 -3
- data/lib/libusb/ss_companion.rb +9 -6
- data/lib/libusb/transfer.rb +10 -6
- data/lib/libusb/version_gem.rb +1 -1
- data/lib/libusb-1.0.dll +0 -0
- data/lib/libusb.rb +106 -18
- data/libusb.gemspec +1 -5
- data/test/test_libusb_bos.rb +22 -0
- data/test/test_libusb_bulk_stream_transfer.rb +23 -12
- data/test/test_libusb_context.rb +47 -0
- data/test/test_libusb_descriptors.rb +44 -11
- data/test/test_libusb_gc.rb +15 -0
- data/test/test_libusb_hotplug.rb +3 -1
- data/test/test_libusb_iso_transfer.rb +6 -0
- data/test/test_libusb_mass_storage.rb +6 -6
- metadata +7 -62
- data/appveyor.yml +0 -36
data/appveyor.yml
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
init:
|
2
|
-
- SET PATH=C:/Ruby%ruby_version%/bin;%PATH%
|
3
|
-
- SET RAKEOPT=-rdevkit
|
4
|
-
install:
|
5
|
-
- ps: |
|
6
|
-
if ($env:ruby_version -like "*head*") {
|
7
|
-
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-$env:ruby_version.exe", "$pwd/ruby-setup.exe")
|
8
|
-
cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
|
9
|
-
}
|
10
|
-
- ruby --version
|
11
|
-
- gem --version
|
12
|
-
- ps: |
|
13
|
-
if ($env:BROKEN_SSL -eq "true") {
|
14
|
-
$(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt', "$env:TMP/ca-bundle.crt")
|
15
|
-
$env:SSL_CERT_FILE = "$env:TMP/ca-bundle.crt"
|
16
|
-
Write-Host "Using SSL CA list $env:SSL_CERT_FILE" -foreground Green
|
17
|
-
}
|
18
|
-
- gem install bundler --conservative
|
19
|
-
- bundle config force_ruby_platform true
|
20
|
-
- bundle install
|
21
|
-
build_script:
|
22
|
-
- bundle exec rake compile
|
23
|
-
test_script:
|
24
|
-
- bundle exec rake travis
|
25
|
-
environment:
|
26
|
-
matrix:
|
27
|
-
- ruby_version: "head-x64"
|
28
|
-
- ruby_version: "200"
|
29
|
-
BROKEN_SSL: true
|
30
|
-
- ruby_version: "21-x64"
|
31
|
-
BROKEN_SSL: true
|
32
|
-
- ruby_version: "22"
|
33
|
-
BROKEN_SSL: true
|
34
|
-
- ruby_version: "23-x64"
|
35
|
-
BROKEN_SSL: true
|
36
|
-
- ruby_version: "24"
|