libxslt-ruby 1.0.3-x86-mingw32 → 1.0.4-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +10 -0
- data/ext/libxslt/extconf.rb +13 -10
- data/ext/libxslt/version.h +2 -2
- data/lib/1.8/libxslt_ruby.so +0 -0
- data/lib/1.9/libxslt_ruby.so +0 -0
- data/libxslt-ruby.gemspec +2 -0
- data/test/test_deprecated.rb +1 -1
- data/test/test_exslt.rb +1 -1
- data/test/test_libxslt.rb +1 -1
- data/test/test_stylesheet.rb +1 -1
- data/test/test_suite.rb +4 -4
- metadata +52 -27
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
|
data/ext/libxslt/extconf.rb
CHANGED
@@ -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
|
-
#
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
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")
|
data/ext/libxslt/version.h
CHANGED
data/lib/1.8/libxslt_ruby.so
CHANGED
Binary file
|
data/lib/1.9/libxslt_ruby.so
CHANGED
Binary file
|
data/libxslt-ruby.gemspec
CHANGED
data/test/test_deprecated.rb
CHANGED
data/test/test_exslt.rb
CHANGED
data/test/test_libxslt.rb
CHANGED
data/test/test_stylesheet.rb
CHANGED
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
|
-
|
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
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2011-08-03 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: libxml-ruby
|
16
|
-
|
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
|
-
|
24
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
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
|
+
|