-
Notifications
You must be signed in to change notification settings - Fork 0
/
gemspec.tpl
41 lines (35 loc) · 999 Bytes
/
gemspec.tpl
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
# frozen_string_literal: true
# vim: ai ts=2 sts=2 et sw=2 ft=ruby
# rubocop:disable all
<?rb
@files = [
'.yardopts',
'lib/**/*.rb',
'lib/**/version.yml'
].map { |m| Dir.glob(m) }.flatten.keep_if { |f| File.file?(f) }.sort
self.singleton_class.define_method(:_q) { |input| input.to_s.inspect }
?>
Gem::Specification.new do |s|
s.name = #{_q(@name)}
s.version = #{_q(@version)}
s.date = #{_q(@date)}
s.summary = #{_q(@summary)}
s.description = #{_q(@description)}
s.licenses = #{@licenses}
s.authors = #{@authors}
s.email = #{_q(@email)}
s.homepage = #{_q(@homepage)}
# MUST follow the higher required_ruby_version
# requires version >= 2.3.0 due to safe navigation operator &
s.required_ruby_version = ">= 2.3.0"
s.require_paths = ["lib"]
s.files = [
<?rb for file in @files ?>
#{"%s," % _q(file)}
<?rb end ?>
]
#{@dependencies.keep(:runtime).to_s.lstrip}
end
# Local Variables:
# mode: ruby
# End: