bundler-spinel 0.2.0 → 0.2.1

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: 12d700f606c1cf8b69ae4fe623c16293bfbc560fe09b59c8fadeb4529a8a02f6
4
- data.tar.gz: e08a61f93c03930e4c85b0e1effbaf3dfb2e05f3bd1d1979459fe4e667de4f4c
3
+ metadata.gz: b5a1d4be2ef6216a5cd1241e7ef27dd6ee5222f79f21e6924b8c52c0fe02f35b
4
+ data.tar.gz: 0a36f37f19a5333e42515a23ec80524ee99bd2d81322e573bb7b3376b4a231b9
5
5
  SHA512:
6
- metadata.gz: 3390679f31399277e342e4853530a15d9017aa8de9cbb822dc933420953e4badc97ca497302cbfa8acf29dc6cb1380f2508c515b7e00aa1e5a0eaca502a64e73
7
- data.tar.gz: ccf7ac613f132909ae9598f01be97c14c6f4fc12dcd70a5352c2ea4f62beb2303589463039c7c98d8787918131323c83cbe2f101ababae9e2161afa6a64c8a5e
6
+ metadata.gz: e9fd87e3769ca2246b536ef82c4e6c5c6a704021183008516ce7b41ebf10f0e310d03e297b06887c86cb9f97dc8ae388c6f45f01ce92f1a1a7af791763af0af9
7
+ data.tar.gz: '0894f3ed497a5b7c2e226d5ec5b86ce8b60872775d12c72090df8a6da3f8eead78a93b8ced7e994769e0359a48850be22526192683351a1b16dfe49714744013'
data/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ All notable changes to `bundler-spinel` are documented here. The format
4
4
  follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the
5
5
  project aims to follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.2.1] — 2026-06-01
8
+
9
+ ### Fixed
10
+ - **`init` scaffold tripped `mise`/`asdf` on the engine marker.** Version managers
11
+ read the Gemfile's `ruby "3.3.0", engine: "spinel", …` and tried to activate
12
+ `ruby@spinel-0.0.0` (missing) → fell back to a Ruby without `bundler-spinel`, so
13
+ `bin/build` failed with `spinel-compat: command not found` (first-user report,
14
+ tep#156). The scaffold now also writes a config-tier `.tool-versions` pinning the
15
+ real CRuby (`ruby <RUBY_VERSION>`), which overrides the Gemfile parse so the
16
+ manager activates the Ruby that has `spinel-compat`. Reproduced + verified the
17
+ fix against `mise` in a container.
18
+
7
19
  ## [0.2.0] — 2026-06-01
8
20
 
9
21
  ### Added
@@ -98,6 +110,7 @@ and the ledger format may all change before `0.0.1`. Install with `--pre`.
98
110
  - Wholesale `survey` with a thread-safe ledger, a per-compile wall-clock
99
111
  timeout (`analyze-timeout` reject reason), and a ledger-based report.
100
112
 
113
+ [0.2.1]: https://github.com/OriPekelman/spinelgems/releases/tag/v0.2.1
101
114
  [0.2.0]: https://github.com/OriPekelman/spinelgems/releases/tag/v0.2.0
102
115
  [0.1.1]: https://github.com/OriPekelman/spinelgems/releases/tag/v0.1.1
103
116
  [0.1.0]: https://github.com/OriPekelman/spinelgems/releases/tag/v0.1.0
@@ -172,6 +172,12 @@ module Bundler
172
172
  write(out, bin, build_sh)
173
173
  File.chmod(0o755, bin)
174
174
  write(out, File.join(dir, ".gitignore"), gitignore)
175
+ # Pin the *real* CRuby (the one running this, which has spinel-compat) so
176
+ # version managers don't misread the Gemfile's `engine: "spinel"` marker.
177
+ # mise/asdf parse that as `ruby@spinel-0.0.0`, fail to find it, and fall
178
+ # back to a Ruby without bundler-spinel — `bin/build` then can't find
179
+ # `spinel-compat`. A config-tier .tool-versions overrides that parse.
180
+ write(out, File.join(dir, ".tool-versions"), "ruby #{RUBY_VERSION}\n")
175
181
  out.puts ""
176
182
  out.puts "Scaffolded a Spinel + Tep project in #{dir}/"
177
183
  out.puts "Next:"
@@ -4,6 +4,6 @@ module Bundler
4
4
  # are proven, and `install-engine` now provisions the compiler too, so a
5
5
  # newcomer can `gem install bundler-spinel` and onboard without an
6
6
  # out-of-band Spinel build (spinelgems#9).
7
- VERSION = "0.2.0"
7
+ VERSION = "0.2.1"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler-spinel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ori Pekelman