nokogiri 1.4.1-x86-mingw32 → 1.4.2.1-x86-mingw32
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.
- data/CHANGELOG.ja.rdoc +45 -0
- data/CHANGELOG.rdoc +53 -1
- data/Manifest.txt +3 -3
- data/README.ja.rdoc +1 -1
- data/README.rdoc +11 -5
- data/Rakefile +13 -79
- data/ext/nokogiri/extconf.rb +25 -74
- data/ext/nokogiri/html_document.c +17 -8
- data/ext/nokogiri/html_element_description.c +20 -16
- data/ext/nokogiri/html_entity_lookup.c +2 -2
- data/ext/nokogiri/html_sax_parser_context.c +10 -8
- data/ext/nokogiri/nokogiri.c +0 -1
- data/ext/nokogiri/nokogiri.h +33 -28
- data/ext/nokogiri/xml_attr.c +7 -5
- data/ext/nokogiri/xml_attribute_decl.c +5 -2
- data/ext/nokogiri/xml_cdata.c +4 -2
- data/ext/nokogiri/xml_comment.c +4 -2
- data/ext/nokogiri/xml_document.c +93 -15
- data/ext/nokogiri/xml_document.h +0 -1
- data/ext/nokogiri/xml_document_fragment.c +4 -2
- data/ext/nokogiri/xml_dtd.c +18 -8
- data/ext/nokogiri/xml_element_content.c +2 -2
- data/ext/nokogiri/xml_entity_decl.c +15 -2
- data/ext/nokogiri/xml_entity_reference.c +4 -2
- data/ext/nokogiri/xml_io.c +1 -1
- data/ext/nokogiri/xml_namespace.c +5 -3
- data/ext/nokogiri/xml_node.c +353 -114
- data/ext/nokogiri/xml_node_set.c +35 -22
- data/ext/nokogiri/xml_node_set.h +1 -1
- data/ext/nokogiri/xml_processing_instruction.c +4 -2
- data/ext/nokogiri/xml_reader.c +119 -47
- data/ext/nokogiri/xml_relax_ng.c +21 -12
- data/ext/nokogiri/xml_sax_parser.c +6 -3
- data/ext/nokogiri/xml_sax_parser.h +13 -17
- data/ext/nokogiri/xml_sax_parser_context.c +8 -6
- data/ext/nokogiri/xml_sax_push_parser.c +7 -6
- data/ext/nokogiri/xml_schema.c +62 -13
- data/ext/nokogiri/xml_syntax_error.c +18 -12
- data/ext/nokogiri/xml_syntax_error.h +1 -1
- data/ext/nokogiri/xml_text.c +4 -2
- data/ext/nokogiri/xml_xpath_context.c +60 -23
- data/ext/nokogiri/xslt_stylesheet.c +14 -3
- data/lib/nokogiri.rb +17 -0
- data/lib/nokogiri/1.8/nokogiri.so +0 -0
- data/lib/nokogiri/1.9/nokogiri.so +0 -0
- data/lib/nokogiri/css/generated_parser.rb +72 -62
- data/lib/nokogiri/css/generated_tokenizer.rb +23 -23
- data/lib/nokogiri/css/parser.y +3 -1
- data/lib/nokogiri/css/tokenizer.rex +3 -3
- data/lib/nokogiri/css/xpath_visitor.rb +8 -3
- data/lib/nokogiri/ffi/html/sax/parser_context.rb +3 -3
- data/lib/nokogiri/ffi/libxml.rb +16 -2
- data/lib/nokogiri/ffi/structs/common_node.rb +15 -3
- data/lib/nokogiri/ffi/structs/xml_document.rb +13 -4
- data/lib/nokogiri/ffi/structs/xml_xpath_context.rb +3 -2
- data/lib/nokogiri/ffi/weak_bucket.rb +40 -0
- data/lib/nokogiri/ffi/xml/document.rb +27 -0
- data/lib/nokogiri/ffi/xml/entity_decl.rb +9 -0
- data/lib/nokogiri/ffi/xml/node.rb +142 -61
- data/lib/nokogiri/ffi/xml/node_set.rb +15 -12
- data/lib/nokogiri/ffi/xml/reader.rb +5 -0
- data/lib/nokogiri/ffi/xml/schema.rb +17 -0
- data/lib/nokogiri/ffi/xml/syntax_error.rb +4 -4
- data/lib/nokogiri/ffi/xml/xpath.rb +0 -10
- data/lib/nokogiri/ffi/xml/xpath_context.rb +22 -9
- data/lib/nokogiri/ffi/xslt/stylesheet.rb +3 -0
- data/lib/nokogiri/html/document.rb +5 -3
- data/lib/nokogiri/html/document_fragment.rb +28 -7
- data/lib/nokogiri/version.rb +6 -2
- data/lib/nokogiri/version_warning.rb +6 -3
- data/lib/nokogiri/xml.rb +1 -1
- data/lib/nokogiri/xml/builder.rb +35 -22
- data/lib/nokogiri/xml/document.rb +44 -12
- data/lib/nokogiri/xml/document_fragment.rb +16 -12
- data/lib/nokogiri/xml/entity_decl.rb +4 -0
- data/lib/nokogiri/xml/node.rb +152 -95
- data/lib/nokogiri/xml/node_set.rb +2 -1
- data/lib/nokogiri/xml/sax/push_parser.rb +1 -1
- data/lib/nokogiri/xml/schema.rb +1 -5
- data/lib/nokogiri/xml/syntax_error.rb +4 -0
- data/lib/nokogiri/xml/text.rb +9 -0
- data/lib/nokogiri/xml/xpath/syntax_error.rb +3 -0
- data/tasks/cross_compile.rb +158 -0
- data/tasks/test.rb +0 -6
- data/test/css/test_xpath_visitor.rb +9 -0
- data/test/helper.rb +49 -11
- data/test/html/sax/test_parser.rb +11 -1
- data/test/html/test_document.rb +8 -0
- data/test/html/test_document_fragment.rb +14 -2
- data/test/html/test_element_description.rb +5 -1
- data/test/html/test_node.rb +5 -66
- data/test/test_reader.rb +28 -0
- data/test/test_xslt_transforms.rb +14 -0
- data/test/xml/test_builder.rb +43 -0
- data/test/xml/test_cdata.rb +12 -0
- data/test/xml/test_document.rb +74 -39
- data/test/xml/test_document_fragment.rb +36 -0
- data/test/xml/test_entity_decl.rb +37 -0
- data/test/xml/test_node.rb +192 -65
- data/test/xml/test_node_reparenting.rb +253 -236
- data/test/xml/test_node_set.rb +67 -0
- data/test/xml/test_text.rb +8 -0
- data/test/xml/test_xpath.rb +32 -0
- metadata +151 -79
- data/ext/nokogiri/iconv.dll +0 -0
- data/ext/nokogiri/libexslt.dll +0 -0
- data/ext/nokogiri/libxml2.dll +0 -0
- data/ext/nokogiri/libxslt.dll +0 -0
- data/ext/nokogiri/xml_xpath.c +0 -53
- data/ext/nokogiri/xml_xpath.h +0 -11
- data/ext/nokogiri/zlib1.dll +0 -0
- data/lib/nokogiri/xml/fragment_handler.rb +0 -79
data/test/xml/test_node_set.rb
CHANGED
@@ -459,6 +459,15 @@ module Nokogiri
|
|
459
459
|
assert_equal employees.length, employees[0, employees.length].length
|
460
460
|
end
|
461
461
|
|
462
|
+
def test_slice_waaaaaay_off_the_end
|
463
|
+
xml = Nokogiri::XML::Builder.new {
|
464
|
+
root { 100.times { div } }
|
465
|
+
}.doc
|
466
|
+
nodes = xml.css "div"
|
467
|
+
assert_equal 1, nodes.slice(99, 100_000).length
|
468
|
+
assert_equal 0, nodes.slice(100, 100_000).length
|
469
|
+
end
|
470
|
+
|
462
471
|
def test_array_slice_with_start_and_end
|
463
472
|
employees = @xml.search("//employee")
|
464
473
|
assert_equal [employees[1], employees[2], employees[3]], employees[1,3].to_a
|
@@ -577,6 +586,64 @@ module Nokogiri
|
|
577
586
|
|
578
587
|
assert_equal children, children.reverse.reverse
|
579
588
|
end
|
589
|
+
|
590
|
+
def test_node_set_dup_result_has_document_and_is_decorated
|
591
|
+
x = Module.new do
|
592
|
+
def awesome! ; end
|
593
|
+
end
|
594
|
+
util_decorate(@xml, x)
|
595
|
+
node_set = @xml.css("address")
|
596
|
+
new_set = node_set.dup
|
597
|
+
assert_equal node_set.document, new_set.document
|
598
|
+
assert new_set.respond_to?(:awesome!)
|
599
|
+
end
|
600
|
+
|
601
|
+
def test_node_set_union_result_has_document_and_is_decorated
|
602
|
+
x = Module.new do
|
603
|
+
def awesome! ; end
|
604
|
+
end
|
605
|
+
util_decorate(@xml, x)
|
606
|
+
node_set1 = @xml.css("address")
|
607
|
+
node_set2 = @xml.css("address")
|
608
|
+
new_set = node_set1 | node_set2
|
609
|
+
assert_equal node_set1.document, new_set.document
|
610
|
+
assert new_set.respond_to?(:awesome!)
|
611
|
+
end
|
612
|
+
|
613
|
+
def test_node_set_intersection_result_has_document_and_is_decorated
|
614
|
+
x = Module.new do
|
615
|
+
def awesome! ; end
|
616
|
+
end
|
617
|
+
util_decorate(@xml, x)
|
618
|
+
node_set1 = @xml.css("address")
|
619
|
+
node_set2 = @xml.css("address")
|
620
|
+
new_set = node_set1 & node_set2
|
621
|
+
assert_equal node_set1.document, new_set.document
|
622
|
+
assert new_set.respond_to?(:awesome!)
|
623
|
+
end
|
624
|
+
|
625
|
+
def test_node_set_difference_result_has_document_and_is_decorated
|
626
|
+
x = Module.new do
|
627
|
+
def awesome! ; end
|
628
|
+
end
|
629
|
+
util_decorate(@xml, x)
|
630
|
+
node_set1 = @xml.css("address")
|
631
|
+
node_set2 = @xml.css("address")
|
632
|
+
new_set = node_set1 - node_set2
|
633
|
+
assert_equal node_set1.document, new_set.document
|
634
|
+
assert new_set.respond_to?(:awesome!)
|
635
|
+
end
|
636
|
+
|
637
|
+
def test_node_set_slice_result_has_document_and_is_decorated
|
638
|
+
x = Module.new do
|
639
|
+
def awesome! ; end
|
640
|
+
end
|
641
|
+
util_decorate(@xml, x)
|
642
|
+
node_set = @xml.css("address")
|
643
|
+
new_set = node_set[0..-1]
|
644
|
+
assert_equal node_set.document, new_set.document
|
645
|
+
assert new_set.respond_to?(:awesome!)
|
646
|
+
end
|
580
647
|
end
|
581
648
|
end
|
582
649
|
end
|
data/test/xml/test_text.rb
CHANGED
@@ -25,6 +25,14 @@ module Nokogiri
|
|
25
25
|
node = Nokogiri::XML::Element.new('foo', doc)
|
26
26
|
text = Text.new('hello world', node)
|
27
27
|
end
|
28
|
+
|
29
|
+
def test_content=
|
30
|
+
node = Text.new('foo', Document.new)
|
31
|
+
assert_equal('foo', node.content)
|
32
|
+
node.content = '& <foo> &'
|
33
|
+
assert_equal('& <foo> &', node.content)
|
34
|
+
assert_equal('& <foo> &amp;', node.to_xml)
|
35
|
+
end
|
28
36
|
end
|
29
37
|
end
|
30
38
|
end
|
data/test/xml/test_xpath.rb
CHANGED
@@ -27,9 +27,30 @@ module Nokogiri
|
|
27
27
|
def my_filter set, attribute, value
|
28
28
|
set.find_all { |x| x[attribute] == value }
|
29
29
|
end
|
30
|
+
|
31
|
+
def saves_node_set node_set
|
32
|
+
@things = node_set
|
33
|
+
end
|
30
34
|
}.new
|
31
35
|
end
|
32
36
|
|
37
|
+
def test_unknown_attribute
|
38
|
+
assert_equal 0, @xml.xpath('//employee[@id="asdfasdf"]/@fooo').length
|
39
|
+
assert_nil @xml.xpath('//employee[@id="asdfasdf"]/@fooo')[0]
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_boolean
|
43
|
+
assert_equal false, @xml.xpath('1 = 2')
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_number
|
47
|
+
assert_equal 2, @xml.xpath('1 + 1')
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_string
|
51
|
+
assert_equal 'foo', @xml.xpath('concat("fo", "o")')
|
52
|
+
end
|
53
|
+
|
33
54
|
def test_css_search_uses_custom_selectors_with_arguments
|
34
55
|
set = @xml.css('employee > address:my_filter("domestic", "Yes")', @handler)
|
35
56
|
assert set.length > 0
|
@@ -95,6 +116,17 @@ module Nokogiri
|
|
95
116
|
assert_equal(set.to_a, @handler.things.flatten)
|
96
117
|
end
|
97
118
|
|
119
|
+
def test_custom_xpath_handler_is_passed_a_decorated_node_set
|
120
|
+
x = Module.new do
|
121
|
+
def awesome! ; end
|
122
|
+
end
|
123
|
+
util_decorate(@xml, x)
|
124
|
+
set = @xml.xpath('//employee/name')
|
125
|
+
@xml.xpath('//employee[saves_node_set(name)]', @handler)
|
126
|
+
assert_equal @xml, @handler.things.document
|
127
|
+
assert @handler.things.respond_to?(:awesome!)
|
128
|
+
end
|
129
|
+
|
98
130
|
def test_code_that_invokes_OP_RESET_inside_libxml2
|
99
131
|
doc = "<html><body id='foo'><foo>hi</foo></body></html>"
|
100
132
|
xpath = 'id("foo")//foo'
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 4
|
8
|
+
- 2
|
9
|
+
- 1
|
10
|
+
version: 1.4.2.1
|
5
11
|
platform: x86-mingw32
|
6
12
|
authors:
|
7
13
|
- Aaron Patterson
|
@@ -10,49 +16,87 @@ autorequire:
|
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
18
|
|
13
|
-
date:
|
19
|
+
date: 2010-06-02 00:00:00 -07:00
|
14
20
|
default_executable:
|
15
21
|
dependencies:
|
16
22
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
23
|
+
name: rubyforge
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 2
|
31
|
+
- 0
|
32
|
+
- 4
|
33
|
+
version: 2.0.4
|
18
34
|
type: :development
|
19
|
-
|
20
|
-
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: racc
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
21
40
|
requirements:
|
22
41
|
- - ">="
|
23
42
|
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
24
45
|
version: "0"
|
25
|
-
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id002
|
26
48
|
- !ruby/object:Gem::Dependency
|
27
49
|
name: rexical
|
28
|
-
|
29
|
-
|
30
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
31
52
|
requirements:
|
32
53
|
- - ">="
|
33
54
|
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
34
57
|
version: "0"
|
35
|
-
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id003
|
36
60
|
- !ruby/object:Gem::Dependency
|
37
61
|
name: rake-compiler
|
38
|
-
|
39
|
-
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
41
64
|
requirements:
|
42
65
|
- - ">="
|
43
66
|
- !ruby/object:Gem::Version
|
67
|
+
segments:
|
68
|
+
- 0
|
44
69
|
version: "0"
|
45
|
-
|
70
|
+
type: :development
|
71
|
+
version_requirements: *id004
|
46
72
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
73
|
+
name: minitest
|
74
|
+
prerelease: false
|
75
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
segments:
|
80
|
+
- 1
|
81
|
+
- 6
|
82
|
+
- 0
|
83
|
+
version: 1.6.0
|
48
84
|
type: :development
|
49
|
-
|
50
|
-
|
85
|
+
version_requirements: *id005
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: hoe
|
88
|
+
prerelease: false
|
89
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
51
90
|
requirements:
|
52
91
|
- - ">="
|
53
92
|
- !ruby/object:Gem::Version
|
54
|
-
|
55
|
-
|
93
|
+
segments:
|
94
|
+
- 2
|
95
|
+
- 6
|
96
|
+
- 0
|
97
|
+
version: 2.6.0
|
98
|
+
type: :development
|
99
|
+
version_requirements: *id006
|
56
100
|
description: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's\n\
|
57
101
|
many features is the ability to search documents via XPath or CSS3 selectors.\n\n\
|
58
102
|
XML is like violence - if it doesn\xE2\x80\x99t solve your problems, you are not using\n\
|
@@ -66,10 +110,42 @@ extensions: []
|
|
66
110
|
|
67
111
|
extra_rdoc_files:
|
68
112
|
- Manifest.txt
|
69
|
-
- README.ja.rdoc
|
70
|
-
- CHANGELOG.rdoc
|
71
113
|
- CHANGELOG.ja.rdoc
|
114
|
+
- CHANGELOG.rdoc
|
115
|
+
- README.ja.rdoc
|
72
116
|
- README.rdoc
|
117
|
+
- ext/nokogiri/html_document.c
|
118
|
+
- ext/nokogiri/html_element_description.c
|
119
|
+
- ext/nokogiri/html_entity_lookup.c
|
120
|
+
- ext/nokogiri/html_sax_parser_context.c
|
121
|
+
- ext/nokogiri/nokogiri.c
|
122
|
+
- ext/nokogiri/xml_attr.c
|
123
|
+
- ext/nokogiri/xml_attribute_decl.c
|
124
|
+
- ext/nokogiri/xml_cdata.c
|
125
|
+
- ext/nokogiri/xml_comment.c
|
126
|
+
- ext/nokogiri/xml_document.c
|
127
|
+
- ext/nokogiri/xml_document_fragment.c
|
128
|
+
- ext/nokogiri/xml_dtd.c
|
129
|
+
- ext/nokogiri/xml_element_content.c
|
130
|
+
- ext/nokogiri/xml_element_decl.c
|
131
|
+
- ext/nokogiri/xml_encoding_handler.c
|
132
|
+
- ext/nokogiri/xml_entity_decl.c
|
133
|
+
- ext/nokogiri/xml_entity_reference.c
|
134
|
+
- ext/nokogiri/xml_io.c
|
135
|
+
- ext/nokogiri/xml_namespace.c
|
136
|
+
- ext/nokogiri/xml_node.c
|
137
|
+
- ext/nokogiri/xml_node_set.c
|
138
|
+
- ext/nokogiri/xml_processing_instruction.c
|
139
|
+
- ext/nokogiri/xml_reader.c
|
140
|
+
- ext/nokogiri/xml_relax_ng.c
|
141
|
+
- ext/nokogiri/xml_sax_parser.c
|
142
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
143
|
+
- ext/nokogiri/xml_sax_push_parser.c
|
144
|
+
- ext/nokogiri/xml_schema.c
|
145
|
+
- ext/nokogiri/xml_syntax_error.c
|
146
|
+
- ext/nokogiri/xml_text.c
|
147
|
+
- ext/nokogiri/xml_xpath_context.c
|
148
|
+
- ext/nokogiri/xslt_stylesheet.c
|
73
149
|
files:
|
74
150
|
- .autotest
|
75
151
|
- CHANGELOG.ja.rdoc
|
@@ -141,8 +217,6 @@ files:
|
|
141
217
|
- ext/nokogiri/xml_syntax_error.h
|
142
218
|
- ext/nokogiri/xml_text.c
|
143
219
|
- ext/nokogiri/xml_text.h
|
144
|
-
- ext/nokogiri/xml_xpath.c
|
145
|
-
- ext/nokogiri/xml_xpath.h
|
146
220
|
- ext/nokogiri/xml_xpath_context.c
|
147
221
|
- ext/nokogiri/xml_xpath_context.h
|
148
222
|
- ext/nokogiri/xslt_stylesheet.c
|
@@ -195,6 +269,7 @@ files:
|
|
195
269
|
- lib/nokogiri/ffi/structs/xml_xpath_object.rb
|
196
270
|
- lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb
|
197
271
|
- lib/nokogiri/ffi/structs/xslt_stylesheet.rb
|
272
|
+
- lib/nokogiri/ffi/weak_bucket.rb
|
198
273
|
- lib/nokogiri/ffi/xml/attr.rb
|
199
274
|
- lib/nokogiri/ffi/xml/attribute_decl.rb
|
200
275
|
- lib/nokogiri/ffi/xml/cdata.rb
|
@@ -244,7 +319,6 @@ files:
|
|
244
319
|
- lib/nokogiri/xml/element_content.rb
|
245
320
|
- lib/nokogiri/xml/element_decl.rb
|
246
321
|
- lib/nokogiri/xml/entity_decl.rb
|
247
|
-
- lib/nokogiri/xml/fragment_handler.rb
|
248
322
|
- lib/nokogiri/xml/namespace.rb
|
249
323
|
- lib/nokogiri/xml/node.rb
|
250
324
|
- lib/nokogiri/xml/node/save_options.rb
|
@@ -264,12 +338,14 @@ files:
|
|
264
338
|
- lib/nokogiri/xml/sax/push_parser.rb
|
265
339
|
- lib/nokogiri/xml/schema.rb
|
266
340
|
- lib/nokogiri/xml/syntax_error.rb
|
341
|
+
- lib/nokogiri/xml/text.rb
|
267
342
|
- lib/nokogiri/xml/xpath.rb
|
268
343
|
- lib/nokogiri/xml/xpath/syntax_error.rb
|
269
344
|
- lib/nokogiri/xml/xpath_context.rb
|
270
345
|
- lib/nokogiri/xslt.rb
|
271
346
|
- lib/nokogiri/xslt/stylesheet.rb
|
272
347
|
- lib/xsd/xmlparser/nokogiri.rb
|
348
|
+
- tasks/cross_compile.rb
|
273
349
|
- tasks/test.rb
|
274
350
|
- test/css/test_nthiness.rb
|
275
351
|
- test/css/test_parser.rb
|
@@ -350,11 +426,6 @@ files:
|
|
350
426
|
- lib/nokogiri/nokogiri.rb
|
351
427
|
- lib/nokogiri/1.8/nokogiri.so
|
352
428
|
- lib/nokogiri/1.9/nokogiri.so
|
353
|
-
- ext/nokogiri/zlib1.dll
|
354
|
-
- ext/nokogiri/iconv.dll
|
355
|
-
- ext/nokogiri/libxml2.dll
|
356
|
-
- ext/nokogiri/libexslt.dll
|
357
|
-
- ext/nokogiri/libxslt.dll
|
358
429
|
has_rdoc: true
|
359
430
|
homepage: http://nokogiri.org
|
360
431
|
licenses: []
|
@@ -365,81 +436,82 @@ rdoc_options:
|
|
365
436
|
- README.rdoc
|
366
437
|
require_paths:
|
367
438
|
- lib
|
368
|
-
- ext
|
369
439
|
required_ruby_version: !ruby/object:Gem::Requirement
|
370
440
|
requirements:
|
371
441
|
- - ">="
|
372
442
|
- !ruby/object:Gem::Version
|
443
|
+
segments:
|
444
|
+
- 0
|
373
445
|
version: "0"
|
374
|
-
version:
|
375
446
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
376
447
|
requirements:
|
377
448
|
- - ">="
|
378
449
|
- !ruby/object:Gem::Version
|
450
|
+
segments:
|
451
|
+
- 0
|
379
452
|
version: "0"
|
380
|
-
version:
|
381
453
|
requirements: []
|
382
454
|
|
383
455
|
rubyforge_project: nokogiri
|
384
|
-
rubygems_version: 1.3.
|
456
|
+
rubygems_version: 1.3.6
|
385
457
|
signing_key:
|
386
458
|
specification_version: 3
|
387
459
|
summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser"
|
388
460
|
test_files:
|
389
|
-
- test/
|
390
|
-
- test/
|
391
|
-
- test/
|
392
|
-
- test/
|
393
|
-
- test/
|
394
|
-
- test/html/test_builder.rb
|
395
|
-
- test/html/test_node.rb
|
396
|
-
- test/html/test_document.rb
|
397
|
-
- test/html/test_node_encoding.rb
|
461
|
+
- test/css/test_nthiness.rb
|
462
|
+
- test/css/test_parser.rb
|
463
|
+
- test/css/test_tokenizer.rb
|
464
|
+
- test/css/test_xpath_visitor.rb
|
465
|
+
- test/ffi/test_document.rb
|
398
466
|
- test/html/sax/test_parser.rb
|
399
467
|
- test/html/sax/test_parser_context.rb
|
468
|
+
- test/html/test_builder.rb
|
469
|
+
- test/html/test_document.rb
|
400
470
|
- test/html/test_document_encoding.rb
|
471
|
+
- test/html/test_document_fragment.rb
|
401
472
|
- test/html/test_element_description.rb
|
402
|
-
- test/
|
403
|
-
- test/
|
404
|
-
- test/
|
405
|
-
- test/
|
406
|
-
- test/
|
407
|
-
- test/
|
408
|
-
- test/
|
409
|
-
- test/
|
410
|
-
- test/
|
411
|
-
- test/
|
412
|
-
- test/
|
413
|
-
- test/xml/test_processing_instruction.rb
|
414
|
-
- test/xml/test_text.rb
|
415
|
-
- test/xml/test_node_attributes.rb
|
416
|
-
- test/xml/test_element_decl.rb
|
417
|
-
- test/xml/test_node.rb
|
418
|
-
- test/xml/test_reader_encoding.rb
|
419
|
-
- test/xml/test_comment.rb
|
473
|
+
- test/html/test_named_characters.rb
|
474
|
+
- test/html/test_node.rb
|
475
|
+
- test/html/test_node_encoding.rb
|
476
|
+
- test/test_convert_xpath.rb
|
477
|
+
- test/test_css_cache.rb
|
478
|
+
- test/test_encoding_handler.rb
|
479
|
+
- test/test_memory_leak.rb
|
480
|
+
- test/test_nokogiri.rb
|
481
|
+
- test/test_reader.rb
|
482
|
+
- test/test_soap4r_sax.rb
|
483
|
+
- test/test_xslt_transforms.rb
|
420
484
|
- test/xml/node/test_save_options.rb
|
421
485
|
- test/xml/node/test_subclass.rb
|
422
|
-
- test/xml/test_xpath.rb
|
423
|
-
- test/xml/test_cdata.rb
|
424
|
-
- test/xml/test_dtd_encoding.rb
|
425
|
-
- test/xml/test_document.rb
|
426
|
-
- test/xml/test_syntax_error.rb
|
427
|
-
- test/xml/test_node_encoding.rb
|
428
|
-
- test/xml/test_relax_ng.rb
|
429
|
-
- test/xml/sax/test_push_parser.rb
|
430
486
|
- test/xml/sax/test_parser.rb
|
431
487
|
- test/xml/sax/test_parser_context.rb
|
432
|
-
- test/xml/
|
488
|
+
- test/xml/sax/test_push_parser.rb
|
489
|
+
- test/xml/test_attr.rb
|
490
|
+
- test/xml/test_attribute_decl.rb
|
491
|
+
- test/xml/test_builder.rb
|
492
|
+
- test/xml/test_cdata.rb
|
493
|
+
- test/xml/test_comment.rb
|
494
|
+
- test/xml/test_document.rb
|
433
495
|
- test/xml/test_document_encoding.rb
|
496
|
+
- test/xml/test_document_fragment.rb
|
497
|
+
- test/xml/test_dtd.rb
|
498
|
+
- test/xml/test_dtd_encoding.rb
|
499
|
+
- test/xml/test_element_content.rb
|
500
|
+
- test/xml/test_element_decl.rb
|
501
|
+
- test/xml/test_entity_decl.rb
|
434
502
|
- test/xml/test_entity_reference.rb
|
503
|
+
- test/xml/test_namespace.rb
|
504
|
+
- test/xml/test_node.rb
|
505
|
+
- test/xml/test_node_attributes.rb
|
506
|
+
- test/xml/test_node_encoding.rb
|
507
|
+
- test/xml/test_node_reparenting.rb
|
508
|
+
- test/xml/test_node_set.rb
|
435
509
|
- test/xml/test_parse_options.rb
|
436
|
-
- test/
|
437
|
-
- test/
|
438
|
-
- test/
|
439
|
-
- test/
|
440
|
-
- test/
|
441
|
-
- test/
|
442
|
-
- test/
|
443
|
-
- test/
|
444
|
-
- test/css/test_tokenizer.rb
|
445
|
-
- test/test_css_cache.rb
|
510
|
+
- test/xml/test_processing_instruction.rb
|
511
|
+
- test/xml/test_reader_encoding.rb
|
512
|
+
- test/xml/test_relax_ng.rb
|
513
|
+
- test/xml/test_schema.rb
|
514
|
+
- test/xml/test_syntax_error.rb
|
515
|
+
- test/xml/test_text.rb
|
516
|
+
- test/xml/test_unparented_node.rb
|
517
|
+
- test/xml/test_xpath.rb
|