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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85096144b5f714b5b78ef9d96a9ec8704cc01773d70939eb40580039840ccd06
4
- data.tar.gz: b376b8f3977442266b3073228f907207768753ed5c67760358b3f675190851e6
3
+ metadata.gz: b6585fad55a10b4656175afc2f1e41675bf19cd58efbfe1776c74f13fb7817b9
4
+ data.tar.gz: e1d8dc9095f6d482544f4d06096a0623be521a6e685a2a0714f3e3b38644ad93
5
5
  SHA512:
6
- metadata.gz: 119497122ba34c45749af7168fe0575354ca2ebbe441a0bf959e912991d32ea56631b6eca2a7c470c6f412548aededbdf12327195bff3d1530cbdd13e1fadfd4
7
- data.tar.gz: 2c465dfb6b3e0db1948609c1dc973144aad7db58d74cd1613852b7dc2b3467d3cd861070fb2f279b0f4dc11e822c939f6c327eaf9cb40ccd9c3efe579a41d5f0
6
+ metadata.gz: 5bddb3dd5ffe701b5b8a088cd2b99b6fe532950d14ec63346ac34ea202cc6029d3fe7acb9f82c704c561c6e2586a59ef86f9f9f4f4e029229d3caa2ce4d831d4
7
+ data.tar.gz: c30d066e7288a8ac7f244602114f7b08f2c30d5a0b601f5d9c84bad22471971cc3a53092c367011be4f757585a176cb8b865a431a2c08d97758338f0fde67e23
data/CAPABILITIES.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Capabilities
2
2
 
3
- 0.0.1 is a placeholder and supports nothing. This table is the checklist for the implementation.
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
- `0.0.1` reserves the gem name and does nothing else. The implementation will port
16
- [go-blinkstick](https://github.com/bawdo/go-blinkstick). See [CAPABILITIES.md](CAPABILITIES.md)
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 uses. If you use a tool that talks
54
- to the stick through libusb (such as the official Python `blinkstick` package), add this line to
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).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Blinkstick
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
data/lib/blinkstick.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  require_relative "blinkstick/version"
4
4
 
5
- # 0.0.1 is a placeholder that reserves the gem name and does nothing.
5
+ # A placeholder that reserves the gem name and does nothing yet.
6
6
  module Blinkstick
7
7
  end
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.1
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. 0.0.1 is a placeholder that reserves the gem
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: []