libxml-ruby 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/test/test_suite.rb CHANGED
@@ -5,15 +5,16 @@
5
5
  dir = File.dirname(__FILE__)
6
6
  Dir.chdir(dir)
7
7
 
8
- require './tc_attributes'
9
8
  require './tc_attr'
10
9
  require './tc_attr_decl'
10
+ require './tc_attributes'
11
11
  require './tc_document'
12
12
  require './tc_document_write'
13
13
  require './tc_dtd'
14
+ require './tc_error'
14
15
  require './tc_html_parser'
15
- require './tc_namespaces'
16
16
  require './tc_namespace'
17
+ require './tc_namespaces'
17
18
  require './tc_node'
18
19
  require './tc_node_cdata'
19
20
  require './tc_node_comment'
@@ -31,6 +32,7 @@ require './tc_schema'
31
32
  require './tc_traversal'
32
33
  require './tc_xinclude'
33
34
  require './tc_xpath'
35
+ require './tc_xpath_context'
34
36
  require './tc_xpath_expression'
35
37
  require './tc_xpointer'
36
38
 
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libxml-ruby
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 9
4
5
  prerelease:
5
- version: 2.0.2
6
+ segments:
7
+ - 2
8
+ - 0
9
+ - 3
10
+ version: 2.0.3
6
11
  platform: x86-mingw32
7
12
  authors:
8
13
  - Ross Bamform
@@ -15,8 +20,7 @@ autorequire:
15
20
  bindir: bin
16
21
  cert_chain: []
17
22
 
18
- date: 2011-04-18 00:00:00 -06:00
19
- default_executable:
23
+ date: 2011-05-02 00:00:00 Z
20
24
  dependencies: []
21
25
 
22
26
  description: " The Libxml-Ruby project provides Ruby language bindings for the GNOME\n Libxml2 XML toolkit. It is free software, released under the MIT License.\n Libxml-ruby's primary advantage over REXML is performance - if speed\n is your need, these are good libraries to consider, as demonstrated\n by the informal benchmark below.\n"
@@ -151,7 +155,6 @@ files:
151
155
  - test/model/shiporder.xsd
152
156
  - test/model/soap.xml
153
157
  - test/model/xinclude.xml
154
- - test/rb-magic-comment.rb
155
158
  - test/tc_attr.rb
156
159
  - test/tc_attributes.rb
157
160
  - test/tc_attr_decl.rb
@@ -192,7 +195,6 @@ files:
192
195
  - lib/libs/libiconv-2.dll
193
196
  - lib/libs/libxml2-2.dll
194
197
  - lib/libs/libz.dll
195
- has_rdoc: true
196
198
  homepage: http://xml4r.github.com/libxml-ruby
197
199
  licenses: []
198
200
 
@@ -206,17 +208,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
206
208
  requirements:
207
209
  - - ">="
208
210
  - !ruby/object:Gem::Version
211
+ hash: 59
212
+ segments:
213
+ - 1
214
+ - 8
215
+ - 6
209
216
  version: 1.8.6
210
217
  required_rubygems_version: !ruby/object:Gem::Requirement
211
218
  none: false
212
219
  requirements:
213
220
  - - ">="
214
221
  - !ruby/object:Gem::Version
222
+ hash: 3
223
+ segments:
224
+ - 0
215
225
  version: "0"
216
226
  requirements: []
217
227
 
218
228
  rubyforge_project:
219
- rubygems_version: 1.5.2
229
+ rubygems_version: 1.7.2
220
230
  signing_key:
221
231
  specification_version: 3
222
232
  summary: Ruby Bindings for LibXML2
@@ -1,33 +0,0 @@
1
- #!/usr/local/ruby/bin/ruby
2
- # encoding: UTF-8
3
-
4
- ARGV.reject! { |path| !File.file?(path) }
5
- (puts DATA.read.gsub("$0", File.basename($0)); exit 1) if ARGV.empty?
6
-
7
- ARGV.each do |path|
8
- ls = IO.readlines(path)
9
- ix = ls[0] !~ /^#!/ ? 0 : 1
10
- next if ls[ix] =~ /#.*?coding\s*[:=]\s*\S/
11
- ls.insert ix, "# encoding: UTF-8\n", ("\n" unless ls[ix] =~ /^#?\s*\n/)
12
- open(path, 'w') { |f| f.write ls.join }
13
- end
14
-
15
- __END__
16
- Add the unicode magic comment to ruby files.
17
-
18
- * Files are modified in-place.
19
- * If a file already contains a magic comment, it's skipped.
20
- * Comment is added below the shebang if it exists, otherwise as the first line.
21
-
22
- Usage:
23
- $0 file-1 [file-2 ... file-n]
24
-
25
- Examples:
26
- # Add comment to standalone ruby files:
27
- $0 foo.rb bar.rb
28
-
29
- # Add comment to an entire ruby library or app:
30
- find . -name '*.rb' -type f -print0 | xargs -0 $0
31
-
32
- # Add comment to app files in a rails application:
33
- find app config lib -name '*.rb' -type f -print0 | xargs -0 $0