This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeepachangelog.gemspec
34 lines (33 loc) · 1.65 KB
/
keepachangelog.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'keepachangelog/version'
git_files = `git ls-files -z`.split("\x0")
gem_files = git_files.reject { |f| f.match(%r{^(spec|features|fixtures)/}) }
gem_files = git_files.reject { |f| f.match('.gitlab-ci.yml') }
gem_files = git_files.reject { |f| f.match('.gitignore') }
gem_files = git_files.reject { |f| f.match('CONTRIBUTING.md') }
gem_files = git_files.reject { |f| f.match('Gruntfile.js') }
Gem::Specification.new do |spec|
spec.name = 'keepachangelog'
spec.version = Keepachangelog.version
spec.authors = ['Basalt AB']
spec.email = %w[[email protected]]
spec.licenses = ['MIT']
spec.summary = 'Parser for changelogs based on keepachangelog.com'
spec.description = 'Tool for parsing changelogs that are based on the '\
'keepachangelog.com standard. Changelogs can be dumped '\
'to JSON or YAML.'
spec.homepage = 'https://gitlab.com/basalt/keepachangelog'
spec.files = gem_files
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_development_dependency 'aruba', '~> 0.14'
spec.add_development_dependency 'bundler', '~> 1.16'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rspec', '~> 3.7'
spec.add_development_dependency 'rubocop', '~> 0.52'
spec.add_development_dependency 'simplecov', '~> 0.15'
spec.add_runtime_dependency 'json', '~> 2.1'
spec.add_runtime_dependency 'thor', '~> 0.20'
end