-
Notifications
You must be signed in to change notification settings - Fork 63
/
rice.gemspec
82 lines (69 loc) · 2.09 KB
/
rice.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
$:.unshift File.expand_path(File.dirname(__FILE__))
require 'lib/rice/version'
$spec = Gem::Specification.new do |s|
s.name = 'rice'
s.version = Rice::VERSION
s.license = "MIT"
s.summary = 'Ruby Interface for C++ Extensions'
s.homepage = 'https://github.com/ruby-rice/rice'
s.authors = ['Paul Brannan', 'Jason Roelofs', 'Charlie Savage']
s.description = <<-END
Rice is a C++ interface to Ruby's C API. It provides a type-safe and
exception-safe interface in order to make embedding Ruby and writing
Ruby extensions with C++ easier.
END
s.metadata = {
"bug_tracker_uri" => "https://github.com/ruby-rice/rice/issues",
"changelog_uri" => "https://github.com/ruby-rice/rice/blob/master/CHANGELOG.md",
"documentation_uri" => "https://ruby-rice.github.io",
"source_code_uri" => "https://github.com/ruby-rice/rice",
}
s.test_files = Dir['test/ruby/*.rb']
s.extra_rdoc_files = ['README.md']
s.require_paths = ['lib']
s.files = Dir[
# Documentation
'CHANGELOG.md',
'CONTRIBUTORS.md',
'COPYING',
'README',
'README.mingw',
# Other files
'Gemfile',
'Rakefile',
# rice.hpp
'include/rice/rice.hpp',
'include/rice/stl.hpp',
# Source files
'rice/*.?pp',
'rice/detail/*.?pp',
# Ruby files
'lib/mkmf-rice.rb',
'lib/version.rb',
# Samples
'sample/enum/extconf.rb',
'sample/enum/*.?pp',
'sample/enum/*.rb',
'sample/map/extconf.rb',
'sample/map/*.?pp',
'sample/map/*.rb',
'sample/inheritance/extconf.rb',
'sample/inheritance/*.?pp',
'sample/inheritance/*.rb',
'sample/callbacks/extconf.rb',
'sample/callbacks/*.?pp',
'sample/callbacks/*.rb',
# Test source files
'test/*.?pp',
'test/extconf.rb',
'test/ext/t1/extconf.rb',
'test/ext/t1/*.*pp',
'test/ext/t2/extconf.rb',
'test/ext/t2/*.*pp'
]
s.required_ruby_version = ">= 3.0"
s.add_development_dependency "bundler"
s.add_development_dependency "rake"
s.add_development_dependency "minitest"
end