-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathruby-internal.gemspec
59 lines (51 loc) · 1.34 KB
/
ruby-internal.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
spec = Gem::Specification.new do |s|
s.name = 'ruby-internal'
s.version = '0.8.5'
s.summary = 'A library that provides acccess to the ' + \
'internals of the ruby interpreter'
s.homepage = 'http://rubystuff.org/nodewrap/'
s.rubyforge_project = 'nodewrap'
s.author = 'Paul Brannan'
s.email = '[email protected]'
s.add_dependency 'rubypp', '>= 0.0.1'
s.description = <<-END
Ruby-Internal is Ruby module that provides direct access to Ruby's
internal data structures.
END
patterns = [
'lib/**/*.rb',
'ext/mkmf-ruby-internal.rb',
'ext/ruby_source_dir.rb',
'ext/internal/**/*.rpp',
'ext/internal/**/*.c',
'ext/internal/**/*.h',
'ext/internal/**/*.rb',
'ext/cached/ruby-*/**/*',
'example/*.rb',
'example/README',
'test/*.rb',
'*.rb',
'COPYING',
'LEGAL',
'LGPL',
'LICENSE',
'README.rdoc',
'TODO',
'metaconfig',
'setup.rb',
'Rakefile',
'bin/ruby-internal-node-dump',
'bin/ruby-internal-obfuscate',
'sample/dump_class.rb',
'sample/irbrc',
]
s.files = patterns.collect { |p| Dir.glob(p) }.flatten
s.executables = [
'ruby-internal-node-dump',
'ruby-internal-obfuscate',
]
s.extensions = 'Rakefile'
s.test_files = Dir.glob('test/test_*.rb')
s.extra_rdoc_files = [ 'README.rdoc' ]
s.require_paths << 'ext'
end