Sha256: 6ace3f5405a8865adaef28c297967bc4b20d2e50d3282f7ff98137f318a90523

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 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]

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.4.0')
  spec.platform = Gem::Platform::RUBY
  spec.require_paths = ["lib", "ext/libxslt"]

  spec.bindir = "bin"
  spec.extensions = ["ext/libxslt/extconf.rb"]
  spec.files = Dir.glob(['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/**/*'])
  spec.test_files = Dir.glob("test/test_*.rb")
  spec.add_development_dependency 'rake-compiler'
  spec.required_ruby_version = '>= 1.9.3'
  spec.date = DateTime.now
  spec.rubyforge_project = 'libxslt-ruby'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libxslt-ruby-1.1.1-x64-mingw32 libxslt-ruby.gemspec
libxslt-ruby-1.1.1 libxslt-ruby.gemspec