ruby-blinkstick 0.0.1 → 0.0.2
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 +1 -1
- data/CHANGELOG.md +10 -0
- data/README.md +18 -6
- data/lib/blinkstick/version.rb +1 -1
- data/lib/blinkstick.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6585fad55a10b4656175afc2f1e41675bf19cd58efbfe1776c74f13fb7817b9
|
|
4
|
+
data.tar.gz: e1d8dc9095f6d482544f4d06096a0623be521a6e685a2a0714f3e3b38644ad93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5bddb3dd5ffe701b5b8a088cd2b99b6fe532950d14ec63346ac34ea202cc6029d3fe7acb9f82c704c561c6e2586a59ef86f9f9f4f4e029229d3caa2ce4d831d4
|
|
7
|
+
data.tar.gz: c30d066e7288a8ac7f244602114f7b08f2c30d5a0b601f5d9c84bad22471971cc3a53092c367011be4f757585a176cb8b865a431a2c08d97758338f0fde67e23
|
data/CAPABILITIES.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Capabilities
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The gem is a placeholder and supports nothing yet. This table is the checklist for the implementation.
|
|
4
4
|
|
|
5
5
|
What the BlinkStick Nano and Square can do, and what this gem supports so far. Back to the
|
|
6
6
|
[README](README.md).
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ All notable changes to this project are recorded here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.0.2] - 2026-10-28
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Releases carry SLSA build provenance, attached on rubygems.org and the GitHub release, and checked by the release workflow before publishing.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- The gem build now fails if a documented file is missing, instead of shipping without it.
|
|
18
|
+
|
|
9
19
|
## [0.0.1] - 2026-10-28
|
|
10
20
|
|
|
11
21
|
### Added
|
data/README.md
CHANGED
|
@@ -12,9 +12,9 @@ of BlinkStick.
|
|
|
12
12
|
|
|
13
13
|
## Status
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
[go-blinkstick](https://github.com/bawdo/go-blinkstick). See
|
|
17
|
-
for the features it will cover.
|
|
15
|
+
This gem is a placeholder that reserves the name and does nothing else yet. The implementation
|
|
16
|
+
will port [go-blinkstick](https://github.com/bawdo/go-blinkstick). See
|
|
17
|
+
[CAPABILITIES.md](CAPABILITIES.md) for the features it will cover.
|
|
18
18
|
|
|
19
19
|
## Install
|
|
20
20
|
|
|
@@ -50,14 +50,26 @@ Then unplug and replug the stick (or reboot). This grants access to whoever is l
|
|
|
50
50
|
desktop (via systemd-logind's `uaccess`), not a udev group, so no group membership or new login
|
|
51
51
|
session is needed beyond replugging the device.
|
|
52
52
|
|
|
53
|
-
The rule only grants the `hidraw` node, which is all this gem
|
|
54
|
-
to the stick through libusb (such as the official Python `blinkstick` package), add this
|
|
55
|
-
the rule as well:
|
|
53
|
+
The rule only grants the `hidraw` node, which is all this gem will use. If you use a tool that
|
|
54
|
+
talks to the stick through libusb (such as the official Python `blinkstick` package), add this
|
|
55
|
+
line to the rule as well:
|
|
56
56
|
|
|
57
57
|
```
|
|
58
58
|
SUBSYSTEM=="usb", ATTR{idVendor}=="20a0", ATTR{idProduct}=="41e5", TAG+="uaccess"
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
+
## Verifying a release
|
|
62
|
+
|
|
63
|
+
From 0.0.2, every release carries build provenance from the release workflow. To check that a gem
|
|
64
|
+
came from this repository's workflow, with the [GitHub CLI](https://cli.github.com/):
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
gem fetch ruby-blinkstick -v 0.0.2
|
|
68
|
+
gh attestation verify ruby-blinkstick-0.0.2.gem --repo bawdo/ruby-blinkstick
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Swap in the version you are checking. [SECURITY.md](SECURITY.md) has the details.
|
|
72
|
+
|
|
61
73
|
## Licence
|
|
62
74
|
|
|
63
75
|
MIT. See [LICENSE](LICENSE).
|
data/lib/blinkstick/version.rb
CHANGED
data/lib/blinkstick.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keith Bawden
|
|
@@ -10,8 +10,8 @@ cert_chain: []
|
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
description: Drive BlinkStick Nano and Square USB LEDs from Ruby. Unofficial, and
|
|
13
|
-
not affiliated with Agile Innovative.
|
|
14
|
-
name.
|
|
13
|
+
not affiliated with Agile Innovative. Releases before the implementation lands are
|
|
14
|
+
placeholders that reserve the gem name.
|
|
15
15
|
email:
|
|
16
16
|
- keith@arrix.com.au
|
|
17
17
|
executables: []
|