-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
io-extra.gemspec
51 lines (44 loc) · 1.72 KB
/
io-extra.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
43
44
45
46
47
48
49
50
51
require 'rubygems'
require 'rbconfig'
Gem::Specification.new do |spec|
if File::ALT_SEPARATOR
STDERR.puts 'Not supported on this platform. Exiting.'
exit(-1)
end
spec.name = 'io-extra'
spec.version = '1.4.0'
spec.author = 'Daniel J. Berger'
spec.license = 'Apache-2.0'
spec.email = '[email protected]'
spec.homepage = 'https://github.com/djberg96/io-extra'
spec.summary = 'Adds extra methods to the IO class'
spec.test_file = 'test/test_io_extra.rb'
spec.extensions = ['ext/extconf.rb']
spec.cert_chain = ['certs/djberg96_pub.pem']
spec.files = ['lib/io-extra.rb']
spec.extra_rdoc_files = [
'CHANGES.md',
'README.md',
'MANIFEST.md',
'ext/io/extra.c'
]
spec.required_ruby_version = '>= 2.5.0'
spec.add_development_dependency('rake')
spec.add_development_dependency('rspec', '~> 3.9')
spec.add_development_dependency('rubocop')
spec.add_development_dependency('rubocop-rspec')
spec.metadata = {
'homepage_uri' => 'https://github.com/djberg96/io-extra',
'bug_tracker_uri' => 'https://github.com/djberg96/io-extra/issues',
'changelog_uri' => 'https://github.com/djberg96/io-extra/blob/main/CHANGES.md',
'documentation_uri' => 'https://github.com/djberg96/io-extra/wiki',
'source_code_uri' => 'https://github.com/djberg96/io-extra',
'wiki_uri' => 'https://github.com/djberg96/io-extra/wiki',
'rubygems_mfa_required' => 'true'
}
spec.description = <<-EOF
Adds the IO.closefrom, IO.fdwalk, IO.pread, IO.pwrite, and IO.writev
singleton methods as well as the IO#directio, IO#directio? and IO#ttyname
instance methods (for those platforms that support them).
EOF
end