diff --git a/.github/workflows/ruby-nightly.yml b/.github/workflows/ruby-nightly.yml index 90ff25e..c42459b 100644 --- a/.github/workflows/ruby-nightly.yml +++ b/.github/workflows/ruby-nightly.yml @@ -32,7 +32,7 @@ jobs: - name: npm install on npm/ run: | cd npm - cat package.json | jq '.dependencies."ruby-head-wasm-wasi" |= ">= 0.4.0-2022-11-06-b < 0.4.0"' > package.json.new + cat package.json | jq '.dependencies."ruby-head-wasm-wasi" |= ">= 0.5.0-2022-11-24-a < 0.5.0"' > package.json.new mv package.json.new package.json npm update diff --git a/CHANGELOG.md b/CHANGELOG.md index 51a62bf..52ab621 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.1.11] - 2022-12-03 + +- use ruby.wasm 0.5.0 + ## [0.1.10] - 2022-11-11 - use ruby.wasm 0.4.0 diff --git a/gem/Gemfile.lock b/gem/Gemfile.lock index 734e11d..b88bbac 100644 --- a/gem/Gemfile.lock +++ b/gem/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - bormashino (0.1.10) + bormashino (0.1.11) json_pure (~> 2.6, >= 2.6.1) os (~> 1.1, >= 1.1.4) ruby2_keywords (= 0.0.4) diff --git a/gem/lib/bormashino/tasks/bormashino.rake b/gem/lib/bormashino/tasks/bormashino.rake index 8f293ea..f003eba 100644 --- a/gem/lib/bormashino/tasks/bormashino.rake +++ b/gem/lib/bormashino/tasks/bormashino.rake @@ -3,8 +3,8 @@ require 'uri' require 'os' require 'digest/md5' -RELEASE_DATE = ENV['RELEASE_DATE'] || 'ruby-head-wasm-wasi-0.4.0'.freeze -# https://github.com/ruby/ruby.wasm/releases/download/ruby-head-wasm-wasi-0.4.0/ruby-head-wasm32-unknown-wasi-full-js.tar.gz +RELEASE_DATE = ENV['RELEASE_DATE'] || 'ruby-head-wasm-wasi-0.5.0'.freeze +# https://github.com/ruby/ruby.wasm/releases/download/ruby-head-wasm-wasi-0.5.0/ruby-head-wasm32-unknown-wasi-full-js.tar.gz RUBY_RELEASE = "https://github.com/ruby/ruby.wasm/releases/download/#{RELEASE_DATE}/ruby-head-wasm32-unknown-wasi-full-js.tar.gz".freeze WASI_VFS_RELEASE = 'https://github.com/kateinoigakukun/wasi-vfs/releases/download/v0.1.1/wasi-vfs-cli-x86_64-unknown-linux-gnu.zip'.freeze diff --git a/gem/lib/bormashino/version.rb b/gem/lib/bormashino/version.rb index 3f9b8d0..73c305e 100644 --- a/gem/lib/bormashino/version.rb +++ b/gem/lib/bormashino/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Bormashino - VERSION = '0.1.10' + VERSION = '0.1.11' end diff --git a/npm/package-lock.json b/npm/package-lock.json index 708df2a..db89fbf 100644 --- a/npm/package-lock.json +++ b/npm/package-lock.json @@ -12,7 +12,7 @@ "@wasmer/wasi": "0.12.0", "@wasmer/wasmfs": "^0.12.0", "html5-history-router": "^1.1.0", - "ruby-head-wasm-wasi": "0.4.0" + "ruby-head-wasm-wasi": "0.5.0" }, "devDependencies": { "@babel/core": "^7.20.2", @@ -6536,9 +6536,9 @@ } }, "node_modules/ruby-head-wasm-wasi": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/ruby-head-wasm-wasi/-/ruby-head-wasm-wasi-0.4.0.tgz", - "integrity": "sha512-XyOCAgqiLTGssvCs922uNn5qeJN+XW93Q5Z33C9B0Ey4Ab8B2OGjt2FaXn1+FYaNZDmuWDclOj5uY2aIvupSHg==" + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/ruby-head-wasm-wasi/-/ruby-head-wasm-wasi-0.5.0.tgz", + "integrity": "sha512-JAqobSBDwGmDcO3yJE0qOBlxsFtTKKTJuRE1GfyOkuclftf5By3NkoeXe2XmrjKpDt0N8BwhI27vobNKyAgyHg==" }, "node_modules/safe-buffer": { "version": "5.1.2", @@ -12165,9 +12165,9 @@ } }, "ruby-head-wasm-wasi": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/ruby-head-wasm-wasi/-/ruby-head-wasm-wasi-0.4.0.tgz", - "integrity": "sha512-XyOCAgqiLTGssvCs922uNn5qeJN+XW93Q5Z33C9B0Ey4Ab8B2OGjt2FaXn1+FYaNZDmuWDclOj5uY2aIvupSHg==" + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/ruby-head-wasm-wasi/-/ruby-head-wasm-wasi-0.5.0.tgz", + "integrity": "sha512-JAqobSBDwGmDcO3yJE0qOBlxsFtTKKTJuRE1GfyOkuclftf5By3NkoeXe2XmrjKpDt0N8BwhI27vobNKyAgyHg==" }, "safe-buffer": { "version": "5.1.2", diff --git a/npm/package.json b/npm/package.json index bacd8b3..3fddaf5 100644 --- a/npm/package.json +++ b/npm/package.json @@ -2,7 +2,7 @@ "name": "bormashino", "description": "The package to build SPAs with Ruby", "homepage": "https://github.com/keyasuda/bormashino", - "version": "0.1.10", + "version": "0.1.11", "main": "src/index.js", "scripts": { "test": "jest --notify src/", @@ -22,6 +22,6 @@ "@wasmer/wasi": "0.12.0", "@wasmer/wasmfs": "^0.12.0", "html5-history-router": "^1.1.0", - "ruby-head-wasm-wasi": "0.4.0" + "ruby-head-wasm-wasi": "0.5.0" } } diff --git a/test-app/Gemfile.lock b/test-app/Gemfile.lock index bb54d77..69721d9 100644 --- a/test-app/Gemfile.lock +++ b/test-app/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: ../gem specs: - bormashino (0.1.10) + bormashino (0.1.11) json_pure (~> 2.6, >= 2.6.1) os (~> 1.1, >= 1.1.4) ruby2_keywords (= 0.0.4) diff --git a/test-app/package-lock.json b/test-app/package-lock.json index 7d323cd..fdbcfc5 100644 --- a/test-app/package-lock.json +++ b/test-app/package-lock.json @@ -15,13 +15,13 @@ }, "../npm": { "name": "bormashino", - "version": "0.1.10", + "version": "0.1.11", "license": "MIT", "dependencies": { "@wasmer/wasi": "0.12.0", "@wasmer/wasmfs": "^0.12.0", "html5-history-router": "^1.1.0", - "ruby-head-wasm-wasi": "0.4.0" + "ruby-head-wasm-wasi": "0.5.0" }, "devDependencies": { "@babel/core": "^7.19.6", @@ -3739,7 +3739,7 @@ "jest": "^28.1.3", "jest-environment-jsdom": "^28.1.3", "node-notifier": "^10.0.1", - "ruby-head-wasm-wasi": "0.4.0" + "ruby-head-wasm-wasi": "0.5.0" } }, "browserslist": {