This repository was archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodeowner_validator.gemspec
More file actions
44 lines (36 loc) · 1.58 KB
/
codeowner_validator.gemspec
File metadata and controls
44 lines (36 loc) · 1.58 KB
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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'codeowner_validator/version'
Gem::Specification.new do |spec|
spec.name = 'codeowner_validator'
spec.version = CodeownerValidator::VERSION
spec.authors = ['Greg Howdeshell']
spec.email = ['greg.howdeshell@gmail.com']
spec.summary = 'Write a short summary, because RubyGems requires one.'
spec.description = <<~DESC
GitHub CODEOWNERS validator
DESC
spec.homepage = 'https://github.com/cerner/codeowner_validator'
spec.license = 'Apache-2.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 { |f| f.match(/^(test|spec|features)\//) }
end
spec.bindir = 'bin'
spec.executables = spec.files.grep(/^bin\//) { |f| File.basename(f) }
spec.require_paths = ['lib']
# rubocop:disable Gemspec/RequiredRubyVersion
# The intent is for supportability from ruby 2.7 and greater
spec.required_ruby_version = '>= 2.7.2'
# rubocop:enable Gemspec/RequiredRubyVersion
spec.add_dependency 'rainbow', '>= 2.0', '< 4.0.0'
spec.add_dependency 'thor', '>= 1.0'
spec.add_dependency 'tty-prompt', '~> 0.12'
spec.add_dependency 'tty-spinner', '~> 0.4'
spec.add_dependency 'tty-table', '~> 0.8'
spec.add_dependency 'git', '~> 1.0'
spec.add_dependency 'pathspec', '>= 0.2'
end