-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitlab-lint-client.gemspec
36 lines (29 loc) · 1.66 KB
/
gitlab-lint-client.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
require_relative 'lib/gitlab/lint/client/version'
Gem::Specification.new do |spec|
spec.name = "gitlab-lint-client"
spec.version = Gitlab::Lint::Client::VERSION
spec.authors = ["spears"]
spec.description = %q{A CLI and library to validate GitLab CI pipeline yaml files via the GitLab API}
spec.summary = %q{Use as a standalone CLI, from within a git pre-commit hook. The repository provides a pre-commit.com hook with identifier 'validate-gitlab-ci'}
spec.homepage = "https://github.com/dcs3spp/validate-gitlab-ci"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.3")
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/dcs3spp/validate-gitlab-ci"
spec.metadata["changelog_uri"] = "https://github.com/dcs3spp/validate-gitlab-ci/blob/master/CHANGELOG.md"
# 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('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables << 'glab-lint'
spec.extra_rdoc_files = ["README.md"]
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 2.1.4"
spec.add_development_dependency "pry", "~> 0.13.1"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rspec", "~> 3.9"
spec.add_development_dependency "webmock", "~> 3.8.3"
end