-
Notifications
You must be signed in to change notification settings - Fork 5
/
y-rb.gemspec
46 lines (35 loc) · 1.6 KB
/
y-rb.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
34
35
36
37
38
39
40
41
42
43
44
45
46
# frozen_string_literal: true
begin
require_relative "lib/y/version"
rescue LoadError
puts "WARNING: Could not load Y::VERSION"
end
Gem::Specification.new do |spec|
spec.name = "y-rb"
spec.version = defined?(Y::VERSION) ? Y::VERSION : "0.0.0"
spec.authors = ["Hannes Moser"]
spec.email = %w[[email protected] [email protected]]
spec.summary = "Ruby bindings for yrs"
spec.description = "Ruby bindings for yrs. Yrs \"wires\" is a Rust port of the Yjs framework."
spec.homepage = "https://github.com/y-crdt/yrb"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
# https://github.com/rubygems/rubygems/pull/5852#issuecomment-1231118509
spec.required_rubygems_version = ">= 3.3.22"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/y-crdt/yrb"
spec.metadata["documentation_uri"] = "https://y-crdt.github.io/yrb/"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir["lib/**/*.rb", "ext/**/*.{rs,toml,lock,rb}"]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"
spec.add_dependency "rake", "~> 13.0"
spec.add_dependency "rb_sys", "~> 0.9.86"
spec.add_development_dependency "rake-compiler", "~> 1.2.1"
spec.add_development_dependency "rake-compiler-dock", "~> 1.5.0"
spec.extensions = ["ext/yrb/extconf.rb"]
end