libxml-ruby 2.0.2 → 2.0.3

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.
@@ -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: ruby
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
@@ -187,7 +190,6 @@ files:
187
190
  - test/tc_xpointer.rb
188
191
  - test/test_helper.rb
189
192
  - test/test_suite.rb
190
- has_rdoc: true
191
193
  homepage: http://xml4r.github.com/libxml-ruby
192
194
  licenses: []
193
195
 
@@ -201,17 +203,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
201
203
  requirements:
202
204
  - - ">="
203
205
  - !ruby/object:Gem::Version
206
+ hash: 59
207
+ segments:
208
+ - 1
209
+ - 8
210
+ - 6
204
211
  version: 1.8.6
205
212
  required_rubygems_version: !ruby/object:Gem::Requirement
206
213
  none: false
207
214
  requirements:
208
215
  - - ">="
209
216
  - !ruby/object:Gem::Version
217
+ hash: 3
218
+ segments:
219
+ - 0
210
220
  version: "0"
211
221
  requirements: []
212
222
 
213
223
  rubyforge_project:
214
- rubygems_version: 1.5.2
224
+ rubygems_version: 1.7.2
215
225
  signing_key:
216
226
  specification_version: 3
217
227
  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