nokogiri 1.7.2-java → 1.8.0-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.cross_rubies +4 -4
- data/.travis.yml +43 -24
- data/CHANGELOG.md +54 -6
- data/Gemfile +8 -7
- data/Gemfile-libxml-ruby +3 -0
- data/LICENSE-DEPENDENCIES.md +1612 -0
- data/{LICENSE.txt → LICENSE.md} +1 -1
- data/Manifest.txt +5 -8
- data/README.md +8 -5
- data/Rakefile +15 -31
- data/appveyor.yml +2 -0
- data/dependencies.yml +12 -7
- data/ext/java/nokogiri/HtmlDocument.java +2 -2
- data/ext/java/nokogiri/HtmlSaxParserContext.java +20 -21
- data/ext/java/nokogiri/HtmlSaxPushParser.java +6 -10
- data/ext/java/nokogiri/NokogiriService.java +10 -31
- data/ext/java/nokogiri/XmlAttr.java +1 -26
- data/ext/java/nokogiri/XmlCdata.java +0 -1
- data/ext/java/nokogiri/XmlComment.java +1 -1
- data/ext/java/nokogiri/XmlDocument.java +4 -5
- data/ext/java/nokogiri/XmlDocumentFragment.java +29 -21
- data/ext/java/nokogiri/XmlDtd.java +1 -1
- data/ext/java/nokogiri/XmlElement.java +9 -10
- data/ext/java/nokogiri/XmlEntityDecl.java +4 -5
- data/ext/java/nokogiri/XmlNode.java +105 -103
- data/ext/java/nokogiri/XmlNodeSet.java +64 -76
- data/ext/java/nokogiri/XmlReader.java +48 -48
- data/ext/java/nokogiri/XmlRelaxng.java +1 -1
- data/ext/java/nokogiri/XmlSaxPushParser.java +37 -17
- data/ext/java/nokogiri/XmlSchema.java +7 -5
- data/ext/java/nokogiri/XmlSyntaxError.java +47 -35
- data/ext/java/nokogiri/XmlXpathContext.java +160 -132
- data/ext/java/nokogiri/XsltStylesheet.java +15 -24
- data/ext/java/nokogiri/internals/HtmlDomParserContext.java +19 -23
- data/ext/java/nokogiri/internals/NokogiriDomParser.java +1 -1
- data/ext/java/nokogiri/internals/NokogiriEncodingReaderWrapper.java +1 -1
- data/ext/java/nokogiri/internals/NokogiriEntityResolver.java +11 -13
- data/ext/java/nokogiri/internals/NokogiriErrorHandler.java +5 -21
- data/ext/java/nokogiri/internals/NokogiriHandler.java +1 -1
- data/ext/java/nokogiri/internals/NokogiriHelpers.java +105 -142
- data/ext/java/nokogiri/internals/NokogiriNamespaceContext.java +16 -26
- data/ext/java/nokogiri/internals/NokogiriXPathFunction.java +32 -50
- data/ext/java/nokogiri/internals/NokogiriXPathFunctionResolver.java +10 -13
- data/ext/java/nokogiri/internals/NokogiriXPathVariableResolver.java +3 -10
- data/ext/java/nokogiri/internals/ParserContext.java +4 -8
- data/ext/java/nokogiri/internals/ReaderNode.java +53 -93
- data/ext/java/nokogiri/internals/SaveContextVisitor.java +77 -89
- data/ext/java/nokogiri/internals/SchemaErrorHandler.java +6 -9
- data/ext/java/nokogiri/internals/XalanDTMManagerPatch.java +167 -0
- data/ext/java/nokogiri/internals/XmlDomParserContext.java +17 -6
- data/ext/java/nokogiri/internals/c14n/Canonicalizer.java +1 -1
- data/ext/java/nokogiri/internals/c14n/Canonicalizer11.java +28 -28
- data/ext/java/nokogiri/internals/c14n/Canonicalizer20010315.java +3 -4
- data/ext/java/nokogiri/internals/c14n/Canonicalizer20010315Excl.java +2 -2
- data/ext/java/nokogiri/internals/c14n/CanonicalizerBase.java +10 -10
- data/ext/java/nokogiri/internals/c14n/ElementProxy.java +5 -5
- data/ext/java/nokogiri/internals/c14n/InclusiveNamespaces.java +2 -2
- data/ext/java/nokogiri/internals/c14n/NameSpaceSymbTable.java +1 -1
- data/ext/java/nokogiri/internals/c14n/XMLUtils.java +2 -2
- data/ext/java/org/apache/xml/dtm/ref/dom2dtm/DOM2DTMExt.java +1749 -0
- data/ext/nokogiri/extconf.rb +12 -17
- data/ext/nokogiri/nokogiri.h +0 -10
- data/ext/nokogiri/xml_attr.c +12 -8
- data/ext/nokogiri/xml_node.c +17 -14
- data/ext/nokogiri/xml_sax_push_parser.c +56 -12
- data/lib/nokogiri/html/sax/parser.rb +10 -0
- data/lib/nokogiri/nokogiri.jar +0 -0
- data/lib/nokogiri/version.rb +5 -4
- data/lib/nokogiri/xml/document.rb +9 -9
- data/lib/nokogiri/xml/node.rb +7 -7
- data/lib/nokogiri/xml/node_set.rb +12 -7
- data/lib/nokogiri/xml/sax/parser.rb +6 -7
- data/lib/nokogiri/xml/searchable.rb +34 -25
- data/lib/nokogiri/xml/syntax_error.rb +24 -1
- data/test/decorators/test_slop.rb +4 -1
- data/test/helper.rb +10 -0
- data/test/html/sax/test_parser.rb +27 -0
- data/test/html/test_document.rb +12 -1
- data/test/html/test_document_encoding.rb +1 -3
- data/test/html/test_document_fragment.rb +3 -0
- data/test/xml/sax/test_push_parser.rb +48 -0
- data/test/xml/test_attr.rb +7 -0
- data/test/xml/test_document.rb +1 -1
- data/test/xml/test_document_fragment.rb +27 -0
- data/test/xml/test_entity_reference.rb +2 -2
- data/test/xml/test_node.rb +12 -15
- data/test/xml/test_node_reparenting.rb +14 -0
- data/test/xml/test_node_set.rb +8 -6
- data/test/xml/test_reader.rb +19 -0
- data/test/xml/test_syntax_error.rb +21 -15
- data/test/xml/test_unparented_node.rb +54 -11
- data/test/xml/test_xpath.rb +23 -6
- metadata +32 -20
- data/ext/java/nokogiri/internals/NokogiriDocumentCache.java +0 -73
- data/ext/java/nokogiri/internals/XsltExtensionFunction.java +0 -72
- data/suppressions/nokogiri_ree-1.8.7.358.supp +0 -61
- data/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
- data/suppressions/nokogiri_ruby-1.9.2.320.supp +0 -28
- data/suppressions/nokogiri_ruby-1.9.3.327.supp +0 -28
- data/test_all +0 -105
data/test/xml/test_node.rb
CHANGED
@@ -91,12 +91,14 @@ module Nokogiri
|
|
91
91
|
assert_equal Nokogiri::XML::ParseOptions::DEFAULT_XML, options.to_i
|
92
92
|
end
|
93
93
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
nodeset =
|
98
|
-
|
94
|
+
def test_node_context_parsing_of_malformed_html_fragment
|
95
|
+
doc = HTML.parse "<html><body><div></div></body></html>"
|
96
|
+
context_node = doc.at_css "div"
|
97
|
+
nodeset = context_node.parse("<div </div>")
|
98
|
+
|
99
|
+
assert_equal 1, doc.errors.length
|
99
100
|
assert_equal 1, nodeset.length
|
101
|
+
assert_equal "<div></div>", nodeset.to_s
|
100
102
|
end
|
101
103
|
|
102
104
|
def test_node_context_parsing_of_malformed_html_fragment_with_recover_is_corrected
|
@@ -105,9 +107,10 @@ module Nokogiri
|
|
105
107
|
nodeset = context_node.parse("<div </div>") do |options|
|
106
108
|
options.recover
|
107
109
|
end
|
108
|
-
|
110
|
+
|
109
111
|
assert_equal 1, doc.errors.length
|
110
112
|
assert_equal 1, nodeset.length
|
113
|
+
assert_equal "<div></div>", nodeset.to_s
|
111
114
|
end
|
112
115
|
|
113
116
|
def test_node_context_parsing_of_malformed_html_fragment_without_recover_is_not_corrected
|
@@ -116,6 +119,7 @@ module Nokogiri
|
|
116
119
|
nodeset = context_node.parse("<div </div>") do |options|
|
117
120
|
options.strict
|
118
121
|
end
|
122
|
+
|
119
123
|
assert_equal 1, doc.errors.length
|
120
124
|
assert_equal 0, nodeset.length
|
121
125
|
end
|
@@ -125,7 +129,7 @@ module Nokogiri
|
|
125
129
|
@xml.root.parse('<hello>')
|
126
130
|
assert(error_count < @xml.errors.length, "errors should have increased")
|
127
131
|
end
|
128
|
-
|
132
|
+
|
129
133
|
def test_parse_error_on_fragment_with_empty_document
|
130
134
|
doc = Document.new
|
131
135
|
fragment = DocumentFragment.new(doc, '<foo><bar/></foo>')
|
@@ -690,14 +694,7 @@ module Nokogiri
|
|
690
694
|
end
|
691
695
|
|
692
696
|
def test_find_by_css_class_with_nonstandard_whitespace
|
693
|
-
doc = Nokogiri::HTML '
|
694
|
-
<html>
|
695
|
-
<body>
|
696
|
-
<div class="a
|
697
|
-
b"></div>
|
698
|
-
</body>
|
699
|
-
</html>
|
700
|
-
'
|
697
|
+
doc = Nokogiri::HTML "<div class='a\nb'></div>"
|
701
698
|
assert_not_nil doc.at_css(".b")
|
702
699
|
end
|
703
700
|
|
@@ -418,6 +418,20 @@ module Nokogiri
|
|
418
418
|
assert_equal "text nodefoo <p></p> bar", xml.root.children.to_html
|
419
419
|
end
|
420
420
|
|
421
|
+
it 'should append a text node before an existing non text node' do
|
422
|
+
xml = Nokogiri::XML %Q(<root><p>foo</p><p>bar</p></root>)
|
423
|
+
p = xml.at_css 'p'
|
424
|
+
p.add_next_sibling 'a'
|
425
|
+
assert_equal '<root><p>foo</p>a<p>bar</p></root>', xml.root.to_s
|
426
|
+
end
|
427
|
+
|
428
|
+
it 'should append a text node before an existing text node' do
|
429
|
+
xml = Nokogiri::XML %Q(<root><p>foo</p>after</root>)
|
430
|
+
p = xml.at_css 'p'
|
431
|
+
p.add_next_sibling 'x'
|
432
|
+
assert_equal '<root><p>foo</p>xafter</root>', xml.root.to_s
|
433
|
+
end
|
434
|
+
|
421
435
|
describe "with a text node after" do
|
422
436
|
it "should not defensively dup the 'after' text node" do
|
423
437
|
xml = Nokogiri::XML %Q(<root>before<p></p>after</root>)
|
data/test/xml/test_node_set.rb
CHANGED
@@ -252,12 +252,14 @@ module Nokogiri
|
|
252
252
|
assert_equal 2, node_set.first(2).length
|
253
253
|
end
|
254
254
|
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
255
|
+
[:dup, :clone].each do |method_name|
|
256
|
+
define_method "test_#{method_name}" do
|
257
|
+
assert node_set = @xml.xpath('//employee')
|
258
|
+
duplicate = node_set.send(method_name)
|
259
|
+
assert_equal node_set.length, duplicate.length
|
260
|
+
node_set.zip(duplicate).each do |a,b|
|
261
|
+
assert_equal a, b
|
262
|
+
end
|
261
263
|
end
|
262
264
|
end
|
263
265
|
|
data/test/xml/test_reader.rb
CHANGED
@@ -185,6 +185,25 @@ module Nokogiri
|
|
185
185
|
assert 1, reader.errors.length
|
186
186
|
end
|
187
187
|
|
188
|
+
def test_errors_is_an_array
|
189
|
+
reader = Nokogiri::XML::Reader(StringIO.new('&bogus;'))
|
190
|
+
assert_raises(SyntaxError) {
|
191
|
+
reader.read
|
192
|
+
}
|
193
|
+
assert_equal [SyntaxError], reader.errors.map(&:class)
|
194
|
+
end
|
195
|
+
|
196
|
+
def test_pushing_to_non_array_raises_TypeError
|
197
|
+
skip "TODO: JRuby ext does not internally call `errors`" if Nokogiri.jruby?
|
198
|
+
reader = Nokogiri::XML::Reader(StringIO.new('&bogus;'))
|
199
|
+
def reader.errors
|
200
|
+
1
|
201
|
+
end
|
202
|
+
assert_raises(TypeError) {
|
203
|
+
reader.read
|
204
|
+
}
|
205
|
+
end
|
206
|
+
|
188
207
|
def test_attributes?
|
189
208
|
reader = Nokogiri::XML::Reader.from_memory(<<-eoxml)
|
190
209
|
<x xmlns:tenderlove='http://tenderlovemaking.com/'>
|
@@ -8,23 +8,29 @@ module Nokogiri
|
|
8
8
|
assert_equal 'hello', error.message
|
9
9
|
end
|
10
10
|
|
11
|
-
def
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
11
|
+
def test_line_column_level_libxml
|
12
|
+
skip unless Nokogiri.uses_libxml?
|
13
|
+
|
14
|
+
bad_doc = Nokogiri::XML('test')
|
15
|
+
error = bad_doc.errors.first
|
16
|
+
|
17
|
+
assert_equal "1:1: FATAL: Start tag expected, '<' not found", error.message
|
18
|
+
assert_equal 1, error.line
|
19
|
+
assert_equal 1, error.column
|
20
|
+
assert_equal 3, error.level
|
17
21
|
end
|
18
22
|
|
19
|
-
def
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
23
|
+
def test_line_column_level_jruby
|
24
|
+
skip unless Nokogiri.jruby?
|
25
|
+
|
26
|
+
bad_doc = Nokogiri::XML('<root>test</bar>')
|
27
|
+
error = bad_doc.errors.first
|
28
|
+
|
29
|
+
assert_equal "The element type \"root\" must be terminated by the matching end-tag \"</root>\".", error.message
|
30
|
+
assert_equal nil, error.line
|
31
|
+
assert_equal nil, error.column
|
32
|
+
assert_equal nil, error.level
|
33
|
+
end
|
28
34
|
end
|
29
35
|
end
|
30
36
|
end
|
@@ -223,12 +223,12 @@ module Nokogiri
|
|
223
223
|
right_space.add_next_sibling(left_space)
|
224
224
|
assert_equal left_space, right_space
|
225
225
|
end
|
226
|
-
|
226
|
+
|
227
227
|
def test_add_next_sibling_to_root_raises_exception
|
228
228
|
xml = Nokogiri::XML(<<-eoxml)
|
229
229
|
<root />
|
230
230
|
eoxml
|
231
|
-
|
231
|
+
|
232
232
|
node = Nokogiri::XML::Node.new 'child', xml
|
233
233
|
|
234
234
|
assert_raise(ArgumentError) do
|
@@ -240,7 +240,7 @@ module Nokogiri
|
|
240
240
|
xml = Nokogiri::XML(<<-eoxml)
|
241
241
|
<root />
|
242
242
|
eoxml
|
243
|
-
|
243
|
+
|
244
244
|
node = Nokogiri::XML::Node.new 'child', xml
|
245
245
|
|
246
246
|
assert_raise(ArgumentError) do
|
@@ -248,17 +248,60 @@ module Nokogiri
|
|
248
248
|
end
|
249
249
|
end
|
250
250
|
|
251
|
-
def
|
251
|
+
def test_document_root_can_have_a_comment_sibling_via_add_child
|
252
|
+
doc = Nokogiri::XML "<root>foo</root>"
|
253
|
+
comment = Nokogiri::XML::Comment.new(doc, "this is a comment")
|
254
|
+
doc.add_child comment
|
255
|
+
assert_equal [doc.root, comment], doc.children.to_a
|
256
|
+
end
|
257
|
+
|
258
|
+
def test_document_root_can_have_a_comment_sibling_via_prepend_child
|
259
|
+
doc = Nokogiri::XML "<root>foo</root>"
|
260
|
+
comment = Nokogiri::XML::Comment.new(doc, "this is a comment")
|
261
|
+
doc.prepend_child comment
|
262
|
+
assert_equal [comment, doc.root], doc.children.to_a
|
263
|
+
end
|
264
|
+
|
265
|
+
def test_document_root_can_have_a_comment_sibling_via_add_next_sibling
|
266
|
+
doc = Nokogiri::XML "<root>foo</root>"
|
267
|
+
comment = Nokogiri::XML::Comment.new(doc, "this is a comment")
|
268
|
+
doc.root.add_next_sibling comment
|
269
|
+
assert_equal [doc.root, comment], doc.children.to_a
|
270
|
+
end
|
271
|
+
|
272
|
+
def test_document_root_can_have_a_comment_sibling_via_add_previous_sibling
|
273
|
+
doc = Nokogiri::XML "<root>foo</root>"
|
274
|
+
comment = Nokogiri::XML::Comment.new(doc, "this is a comment")
|
275
|
+
doc.root.add_previous_sibling comment
|
276
|
+
assert_equal [comment, doc.root], doc.children.to_a
|
277
|
+
end
|
278
|
+
|
279
|
+
def test_document_root_can_have_a_processing_instruction_sibling_via_add_child
|
252
280
|
doc = Nokogiri::XML "<root>foo</root>"
|
253
281
|
pi = Nokogiri::XML::ProcessingInstruction.new(doc, "xml-stylesheet", %q{type="text/xsl" href="foo.xsl"})
|
254
|
-
doc.
|
255
|
-
|
256
|
-
|
282
|
+
doc.add_child pi
|
283
|
+
assert_equal [doc.root, pi], doc.children.to_a
|
284
|
+
end
|
285
|
+
|
286
|
+
def test_document_root_can_have_a_processing_instruction_sibling_via_prepend_child
|
287
|
+
doc = Nokogiri::XML "<root>foo</root>"
|
288
|
+
pi = Nokogiri::XML::ProcessingInstruction.new(doc, "xml-stylesheet", %q{type="text/xsl" href="foo.xsl"})
|
289
|
+
doc.prepend_child pi
|
290
|
+
assert_equal [pi, doc.root], doc.children.to_a
|
291
|
+
end
|
257
292
|
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
293
|
+
def test_document_root_can_have_a_processing_instruction_sibling_via_add_next_sibling
|
294
|
+
doc = Nokogiri::XML "<root>foo</root>"
|
295
|
+
pi = Nokogiri::XML::ProcessingInstruction.new(doc, "xml-stylesheet", %q{type="text/xsl" href="foo.xsl"})
|
296
|
+
doc.root.add_next_sibling pi
|
297
|
+
assert_equal [doc.root, pi], doc.children.to_a
|
298
|
+
end
|
299
|
+
|
300
|
+
def test_document_root_can_have_a_processing_instruction_sibling_via_add_previous_sibling
|
301
|
+
doc = Nokogiri::XML "<root>foo</root>"
|
302
|
+
pi = Nokogiri::XML::ProcessingInstruction.new(doc, "xml-stylesheet", %q{type="text/xsl" href="foo.xsl"})
|
303
|
+
doc.root.add_previous_sibling pi
|
304
|
+
assert_equal [pi, doc.root], doc.children.to_a
|
262
305
|
end
|
263
306
|
|
264
307
|
def test_find_by_css_with_tilde_eql
|
data/test/xml/test_xpath.rb
CHANGED
@@ -56,6 +56,10 @@ module Nokogiri
|
|
56
56
|
def value
|
57
57
|
123.456
|
58
58
|
end
|
59
|
+
|
60
|
+
def anint
|
61
|
+
1230456
|
62
|
+
end
|
59
63
|
}.new
|
60
64
|
end
|
61
65
|
|
@@ -200,12 +204,7 @@ module Nokogiri
|
|
200
204
|
end
|
201
205
|
stop = Time.now
|
202
206
|
elapsed_time = stop - start
|
203
|
-
time_limit =
|
204
|
-
if ENV['TRAVIS'] && ENV['CI']
|
205
|
-
20 # Travis CI box slowness
|
206
|
-
else
|
207
|
-
10
|
208
|
-
end
|
207
|
+
time_limit = 20
|
209
208
|
assert_send [elapsed_time, :<, time_limit], "XPath is taking too long"
|
210
209
|
end
|
211
210
|
|
@@ -346,6 +345,15 @@ module Nokogiri
|
|
346
345
|
assert_equal 123.456, value
|
347
346
|
end
|
348
347
|
|
348
|
+
def test_custom_xpath_without_arguments_returning_int
|
349
|
+
if Nokogiri.uses_libxml?
|
350
|
+
value = @xml.xpath('anint()', @handler)
|
351
|
+
else
|
352
|
+
value = @xml.xpath('nokogiri:anint()', @ns, @handler)
|
353
|
+
end
|
354
|
+
assert_equal 1230456, value
|
355
|
+
end
|
356
|
+
|
349
357
|
def test_custom_xpath_with_bullshit_arguments
|
350
358
|
xml = %q{<foo> </foo>}
|
351
359
|
doc = Nokogiri::XML.parse(xml)
|
@@ -440,6 +448,15 @@ XML
|
|
440
448
|
assert_equal 1, sections.size
|
441
449
|
assert_equal "[TEXT_INSIDE_SECTION]", sections.first.text
|
442
450
|
end
|
451
|
+
|
452
|
+
def test_xpath_syntax_error
|
453
|
+
doc = Nokogiri::XML('<ns1:Root></ns1:Root>')
|
454
|
+
begin
|
455
|
+
doc.xpath('//ns1:Root')
|
456
|
+
rescue => e
|
457
|
+
assert_equal false, e.message.include?('0:0')
|
458
|
+
end
|
459
|
+
end
|
443
460
|
end
|
444
461
|
end
|
445
462
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Aaron Patterson
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2017-05
|
15
|
+
date: 2017-06-05 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
requirements:
|
34
34
|
- - ~>
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.
|
36
|
+
version: 1.3.0
|
37
37
|
name: hoe-debugging
|
38
38
|
prerelease: false
|
39
39
|
type: :development
|
@@ -41,7 +41,7 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 1.
|
44
|
+
version: 1.3.0
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
@@ -89,7 +89,7 @@ dependencies:
|
|
89
89
|
requirements:
|
90
90
|
- - ~>
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
92
|
+
version: '12.0'
|
93
93
|
name: rake
|
94
94
|
prerelease: false
|
95
95
|
type: :development
|
@@ -97,13 +97,13 @@ dependencies:
|
|
97
97
|
requirements:
|
98
98
|
- - ~>
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version:
|
100
|
+
version: '12.0'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
104
|
- - ~>
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version: 0.
|
106
|
+
version: 1.0.3
|
107
107
|
name: rake-compiler
|
108
108
|
prerelease: false
|
109
109
|
type: :development
|
@@ -111,13 +111,13 @@ dependencies:
|
|
111
111
|
requirements:
|
112
112
|
- - ~>
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version: 0.
|
114
|
+
version: 1.0.3
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
requirement: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
119
119
|
- !ruby/object:Gem::Version
|
120
|
-
version: 0.
|
120
|
+
version: 0.6.0
|
121
121
|
name: rake-compiler-dock
|
122
122
|
prerelease: false
|
123
123
|
type: :development
|
@@ -125,7 +125,7 @@ dependencies:
|
|
125
125
|
requirements:
|
126
126
|
- - ~>
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version: 0.
|
128
|
+
version: 0.6.0
|
129
129
|
- !ruby/object:Gem::Dependency
|
130
130
|
requirement: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
@@ -154,6 +154,20 @@ dependencies:
|
|
154
154
|
- - ~>
|
155
155
|
- !ruby/object:Gem::Version
|
156
156
|
version: 1.0.5
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
requirement: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ~>
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0.11'
|
163
|
+
name: concourse
|
164
|
+
prerelease: false
|
165
|
+
type: :development
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ~>
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0.11'
|
157
171
|
- !ruby/object:Gem::Dependency
|
158
172
|
requirement: !ruby/object:Gem::Requirement
|
159
173
|
requirements:
|
@@ -199,7 +213,8 @@ extra_rdoc_files:
|
|
199
213
|
- CHANGELOG.md
|
200
214
|
- CONTRIBUTING.md
|
201
215
|
- C_CODING_STYLE.rdoc
|
202
|
-
- LICENSE.
|
216
|
+
- LICENSE-DEPENDENCIES.md
|
217
|
+
- LICENSE.md
|
203
218
|
- Manifest.txt
|
204
219
|
- README.md
|
205
220
|
- ROADMAP.md
|
@@ -250,7 +265,9 @@ files:
|
|
250
265
|
- CONTRIBUTING.md
|
251
266
|
- C_CODING_STYLE.rdoc
|
252
267
|
- Gemfile
|
253
|
-
-
|
268
|
+
- Gemfile-libxml-ruby
|
269
|
+
- LICENSE-DEPENDENCIES.md
|
270
|
+
- LICENSE.md
|
254
271
|
- Manifest.txt
|
255
272
|
- README.md
|
256
273
|
- ROADMAP.md
|
@@ -297,7 +314,6 @@ files:
|
|
297
314
|
- ext/java/nokogiri/internals/HtmlDomParserContext.java
|
298
315
|
- ext/java/nokogiri/internals/IgnoreSchemaErrorsErrorHandler.java
|
299
316
|
- ext/java/nokogiri/internals/NokogiriBlockingQueueInputStream.java
|
300
|
-
- ext/java/nokogiri/internals/NokogiriDocumentCache.java
|
301
317
|
- ext/java/nokogiri/internals/NokogiriDomParser.java
|
302
318
|
- ext/java/nokogiri/internals/NokogiriEncodingReaderWrapper.java
|
303
319
|
- ext/java/nokogiri/internals/NokogiriEntityResolver.java
|
@@ -318,10 +334,10 @@ files:
|
|
318
334
|
- ext/java/nokogiri/internals/SaveContextVisitor.java
|
319
335
|
- ext/java/nokogiri/internals/SchemaErrorHandler.java
|
320
336
|
- ext/java/nokogiri/internals/UncloseableInputStream.java
|
337
|
+
- ext/java/nokogiri/internals/XalanDTMManagerPatch.java
|
321
338
|
- ext/java/nokogiri/internals/XmlDeclHandler.java
|
322
339
|
- ext/java/nokogiri/internals/XmlDomParserContext.java
|
323
340
|
- ext/java/nokogiri/internals/XmlSaxParser.java
|
324
|
-
- ext/java/nokogiri/internals/XsltExtensionFunction.java
|
325
341
|
- ext/java/nokogiri/internals/c14n/AttrCompare.java
|
326
342
|
- ext/java/nokogiri/internals/c14n/C14nHelper.java
|
327
343
|
- ext/java/nokogiri/internals/c14n/CanonicalFilter.java
|
@@ -349,6 +365,7 @@ files:
|
|
349
365
|
- ext/java/nokogiri/internals/c14n/NodeFilter.java
|
350
366
|
- ext/java/nokogiri/internals/c14n/UtfHelpper.java
|
351
367
|
- ext/java/nokogiri/internals/c14n/XMLUtils.java
|
368
|
+
- ext/java/org/apache/xml/dtm/ref/dom2dtm/DOM2DTMExt.java
|
352
369
|
- ext/nokogiri/depend
|
353
370
|
- ext/nokogiri/extconf.rb
|
354
371
|
- ext/nokogiri/html_document.c
|
@@ -497,10 +514,6 @@ files:
|
|
497
514
|
- patches/libxslt/0002-Check-for-integer-overflow-in-xsltAddTextString.patch
|
498
515
|
- patches/sort-patches-by-date
|
499
516
|
- suppressions/README.txt
|
500
|
-
- suppressions/nokogiri_ree-1.8.7.358.supp
|
501
|
-
- suppressions/nokogiri_ruby-1.8.7.370.supp
|
502
|
-
- suppressions/nokogiri_ruby-1.9.2.320.supp
|
503
|
-
- suppressions/nokogiri_ruby-1.9.3.327.supp
|
504
517
|
- tasks/test.rb
|
505
518
|
- test/css/test_nthiness.rb
|
506
519
|
- test/css/test_parser.rb
|
@@ -610,7 +623,6 @@ files:
|
|
610
623
|
- test/xml/test_xpath.rb
|
611
624
|
- test/xslt/test_custom_functions.rb
|
612
625
|
- test/xslt/test_exception_handling.rb
|
613
|
-
- test_all
|
614
626
|
homepage: http://nokogiri.org
|
615
627
|
licenses:
|
616
628
|
- MIT
|
@@ -625,7 +637,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
625
637
|
requirements:
|
626
638
|
- - '>='
|
627
639
|
- !ruby/object:Gem::Version
|
628
|
-
version:
|
640
|
+
version: 1.9.3
|
629
641
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
630
642
|
requirements:
|
631
643
|
- - '>='
|