nokogiri 1.1.1-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.

Files changed (142) hide show
  1. data/History.ja.txt +99 -0
  2. data/History.txt +99 -0
  3. data/Manifest.txt +141 -0
  4. data/README.ja.txt +100 -0
  5. data/README.txt +109 -0
  6. data/Rakefile +354 -0
  7. data/ext/nokogiri/extconf.rb +93 -0
  8. data/ext/nokogiri/html_document.c +86 -0
  9. data/ext/nokogiri/html_document.h +10 -0
  10. data/ext/nokogiri/html_sax_parser.c +36 -0
  11. data/ext/nokogiri/html_sax_parser.h +11 -0
  12. data/ext/nokogiri/native.c +41 -0
  13. data/ext/nokogiri/native.h +50 -0
  14. data/ext/nokogiri/xml_cdata.c +44 -0
  15. data/ext/nokogiri/xml_cdata.h +9 -0
  16. data/ext/nokogiri/xml_comment.c +42 -0
  17. data/ext/nokogiri/xml_comment.h +9 -0
  18. data/ext/nokogiri/xml_document.c +206 -0
  19. data/ext/nokogiri/xml_document.h +10 -0
  20. data/ext/nokogiri/xml_dtd.c +121 -0
  21. data/ext/nokogiri/xml_dtd.h +8 -0
  22. data/ext/nokogiri/xml_io.c +17 -0
  23. data/ext/nokogiri/xml_io.h +9 -0
  24. data/ext/nokogiri/xml_node.c +727 -0
  25. data/ext/nokogiri/xml_node.h +13 -0
  26. data/ext/nokogiri/xml_node_set.c +118 -0
  27. data/ext/nokogiri/xml_node_set.h +9 -0
  28. data/ext/nokogiri/xml_reader.c +465 -0
  29. data/ext/nokogiri/xml_reader.h +10 -0
  30. data/ext/nokogiri/xml_sax_parser.c +201 -0
  31. data/ext/nokogiri/xml_sax_parser.h +10 -0
  32. data/ext/nokogiri/xml_syntax_error.c +199 -0
  33. data/ext/nokogiri/xml_syntax_error.h +11 -0
  34. data/ext/nokogiri/xml_text.c +40 -0
  35. data/ext/nokogiri/xml_text.h +9 -0
  36. data/ext/nokogiri/xml_xpath.c +53 -0
  37. data/ext/nokogiri/xml_xpath.h +11 -0
  38. data/ext/nokogiri/xml_xpath_context.c +214 -0
  39. data/ext/nokogiri/xml_xpath_context.h +9 -0
  40. data/ext/nokogiri/xslt_stylesheet.c +123 -0
  41. data/ext/nokogiri/xslt_stylesheet.h +9 -0
  42. data/lib/action-nokogiri.rb +30 -0
  43. data/lib/nokogiri.rb +72 -0
  44. data/lib/nokogiri/css.rb +25 -0
  45. data/lib/nokogiri/css/generated_parser.rb +721 -0
  46. data/lib/nokogiri/css/generated_tokenizer.rb +159 -0
  47. data/lib/nokogiri/css/node.rb +97 -0
  48. data/lib/nokogiri/css/parser.rb +64 -0
  49. data/lib/nokogiri/css/parser.y +216 -0
  50. data/lib/nokogiri/css/syntax_error.rb +6 -0
  51. data/lib/nokogiri/css/tokenizer.rb +9 -0
  52. data/lib/nokogiri/css/tokenizer.rex +63 -0
  53. data/lib/nokogiri/css/xpath_visitor.rb +168 -0
  54. data/lib/nokogiri/decorators.rb +2 -0
  55. data/lib/nokogiri/decorators/hpricot.rb +3 -0
  56. data/lib/nokogiri/decorators/hpricot/node.rb +56 -0
  57. data/lib/nokogiri/decorators/hpricot/node_set.rb +54 -0
  58. data/lib/nokogiri/decorators/hpricot/xpath_visitor.rb +28 -0
  59. data/lib/nokogiri/decorators/slop.rb +31 -0
  60. data/lib/nokogiri/hpricot.rb +51 -0
  61. data/lib/nokogiri/html.rb +105 -0
  62. data/lib/nokogiri/html/builder.rb +9 -0
  63. data/lib/nokogiri/html/document.rb +9 -0
  64. data/lib/nokogiri/html/sax/parser.rb +21 -0
  65. data/lib/nokogiri/version.rb +3 -0
  66. data/lib/nokogiri/xml.rb +83 -0
  67. data/lib/nokogiri/xml/after_handler.rb +18 -0
  68. data/lib/nokogiri/xml/attr.rb +10 -0
  69. data/lib/nokogiri/xml/before_handler.rb +33 -0
  70. data/lib/nokogiri/xml/builder.rb +84 -0
  71. data/lib/nokogiri/xml/cdata.rb +9 -0
  72. data/lib/nokogiri/xml/comment.rb +6 -0
  73. data/lib/nokogiri/xml/document.rb +55 -0
  74. data/lib/nokogiri/xml/dtd.rb +6 -0
  75. data/lib/nokogiri/xml/element.rb +6 -0
  76. data/lib/nokogiri/xml/entity_declaration.rb +9 -0
  77. data/lib/nokogiri/xml/node.rb +333 -0
  78. data/lib/nokogiri/xml/node_set.rb +197 -0
  79. data/lib/nokogiri/xml/notation.rb +6 -0
  80. data/lib/nokogiri/xml/reader.rb +20 -0
  81. data/lib/nokogiri/xml/sax.rb +9 -0
  82. data/lib/nokogiri/xml/sax/document.rb +59 -0
  83. data/lib/nokogiri/xml/sax/parser.rb +37 -0
  84. data/lib/nokogiri/xml/syntax_error.rb +21 -0
  85. data/lib/nokogiri/xml/text.rb +6 -0
  86. data/lib/nokogiri/xml/xpath.rb +10 -0
  87. data/lib/nokogiri/xml/xpath/syntax_error.rb +8 -0
  88. data/lib/nokogiri/xml/xpath_context.rb +14 -0
  89. data/lib/nokogiri/xslt.rb +28 -0
  90. data/lib/nokogiri/xslt/stylesheet.rb +6 -0
  91. data/test/css/test_nthiness.rb +159 -0
  92. data/test/css/test_parser.rb +237 -0
  93. data/test/css/test_tokenizer.rb +162 -0
  94. data/test/css/test_xpath_visitor.rb +64 -0
  95. data/test/files/dont_hurt_em_why.xml +422 -0
  96. data/test/files/exslt.xml +8 -0
  97. data/test/files/exslt.xslt +35 -0
  98. data/test/files/staff.xml +59 -0
  99. data/test/files/staff.xslt +32 -0
  100. data/test/files/tlm.html +850 -0
  101. data/test/helper.rb +78 -0
  102. data/test/hpricot/files/basic.xhtml +17 -0
  103. data/test/hpricot/files/boingboing.html +2266 -0
  104. data/test/hpricot/files/cy0.html +3653 -0
  105. data/test/hpricot/files/immob.html +400 -0
  106. data/test/hpricot/files/pace_application.html +1320 -0
  107. data/test/hpricot/files/tenderlove.html +16 -0
  108. data/test/hpricot/files/uswebgen.html +220 -0
  109. data/test/hpricot/files/utf8.html +1054 -0
  110. data/test/hpricot/files/week9.html +1723 -0
  111. data/test/hpricot/files/why.xml +19 -0
  112. data/test/hpricot/load_files.rb +11 -0
  113. data/test/hpricot/test_alter.rb +67 -0
  114. data/test/hpricot/test_builder.rb +27 -0
  115. data/test/hpricot/test_parser.rb +426 -0
  116. data/test/hpricot/test_paths.rb +15 -0
  117. data/test/hpricot/test_preserved.rb +77 -0
  118. data/test/hpricot/test_xml.rb +30 -0
  119. data/test/html/sax/test_parser.rb +27 -0
  120. data/test/html/test_builder.rb +89 -0
  121. data/test/html/test_document.rb +150 -0
  122. data/test/html/test_node.rb +21 -0
  123. data/test/test_convert_xpath.rb +185 -0
  124. data/test/test_css_cache.rb +57 -0
  125. data/test/test_gc.rb +15 -0
  126. data/test/test_memory_leak.rb +38 -0
  127. data/test/test_nokogiri.rb +97 -0
  128. data/test/test_reader.rb +222 -0
  129. data/test/test_xslt_transforms.rb +93 -0
  130. data/test/xml/sax/test_parser.rb +95 -0
  131. data/test/xml/test_attr.rb +15 -0
  132. data/test/xml/test_builder.rb +16 -0
  133. data/test/xml/test_cdata.rb +18 -0
  134. data/test/xml/test_comment.rb +16 -0
  135. data/test/xml/test_document.rb +195 -0
  136. data/test/xml/test_dtd.rb +43 -0
  137. data/test/xml/test_node.rb +394 -0
  138. data/test/xml/test_node_set.rb +143 -0
  139. data/test/xml/test_text.rb +13 -0
  140. data/test/xml/test_xpath.rb +105 -0
  141. data/vendor/hoe.rb +1020 -0
  142. metadata +233 -0
