ruby-blinkstick 0.0.2 → 0.1.0
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/CAPABILITIES.md +39 -41
- data/CHANGELOG.md +17 -0
- data/README.md +51 -4
- data/lib/blinkstick/backend/hidraw.rb +149 -0
- data/lib/blinkstick/backend/iokit.rb +308 -0
- data/lib/blinkstick/backend.rb +56 -0
- data/lib/blinkstick/colour.rb +104 -0
- data/lib/blinkstick/colour_names.rb +161 -0
- data/lib/blinkstick/errors.rb +27 -0
- data/lib/blinkstick/model.rb +49 -0
- data/lib/blinkstick/report.rb +30 -0
- data/lib/blinkstick/stick.rb +104 -0
- data/lib/blinkstick/version.rb +1 -1
- data/lib/blinkstick.rb +72 -1
- metadata +37 -6
metadata
CHANGED
|
@@ -1,17 +1,38 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-blinkstick
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keith Bawden
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
-
dependencies:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: ffi
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '1.17'
|
|
19
|
+
- - ">="
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 1.17.3
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
requirements:
|
|
26
|
+
- - "~>"
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
version: '1.17'
|
|
29
|
+
- - ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: 1.17.3
|
|
32
|
+
description: Find, open and set the colour of BlinkStick Nano and Square USB LEDs
|
|
33
|
+
from Ruby, on macOS and Linux. Lists attached sticks, opens one by serial, sets
|
|
34
|
+
every LED from hex, r,g,b or CSS colour names, and turns them off. Nothing to install
|
|
35
|
+
but the gem. Unofficial, and not affiliated with Agile Innovative.
|
|
15
36
|
email:
|
|
16
37
|
- keith@arrix.com.au
|
|
17
38
|
executables: []
|
|
@@ -23,6 +44,15 @@ files:
|
|
|
23
44
|
- LICENSE
|
|
24
45
|
- README.md
|
|
25
46
|
- lib/blinkstick.rb
|
|
47
|
+
- lib/blinkstick/backend.rb
|
|
48
|
+
- lib/blinkstick/backend/hidraw.rb
|
|
49
|
+
- lib/blinkstick/backend/iokit.rb
|
|
50
|
+
- lib/blinkstick/colour.rb
|
|
51
|
+
- lib/blinkstick/colour_names.rb
|
|
52
|
+
- lib/blinkstick/errors.rb
|
|
53
|
+
- lib/blinkstick/model.rb
|
|
54
|
+
- lib/blinkstick/report.rb
|
|
55
|
+
- lib/blinkstick/stick.rb
|
|
26
56
|
- lib/blinkstick/version.rb
|
|
27
57
|
- udev/60-blinkstick.rules
|
|
28
58
|
homepage: https://github.com/bawdo/ruby-blinkstick
|
|
@@ -49,5 +79,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
49
79
|
requirements: []
|
|
50
80
|
rubygems_version: 3.6.9
|
|
51
81
|
specification_version: 4
|
|
52
|
-
summary:
|
|
82
|
+
summary: Find and light BlinkStick Nano and Square USB LEDs from Ruby, on macOS and
|
|
83
|
+
Linux.
|
|
53
84
|
test_files: []
|