wasmify-rails 0.3.0 → 0.3.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: 5f126390207e5e9030c599cffebf5e9cd14b701e960acaf3a81c0e868f20cef2
4
- data.tar.gz: aa1e772419cedf0b6dc3f786103a43b99aa4d6faea0c32df1e029a4b102ad0df
3
+ metadata.gz: 3ba6a11376e388d3ded351a2c72bfed1bab2063c2b4eb98d8c63f1a5d50214e4
4
+ data.tar.gz: 8444b60b24fbfac498cf489c09ad0d4787552cee1e921cb3c9f5dece19643666
5
5
  SHA512:
6
- metadata.gz: 651e0e83708072e63098bf1199456866a0bb1f2256c1815101cb0028adf6742ad3ea1feee52e65f272a85eacb1f5f839c8c46340e1c67b34500a6e0a08f503e6
7
- data.tar.gz: a9d623bf6faed1db405f6daba055a69ab2d2ea4178fc2926901f51be875537a133c0b966f95e63e89f555086ef950d08a7fe996543e6b84f418daa0b39957b17
6
+ metadata.gz: 653e2e65cbeb368db2da8b6c357e25d6b017750d906b08a2e60bd71e24c9b5f6410970223a5c13cb806a99b495eb3256b3e1c5964181f0ad0e51a0d85e2190d3
7
+ data.tar.gz: 105c28242943f9055901e116fb4bac929028b225751d49f5745a3304683a8fb8cb7f8a917119aa63fa0bab1d127b7d96bd1ac2ff12dff3b31e053507549f7d28
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.3.1
6
+
7
+ - Use latest patch versions for Ruby 3.3 and 3.4.
8
+
5
9
  ## 0.3.0
6
10
 
7
11
  - Add `ignore_gem_extensions` configuration option.
@@ -5,6 +5,16 @@ require "wasmify-rails"
5
5
  require "ruby_wasm"
6
6
  require "ruby_wasm/cli"
7
7
 
8
+ # Patch ruby.wasm CLI to use the latest patch versions of Ruby
9
+ RubyWasm::CLI.singleton_class.prepend(Module.new do
10
+ def build_source_aliases(root)
11
+ super.tap do |sources|
12
+ sources["3.3"][:url] = "https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.8.tar.gz"
13
+ sources["3.4"][:url] = "https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.3.tar.gz"
14
+ end
15
+ end
16
+ end)
17
+
8
18
  module Wasmify
9
19
  module Rails
10
20
  # A wrapper for rbwasm build command
@@ -4,12 +4,6 @@ require "yaml"
4
4
 
5
5
  module Wasmify
6
6
  module Rails
7
- RUBY_VERSION_TO_WASM_RUBY_VERSION = {
8
- "3.4" => "3.4.1",
9
- "3.3" => "3.3.3",
10
- "3.2" => "3.2.4"
11
- }
12
-
13
7
  class Configuration
14
8
  attr_reader :pack_directories, :pack_root, :additional_root_files,
15
9
  :exclude_gems, :ignore_gem_extensions,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Wasmify
4
4
  module Rails # :nodoc:
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wasmify-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-06 00:00:00.000000000 Z
11
+ date: 2025-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties