licensed/licensed.gemspec

42 строки
1.6 KiB
Ruby

# coding: utf-8
# frozen_string_literal: true
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "licensed/version"
Gem::Specification.new do |spec|
spec.name = "licensed"
spec.version = Licensed::VERSION
spec.authors = ["GitHub"]
spec.email = ["opensource+licensed@github.com"]
spec.summary = %q{Extract and validate the licenses of dependencies.}
spec.description = "Licensed automates extracting and validating the licenses of dependencies."
spec.homepage = "https://github.com/github/licensed"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test/|script/|docker/|\..+)}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 3.0.0"
spec.add_dependency "licensee", "~> 9.16"
spec.add_dependency "thor", "~> 1.2"
spec.add_dependency "pathname-common_prefix", "~> 0.0.1"
spec.add_dependency "tomlrb", "~> 2.0"
spec.add_dependency "ruby-xxHash", "~> 0.4.0"
spec.add_dependency "parallel", "~> 1.22"
spec.add_dependency "reverse_markdown", "~> 2.1"
spec.add_dependency "json", "~> 2.6"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "minitest", "~> 5.17"
spec.add_development_dependency "minitest-hooks", "~> 1.5"
spec.add_development_dependency "mocha", "~> 2.0"
spec.add_development_dependency "rubocop-github", "~> 0.20"
spec.add_development_dependency "byebug", "~> 11.1"
end