wavegraph 0.1.1-arm64-darwin → 0.1.2-arm64-darwin

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: 0d323432ecc7f8d971c72af056bfb5c0de6cc64a9fd0b9236865e10669c1604f
4
- data.tar.gz: 5d92e1f290af8806a632b987bdf048abccfe0f2338e9c57f7b6e8ef2793292d4
3
+ metadata.gz: 3dd62dd53b02f06e4d271f4c03e2618bc9df71d65a8bd510be35689010639a30
4
+ data.tar.gz: 99483905c5fc96d6e4d0ccaa857afb22ed4755e01157de8b975b3da2da9f32b3
5
5
  SHA512:
6
- metadata.gz: 7f8720e215e56b97c93362a349c2601da6f98471927f2f764e434b5f856608465efb14e15d8243e1072066be075564cfbdf585ff3a99a789cc1695ed87a541da
7
- data.tar.gz: a74b4886890b7c7ef6d051ec30a9cbcfd7926095fae4a0a5f5b988796344828ea6f1d607ecf7a335da2eab5b891b74f6e533268bfcdfa5f4d581843cf9aa0e5e
6
+ metadata.gz: 8379457e8aaa3f3a6d1bbcf2a0d2ca2e90371f7876f169b4a3beb490250c62f5cf03694a81f23e90ddefa2b0ac0fc888daa15ff3049f8b40d671ec0c7385d5f0
7
+ data.tar.gz: 4786c009290065c0868c19b947e524cef509060331a1977abdca4a3e1b18a1dfbb8a27153cdf576a3f45ebca2c04ec5c2e878e24b49bb4fe45197919647ce0a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.2 (2026-12-05)
4
+
5
+ - Ship native gems for `x86_64-linux-gnu` and `aarch64-linux-gnu`. The
6
+ Ubuntu 22.04 builds bundle the WaveGraph 0.1.3 host and use the system
7
+ ALSA library (`libasound.so.2`) for playback.
8
+ - Honor `CARGO_BUILD_TARGET` when building a platform gem from source.
9
+
3
10
  ## 0.1.1 (2026-12-05)
4
11
 
5
12
  - Introduce wavegraph.rb with examples for embedding the factory rack and
data/README.md CHANGED
@@ -11,9 +11,15 @@ notes on the audio sample clock.
11
11
 
12
12
  ## Install
13
13
 
14
- The [RubyGems release][versions] bundles the native engine for Apple silicon.
15
- Use an arm64 Ruby 3.1 or later on macOS 14.2 or later. In an application with
16
- a Gemfile, add the gem with Bundler.
14
+ Use Ruby 3.1 or later. Each platform gem includes the native engine.
15
+ Check the [published versions][versions] for your platform.
16
+
17
+ | Gem platform | Runtime |
18
+ | --- | --- |
19
+ | `arm64-darwin` | Apple silicon, macOS 14.2+ (CoreAudio) |
20
+ | `x86_64-linux-gnu`, `aarch64-linux-gnu` | glibc Linux (Ubuntu 22.04 baseline), `libasound.so.2` (ALSA), RubyGems 3.3.22+ |
21
+
22
+ In an application with a Gemfile, add the gem with Bundler.
17
23
 
18
24
  ```sh
19
25
  bundle add wavegraph
@@ -25,7 +31,7 @@ For a standalone Ruby script, install it directly.
25
31
  gem install wavegraph
26
32
  ```
27
33
 
28
- On an Intel Mac or 64-bit Linux, [build from the checkout][build].
34
+ On an Intel Mac or on musl Linux (x86-64 or AArch64), [build from the checkout][build].
29
35
 
30
36
  ## Play the factory rack
31
37
 
@@ -135,9 +141,10 @@ gem install ./pkg/wavegraph-*.gem
135
141
  ruby examples/acid.rb
