libxslt-ruby 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -16,8 +16,8 @@ def crash(str)
16
16
  end
17
17
 
18
18
  # Directories
19
- dir_config('iconv')
20
19
  dir_config('zlib')
20
+ dir_config('iconv')
21
21
  dir_config('xml2')
22
22
  dir_config('xslt')
23
23
  dir_config('exslt')
@@ -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
- rb_intern("LibXML")), rb_intern("XML")), rb_intern("Document"));
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));
@@ -1,5 +1,5 @@
1
- #define RUBY_LIBXSLT_VERSION "1.0.7"
1
+ #define RUBY_LIBXSLT_VERSION "1.0.8"
2
2
  #define RUBY_LIBXSLT_VERNUM 1
3
3
  #define RUBY_LIBXSLT_VER_MAJ 0
4
- #define RUBY_LIBXSLT_VER_MIN 7
4
+ #define RUBY_LIBXSLT_VER_MIN 8
5
5
  #define RUBY_LIBXSLT_VER_MIC 0
metadata CHANGED
@@ -1,35 +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.7
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: ruby
7
- authors:
12
+ authors:
8
13
  - Charlie Savage
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-08-29 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-09-03 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: libxml-ruby
16
- requirement: &23654016 !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: 3
29
+ segments:
30
+ - 2
31
+ - 2
32
+ - 2
21
33
  version: 2.2.2
22
34
  type: :runtime
23
- prerelease: false
24
- version_requirements: *23654016
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: []
29
- extensions:
39
+
40
+ extensions:
30
41
  - ext/libxslt/extconf.rb
31
42
  extra_rdoc_files: []
32
- files:
43
+
44
+ files:
33
45
  - CHANGES
34
46
  - LICENSE
35
47
  - Rakefile
@@ -64,30 +76,41 @@ files:
64
76
  - ext/libxslt/extconf.rb
65
77
  homepage: http://libxslt.rubyforge.org/
66
78
  licenses: []
79
+
67
80
  post_install_message:
68
81
  rdoc_options: []
69
- require_paths:
82
+
83
+ require_paths:
70
84
  - lib
71
85
  - ext/libxslt
72
- required_ruby_version: !ruby/object:Gem::Requirement
86
+ required_ruby_version: !ruby/object:Gem::Requirement
73
87
  none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ hash: 59
92
+ segments:
93
+ - 1
94
+ - 8
95
+ - 6
77
96
  version: 1.8.6
78
- required_rubygems_version: !ruby/object:Gem::Requirement
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
79
98
  none: false
80
- requirements:
81
- - - ! '>='
82
- - !ruby/object:Gem::Version
83
- version: '0'
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ hash: 3
103
+ segments:
104
+ - 0
105
+ version: "0"
84
106
  requirements: []
107
+
85
108
  rubyforge_project: libxslt-ruby
86
109
  rubygems_version: 1.8.10
87
110
  signing_key:
88
111
  specification_version: 3
89
112
  summary: Ruby libxslt bindings
90
- test_files:
113
+ test_files:
91
114
  - test/test_deprecated.rb
92
115
  - test/test_exslt.rb
93
116
  - test/test_helper.rb