-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathio-extra.gemspec
More file actions
51 lines (45 loc) · 1.84 KB
/
io-extra.gemspec
File metadata and controls
51 lines (45 loc) · 1.84 KB
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.5.0'
spec.author = 'Daniel J. Berger'
spec.license = 'Apache-2.0'
spec.email = 'djberg96@gmail.com'
spec.homepage = 'https://github.com/djberg96/io-extra'
spec.summary = 'Adds extra methods to the IO class'
spec.test_files = Dir['spec/*_spec.rb']
spec.extensions = ['ext/extconf.rb']
spec.cert_chain = ['certs/djberg96_pub.pem']
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
spec.extra_rdoc_files = [
'CHANGES.md',
'README.md',
'MANIFEST.md',
'ext/io/extra.c'
]
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',
'github_repo' => 'https://github.com/djberg96/io-extra',
'funding_uri' => 'https://github.com/sponsors/djberg96',
}
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