11# encoding: utf-8
2- require 'date'
32
43# Determine the current version of the software
54version = File . read ( 'ext/libxml/ruby_xml_version.h' ) . match ( /\s *RUBY_LIBXML_VERSION\s *['"](\d .+)['"]/ ) [ 1 ]
@@ -10,11 +9,9 @@ Gem::Specification.new do |spec|
109 spec . homepage = 'https://xml4r.github.io/libxml-ruby/'
1110 spec . summary = 'Ruby Bindings for LibXML2'
1211 spec . description = <<-EOS
13- The Libxml-Ruby project provides Ruby language bindings for the GNOME
14- Libxml2 XML toolkit. It is free software, released under the MIT License.
15- Libxml-ruby's primary advantage over REXML is performance - if speed
16- is your need, these are good libraries to consider, as demonstrated
17- by the informal benchmark below.
12+ libxml-Ruby provides Ruby language bindings for libxml2 It is free software,
13+ released under the MIT License. libxml-ruby provides DOM, SAX, Reader, and
14+ Writer APIs along with XPath support and validation via DTD, RelaxNG, and XML Schema.
1815 EOS
1916 spec . authors = [ 'Ross Bamform' , 'Wai-Sun Chia' , 'Sean Chittenden' ,
2017 'Dan Janwoski' , 'Anurag Priyam' , 'Charlie Savage' ,
@@ -26,10 +23,8 @@ Gem::Specification.new do |spec|
2623 spec . files = Dir . glob ( [ 'CHANGELOG.md' ,
2724 'LICENSE' ,
2825 'libxml-ruby.gemspec' ,
29- 'MANIFEST' ,
3026 'Rakefile' ,
3127 'README.md' ,
32- 'setup.rb' ,
3328 'ext/libxml/*.def' ,
3429 'ext/libxml/*.h' ,
3530 'ext/libxml/*.c' ,
@@ -42,7 +37,6 @@ Gem::Specification.new do |spec|
4237
4338 spec . test_files = Dir . glob ( 'test/test_*.rb' )
4439 spec . required_ruby_version = '>= 3.2'
45- spec . date = DateTime . now
4640 spec . add_development_dependency ( 'logger' )
4741 spec . add_development_dependency ( 'rake-compiler' )
4842 spec . add_development_dependency ( 'minitest' )
0 commit comments