-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsys-uname.gemspec
42 lines (37 loc) · 1.8 KB
/
sys-uname.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
41
42
require 'rubygems'
Gem::Specification.new do |spec|
spec.name = 'sys-uname'
spec.version = '1.3.1'
spec.author = 'Daniel J. Berger'
spec.email = '[email protected]'
spec.homepage = 'http://github.com/djberg96/sys-uname'
spec.summary = 'An interface for returning uname (platform) information'
spec.license = 'Apache-2.0'
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
spec.test_files = Dir['spec/*_spec.rb']
spec.cert_chain = ['certs/djberg96_pub.pem']
spec.extra_rdoc_files = Dir['doc/*.rdoc']
spec.add_dependency('ffi', '~> 1.1')
spec.add_development_dependency('rspec', '~> 3.9')
spec.add_development_dependency('rake')
spec.add_development_dependency('rubocop')
spec.add_development_dependency('rubocop-rspec')
spec.metadata = {
'homepage_uri' => 'https://github.com/djberg96/sys-uname',
'bug_tracker_uri' => 'https://github.com/djberg96/sys-uname/issues',
'changelog_uri' => 'https://github.com/djberg96/sys-uname/blob/main/CHANGES.md',
'documentation_uri' => 'https://github.com/djberg96/sys-uname/wiki',
'source_code_uri' => 'https://github.com/djberg96/sys-uname',
'wiki_uri' => 'https://github.com/djberg96/sys-uname/wiki',
'rubygems_mfa_required' => 'true',
'github_repo' => 'https://github.com/djberg96/sys-uname',
'funding_uri' => 'https://github.com/sponsors/djberg96'
}
spec.description = <<-EOF
The sys-uname library provides an interface for gathering information
about your current platform. The library is named after the Unix 'uname'
command but also works on MS Windows. Available information includes
OS name, OS version, system name and so on. Additional information is
available for certain platforms.
EOF
end