-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
ptools.gemspec
40 lines (35 loc) · 1.54 KB
/
ptools.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
37
38
39
40
require 'rbconfig'
Gem::Specification.new do |spec|
spec.name = 'ptools'
spec.version = '1.5.0'
spec.license = 'Apache-2.0'
spec.author = 'Daniel J. Berger'
spec.email = '[email protected]'
spec.homepage = 'https://github.com/djberg96/ptools'
spec.summary = 'Extra methods for the File class'
spec.test_files = Dir['spec/_spec*']
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
spec.cert_chain = ['certs/djberg96_pub.pem']
spec.description = <<-EOF
The ptools (power tools) library provides several handy methods to
Ruby's core File class, such as File.which for finding executables,
File.null to return the null device on your platform, and so on.
EOF
spec.metadata = {
'homepage_uri' => 'https://github.com/djberg96/ptools',
'bug_tracker_uri' => 'https://github.com/djberg96/ptools/issues',
'changelog_uri' => 'https://github.com/djberg96/ptools/blob/main/CHANGES.md',
'documentation_uri' => 'https://github.com/djberg96/ptools/wiki',
'source_code_uri' => 'https://github.com/djberg96/ptools',
'wiki_uri' => 'https://github.com/djberg96/ptools/wiki',
'rubygems_mfa_required' => 'true'
}
spec.add_development_dependency('rake')
spec.add_development_dependency('rspec', '~> 3.9')
spec.add_development_dependency('rubocop')
spec.add_development_dependency('rubocop-rspec')
if File::ALT_SEPARATOR
spec.platform = Gem::Platform.new(['universal', 'mingw32'])
spec.add_dependency('win32-file')
end
end