rocket_launcher 0.1.0 → 0.1.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 +5 -5
- data/ext/extconf.rb +6 -9
- data/lib/rocket_launcher/version.rb +1 -1
- data/rocket_launcher.gemspec +2 -0
- metadata +21 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 01a8d4a7e61bd31ce90a7bfb6c2028ea39f6cb2fb872b6b0ba59b405cc36ba89
|
|
4
|
+
data.tar.gz: 16ffa8bfbc2a6327640c8248f9756c4bc82e0974878dbd7e993162c494b182ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a94deb37f5df1f146d695dbfd00657653bb8df0c1c4fb8cfdcfd01f463715305be7ac4642b8a6f6fd955eb1ebc61da7075db0c290b2f9a52d4dec90f79cb067
|
|
7
|
+
data.tar.gz: d79c261b3cf9cd2eec84dc106d16a206521f4ad092aa4d650c4d9b6d6e44c000c514c97f2fad90151086394a50ab28c648bbc89637fb4490814cdb8628aabdb1
|
data/ext/extconf.rb
CHANGED
|
@@ -7,24 +7,21 @@ require 'mkmf'
|
|
|
7
7
|
INCLUDE_DIRS = [
|
|
8
8
|
RbConfig::CONFIG['includedir'],
|
|
9
9
|
'/usr/local/include',
|
|
10
|
-
'/usr/include'
|
|
10
|
+
'/usr/include',
|
|
11
|
+
'/opt/homebrew/include'
|
|
11
12
|
]
|
|
12
13
|
|
|
13
14
|
LIB_DIRS = [
|
|
14
15
|
RbConfig::CONFIG['libdir'],
|
|
15
16
|
'/usr/local/lib',
|
|
16
|
-
'/usr/lib'
|
|
17
|
+
'/usr/lib',
|
|
18
|
+
'/opt/homebrew/lib'
|
|
17
19
|
]
|
|
18
20
|
|
|
19
21
|
dir_config('rocket_launcher', INCLUDE_DIRS, LIB_DIRS)
|
|
20
22
|
|
|
21
|
-
unless find_header('libusb-1.0/libusb.h')
|
|
22
|
-
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
unless find_library('usb-1.0', 'libusb_init')
|
|
26
|
-
abort 'libusb-1.0 is missing.'
|
|
27
|
-
end
|
|
23
|
+
abort 'libusb-1.0 is missing' unless find_header('libusb-1.0/libusb.h')
|
|
24
|
+
abort 'libusb-1.0 is missing' unless find_library('usb-1.0', 'libusb_init')
|
|
28
25
|
|
|
29
26
|
create_makefile('usb/usb')
|
|
30
27
|
|
data/rocket_launcher.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rocket_launcher
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Enrico Pilotto
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
-
dependencies:
|
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rake
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '13'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '13'
|
|
13
27
|
description: A Ruby library to control your USB Rocket Launcher device.
|
|
14
28
|
email:
|
|
15
29
|
- enrico@megiston.it
|
|
@@ -34,7 +48,7 @@ files:
|
|
|
34
48
|
homepage: ''
|
|
35
49
|
licenses: []
|
|
36
50
|
metadata: {}
|
|
37
|
-
post_install_message:
|
|
51
|
+
post_install_message:
|
|
38
52
|
rdoc_options: []
|
|
39
53
|
require_paths:
|
|
40
54
|
- lib
|
|
@@ -51,9 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
65
|
version: '0'
|
|
52
66
|
requirements:
|
|
53
67
|
- 'libusb1.0 - Debian package name: libusb-1.0-0-dev - Mac port package name: libusb-devel'
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
signing_key:
|
|
68
|
+
rubygems_version: 3.3.26
|
|
69
|
+
signing_key:
|
|
57
70
|
specification_version: 4
|
|
58
71
|
summary: A Ruby library to control your USB Rocket Launcher device
|
|
59
72
|
test_files: []
|