Sha256: ebb601881ec5488bfd5fed9eed66a4e982a1bfe2caebb64016c168bde5c4ee1c

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

# encoding: utf-8

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

FILES = FileList[
  'CHANGES',
  'LICENSE',
  'Rakefile',
  'README.rdoc',
  'libxslt-ruby.gemspec',
  'setup.rb',
  'doc/**/*',
  'lib/**/*.rb',
  'ext/libxslt/*.h',
  'ext/libxslt/*.c',
  'ext/vc/*.sln',
  'ext/vc/*.vcxproj',
  'test/**/*'
]

# Default GEM Specification
Gem::Specification.new do |spec|
  spec.name = "libxslt-ruby"

  spec.homepage = "http://libxslt.rubyforge.org/"
  spec.summary = "Ruby libxslt bindings"
  spec.description = <<-EOF
    The Libxslt-Ruby project provides Ruby language bindings for the GNOME
    XSLT C library.  It is free software, released under the MIT License.
  EOF

  # Determine the current version of the software
  spec.version = version
  spec.author = "Charlie Savage"
  spec.email = "libxml-devel@rubyforge.org"
  spec.add_dependency('libxml-ruby','>=2.1.1')
  spec.platform = Gem::Platform::RUBY
  spec.require_paths = ["lib", "ext/libxslt"]

  spec.bindir = "bin"
  spec.extensions = ["ext/libxslt/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
  spec.rubyforge_project = 'libxslt-ruby'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
libxslt-ruby-1.0.3-x86-mingw32 libxslt-ruby.gemspec
libxslt-ruby-1.0.3 libxslt-ruby.gemspec
libxslt-ruby-1.0.2-x86-mingw32 libxslt-ruby.gemspec