wasify 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f6c74bf50fb9cb72177396e5687833064870c6d6b7a4a9a4fac91056751312ed
4
+ data.tar.gz: b164d1649f05462fa7ef8f2166e78bd305369c2905b098ec14ac2759148b341d
5
+ SHA512:
6
+ metadata.gz: 52df9a60f3c3c974ab0b129b17fb8df1762dca688d00ad981786d2eaa18a34508dcdde92419ff8af4f9bcedba26c3a795039a04644dec864467c0ef2c60006f7
7
+ data.tar.gz: e42fcb4ec79e0c0748581b33cbfa7a11b5b701e4c7596d520d66cf72d1debf3c331cb6d3beb9875bb1a50805130ae55a907234e6e8dcbc289dbdf852569fb726
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at gio96b@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in wasify.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rubocop", "~> 1.21"
data/Gemfile.lock ADDED
@@ -0,0 +1,43 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ wasify (0.1.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ json (2.6.3)
11
+ parallel (1.23.0)
12
+ parser (3.2.2.1)
13
+ ast (~> 2.4.1)
14
+ rainbow (3.1.1)
15
+ rake (13.0.6)
16
+ regexp_parser (2.8.0)
17
+ rexml (3.2.5)
18
+ rubocop (1.52.0)
19
+ json (~> 2.3)
20
+ parallel (~> 1.10)
21
+ parser (>= 3.2.0.0)
22
+ rainbow (>= 2.2.2, < 4.0)
23
+ regexp_parser (>= 1.8, < 3.0)
24
+ rexml (>= 3.2.5, < 4.0)
25
+ rubocop-ast (>= 1.28.0, < 2.0)
26
+ ruby-progressbar (~> 1.7)
27
+ unicode-display_width (>= 2.4.0, < 3.0)
28
+ rubocop-ast (1.29.0)
29
+ parser (>= 3.2.1.0)
30
+ ruby-progressbar (1.13.0)
31
+ unicode-display_width (2.4.2)
32
+
33
+ PLATFORMS
34
+ x86_64-darwin-22
35
+ x86_64-linux
36
+
37
+ DEPENDENCIES
38
+ rake (~> 13.0)
39
+ rubocop (~> 1.21)
40
+ wasify!
41
+
42
+ BUNDLED WITH
43
+ 2.4.1
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Giovanni Borgh
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 AlawysDelta
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # Wasify
2
+
3
+ Wasify is a CLI made to make running Ruby on your browser thanks to WASM, including gems without native extensions, easy! Wasify packs a new WASM binary based on those released by [ruby.wasm](https://github.com/ruby/ruby.wasm), leveraging [wasi-vfs](https://github.com/kateinoigakukun/wasi-vfs) to include your code and any dependencies without native extensions. This creates a single binary ready to run in your browser with the generated HTML code.
4
+ ## Installation
5
+
6
+ In order for Wasify to work, you need to install the same version of [wasi-vfs](https://github.com/kateinoigakukun/wasi-vfs#installation) used by the original [ruby.wasm](https://github.com/ruby/ruby.wasm) binary, so be sure to get it before using it! At the time of writing this readme, you need to install **wasi-vfs v0.1.1**
7
+
8
+ Install the gem and add to the application's Gemfile by executing:
9
+
10
+ $ bundle add wasify
11
+
12
+ If bundler is not being used to manage dependencies, install the gem by executing:
13
+
14
+ $ gem install wasify
15
+
16
+ ## Usage
17
+
18
+ After installing the gem and the required dependencies, your project needs to get ready to be wasified.
19
+ Your project's folder should include the following:
20
+ * The project's Gemfile
21
+ * a *src* folder, where all the Ruby code you need to run will be. Wasify works with multi-file projects, so you can add as many files as you want.
22
+
23
+ When your project folder is ready, open it with your favourite terminal and call
24
+
25
+ $ wasify entrypoint.rb
26
+
27
+ where *entrypoint.rb* is the entrypoint of your Ruby project. If you're working with a single-file project, *entrypoint.rb* will be that single file, if you're working with a multi-file project it will be the Ruby script to be run to make your project work.
28
+
29
+ Wasify will generate two files: an 'index.html' file and a 'packed_ruby.wasm' file. The HTML file is needed to run the code on browser, while the packed_ruby.wasm is the new Ruby WASM binary that includes the dependencies specified in the Gemfile. To run on your browser locally, host them on a local HTTP server (check paths and ports in the index.html file if you need to change names or if you use a different port than 8080 on your local server).
30
+ ## Development
31
+
32
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
33
+
34
+ ## Contributing
35
+
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/AlawysDelta/wasify. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/AlawysDelta/wasify/blob/master/CODE_OF_CONDUCT.md).
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
+
42
+ ## Code of Conduct
43
+
44
+ Everyone interacting in the Wasify project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/AlawysDelta/wasify/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rubocop/rake_task'
5
+
6
+ RuboCop::RakeTask.new
7
+
8
+ task default: :rubocop
data/exe/wasify ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'wasify'
5
+
6
+ raise 'Wrong number of arguments! Usage: wasify entrypoint.rb' if ARGV.length != 1
7
+
8
+ if ARGV[0] == 'prepack'
9
+ Wasify.prepack
10
+ else
11
+ Wasify.pack
12
+ Wasify.generate_html(ARGV[0])
13
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Wasify
4
+ # methods interacting with the command line
5
+ class CMDRunner
6
+ def self.download_binary
7
+ system('curl -LO https://github.com/ruby/ruby.wasm/releases/latest/download/ruby-3_2-wasm32-unknown-wasi-full-js.tar.gz')
8
+ end
9
+
10
+ def self.unzip_binary
11
+ system('tar xfz ruby-3_2-wasm32-unknown-wasi-full-js.tar.gz')
12
+ system('chmod u+rw 3_2-wasm32-unknown-wasi-full-js')
13
+ end
14
+
15
+ def self.move_binary
16
+ system('mv 3_2-wasm32-unknown-wasi-full-js/usr/local/bin/ruby ruby.wasm')
17
+ end
18
+
19
+ def self.copy_gemfile
20
+ system('mkdir -p deps && cp -r Gemfile deps/Gemfile && cp -r Gemfile.lock deps/Gemfile.lock')
21
+ end
22
+
23
+ def self.fix_lockfile
24
+ system('bundle lock --add-platform wasm32-unknown')
25
+ end
26
+
27
+ def self.run_vfs
28
+ system('wasi-vfs pack ruby.wasm --mapdir /src::./src --mapdir /usr::./3_2-wasm32-unknown-wasi-full-js/usr --mapdir /deps::./deps -o packed_ruby.wasm')
29
+ end
30
+
31
+ def self.cleanup
32
+ system('rm -rf 3_2-wasm32-unknown-wasi-full-js')
33
+ system('rm ruby-3_2-wasm32-unknown-wasi-full-js.tar.gz')
34
+ system('rm ruby.wasm')
35
+ system('rm -rf deps')
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Wasify
4
+ # methods finding and copying dependecies
5
+ class DepsManager
6
+ def self.get_specs(deps)
7
+ bundler_specs = Bundler.load.specs
8
+ lf = bundler_specs.map(&:loaded_from)
9
+ lf.select! { |item| !item.include?("/bundler-") && !item.include?("/wasify-") }
10
+
11
+ spec_paths = []
12
+ lf.each do |spec_path_str|
13
+ if File.exist?(spec_path_str)
14
+ spec_paths.append(spec_path_str)
15
+ else
16
+ loop do
17
+ puts "#{spec_path_str} doesn't exist. Specify gemspec path or write 'skip' to skip specfile."
18
+ path = $stdin.gets.chomp
19
+ break if File.exist?(path) || (path == 'skip')
20
+ end
21
+ spec_paths.append(path) unless path == 'skip'
22
+ end
23
+ end
24
+ spec_paths
25
+ end
26
+
27
+ def self.get_deps
28
+ deps = Bundler.load.specs.map(&:full_gem_path)
29
+ modded_string_deps = []
30
+ deps.each do |i|
31
+ modded_string_deps.append(i)
32
+ end
33
+ modded_string_deps
34
+ end
35
+
36
+ def self.copy_deps
37
+ deps = get_deps
38
+ deps.each do |i|
39
+ status = system("cp -r #{i} ./3_2-wasm32-unknown-wasi-full-js/usr/local/lib/ruby/gems/3.2.0/gems")
40
+ puts "Gem at #{i} not copied." unless status
41
+ end
42
+ end
43
+
44
+ def self.copy_specs
45
+ deps = get_deps
46
+ specs = get_specs(deps)
47
+ specs.each do |s|
48
+ status = system("cp #{s} ./3_2-wasm32-unknown-wasi-full-js/usr/local/lib/ruby/gems/3.2.0/specifications")
49
+ puts "Specification at #{s} not copied." unless status
50
+ end
51
+ end
52
+
53
+ def self.add_entrypoint(entrypoint)
54
+ entrypoint = entrypoint[4..-1] if entrypoint.start_with?("src/") && !File.exist?("src/#{entrypoint}")
55
+
56
+ raise 'Invalid entrypoint! Entrypoint must be a Ruby script' unless entrypoint.include?('.rb')
57
+ raise 'Entrypoint does not exist! All scripts must be in the src folder.' unless File.exist?("src/#{entrypoint}")
58
+
59
+ entrypoint = entrypoint.delete_suffix('.rb')
60
+ <<-HTML
61
+ require "bundler/setup"
62
+ require_relative "/src/#{entrypoint}"
63
+ HTML
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,24 @@
1
+
2
+ <html>
3
+ <script src="https://cdn.jsdelivr.net/npm/@ruby/wasm-wasi@latest/dist/browser.umd.js"></script>
4
+ <script>
5
+ const { DefaultRubyVM } = window["ruby-wasm-wasi"];
6
+ const main = async () => {
7
+ const response = await fetch(
8
+ "http://localhost:8080/packed_ruby.wasm");
9
+ const buffer = await response.arrayBuffer();
10
+ const module = await WebAssembly.compile(buffer);
11
+ const { vm } = await DefaultRubyVM(module);
12
+
13
+ vm.printVersion();
14
+ vm.eval(`
15
+ <%= "#{entrypoint_txt}" %>
16
+ `);
17
+ };
18
+
19
+ main();
20
+ </script>
21
+
22
+ <body></body>
23
+
24
+ </html>
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Wasify
4
+ VERSION = '0.1.1'
5
+ end
data/lib/wasify.rb ADDED
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'wasify/version'
4
+ require 'bundler'
5
+ require 'erb'
6
+ require_relative 'wasify/cmd_runner'
7
+ require_relative 'wasify/deps_manager'
8
+ # wrapper for Wasify
9
+ class Wasify
10
+ def self.prepack
11
+ CMDRunner.download_binary unless File.exist?('ruby-3_2-wasm32-unknown-wasi-full-js.tar.gz')
12
+ CMDRunner.unzip_binary unless Dir.exist?('ruby-3_2-wasm32-unknown-wasi-full-js')
13
+ CMDRunner.move_binary unless File.exist?('ruby.wasm')
14
+ CMDRunner.fix_lockfile
15
+ CMDRunner.copy_gemfile
16
+ File.delete('packed_ruby.wasm') if File.exist?('packed_ruby.wasm')
17
+ DepsManager.copy_deps
18
+ DepsManager.copy_specs
19
+ end
20
+
21
+ def self.build_wasm
22
+ CMDRunner.run_vfs
23
+ end
24
+
25
+ def self.cleanup
26
+ CMDRunner.cleanup
27
+ end
28
+
29
+ def self.pack
30
+ prepack
31
+ build_wasm
32
+ cleanup
33
+ end
34
+
35
+ def self.generate_html(entrypoint)
36
+ entrypoint_txt = DepsManager.add_entrypoint(entrypoint)
37
+ template = 'wasify/template.erb'
38
+ html = ERB.new(File.read(File.join(__dir__, template))).result(binding)
39
+ File.rename('index.html', 'index.html.bak') if File.exist?('index.html')
40
+ File.open('index.html', 'w+') do |f|
41
+ f.write html
42
+ end
43
+ end
44
+ end
data/sig/wasify.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Wasify
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
data/wasify.gemspec ADDED
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/wasify/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'wasify'
7
+ spec.version = Wasify::VERSION
8
+ spec.authors = ['Giovanni Borgh']
9
+ spec.email = ['gio96b@gmail.com']
10
+
11
+ spec.summary = 'Packs and run Ruby code on WASM'
12
+ spec.license = 'MIT'
13
+ spec.homepage = 'https://github.com/AlawysDelta/wasify'
14
+ spec.required_ruby_version = '>= 3.2.0'
15
+
16
+ spec.metadata['homepage_uri'] = spec.homepage
17
+ spec.metadata['source_code_uri'] = 'https://github.com/AlawysDelta/wasify'
18
+
19
+ # Specify which files should be added to the gem when it is released.
20
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
+ spec.files = Dir.chdir(__dir__) do
22
+ `git ls-files -z`.split("\x0").reject do |f|
23
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
24
+ end
25
+ end
26
+ spec.bindir = 'exe'
27
+ spec.executables = ['wasify']
28
+ spec.require_paths = ['lib']
29
+
30
+ # Uncomment to register a new dependency of your gem
31
+ # spec.add_dependency "example-gem", "~> 1.0"
32
+
33
+ # For more information and examples about making a new gem, check out our
34
+ # guide at: https://bundler.io/guides/creating_gem.html
35
+ end
metadata ADDED
@@ -0,0 +1,61 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wasify
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Giovanni Borgh
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-08-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ - gio96b@gmail.com
16
+ executables:
17
+ - wasify
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - CODE_OF_CONDUCT.md
22
+ - Gemfile
23
+ - Gemfile.lock
24
+ - LICENSE
25
+ - LICENSE.txt
26
+ - README.md
27
+ - Rakefile
28
+ - exe/wasify
29
+ - lib/wasify.rb
30
+ - lib/wasify/cmd_runner.rb
31
+ - lib/wasify/deps_manager.rb
32
+ - lib/wasify/template.erb
33
+ - lib/wasify/version.rb
34
+ - sig/wasify.rbs
35
+ - wasify.gemspec
36
+ homepage: https://github.com/AlawysDelta/wasify
37
+ licenses:
38
+ - MIT
39
+ metadata:
40
+ homepage_uri: https://github.com/AlawysDelta/wasify
41
+ source_code_uri: https://github.com/AlawysDelta/wasify
42
+ post_install_message:
43
+ rdoc_options: []
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 3.2.0
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ requirements: []
57
+ rubygems_version: 3.4.1
58
+ signing_key:
59
+ specification_version: 4
60
+ summary: Packs and run Ruby code on WASM
61
+ test_files: []