Sha256: 3a472cb6d5755e1d7f27560b9ee212d4b4bfe56930db70b4ac0e2317ef98499f

Contents?: true

Size: 1.93 KB

Versions: 22

Compression:

Stored size: 1.93 KB

Contents

# encoding: utf-8
require 'date'

# 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        = 'libxml-ruby'
  spec.version     = version
  spec.homepage    = 'https://xml4r.github.io/libxml-ruby/'
  spec.summary     = 'Ruby Bindings for LibXML2'
  spec.description = <<-EOS
    The Libxml-Ruby project provides Ruby language bindings for the GNOME
    Libxml2 XML toolkit. It is free software, released under the MIT License.
    Libxml-ruby's primary advantage over REXML is performance - if speed
    is your need, these are good libraries to consider, as demonstrated
    by the informal benchmark below.
  EOS
  spec.authors = ['Ross Bamform', 'Wai-Sun Chia', 'Sean Chittenden',
                  'Dan Janwoski', 'Anurag Priyam', 'Charlie Savage',
                  'Ryan Johnson']
  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.date = DateTime.now
  spec.add_development_dependency('rake-compiler')
  spec.add_development_dependency('minitest')
  spec.license = 'MIT'
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
libxml-ruby-5.0.3-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-5.0.3 libxml-ruby.gemspec
libxml-ruby-5.0.2-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-5.0.2 libxml-ruby.gemspec
libxml-ruby-5.0.1-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-5.0.1 libxml-ruby.gemspec
libxml-ruby-5.0.0-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-5.0.0 libxml-ruby.gemspec
libxml-ruby-4.1.2-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-4.1.2 libxml-ruby.gemspec
libxml-ruby-4.1.1-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-4.1.1 libxml-ruby.gemspec
libxml-ruby-4.1.0 libxml-ruby.gemspec
libxml-ruby-4.0.0-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-4.0.0 libxml-ruby.gemspec
libxml-ruby-3.2.4-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-3.2.4 libxml-ruby.gemspec
libxml-ruby-3.2.3-x64-mingw-ucrt libxml-ruby.gemspec
libxml-ruby-3.2.3 libxml-ruby.gemspec
libxml-ruby-3.2.2-x64-mingw32 libxml-ruby.gemspec