-
Notifications
You must be signed in to change notification settings - Fork 19
/
wasmtime.gemspec
33 lines (25 loc) · 1.2 KB
/
wasmtime.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# frozen_string_literal: true
require_relative "lib/wasmtime/version"
Gem::Specification.new do |spec|
spec.name = "wasmtime"
spec.version = Wasmtime::VERSION
spec.authors = ["The Wasmtime Project Developers"]
spec.email = ["[email protected]"]
spec.summary = "Wasmtime bindings for Ruby"
spec.description = "A Ruby binding for Wasmtime, a WebAssembly runtime."
spec.homepage = "https://github.com/BytecodeAlliance/wasmtime-rb"
spec.license = "Apache-2.0"
spec.required_ruby_version = ">= 3.1.0"
spec.metadata["source_code_uri"] = "https://github.com/BytecodeAlliance/wasmtime-rb"
spec.metadata["cargo_crate_name"] = "wasmtime-rb"
spec.metadata["changelog_uri"] = "https://github.com/bytecodealliance/wasmtime-rb/blob/main/CHANGELOG.md"
spec.files = Dir["{lib,ext}/**/*", "LICENSE", "README.md", "Cargo.*"]
spec.files.reject! { |f| File.directory?(f) }
spec.files.reject! { |f| f =~ /\.(dll|so|dylib|lib|bundle)\Z/ }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.extensions = ["ext/extconf.rb"]
spec.rdoc_options += ["--exclude", "vendor"]
spec.add_dependency "rb_sys", "~> 0.9.97"
end