-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
commonmarker.gemspec
40 lines (32 loc) · 1.47 KB
/
commonmarker.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "commonmarker/version"
Gem::Specification.new do |spec|
spec.name = "commonmarker"
spec.version = Commonmarker::VERSION
spec.summary = "CommonMark parser and renderer. Written in Rust, wrapped in Ruby."
spec.description = "A fast, safe, extensible parser for CommonMark. This wraps the comrak Rust crate."
spec.authors = ["Garen Torikian", "Ashe Connor"]
spec.license = "MIT"
spec.homepage = "https://github.com/gjtorikian/commonmarker"
spec.required_ruby_version = "~> 3.1"
# https://github.com/rubygems/rubygems/pull/5852#issuecomment-1231118509
spec.required_rubygems_version = ">= 3.3.22"
spec.files = ["LICENSE.txt", "README.md", "Cargo.lock", "Cargo.toml"]
spec.files += Dir.glob("lib/**/*.rb")
spec.files += Dir.glob("ext/**/*.{rs,toml,lock,rb}")
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.extensions = ["ext/commonmarker/extconf.rb"]
spec.metadata = {
"allowed_push_host" => "https://rubygems.org",
"funding_uri" => "https://github.com/sponsors/gjtorikian/",
"source_code_uri" => "https://github.com/gjtorikian/commonmarker",
"rubygems_mfa_required" => "true",
}
spec.add_dependency("rb_sys", "~> 0.9")
spec.add_development_dependency("rake", "~> 13.0")
spec.add_development_dependency("rake-compiler", "~> 1.2")
end