forked from xml4r/libxml-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsalsify_libxml_ruby.gemspec
45 lines (43 loc) · 1.93 KB
/
salsify_libxml_ruby.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
# Determine the current version of the software
version = File.read('ext/libxml/ruby_xml_version.h').match(/\s*RUBY_LIBXML_VERSION\s*['"](\d.+)['"]/)[1]
Gem::Specification.new do |spec|
spec.name = 'salsify_libxml_ruby'
spec.version = version
spec.homepage = 'http://xml4r.github.com/libxml-ruby'
spec.summary = 'Salsify modified Ruby Bindings for LibXML2'
spec.authors = ['Salsify, Inc']
spec.email = ['[email protected]']
spec.description = <<-EOS
Forked from the Libxml-Ruby project to do static linking against a local
copy of the libxml library and use the bindings to undocumented Schema
Object Model accessors.
The Libxml-Ruby project provides Ruby language bindings for the GNOME
Libxml2 XML toolkit. It is free software, released under the MIT License.
EOS
spec.platform = Gem::Platform::RUBY
spec.bindir = 'bin'
spec.extensions = ['ext/libxml/extconf.rb']
spec.files = Dir.glob(['HISTORY',
'LICENSE',
'libxml-ruby.gemspec',
'MANIFEST',
'Rakefile',
'README.rdoc',
'setup.rb',
'ext/libxml/*.def',
'ext/libxml/*.h',
'ext/libxml/*.c',
'ext/libxml/*.rb',
'ext/vc/*.sln',
'ext/vc/*.vcprojx',
'lib/**/*.rb',
'script/**/*',
'test/**/*'])
spec.test_files = Dir.glob('test/test_*.rb')
spec.required_ruby_version = '>= 2.5'
spec.add_runtime_dependency("mini_portile2", "~> 2.5.0") # keep version in sync with the one in extconf.rb
spec.add_development_dependency 'rake-compiler'
spec.add_development_dependency 'minitest'
spec.license = 'MIT'
spec.metadata['allowed_push_host'] = 'https://gems.salsify.com'
end