-
Notifications
You must be signed in to change notification settings - Fork 0
/
suma.gemspec
44 lines (37 loc) · 1.49 KB
/
suma.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
# frozen_string_literal: true
require_relative "lib/suma/version"
Gem::Specification.new do |spec|
spec.name = "suma"
spec.version = Suma::VERSION
spec.authors = ["Ribose Inc."]
spec.email = ["[email protected]"]
spec.summary = "Utility for SUMA " \
"(STEP Unified Model-Based Standards Architecture)"
spec.description = <<~DESCRIPTION
Utility for SUMA (STEP Unified Model-Based Standards Architecture)
DESCRIPTION
spec.homepage = "https://github.com/metanorma/suma"
spec.license = "BSD-2-Clause"
spec.bindir = "bin"
spec.require_paths = ["lib"]
spec.files = `git ls-files`.split("\n")
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
# 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.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_runtime_dependency "expressir"
spec.add_runtime_dependency "metanorma-cli"
spec.add_runtime_dependency "shale"
spec.add_runtime_dependency "thor", ">= 0.20"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-performance"
spec.add_development_dependency "rubocop-rails"
end