metadata ADDED
@@ -0,0 +1,233 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nokogiri
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.1
5
+ platform: java
6
+ authors:
7
+ - Aaron Patterson
8
+ - Mike Dalessio
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2009-01-14 00:00:00 -08:00
14
+ default_executable:
15
+ dependencies: []
16
+
17
+ description: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser."
18
+ email:
19
+ - aaronp@rubyforge.org
20
+ - mike.dalessio@gmail.com
21
+ executables: []
22
+
23
+ extensions: []
24
+
25
+ extra_rdoc_files:
26
+ - History.ja.txt
27
+ - History.txt
28
+ - Manifest.txt
29
+ - README.ja.txt
30
+ - README.txt
31
+ files:
32
+ - History.ja.txt
33
+ - History.txt
34
+ - Manifest.txt
35
+ - README.ja.txt
36
+ - README.txt
37
+ - Rakefile
38
+ - ext/nokogiri/extconf.rb
39
+ - ext/nokogiri/html_document.c
40
+ - ext/nokogiri/html_document.h
41
+ - ext/nokogiri/html_sax_parser.c
42
+ - ext/nokogiri/html_sax_parser.h
43
+ - ext/nokogiri/native.c
44
+ - ext/nokogiri/native.h
45
+ - ext/nokogiri/xml_cdata.c
46
+ - ext/nokogiri/xml_cdata.h
47
+ - ext/nokogiri/xml_comment.c
48
+ - ext/nokogiri/xml_comment.h
49
+ - ext/nokogiri/xml_document.c
50
+ - ext/nokogiri/xml_document.h
51
+ - ext/nokogiri/xml_dtd.c
52
+ - ext/nokogiri/xml_dtd.h
53
+ - ext/nokogiri/xml_io.c
54
+ - ext/nokogiri/xml_io.h
55
+ - ext/nokogiri/xml_node.c
56
+ - ext/nokogiri/xml_node.h
57
+ - ext/nokogiri/xml_node_set.c
58
+ - ext/nokogiri/xml_node_set.h
59
+ - ext/nokogiri/xml_reader.c
60
+ - ext/nokogiri/xml_reader.h
61
+ - ext/nokogiri/xml_sax_parser.c
62
+ - ext/nokogiri/xml_sax_parser.h
63
+ - ext/nokogiri/xml_syntax_error.c
64
+ - ext/nokogiri/xml_syntax_error.h
65
+ - ext/nokogiri/xml_text.c
66
+ - ext/nokogiri/xml_text.h
67
+ - ext/nokogiri/xml_xpath.c
68
+ - ext/nokogiri/xml_xpath.h
69
+ - ext/nokogiri/xml_xpath_context.c
70
+ - ext/nokogiri/xml_xpath_context.h
71
+ - ext/nokogiri/xslt_stylesheet.c
72
+ - ext/nokogiri/xslt_stylesheet.h
73
+ - lib/action-nokogiri.rb
74
+ - lib/nokogiri.rb
75
+ - lib/nokogiri/css.rb
76
+ - lib/nokogiri/css/generated_parser.rb
77
+ - lib/nokogiri/css/generated_tokenizer.rb
78
+ - lib/nokogiri/css/node.rb
79
+ - lib/nokogiri/css/parser.rb
80
+ - lib/nokogiri/css/parser.y
81
+ - lib/nokogiri/css/syntax_error.rb
82
+ - lib/nokogiri/css/tokenizer.rb
83
+ - lib/nokogiri/css/tokenizer.rex
84
+ - lib/nokogiri/css/xpath_visitor.rb
85
+ - lib/nokogiri/decorators.rb
86
+ - lib/nokogiri/decorators/hpricot.rb
87
+ - lib/nokogiri/decorators/hpricot/node.rb
88
+ - lib/nokogiri/decorators/hpricot/node_set.rb
89
+ - lib/nokogiri/decorators/hpricot/xpath_visitor.rb
90
+ - lib/nokogiri/decorators/slop.rb
91
+ - lib/nokogiri/hpricot.rb
92
+ - lib/nokogiri/html.rb
93
+ - lib/nokogiri/html/builder.rb
94
+ - lib/nokogiri/html/document.rb
95
+ - lib/nokogiri/html/sax/parser.rb
96
+ - lib/nokogiri/version.rb
97
+ - lib/nokogiri/xml.rb
98
+ - lib/nokogiri/xml/after_handler.rb
99
+ - lib/nokogiri/xml/attr.rb
100
+ - lib/nokogiri/xml/before_handler.rb
101
+ - lib/nokogiri/xml/builder.rb
102
+ - lib/nokogiri/xml/cdata.rb
103
+ - lib/nokogiri/xml/comment.rb
104
+ - lib/nokogiri/xml/document.rb
105
+ - lib/nokogiri/xml/dtd.rb
106
+ - lib/nokogiri/xml/element.rb
107
+ - lib/nokogiri/xml/entity_declaration.rb
108
+ - lib/nokogiri/xml/node.rb
109
+ - lib/nokogiri/xml/node_set.rb
110
+ - lib/nokogiri/xml/notation.rb
111
+ - lib/nokogiri/xml/reader.rb
112
+ - lib/nokogiri/xml/sax.rb
113
+ - lib/nokogiri/xml/sax/document.rb
114
+ - lib/nokogiri/xml/sax/parser.rb
115
+ - lib/nokogiri/xml/syntax_error.rb
116
+ - lib/nokogiri/xml/text.rb
117
+ - lib/nokogiri/xml/xpath.rb
118
+ - lib/nokogiri/xml/xpath/syntax_error.rb
119
+ - lib/nokogiri/xml/xpath_context.rb
120
+ - lib/nokogiri/xslt.rb
121
+ - lib/nokogiri/xslt/stylesheet.rb
122
+ - test/css/test_nthiness.rb
123
+ - test/css/test_parser.rb
124
+ - test/css/test_tokenizer.rb
125
+ - test/css/test_xpath_visitor.rb
126
+ - test/files/dont_hurt_em_why.xml
127
+ - test/files/exslt.xml
128
+ - test/files/exslt.xslt
129
+ - test/files/staff.xml
130
+ - test/files/staff.xslt
131
+ - test/files/tlm.html
132
+ - test/helper.rb
133
+ - test/hpricot/files/basic.xhtml
134
+ - test/hpricot/files/boingboing.html
135
+ - test/hpricot/files/cy0.html
136
+ - test/hpricot/files/immob.html
137
+ - test/hpricot/files/pace_application.html
138
+ - test/hpricot/files/tenderlove.html
139
+ - test/hpricot/files/uswebgen.html
140
+ - test/hpricot/files/utf8.html
141
+ - test/hpricot/files/week9.html
142
+ - test/hpricot/files/why.xml
143
+ - test/hpricot/load_files.rb
144
+ - test/hpricot/test_alter.rb
145
+ - test/hpricot/test_builder.rb
146
+ - test/hpricot/test_parser.rb
147
+ - test/hpricot/test_paths.rb
148
+ - test/hpricot/test_preserved.rb
149
+ - test/hpricot/test_xml.rb
150
+ - test/html/sax/test_parser.rb
151
+ - test/html/test_builder.rb
152
+ - test/html/test_document.rb
153
+ - test/html/test_node.rb
154
+ - test/test_convert_xpath.rb
155
+ - test/test_css_cache.rb
156
+ - test/test_gc.rb
157
+ - test/test_memory_leak.rb
158
+ - test/test_nokogiri.rb
159
+ - test/test_reader.rb
160
+ - test/test_xslt_transforms.rb
161
+ - test/xml/sax/test_parser.rb
162
+ - test/xml/test_attr.rb
163
+ - test/xml/test_builder.rb
164
+ - test/xml/test_cdata.rb
165
+ - test/xml/test_comment.rb
166
+ - test/xml/test_document.rb
167
+ - test/xml/test_dtd.rb
168
+ - test/xml/test_node.rb
169
+ - test/xml/test_node_set.rb
170
+ - test/xml/test_text.rb
171
+ - test/xml/test_xpath.rb
172
+ - vendor/hoe.rb
173
+ has_rdoc: true
174
+ homepage: http://nokogiri.rubyforge.org/
175
+ post_install_message:
176
+ rdoc_options:
177
+ - --main
178
+ - README.txt
179
+ require_paths:
180
+ - lib
181
+ - ext
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: "0"
187
+ version:
188
+ required_rubygems_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: "0"
193
+ version:
194
+ requirements: []
195
+
196
+ rubyforge_project: nokogiri
197
+ rubygems_version: 1.3.1
198
+ signing_key:
199
+ specification_version: 2
200
+ summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser."
201
+ test_files:
202
+ - test/css/test_nthiness.rb
203
+ - test/css/test_parser.rb
204
+ - test/css/test_tokenizer.rb
205
+ - test/css/test_xpath_visitor.rb
206
+ - test/hpricot/test_alter.rb
207
+ - test/hpricot/test_builder.rb
208
+ - test/hpricot/test_parser.rb
209
+ - test/hpricot/test_paths.rb
210
+ - test/hpricot/test_preserved.rb
211
+ - test/hpricot/test_xml.rb
212
+ - test/html/sax/test_parser.rb
213
+ - test/html/test_builder.rb
214
+ - test/html/test_document.rb
215
+ - test/html/test_node.rb
216
+ - test/test_convert_xpath.rb
217
+ - test/test_css_cache.rb
218
+ - test/test_gc.rb
219
+ - test/test_memory_leak.rb
220
+ - test/test_nokogiri.rb
221
+ - test/test_reader.rb
222
+ - test/test_xslt_transforms.rb
223
+ - test/xml/sax/test_parser.rb
224
+ - test/xml/test_attr.rb
225
+ - test/xml/test_builder.rb
226
+ - test/xml/test_cdata.rb
227
+ - test/xml/test_comment.rb
228
+ - test/xml/test_document.rb
229
+ - test/xml/test_dtd.rb
230
+ - test/xml/test_node.rb
231
+ - test/xml/test_node_set.rb
232
+ - test/xml/test_text.rb
233
+ - test/xml/test_xpath.rb