libxslt-ruby 1.0.2-x86-mingw32 → 1.0.3-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 CHANGED
@@ -1,4 +1,4 @@
1
- == 1.0.2 / 2011-07-31
1
+ == 1.0.3 / 2011-07-31
2
2
 
3
3
  * Added support for extension function registration. This was adapted from
4
4
  Gregoire Lejeune's ruby-xslt library at https://github.com/glejeune/ruby-xslt (Jens Willie).
@@ -1,8 +1,7 @@
1
- #ifndef EXTCONF_H
2
- #define EXTCONF_H
3
- #define HAVE_RUBY_IO_H 1
4
- #define HAVE_ZLIB_H 1
5
- #define HAVE_LIBXML_XMLVERSION_H 1
6
- #define HAVE_XSLT_H 1
7
- #define HAVE_EXSLT_H 1
8
- #endif
1
+ #ifndef EXTCONF_H
2
+ #define EXTCONF_H
3
+ #define HAVE_ZLIB_H 1
4
+ #define HAVE_LIBXML_XMLVERSION_H 1
5
+ #define HAVE_XSLT_H 1
6
+ #define HAVE_EXSLT_H 1
7
+ #endif
@@ -126,9 +126,10 @@ end
126
126
 
127
127
  RUBY_VERSION =~ /(\d+.\d+)/
128
128
  minor_version = $1
129
- headers = ['iconv.h', 'libxml/ruby_libxml.h']
130
129
  paths = ["#{gem_spec.full_gem_path}/lib", "#{gem_spec.full_gem_path}/lib/#{minor_version}"]
131
130
 
131
+ # Hack to make sure ruby library is *after* xml_ruby library
132
+ $LIBS += " #{$LIBRUBYARG_STATIC}"
132
133
  unless find_library("xml_ruby", "Init_libxml_ruby", *paths) or
133
134
  find_library(":libxml_ruby.so", "Init_libxml_ruby", *paths)
134
135
  crash(<<-EOL)
@@ -137,21 +138,7 @@ unless find_library("xml_ruby", "Init_libxml_ruby", *paths) or
137
138
  --with-libxml-ruby=/path/to/libxml-ruby gem
138
139
  EOL
139
140
  end
140
-
141
- #if RUBY_PLATFORM.match(/win32|mingw32/)
142
- # RUBY_VERSION =~ /(\d+.\d+)/
143
- # $LIBPATH << File.join(libxml_ruby_path, "lib")
144
- # $LIBPATH << File.join(libxml_ruby_path, "lib", $1)
145
- #
146
- # headers = ['iconv.h', 'libxml/ruby_libxml.h']
147
- # unless have_library(':libxml_ruby.so', 'Init_libxml_ruby', headers)
148
- # crash(<<-EOL)
149
- # Need libxml-ruby
150
- # Please install libxml-ruby or specify the path to the gem via:
151
- # --with-libxml-ruby=/path/to/libxml-ruby gem
152
- #EOL
153
- # end
154
- #end
141
+ $LIBS.gsub!($LIBRUBYARG_STATIC,'')
155
142
 
156
143
  create_header()
157
144
  create_makefile("libxslt_ruby")
@@ -1,5 +1,5 @@
1
- #define RUBY_LIBXSLT_VERSION "1.0.2"
1
+ #define RUBY_LIBXSLT_VERSION "1.0.3"
2
2
  #define RUBY_LIBXSLT_VERNUM 1
3
3
  #define RUBY_LIBXSLT_VER_MAJ 0
4
- #define RUBY_LIBXSLT_VER_MIN 2
4
+ #define RUBY_LIBXSLT_VER_MIN 3
5
5
  #define RUBY_LIBXSLT_VER_MIC 0
Binary file
Binary file
metadata CHANGED
@@ -1,47 +1,34 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: libxslt-ruby
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.3
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 2
10
- version: 1.0.2
11
6
  platform: x86-mingw32
12
- authors:
7
+ authors:
13
8
  - Charlie Savage
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-08-01 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-08-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: libxml-ruby
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &22432512 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 9
29
- segments:
30
- - 2
31
- - 1
32
- - 1
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
33
21
  version: 2.1.1
34
22
  type: :runtime
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"
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"
37
27
  email: libxml-devel@rubyforge.org
38
28
  executables: []
39
-
40
29
  extensions: []
41
-
42
30
  extra_rdoc_files: []
43
-
44
- files:
31
+ files:
45
32
  - CHANGES
46
33
  - LICENSE
47
34
  - Rakefile
@@ -80,39 +67,27 @@ files:
80
67
  - lib/libs/libxslt-1.dll
81
68
  homepage: http://libxslt.rubyforge.org/
82
69
  licenses: []
83
-
84
70
  post_install_message:
85
71
  rdoc_options: []
86
-
87
- require_paths:
72
+ require_paths:
88
73
  - lib
89
74
  - ext/libxslt
90
- required_ruby_version: !ruby/object:Gem::Requirement
75
+ required_ruby_version: !ruby/object:Gem::Requirement
91
76
  none: false
92
- requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- hash: 59
96
- segments:
97
- - 1
98
- - 8
99
- - 6
77
+ requirements:
78
+ - - ! '>='
79
+ - !ruby/object:Gem::Version
100
80
  version: 1.8.6
101
- required_rubygems_version: !ruby/object:Gem::Requirement
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
102
82
  none: false
103
- requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- hash: 3
107
- segments:
108
- - 0
109
- version: "0"
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
110
87
  requirements: []
111
-
112
88
  rubyforge_project: libxslt-ruby
113
- rubygems_version: 1.8.6
89
+ rubygems_version: 1.8.6.1
114
90
  signing_key:
115
91
  specification_version: 3
116
92
  summary: Ruby libxslt bindings
117
93
  test_files: []
118
-