Sha256: e88ba4806bc609312cad6ed820ac07d059f7610ae984d673275cc9d3997eec59

Contents?: true

Size: 1.45 KB

Versions: 2

Compression:

Stored size: 1.45 KB

Contents

# encoding: utf-8
require 'rake'

# Determine the current version of the software
version = File.read('ext/libxml/ruby_xml_version.h').match(/\s*RUBY_LIBXML_VERSION\s*['"](\d.+)['"]/)[1]

# ------- Default Package ----------
FILES = FileList[
  '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/**/*'
]

Gem::Specification.new do |spec|
  spec.name        = 'libxml-ruby'
  spec.version     = version
  spec.homepage    = 'http://xml4r.github.com/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']
  spec.platform = Gem::Platform::RUBY
  spec.bindir = "bin"
  spec.extensions = ["ext/libxml/extconf.rb"]
  spec.files = FILES.to_a
  spec.test_files = Dir.glob("test/tc_*.rb")

  spec.required_ruby_version = '>= 1.8.6'
  spec.date = DateTime.now
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libxml-ruby-2.2.1-x86-mingw32 libxml-ruby.gemspec
libxml-ruby-2.2.1 libxml-ruby.gemspec