rocket_launcher 0.1.0 → 0.1.1

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
- SHA1:
3
- metadata.gz: c97bf626bf96f4a7faad7b80ea5e3b46a608cd74
4
- data.tar.gz: 4c3d82b3f5a7ec58a3b914d4e7c9568ff680adf6
2
+ SHA256:
3
+ metadata.gz: 01a8d4a7e61bd31ce90a7bfb6c2028ea39f6cb2fb872b6b0ba59b405cc36ba89
4
+ data.tar.gz: 16ffa8bfbc2a6327640c8248f9756c4bc82e0974878dbd7e993162c494b182ab
5
5
  SHA512:
6
- metadata.gz: 8c7bd5eab27a279a95026fc5d63d864da474d51eb6310a12851ce96acb976e6d72f8d6cc1f3e8a6976160b5a2458a1a8b931db93c1abab896f9aab5c6c592d84
7
- data.tar.gz: 5f04b8c069941e71d1d2eb7c6cf50a3ae73d28ee40fa297699071fd1bc3cb3a6623269d6db6f8c652630559cdf40f15e7e6fcdbab8b57ce8468bec14262b3897
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
- abort 'libusb-1.0 is missing.'
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
 
@@ -1,3 +1,3 @@
1
1
  class RocketLauncher
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'.freeze
3
3
  end
@@ -20,4 +20,6 @@ Gem::Specification.new do |s|
20
20
  s.extensions = ['ext/extconf.rb']
21
21
 
22
22
  s.requirements = ['libusb1.0 - Debian package name: libusb-1.0-0-dev - Mac port package name: libusb-devel']
23
+
24
+ s.add_development_dependency 'rake', '~> 13'
23
25
  end
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.0
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: 2018-01-05 00:00:00.000000000 Z
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
- rubyforge_project: rocket_launcher
55
- rubygems_version: 2.6.13
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: []