libxslt-ruby 1.0.3-x86-mingw32 → 1.0.4-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,13 @@
1
+ == 1.0.4 / 2011-08-03
2
+
3
+ * Don't link against libxml-ruby on OS X, as it is unnecessary and doesn't work
4
+ - dylib vs bundle (Travis Warlick).
5
+
6
+ * Add 'rake' to gemspec to enable use of :path option with Bundler (Travis Warlick).
7
+
8
+ * Update test requires to work on Ruby 1.8.* and 1.9.* (Charlie Savage)
9
+
10
+
1
11
  == 1.0.3 / 2011-07-31
2
12
 
3
13
  * Added support for extension function registration. This was adapted from
@@ -128,17 +128,20 @@ RUBY_VERSION =~ /(\d+.\d+)/
128
128
  minor_version = $1
129
129
  paths = ["#{gem_spec.full_gem_path}/lib", "#{gem_spec.full_gem_path}/lib/#{minor_version}"]
130
130
 
131
- # Hack to make sure ruby library is *after* xml_ruby library
132
- $LIBS += " #{$LIBRUBYARG_STATIC}"
133
- unless find_library("xml_ruby", "Init_libxml_ruby", *paths) or
134
- find_library(":libxml_ruby.so", "Init_libxml_ruby", *paths)
135
- crash(<<-EOL)
136
- Need libxml-ruby
137
- Please install libxml-ruby or specify the path to the gem via:
138
- --with-libxml-ruby=/path/to/libxml-ruby gem
139
- EOL
131
+ # No need to link xml_ruby on OS X
132
+ unless Config::CONFIG['host_os'].match(/darwin/)
133
+ # Hack to make sure ruby library is *after* xml_ruby library
134
+ $LIBS += " #{$LIBRUBYARG_STATIC}"
135
+ unless find_library("xml_ruby", "Init_libxml_ruby", *paths) or
136
+ find_library(":libxml_ruby.so", "Init_libxml_ruby", *paths)
137
+ crash(<<-EOL)
138
+ Need libxml-ruby
139
+ Please install libxml-ruby or specify the path to the gem via:
140
+ --with-libxml-ruby=/path/to/libxml-ruby gem
141
+ EOL
142
+ end
143
+ $LIBS.gsub!($LIBRUBYARG_STATIC,'')
140
144
  end
141
- $LIBS.gsub!($LIBRUBYARG_STATIC,'')
142
145
 
143
146
  create_header()
144
147
  create_makefile("libxslt_ruby")
@@ -1,5 +1,5 @@
1
- #define RUBY_LIBXSLT_VERSION "1.0.3"
1
+ #define RUBY_LIBXSLT_VERSION "1.0.4"
2
2
  #define RUBY_LIBXSLT_VERNUM 1
3
3
  #define RUBY_LIBXSLT_VER_MAJ 0
4
- #define RUBY_LIBXSLT_VER_MIN 3
4
+ #define RUBY_LIBXSLT_VER_MIN 4
5
5
  #define RUBY_LIBXSLT_VER_MIC 0
Binary file
Binary file
data/libxslt-ruby.gemspec CHANGED
@@ -1,5 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
+ require 'rake'
4
+
3
5
  # Determine the current version of the software
4
6
  version = File.read('ext/libxslt/version.h').match(/\s*RUBY_LIBXSLT_VERSION\s*['"](\d.+)['"]/)[1]
5
7
 
@@ -1,6 +1,6 @@
1
1
  # encoding: UTF-8
2
2
  require 'test/unit'
3
- require 'test_helper'
3
+ require './test_helper'
4
4
 
5
5
  class TestDeprecated < Test::Unit::TestCase
6
6
  def setup()
data/test/test_exslt.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: UTF-8
2
2
  require 'test/unit'
3
- require 'test_helper'
3
+ require './test_helper'
4
4
 
5
5
  class TestExslt < Test::Unit::TestCase
6
6
  def setup
data/test/test_libxslt.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: UTF-8
2
2
  require 'test/unit'
3
- require 'test_helper'
3
+ require './test_helper'
4
4
 
5
5
  class TextLibXslt < Test::Unit::TestCase
6
6
  def test_constants
@@ -1,6 +1,6 @@
1
1
  # encoding: UTF-8
2
2
  require 'test/unit'
3
- require 'test_helper'
3
+ require './test_helper'
4
4
 
5
5
  class TestStylesheet < Test::Unit::TestCase
6
6
  def setup
data/test/test_suite.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  dir = File.dirname(__FILE__)
6
6
  Dir.chdir(dir)
7
7
 
8
- require 'test_libxslt'
9
- require 'test_stylesheet'
10
- require 'test_deprecated'
11
- require 'test_exslt'
8
+ require './test_libxslt'
9
+ require './test_stylesheet'
10
+ require './test_deprecated'
11
+ require './test_exslt'
metadata CHANGED
@@ -1,34 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: libxslt-ruby
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 31
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 4
10
+ version: 1.0.4
6
11
  platform: x86-mingw32
7
- authors:
12
+ authors:
8
13
  - Charlie Savage
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-08-01 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-08-03 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: libxml-ruby
16
- requirement: &22432512 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 9
29
+ segments:
30
+ - 2
31
+ - 1
32
+ - 1
21
33
  version: 2.1.1
22
34
  type: :runtime
23
- prerelease: false
24
- version_requirements: *22432512
25
- description: ! " The Libxslt-Ruby project provides Ruby language bindings for the
26
- GNOME\n XSLT C library. It is free software, released under the MIT License.\n"
35
+ version_requirements: *id001
36
+ description: " The Libxslt-Ruby project provides Ruby language bindings for the GNOME\n XSLT C library. It is free software, released under the MIT License.\n"
27
37
  email: libxml-devel@rubyforge.org
28
38
  executables: []
39
+
29
40
  extensions: []
41
+
30
42
  extra_rdoc_files: []
31
- files:
43
+
44
+ files:
32
45
  - CHANGES
33
46
  - LICENSE
34
47
  - Rakefile
@@ -67,27 +80,39 @@ files:
67
80
  - lib/libs/libxslt-1.dll
68
81
  homepage: http://libxslt.rubyforge.org/
69
82
  licenses: []
83
+
70
84
  post_install_message:
71
85
  rdoc_options: []
72
- require_paths:
86
+
87
+ require_paths:
73
88
  - lib
74
89
  - ext/libxslt
75
- required_ruby_version: !ruby/object:Gem::Requirement
90
+ required_ruby_version: !ruby/object:Gem::Requirement
76
91
  none: false
77
- requirements:
78
- - - ! '>='
79
- - !ruby/object:Gem::Version
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ hash: 59
96
+ segments:
97
+ - 1
98
+ - 8
99
+ - 6
80
100
  version: 1.8.6
81
- required_rubygems_version: !ruby/object:Gem::Requirement
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
102
  none: false
83
- requirements:
84
- - - ! '>='
85
- - !ruby/object:Gem::Version
86
- version: '0'
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 0
109
+ version: "0"
87
110
  requirements: []
111
+
88
112
  rubyforge_project: libxslt-ruby
89
- rubygems_version: 1.8.6.1
113
+ rubygems_version: 1.8.6
90
114
  signing_key:
91
115
  specification_version: 3
92
116
  summary: Ruby libxslt bindings
93
117
  test_files: []
118
+