oga/oga.gemspec

45 lines
1.1 KiB
Ruby
Raw Normal View History

2014-02-26 18:50:16 +00:00
require File.expand_path('../lib/oga/version', __FILE__)
Gem::Specification.new do |s|
s.name = 'oga'
s.version = Oga::VERSION
s.authors = ['Yorick Peterse']
s.email = 'yorickpeterse@gmail.com'
2014-09-12 12:40:01 +00:00
s.summary = 'Oga is an XML/HTML parser written in Ruby.'
2018-01-02 10:50:52 +00:00
s.homepage = 'https://gitlab.com/yorickpeterse/oga/'
2014-02-26 18:50:16 +00:00
s.description = s.summary
2015-05-15 21:57:50 +00:00
s.license = 'MPL-2.0'
2014-02-26 18:50:16 +00:00
s.files = Dir.glob([
'checkum/**/*',
'doc/**/*',
'lib/**/*.rb',
'ext/**/*',
'README.md',
'LICENSE',
'oga.gemspec',
'.yardopts'
]).select { |path| File.file?(path) }
2014-02-26 18:50:16 +00:00
if RUBY_PLATFORM == 'java'
s.files << 'lib/liboga.jar'
s.platform = 'java'
else
s.extensions = ['ext/c/extconf.rb']
end
2014-02-26 18:50:16 +00:00
s.required_ruby_version = '>= 1.9.3'
s.add_dependency 'ast'
2015-03-19 23:10:09 +00:00
s.add_dependency 'ruby-ll', '~> 2.1'
2014-02-26 18:50:16 +00:00
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', ['~> 3.0']
2014-02-26 18:50:16 +00:00
s.add_development_dependency 'yard'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'kramdown'
2014-09-02 07:58:14 +00:00
s.add_development_dependency 'benchmark-ips', ['~> 2.0']
s.add_development_dependency 'rake-compiler'
2014-02-26 18:50:16 +00:00
end