136
142
  ```
137
143
 
138
- `rake build` packages the native library for the build machine. On Linux,
139
- the build determines the libc and minimum symbol versions required by the
140
- binary. Build on the oldest OS you intend to support.
144
+ `rake build` packages the native library for the build machine. To cross-compile,
145
+ set `CARGO_BUILD_TARGET` to the Rust target triple and configure its linker in
146
+ Cargo. For Linux, point `pkg-config` at the target's ALSA development files.
147
+ The build environment determines the libc and minimum symbol versions.
141
148
 
142
149
  ## Develop against a local host build
143
150
 
@@ -160,17 +167,17 @@ application that supplies its own native library, run
160
167
  ## Publish to RubyGems
161
168
 
162
169
  After merging a gem version bump, push a new `wavegraph-ruby/v<VERSION>` tag.
163
- The [release workflow][publish] builds the Apple silicon gem, installs it,
164
- runs the headless tests and publishes that file through the `rubygems`
165
- environment. RubyGems 4.1 attempts a Sigstore attestation at push time.
166
- Choose **Run workflow** on `main` for a dry run that leaves the gem available
167
- as a workflow artifact.
170
+ The [release workflow][publish] builds each platform gem on its native runner,
171
+ installs it and runs the headless tests against the installed copy. Once all
172
+ platforms pass, it publishes each tested gem through the `rubygems` environment.
173
+ RubyGems 4.1 attempts a Sigstore attestation at push time. Choose **Run workflow**
174
+ on `main` for a dry run that leaves one downloadable artifact per platform.
168
175
 
169
176
  The release task verifies the crates.io archive for `wavegraph` 0.1.3 against
170
177
  its SHA-256 checksum, uses the archive's `Cargo.lock`, and packages the native
171
- dependency notices. To reproduce the build on a Mac, run
172
- `MACOSX_DEPLOYMENT_TARGET=14.2 bundle exec rake build:release` in `wavegraph-ruby/`.
173
- The gem is written to `pkg/release/`.
178
+ dependency notices. To reproduce the build, run `bundle exec rake build:release`
179
+ in `wavegraph-ruby/` on Ubuntu 22.04 or set `MACOSX_DEPLOYMENT_TARGET=14.2`
180
+ when running it on macOS. The gem is written to `pkg/release/`.
174
181
 
175
182
  ## License
176
183
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WaveGraph
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wavegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - WaveGraph Developers
@@ -29,8 +29,9 @@ description: |
29
29
  TR-808 and a TR-909, or wire up your own instruments in a .wg patch.
30
30
 
31
31
  Send MIDI notes, sweep a filter and start or stop the sequencer from Ruby.
32
- The native engine times the notes on its audio sample clock. The Apple
33
- silicon gem bundles the engine for CoreAudio playback or headless use.
32
+ The native engine times the notes on its audio sample clock. Platform
33
+ gems bundle the engine for CoreAudio on macOS, ALSA on Linux, or
34
+ headless playback on either system.
34
35
  executables: []
35
36
  extensions: []
36
37
  extra_rdoc_files:
@@ -151,9 +152,9 @@ licenses:
151
152
  - MIT
152
153
  metadata:
153
154
  bug_tracker_uri: https://github.com/fm1-rust/wavegraph/issues
154
- documentation_uri: https://github.com/fm1-rust/wavegraph/blob/wavegraph-ruby/v0.1.1/wavegraph-ruby/README.md#play-a-bass-line
155
- source_code_uri: https://github.com/fm1-rust/wavegraph/tree/wavegraph-ruby/v0.1.1/wavegraph-ruby
156
- changelog_uri: https://github.com/fm1-rust/wavegraph/blob/wavegraph-ruby/v0.1.1/wavegraph-ruby/CHANGELOG.md
155
+ documentation_uri: https://github.com/fm1-rust/wavegraph/blob/wavegraph-ruby/v0.1.2/wavegraph-ruby/README.md#play-a-bass-line
156
+ source_code_uri: https://github.com/fm1-rust/wavegraph/tree/wavegraph-ruby/v0.1.2/wavegraph-ruby
157
+ changelog_uri: https://github.com/fm1-rust/wavegraph/blob/wavegraph-ruby/v0.1.2/wavegraph-ruby/CHANGELOG.md
157
158
  rdoc_options:
158
159
  - "--main"
159
160
  - README.md