forked from driv3r/rusty_json_schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rusty_json_schema.gemspec
47 lines (38 loc) · 1.58 KB
/
rusty_json_schema.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
47
# frozen_string_literal: true
require_relative "lib/rusty_json_schema/version"
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
spec.name = "rusty_json_schema"
spec.version = RustyJSONSchema::VERSION
spec.authors = ["Leszek Zalewski", "Babbel GmbH"]
spec.email = ["[email protected]"]
spec.license = "MIT"
spec.homepage = "https://github.com/babbel/rusty_json_schema"
spec.summary = "FFI wrapper around jsonschema-rs Rust library."
spec.description = <<-STR
FFI wrapper around https://github.com/Stranger6667/jsonschema-rs Rust library.
Currently during heavy development.
STR
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
spec.metadata["allowed_push_host"] = "https://rubygems.pkg.github.com/babbel"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "https://github.com/babbel/rusty_json_schema/blob/main/CHANGELOG.md"
spec.metadata["rubygems_mfa_required"] = "true"
spec.metadata["github_repo"] = "ssh://github.com/babbel/rusty_json_schema"
spec.files = Dir[
"lib/**/*",
"src/**/*.rs",
"rusty_json_schema.gemspec",
"Cargo.toml",
"LICENSE",
"README.md",
"ext/Rakefile",
"ext/*.default"
]
spec.require_paths = ["lib"]
spec.extensions << "ext/Rakefile"
spec.add_runtime_dependency "thermite", "~> 0"
# Uncomment to register a new dependency of your gem
spec.add_dependency "ffi", "~> 1.14"
spec.add_dependency "json", ">= 1.0"
end