-
Notifications
You must be signed in to change notification settings - Fork 54
/
cookstyle.gemspec
30 lines (26 loc) · 1.35 KB
/
cookstyle.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'cookstyle/version'
Gem::Specification.new do |spec|
spec.name = 'cookstyle'
spec.version = Cookstyle::VERSION
spec.authors = ['Thom May', 'Tim Smith']
spec.email = ['[email protected]', '[email protected]']
spec.summary = 'Cookstyle is a code linting tool that helps you to write better Chef Infra cookbooks by detecting and automatically correcting style, syntax, and logic mistakes in your code.'
spec.license = 'Apache-2.0'
spec.homepage = 'https://docs.chef.io/workstation/cookstyle/'
spec.required_ruby_version = '>= 2.7'
# the gemspec and Gemfile are necessary for appbundling of the gem
spec.files = %w(LICENSE cookstyle.gemspec Gemfile) + Dir.glob('{lib,bin,config}/**/*')
spec.executables = %w(cookstyle)
spec.require_paths = ['lib']
spec.add_dependency('rubocop', Cookstyle::RUBOCOP_VERSION)
spec.metadata = {
'homepage_uri' => 'https://github.com/chef/cookstyle',
'changelog_uri' => 'https://github.com/chef/cookstyle/blob/main/CHANGELOG.md',
'source_code_uri' => 'https://github.com/chef/cookstyle',
'documentation_uri' => 'https://docs.chef.io/workstation/cookstyle/',
'bug_tracker_uri' => 'https://github.com/chef/cookstyle/issues',
}
end