lib = File.expand_path("lib", __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "metanorma/version" Gem::Specification.new do |spec| spec.name = "metanorma" spec.version = Metanorma::VERSION spec.authors = ["Ribose Inc."] spec.email = ["open.source@ribose.com"] spec.summary = "Metanorma is the standard of standards; the metanorma gem allows you to create any standard document type supported by Metanorma." spec.description = "Library to process any Metanorma standard." spec.homepage = "https://github.com/metanorma/metanorma" spec.license = "BSD-2-Clause" spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features|bin|.github)/}) \ || f.match(%r{Rakefile|bin/rspec}) end spec.extra_rdoc_files = %w[README.adoc CHANGELOG.adoc LICENSE.txt] spec.bindir = "bin" # spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.required_ruby_version = ">= 2.7.0" spec.add_runtime_dependency "asciidoctor" spec.add_runtime_dependency "fontist", ">= 1.14.3" spec.add_runtime_dependency "htmlentities" spec.add_runtime_dependency "isodoc", ">= 2.6.3" spec.add_runtime_dependency "mn2pdf", "~> 1" spec.add_runtime_dependency "nokogiri" spec.add_runtime_dependency "shale" # get relaton-cli to avoid circular reference with metanorma-standoc # spec.add_dependency "relaton-cli" # spec.add_dependency "metanorma-standoc" spec.add_development_dependency "debug" spec.add_development_dependency "equivalent-xml", "~> 0.6" spec.add_development_dependency "metanorma-iso" spec.add_development_dependency "mnconvert" spec.add_development_dependency "pry" spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rspec", "~> 3.0" spec.add_development_dependency "rspec-command", "~> 1.0" spec.add_development_dependency "rubocop", "~> 1.5.2" spec.add_development_dependency "sassc", "~> 2.4.0" spec.add_development_dependency "simplecov", "~> 0.15" end