jsg 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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +10 -1
  4. data/lib/jsg/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1d60a874b6a2f773a473b333c5f2ff4db6d47f532dc1a257c1c1c34b7a226f8
4
- data.tar.gz: 5f777d0b59c0454922d48bdf9b2a03b09b62ba106a7fb952d368276579cd6ade
3
+ metadata.gz: 656528ab1a482268d018a12df7b3cd5fda4d74f08368926f7fb665a4f5f3621f
4
+ data.tar.gz: a63fec4f4c89edc7e116aa878781aa9235bcdf17967f12508ccea62ab5bcef19
5
5
  SHA512:
6
- metadata.gz: f4100bdf2b90ebe3c9a930e5981dcc99da12efd458602021d41631b9f61056ad6986ca1e93bc26f639e43977beebc2b73b7fe95f6d7a993b9f221a141fc015d8
7
- data.tar.gz: f80229f22ac0201a35ba6582a1de2a50692ac118da9dc100df638df85f13517fdf2a00396bce4ada9ae32f8c502c8a6a38d1e5f1f4d3cb7b9cff1ae0feb339f1
6
+ metadata.gz: e231cea6d1794b20a9bffc034ac38020968288177af7c49f973b7901deb4a02cf4c86fa7ec8655e5ac7c078293c9b986d9cb8fdfd712d199ed349b80ca74ef80
7
+ data.tar.gz: cfc908766616ad9b18026b20369caf5d01e79e7d2bde8463d8af9f619a3c1b86c5d686476b007759c15fa9dfc4dfa74e0ee375dac929bff53e9fd123e0c472ed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.1] - 2026-09-29
4
+
5
+ - First release published from GitHub Actions with RubyGems trusted publishing (`.github/workflows/release.yml`, triggered by `v*` tags).
6
+ - CI runs the ruby.wasm tests on Node.js 24. Node 22's WASI crashes once Ruby loads files from a mounted directory.
7
+
3
8
  ## [0.2.0] - 2026-09-29
4
9
 
5
10
  - Fix `require "jsg"`: the library moved from the gem root to `lib/jsg.rb`, so it is on the load path.
data/README.md CHANGED
@@ -104,7 +104,16 @@ bin/setup
104
104
  bundle exec rake # rspec, the ruby.wasm tests and rubocop
105
105
  ```
106
106
 
107
- The specs in `spec/` test the command line tool on your normal Ruby. `lib/jsg.rb` needs the js gem, which only works inside ruby.wasm, so its tests in `test/wasm` run the prebuilt ruby.wasm on Node.js (`bundle exec rake test:wasm`, needs Node.js and npm).
107
+ To release a new version, update `lib/jsg/version.rb` and `CHANGELOG.md`, commit, and push a matching tag:
108
+
109
+ ```bash
110
+ git tag v0.2.1
111
+ git push origin v0.2.1
112
+ ```
113
+
114
+ The `Release` workflow runs the tests and publishes the gem to RubyGems.org with trusted publishing, so no API key is stored in GitHub.
115
+
116
+ The specs in `spec/` test the command line tool on your normal Ruby. `lib/jsg.rb` needs the js gem, which only works inside ruby.wasm, so its tests in `test/wasm` run the prebuilt ruby.wasm on Node.js (`bundle exec rake test:wasm`, needs Node.js 24 or newer and npm).
108
117
 
109
118
  ## License
110
119
 
data/lib/jsg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JSG
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsg
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
  - Andi
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 4.0.18
84
+ rubygems_version: 4.0.20
85
85
  specification_version: 4
86
86
  summary: JSG helps setting up ruby.wasm projects and comes with a nicer syntax
87
87
  test_files: []