libxslt-ruby 1.0.7-x86-mingw32 → 1.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +8 -0
- data/Rakefile +2 -3
- data/ext/libxslt/extconf.rb +1 -1
- data/ext/libxslt/libxslt.c +4 -2
- 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
- metadata +51 -27
data/CHANGES
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
== 1.0.8 / 2011-09-03 Charlie Savage
|
2
|
+
|
3
|
+
* Don't depend on exported data from libxml-ruby, doesn't work with VC++.
|
4
|
+
|
5
|
+
== 1.0.7 / 2011-08-29 Charlie Savage
|
6
|
+
|
7
|
+
* Don't require 'rake' in the gemspec to avoid annoying Bundler bugs
|
8
|
+
|
1
9
|
== 1.0.6 / 2011-08-14
|
2
10
|
|
3
11
|
* Fix compilation with Microsoft Visual Studio 2010 (Charlie Savage)
|
data/Rakefile
CHANGED
@@ -23,18 +23,17 @@ Rake::ExtensionTask.new do |ext|
|
|
23
23
|
ext.ext_dir = "ext/libxslt"
|
24
24
|
ext.lib_dir = "lib/#{RUBY_VERSION.sub(/\.\d$/, '')}"
|
25
25
|
|
26
|
+
|
26
27
|
ENV.each do |key, val|
|
27
28
|
next unless key =~ /\Awith_(\w+)\z/i
|
28
|
-
puts key
|
29
|
-
puts val
|
30
29
|
opt = $1.downcase.tr('_', '-')
|
31
|
-
|
32
30
|
if File.directory?(path = File.expand_path(val))
|
33
31
|
ext.config_options << "--with-#{opt}=#{path}"
|
34
32
|
else
|
35
33
|
warn "No such directory: #{opt}: #{path}"
|
36
34
|
end
|
37
35
|
end
|
36
|
+
puts ext.config_options
|
38
37
|
end
|
39
38
|
|
40
39
|
# Setup generic gem
|
data/ext/libxslt/extconf.rb
CHANGED
data/ext/libxslt/libxslt.c
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
#include "libxslt.h"
|
6
6
|
#include "libxml/xmlversion.h"
|
7
7
|
|
8
|
+
VALUE cXMLDocument;
|
8
9
|
VALUE cLibXSLT;
|
9
10
|
VALUE cXSLT;
|
10
11
|
VALUE eXSLTError;
|
@@ -37,8 +38,9 @@ Init_libxslt_ruby(void) {
|
|
37
38
|
cLibXSLT = rb_define_module("LibXSLT");
|
38
39
|
cXSLT = rb_define_module_under(cLibXSLT, "XSLT");
|
39
40
|
|
40
|
-
cXMLDocument = rb_const_get(rb_const_get(rb_const_get(rb_cObject,
|
41
|
-
|
41
|
+
cXMLDocument = rb_const_get(rb_const_get(rb_const_get(rb_cObject, rb_intern("LibXML")),
|
42
|
+
rb_intern("XML")),
|
43
|
+
rb_intern("Document"));
|
42
44
|
|
43
45
|
rb_define_const(cXSLT, "MAX_DEPTH", INT2NUM(xsltMaxDepth));
|
44
46
|
rb_define_const(cXSLT, "MAX_SORT", INT2NUM(XSLT_MAX_SORT));
|
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
|
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: 7
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 8
|
10
|
+
version: 1.0.8
|
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-09-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: 3
|
29
|
+
segments:
|
30
|
+
- 2
|
31
|
+
- 2
|
32
|
+
- 2
|
21
33
|
version: 2.2.2
|
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,30 +80,41 @@ 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
113
|
rubygems_version: 1.8.10
|
90
114
|
signing_key:
|
91
115
|
specification_version: 3
|
92
116
|
summary: Ruby libxslt bindings
|
93
|
-
test_files:
|
117
|
+
test_files:
|
94
118
|
- test/test_deprecated.rb
|
95
119
|
- test/test_exslt.rb
|
96
120
|
- test/test_helper.rb
|