-
Notifications
You must be signed in to change notification settings - Fork 35
/
flatware.gemspec
35 lines (32 loc) · 973 Bytes
/
flatware.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
# frozen_string_literal: true
require 'date'
$LOAD_PATH.unshift File.expand_path 'lib', __dir__
require 'flatware/version'
runners = %w[rspec cucumber]
summary = format(
'A distributed %<runners>s runner',
runners: runners.join(' and ')
)
Gem::Specification.new do |s|
s.name = 'flatware'
s.version = Flatware::VERSION
s.authors = ['Brian Dunn']
s.summary = summary
s.description = summary
s.email = '[email protected]'
s.extra_rdoc_files = [
'LICENSE.txt',
'README.md'
]
s.files = `git ls-files -- lib`.each_line
.map(&:chomp)
.grep(/^((?!#{Regexp.union(runners)}).)*$/)
s.homepage = 'http://github.com/briandunn/flatware'
s.licenses = ['MIT']
s.required_ruby_version = ['>= 2.6', '< 3.4']
s.require_paths = ['lib']
s.executables = ['flatware']
s.add_dependency %(drb)
s.add_dependency %(thor), '< 2.0'
# s.metadata['rubygems_mfa_required'] = 'true'
end