nokogiri 1.6.2.rc1-x64-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.

Files changed (263) hide show
  1. checksums.yaml +7 -0
  2. data/.autotest +26 -0
  3. data/.editorconfig +17 -0
  4. data/.gemtest +0 -0
  5. data/.travis.yml +25 -0
  6. data/CHANGELOG.ja.rdoc +857 -0
  7. data/CHANGELOG.rdoc +880 -0
  8. data/C_CODING_STYLE.rdoc +33 -0
  9. data/Gemfile +21 -0
  10. data/Manifest.txt +371 -0
  11. data/README.ja.rdoc +112 -0
  12. data/README.rdoc +180 -0
  13. data/ROADMAP.md +89 -0
  14. data/Rakefile +351 -0
  15. data/STANDARD_RESPONSES.md +47 -0
  16. data/Y_U_NO_GEMSPEC.md +155 -0
  17. data/bin/nokogiri +78 -0
  18. data/build_all +130 -0
  19. data/dependencies.yml +4 -0
  20. data/ext/nokogiri/depend +358 -0
  21. data/ext/nokogiri/extconf.rb +453 -0
  22. data/ext/nokogiri/html_document.c +170 -0
  23. data/ext/nokogiri/html_document.h +10 -0
  24. data/ext/nokogiri/html_element_description.c +279 -0
  25. data/ext/nokogiri/html_element_description.h +10 -0
  26. data/ext/nokogiri/html_entity_lookup.c +32 -0
  27. data/ext/nokogiri/html_entity_lookup.h +8 -0
  28. data/ext/nokogiri/html_sax_parser_context.c +116 -0
  29. data/ext/nokogiri/html_sax_parser_context.h +11 -0
  30. data/ext/nokogiri/html_sax_push_parser.c +87 -0
  31. data/ext/nokogiri/html_sax_push_parser.h +9 -0
  32. data/ext/nokogiri/nokogiri.c +148 -0
  33. data/ext/nokogiri/nokogiri.h +164 -0
  34. data/ext/nokogiri/xml_attr.c +94 -0
  35. data/ext/nokogiri/xml_attr.h +9 -0
  36. data/ext/nokogiri/xml_attribute_decl.c +70 -0
  37. data/ext/nokogiri/xml_attribute_decl.h +9 -0
  38. data/ext/nokogiri/xml_cdata.c +56 -0
  39. data/ext/nokogiri/xml_cdata.h +9 -0
  40. data/ext/nokogiri/xml_comment.c +54 -0
  41. data/ext/nokogiri/xml_comment.h +9 -0
  42. data/ext/nokogiri/xml_document.c +577 -0
  43. data/ext/nokogiri/xml_document.h +23 -0
  44. data/ext/nokogiri/xml_document_fragment.c +48 -0
  45. data/ext/nokogiri/xml_document_fragment.h +10 -0
  46. data/ext/nokogiri/xml_dtd.c +202 -0
  47. data/ext/nokogiri/xml_dtd.h +10 -0
  48. data/ext/nokogiri/xml_element_content.c +123 -0
  49. data/ext/nokogiri/xml_element_content.h +10 -0
  50. data/ext/nokogiri/xml_element_decl.c +69 -0
  51. data/ext/nokogiri/xml_element_decl.h +9 -0
  52. data/ext/nokogiri/xml_encoding_handler.c +79 -0
  53. data/ext/nokogiri/xml_encoding_handler.h +8 -0
  54. data/ext/nokogiri/xml_entity_decl.c +110 -0
  55. data/ext/nokogiri/xml_entity_decl.h +10 -0
  56. data/ext/nokogiri/xml_entity_reference.c +52 -0
  57. data/ext/nokogiri/xml_entity_reference.h +9 -0
  58. data/ext/nokogiri/xml_io.c +56 -0
  59. data/ext/nokogiri/xml_io.h +11 -0
  60. data/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  61. data/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  62. data/ext/nokogiri/xml_namespace.c +78 -0
  63. data/ext/nokogiri/xml_namespace.h +13 -0
  64. data/ext/nokogiri/xml_node.c +1541 -0
  65. data/ext/nokogiri/xml_node.h +13 -0
  66. data/ext/nokogiri/xml_node_set.c +467 -0
  67. data/ext/nokogiri/xml_node_set.h +14 -0
  68. data/ext/nokogiri/xml_processing_instruction.c +56 -0
  69. data/ext/nokogiri/xml_processing_instruction.h +9 -0
  70. data/ext/nokogiri/xml_reader.c +681 -0
  71. data/ext/nokogiri/xml_reader.h +10 -0
  72. data/ext/nokogiri/xml_relax_ng.c +161 -0
  73. data/ext/nokogiri/xml_relax_ng.h +9 -0
  74. data/ext/nokogiri/xml_sax_parser.c +312 -0
  75. data/ext/nokogiri/xml_sax_parser.h +39 -0
  76. data/ext/nokogiri/xml_sax_parser_context.c +262 -0
  77. data/ext/nokogiri/xml_sax_parser_context.h +10 -0
  78. data/ext/nokogiri/xml_sax_push_parser.c +115 -0
  79. data/ext/nokogiri/xml_sax_push_parser.h +9 -0
  80. data/ext/nokogiri/xml_schema.c +205 -0
  81. data/ext/nokogiri/xml_schema.h +9 -0
  82. data/ext/nokogiri/xml_syntax_error.c +63 -0
  83. data/ext/nokogiri/xml_syntax_error.h +13 -0
  84. data/ext/nokogiri/xml_text.c +52 -0
  85. data/ext/nokogiri/xml_text.h +9 -0
  86. data/ext/nokogiri/xml_xpath_context.c +307 -0
  87. data/ext/nokogiri/xml_xpath_context.h +10 -0
  88. data/ext/nokogiri/xslt_stylesheet.c +270 -0
  89. data/ext/nokogiri/xslt_stylesheet.h +14 -0
  90. data/lib/nokogiri.rb +137 -0
  91. data/lib/nokogiri/2.0/nokogiri.so +0 -0
  92. data/lib/nokogiri/2.1/nokogiri.so +0 -0
  93. data/lib/nokogiri/css.rb +27 -0
  94. data/lib/nokogiri/css/node.rb +52 -0
  95. data/lib/nokogiri/css/parser.rb +715 -0
  96. data/lib/nokogiri/css/parser.y +249 -0
  97. data/lib/nokogiri/css/parser_extras.rb +91 -0
  98. data/lib/nokogiri/css/syntax_error.rb +7 -0
  99. data/lib/nokogiri/css/tokenizer.rb +152 -0
  100. data/lib/nokogiri/css/tokenizer.rex +55 -0
  101. data/lib/nokogiri/css/xpath_visitor.rb +219 -0
  102. data/lib/nokogiri/decorators/slop.rb +35 -0
  103. data/lib/nokogiri/html.rb +37 -0
  104. data/lib/nokogiri/html/builder.rb +35 -0
  105. data/lib/nokogiri/html/document.rb +333 -0
  106. data/lib/nokogiri/html/document_fragment.rb +41 -0
  107. data/lib/nokogiri/html/element_description.rb +23 -0
  108. data/lib/nokogiri/html/element_description_defaults.rb +671 -0
  109. data/lib/nokogiri/html/entity_lookup.rb +13 -0
  110. data/lib/nokogiri/html/sax/parser.rb +52 -0
  111. data/lib/nokogiri/html/sax/parser_context.rb +16 -0
  112. data/lib/nokogiri/html/sax/push_parser.rb +16 -0
  113. data/lib/nokogiri/syntax_error.rb +4 -0
  114. data/lib/nokogiri/version.rb +106 -0
  115. data/lib/nokogiri/xml.rb +73 -0
  116. data/lib/nokogiri/xml/attr.rb +14 -0
  117. data/lib/nokogiri/xml/attribute_decl.rb +18 -0
  118. data/lib/nokogiri/xml/builder.rb +443 -0
  119. data/lib/nokogiri/xml/cdata.rb +11 -0
  120. data/lib/nokogiri/xml/character_data.rb +7 -0
  121. data/lib/nokogiri/xml/document.rb +279 -0
  122. data/lib/nokogiri/xml/document_fragment.rb +112 -0
  123. data/lib/nokogiri/xml/dtd.rb +32 -0
  124. data/lib/nokogiri/xml/element_content.rb +36 -0
  125. data/lib/nokogiri/xml/element_decl.rb +13 -0
  126. data/lib/nokogiri/xml/entity_decl.rb +19 -0
  127. data/lib/nokogiri/xml/namespace.rb +13 -0
  128. data/lib/nokogiri/xml/node.rb +982 -0
  129. data/lib/nokogiri/xml/node/save_options.rb +61 -0
  130. data/lib/nokogiri/xml/node_set.rb +355 -0
  131. data/lib/nokogiri/xml/notation.rb +6 -0
  132. data/lib/nokogiri/xml/parse_options.rb +98 -0
  133. data/lib/nokogiri/xml/pp.rb +2 -0
  134. data/lib/nokogiri/xml/pp/character_data.rb +18 -0
  135. data/lib/nokogiri/xml/pp/node.rb +56 -0
  136. data/lib/nokogiri/xml/processing_instruction.rb +8 -0
  137. data/lib/nokogiri/xml/reader.rb +112 -0
  138. data/lib/nokogiri/xml/relax_ng.rb +32 -0
  139. data/lib/nokogiri/xml/sax.rb +4 -0
  140. data/lib/nokogiri/xml/sax/document.rb +171 -0
  141. data/lib/nokogiri/xml/sax/parser.rb +123 -0
  142. data/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  143. data/lib/nokogiri/xml/sax/push_parser.rb +60 -0
  144. data/lib/nokogiri/xml/schema.rb +63 -0
  145. data/lib/nokogiri/xml/syntax_error.rb +47 -0
  146. data/lib/nokogiri/xml/text.rb +9 -0
  147. data/lib/nokogiri/xml/xpath.rb +10 -0
  148. data/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
  149. data/lib/nokogiri/xml/xpath_context.rb +16 -0
  150. data/lib/nokogiri/xslt.rb +56 -0
  151. data/lib/nokogiri/xslt/stylesheet.rb +25 -0
  152. data/lib/xsd/xmlparser/nokogiri.rb +102 -0
  153. data/suppressions/README.txt +1 -0
  154. data/suppressions/nokogiri_ree-1.8.7.358.supp +61 -0
  155. data/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
  156. data/suppressions/nokogiri_ruby-1.9.2.320.supp +28 -0
  157. data/suppressions/nokogiri_ruby-1.9.3.327.supp +28 -0
  158. data/tasks/nokogiri.org.rb +24 -0
  159. data/tasks/test.rb +95 -0
  160. data/test/css/test_nthiness.rb +222 -0
  161. data/test/css/test_parser.rb +358 -0
  162. data/test/css/test_tokenizer.rb +198 -0
  163. data/test/css/test_xpath_visitor.rb +96 -0
  164. data/test/decorators/test_slop.rb +16 -0
  165. data/test/files/2ch.html +108 -0
  166. data/test/files/address_book.rlx +12 -0
  167. data/test/files/address_book.xml +10 -0
  168. data/test/files/atom.xml +344 -0
  169. data/test/files/bar/bar.xsd +4 -0
  170. data/test/files/bogus.xml +0 -0
  171. data/test/files/dont_hurt_em_why.xml +422 -0
  172. data/test/files/encoding.html +82 -0
  173. data/test/files/encoding.xhtml +84 -0
  174. data/test/files/exslt.xml +8 -0
  175. data/test/files/exslt.xslt +35 -0
  176. data/test/files/foo/foo.xsd +4 -0
  177. data/test/files/metacharset.html +10 -0
  178. data/test/files/noencoding.html +47 -0
  179. data/test/files/po.xml +32 -0
  180. data/test/files/po.xsd +66 -0
  181. data/test/files/saml/saml20assertion_schema.xsd +283 -0
  182. data/test/files/saml/saml20protocol_schema.xsd +302 -0
  183. data/test/files/saml/xenc_schema.xsd +146 -0
  184. data/test/files/saml/xmldsig_schema.xsd +318 -0
  185. data/test/files/shift_jis.html +10 -0
  186. data/test/files/shift_jis.xml +5 -0
  187. data/test/files/shift_jis_no_charset.html +9 -0
  188. data/test/files/snuggles.xml +3 -0
  189. data/test/files/staff.dtd +10 -0
  190. data/test/files/staff.xml +59 -0
  191. data/test/files/staff.xslt +32 -0
  192. data/test/files/test_document_url/bar.xml +2 -0
  193. data/test/files/test_document_url/document.dtd +4 -0
  194. data/test/files/test_document_url/document.xml +6 -0
  195. data/test/files/tlm.html +850 -0
  196. data/test/files/to_be_xincluded.xml +2 -0
  197. data/test/files/valid_bar.xml +2 -0
  198. data/test/files/xinclude.xml +4 -0
  199. data/test/helper.rb +164 -0
  200. data/test/html/sax/test_parser.rb +141 -0
  201. data/test/html/sax/test_parser_context.rb +46 -0
  202. data/test/html/test_builder.rb +164 -0
  203. data/test/html/test_document.rb +619 -0
  204. data/test/html/test_document_encoding.rb +148 -0
  205. data/test/html/test_document_fragment.rb +261 -0
  206. data/test/html/test_element_description.rb +105 -0
  207. data/test/html/test_named_characters.rb +14 -0
  208. data/test/html/test_node.rb +196 -0
  209. data/test/html/test_node_encoding.rb +27 -0
  210. data/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
  211. data/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
  212. data/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
  213. data/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
  214. data/test/namespaces/test_namespaces_in_parsed_doc.rb +66 -0
  215. data/test/test_convert_xpath.rb +135 -0
  216. data/test/test_css_cache.rb +45 -0
  217. data/test/test_encoding_handler.rb +46 -0
  218. data/test/test_memory_leak.rb +156 -0
  219. data/test/test_nokogiri.rb +138 -0
  220. data/test/test_reader.rb +558 -0
  221. data/test/test_soap4r_sax.rb +52 -0
  222. data/test/test_xslt_transforms.rb +279 -0
  223. data/test/xml/node/test_save_options.rb +28 -0
  224. data/test/xml/node/test_subclass.rb +44 -0
  225. data/test/xml/sax/test_parser.rb +382 -0
  226. data/test/xml/sax/test_parser_context.rb +115 -0
  227. data/test/xml/sax/test_push_parser.rb +157 -0
  228. data/test/xml/test_attr.rb +64 -0
  229. data/test/xml/test_attribute_decl.rb +86 -0
  230. data/test/xml/test_builder.rb +315 -0
  231. data/test/xml/test_c14n.rb +161 -0
  232. data/test/xml/test_cdata.rb +48 -0
  233. data/test/xml/test_comment.rb +29 -0
  234. data/test/xml/test_document.rb +934 -0
  235. data/test/xml/test_document_encoding.rb +28 -0
  236. data/test/xml/test_document_fragment.rb +228 -0
  237. data/test/xml/test_dtd.rb +187 -0
  238. data/test/xml/test_dtd_encoding.rb +33 -0
  239. data/test/xml/test_element_content.rb +56 -0
  240. data/test/xml/test_element_decl.rb +73 -0
  241. data/test/xml/test_entity_decl.rb +122 -0
  242. data/test/xml/test_entity_reference.rb +245 -0
  243. data/test/xml/test_namespace.rb +95 -0
  244. data/test/xml/test_node.rb +1155 -0
  245. data/test/xml/test_node_attributes.rb +113 -0
  246. data/test/xml/test_node_encoding.rb +107 -0
  247. data/test/xml/test_node_inheritance.rb +32 -0
  248. data/test/xml/test_node_reparenting.rb +374 -0
  249. data/test/xml/test_node_set.rb +755 -0
  250. data/test/xml/test_parse_options.rb +64 -0
  251. data/test/xml/test_processing_instruction.rb +30 -0
  252. data/test/xml/test_reader_encoding.rb +142 -0
  253. data/test/xml/test_relax_ng.rb +60 -0
  254. data/test/xml/test_schema.rb +129 -0
  255. data/test/xml/test_syntax_error.rb +12 -0
  256. data/test/xml/test_text.rb +45 -0
  257. data/test/xml/test_unparented_node.rb +422 -0
  258. data/test/xml/test_xinclude.rb +83 -0
  259. data/test/xml/test_xpath.rb +376 -0
  260. data/test/xslt/test_custom_functions.rb +133 -0
  261. data/test/xslt/test_exception_handling.rb +37 -0
  262. data/test_all +81 -0
  263. metadata +601 -0
@@ -0,0 +1,37 @@
1
+ require "helper"
2
+
3
+ module Nokogiri
4
+ module XSLT
5
+ class TestExceptionHandling < Nokogiri::TestCase
6
+ def test_java_exception_handling
7
+ skip('This test is for Java only') if Nokogiri.uses_libxml?
8
+
9
+ xml = Nokogiri.XML(<<-EOXML)
10
+ <foo>
11
+ <bar/>
12
+ </foo>
13
+ EOXML
14
+
15
+ xsl = Nokogiri.XSLT(<<-EOXSL)
16
+ <?xml version="1.0"?>
17
+ <xsl:stylesheet version="1.0"
18
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
19
+
20
+ <xsl:template match="/">
21
+ <a/>
22
+ <b/>
23
+ </xsl:template>
24
+ </xsl:stylesheet>
25
+ EOXSL
26
+
27
+ begin
28
+ xsl.transform xml
29
+ fail('It should not get here')
30
+ rescue RuntimeError => e
31
+ assert_match(/HIERARCHY_REQUEST_ERR/, e.to_s, 'The exception message does not contain the expected information')
32
+ end
33
+ end
34
+
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,81 @@
1
+ #! /usr/bin/env bash
2
+ #
3
+ # script to run tests on all relevant rubies, and valgrind on supported rubies.
4
+ # outputs tests to `test.log` and valgrind output to `valgrind.log`.
5
+ #
6
+ # requires `rvm` to be installed. sorry about that, multiruby dudes.
7
+ #
8
+ # it's worth periodically using hoe-debugger's ability to generate
9
+ # valgrind suppression files to remove spurious valgrind messages
10
+ # (e.g., 1.9.3's glob_helper). ["rake test:valgrind:suppression"]
11
+ #
12
+
13
+ RUBIES="ruby-1.9.3-p327 jruby-1.7.3 jruby-1.6.5.1 jruby-1.6.7.2 ruby-1.9.2-p320"
14
+ TEST_LOG=test.log
15
+ VALGRIND_LOG=valgrind.log
16
+
17
+ # Load RVM into a shell session *as a function*
18
+ if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
19
+ source "$HOME/.rvm/scripts/rvm"
20
+ elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
21
+ source "/usr/local/rvm/scripts/rvm"
22
+ else
23
+ echo "ERROR: An RVM installation was not found.\n"
24
+ fi
25
+
26
+ > $TEST_LOG
27
+ > $VALGRIND_LOG
28
+ set -o errexit
29
+
30
+ function rvm_use {
31
+ current_ruby=$1
32
+ rvm use "${1}@nokogiri" --create || rvm -v
33
+ }
34
+
35
+ function generate_parser_and_tokenizer {
36
+ old_ruby=$current_ruby
37
+ rvm_use ruby-1.9.3-p327
38
+ bundle exec rake generate 2>&1 > /dev/null
39
+ rvm_use $old_ruby
40
+ }
41
+
42
+ function clean {
43
+ bundle exec rake clean clobber 2>&1 > /dev/null
44
+ }
45
+
46
+ function compile {
47
+ echo "** compiling ..."
48
+ # generate_parser_and_tokenizer
49
+ bundle exec rake compile 2>&1 > /dev/null
50
+ }
51
+
52
+ for ruby in $RUBIES ; do
53
+ rvm_use ${ruby}
54
+ if ! which bundle ; then
55
+ gem install bundler
56
+ fi
57
+ bundle install --quiet --local || bundle install
58
+ clean
59
+ done
60
+
61
+ for ruby in $RUBIES ; do
62
+ rvm_use ${ruby}
63
+ echo -e "**\n** testing nokogiri on ${ruby}\n**" | tee -a $TEST_LOG
64
+ clean
65
+ compile
66
+ echo "** running tests ..."
67
+ bundle exec rake test 2>&1 | tee -a $TEST_LOG
68
+ clean
69
+ done
70
+
71
+ for ruby in $RUBIES ; do
72
+ if [[ ! $ruby =~ "jruby" ]] ; then
73
+ rvm_use ${ruby}
74
+ echo -e "**\n** nokogiri prerelease: ${ruby}\n**" | tee -a $VALGRIND_LOG
75
+ clean
76
+ compile
77
+ echo "** running valgrind on tests ..."
78
+ bundle exec rake test:valgrind 2>&1 | tee -a $VALGRIND_LOG
79
+ clean
80
+ fi
81
+ done
metadata ADDED
@@ -0,0 +1,601 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nokogiri
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.2.rc1
5
+ platform: x64-mingw32
6
+ authors:
7
+ - Aaron Patterson
8
+ - Mike Dalessio
9
+ - Yoko Harada
10
+ - Tim Elliott
11
+ - Akinori MUSHA
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+ date: 2014-04-06 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: mini_portile
19
+ requirement: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 0.5.2
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ version: 0.5.2
31
+ - !ruby/object:Gem::Dependency
32
+ name: rdoc
33
+ requirement: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '4.0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: '4.0'
45
+ - !ruby/object:Gem::Dependency
46
+ name: hoe-bundler
47
+ requirement: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - '>='
50
+ - !ruby/object:Gem::Version
51
+ version: '1.1'
52
+ type: :development
53
+ prerelease: false
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '1.1'
59
+ - !ruby/object:Gem::Dependency
60
+ name: hoe-debugging
61
+ requirement: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 1.0.3
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - '>='
71
+ - !ruby/object:Gem::Version
72
+ version: 1.0.3
73
+ - !ruby/object:Gem::Dependency
74
+ name: hoe-gemspec
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '1.0'
80
+ type: :development
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '1.0'
87
+ - !ruby/object:Gem::Dependency
88
+ name: hoe-git
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '1.4'
94
+ type: :development
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - '>='
99
+ - !ruby/object:Gem::Version
100
+ version: '1.4'
101
+ - !ruby/object:Gem::Dependency
102
+ name: minitest
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ~>
106
+ - !ruby/object:Gem::Version
107
+ version: 2.2.2
108
+ type: :development
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ~>
113
+ - !ruby/object:Gem::Version
114
+ version: 2.2.2
115
+ - !ruby/object:Gem::Dependency
116
+ name: rake
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0.9'
122
+ type: :development
123
+ prerelease: false
124
+ version_requirements: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0.9'
129
+ - !ruby/object:Gem::Dependency
130
+ name: rake-compiler
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ~>
134
+ - !ruby/object:Gem::Version
135
+ version: 0.9.2
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: 0.9.2
143
+ - !ruby/object:Gem::Dependency
144
+ name: racc
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - '>='
148
+ - !ruby/object:Gem::Version
149
+ version: 1.4.6
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - '>='
155
+ - !ruby/object:Gem::Version
156
+ version: 1.4.6
157
+ - !ruby/object:Gem::Dependency
158
+ name: rexical
159
+ requirement: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - '>='
162
+ - !ruby/object:Gem::Version
163
+ version: 1.0.5
164
+ type: :development
165
+ prerelease: false
166
+ version_requirements: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - '>='
169
+ - !ruby/object:Gem::Version
170
+ version: 1.0.5
171
+ - !ruby/object:Gem::Dependency
172
+ name: hoe
173
+ requirement: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ~>
176
+ - !ruby/object:Gem::Version
177
+ version: '3.7'
178
+ type: :development
179
+ prerelease: false
180
+ version_requirements: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ~>
183
+ - !ruby/object:Gem::Version
184
+ version: '3.7'
185
+ description: |-
186
+ Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's
187
+ many features is the ability to search documents via XPath or CSS3 selectors.
188
+
189
+ XML is like violence - if it doesn’t solve your problems, you are not using
190
+ enough of it.
191
+ email:
192
+ - aaronp@rubyforge.org
193
+ - mike.dalessio@gmail.com
194
+ - yokolet@gmail.com
195
+ - tle@holymonkey.com
196
+ - knu@idaemons.org
197
+ executables:
198
+ - nokogiri
199
+ extensions: []
200
+ extra_rdoc_files:
201
+ - CHANGELOG.ja.rdoc
202
+ - CHANGELOG.rdoc
203
+ - C_CODING_STYLE.rdoc
204
+ - Manifest.txt
205
+ - README.ja.rdoc
206
+ - README.rdoc
207
+ - ROADMAP.md
208
+ - STANDARD_RESPONSES.md
209
+ - Y_U_NO_GEMSPEC.md
210
+ - suppressions/README.txt
211
+ - ext/nokogiri/html_document.c
212
+ - ext/nokogiri/html_element_description.c
213
+ - ext/nokogiri/html_entity_lookup.c
214
+ - ext/nokogiri/html_sax_parser_context.c
215
+ - ext/nokogiri/html_sax_push_parser.c
216
+ - ext/nokogiri/nokogiri.c
217
+ - ext/nokogiri/xml_attr.c
218
+ - ext/nokogiri/xml_attribute_decl.c
219
+ - ext/nokogiri/xml_cdata.c
220
+ - ext/nokogiri/xml_comment.c
221
+ - ext/nokogiri/xml_document.c
222
+ - ext/nokogiri/xml_document_fragment.c
223
+ - ext/nokogiri/xml_dtd.c
224
+ - ext/nokogiri/xml_element_content.c
225
+ - ext/nokogiri/xml_element_decl.c
226
+ - ext/nokogiri/xml_encoding_handler.c
227
+ - ext/nokogiri/xml_entity_decl.c
228
+ - ext/nokogiri/xml_entity_reference.c
229
+ - ext/nokogiri/xml_io.c
230
+ - ext/nokogiri/xml_libxml2_hacks.c
231
+ - ext/nokogiri/xml_namespace.c
232
+ - ext/nokogiri/xml_node.c
233
+ - ext/nokogiri/xml_node_set.c
234
+ - ext/nokogiri/xml_processing_instruction.c
235
+ - ext/nokogiri/xml_reader.c
236
+ - ext/nokogiri/xml_relax_ng.c
237
+ - ext/nokogiri/xml_sax_parser.c
238
+ - ext/nokogiri/xml_sax_parser_context.c
239
+ - ext/nokogiri/xml_sax_push_parser.c
240
+ - ext/nokogiri/xml_schema.c
241
+ - ext/nokogiri/xml_syntax_error.c
242
+ - ext/nokogiri/xml_text.c
243
+ - ext/nokogiri/xml_xpath_context.c
244
+ - ext/nokogiri/xslt_stylesheet.c
245
+ files:
246
+ - .autotest
247
+ - .editorconfig
248
+ - .gemtest
249
+ - .travis.yml
250
+ - CHANGELOG.ja.rdoc
251
+ - CHANGELOG.rdoc
252
+ - C_CODING_STYLE.rdoc
253
+ - Gemfile
254
+ - Manifest.txt
255
+ - README.ja.rdoc
256
+ - README.rdoc
257
+ - ROADMAP.md
258
+ - Rakefile
259
+ - STANDARD_RESPONSES.md
260
+ - Y_U_NO_GEMSPEC.md
261
+ - bin/nokogiri
262
+ - build_all
263
+ - dependencies.yml
264
+ - ext/nokogiri/depend
265
+ - ext/nokogiri/extconf.rb
266
+ - ext/nokogiri/html_document.c
267
+ - ext/nokogiri/html_document.h
268
+ - ext/nokogiri/html_element_description.c
269
+ - ext/nokogiri/html_element_description.h
270
+ - ext/nokogiri/html_entity_lookup.c
271
+ - ext/nokogiri/html_entity_lookup.h
272
+ - ext/nokogiri/html_sax_parser_context.c
273
+ - ext/nokogiri/html_sax_parser_context.h
274
+ - ext/nokogiri/html_sax_push_parser.c
275
+ - ext/nokogiri/html_sax_push_parser.h
276
+ - ext/nokogiri/nokogiri.c
277
+ - ext/nokogiri/nokogiri.h
278
+ - ext/nokogiri/xml_attr.c
279
+ - ext/nokogiri/xml_attr.h
280
+ - ext/nokogiri/xml_attribute_decl.c
281
+ - ext/nokogiri/xml_attribute_decl.h
282
+ - ext/nokogiri/xml_cdata.c
283
+ - ext/nokogiri/xml_cdata.h
284
+ - ext/nokogiri/xml_comment.c
285
+ - ext/nokogiri/xml_comment.h
286
+ - ext/nokogiri/xml_document.c
287
+ - ext/nokogiri/xml_document.h
288
+ - ext/nokogiri/xml_document_fragment.c
289
+ - ext/nokogiri/xml_document_fragment.h
290
+ - ext/nokogiri/xml_dtd.c
291
+ - ext/nokogiri/xml_dtd.h
292
+ - ext/nokogiri/xml_element_content.c
293
+ - ext/nokogiri/xml_element_content.h
294
+ - ext/nokogiri/xml_element_decl.c
295
+ - ext/nokogiri/xml_element_decl.h
296
+ - ext/nokogiri/xml_encoding_handler.c
297
+ - ext/nokogiri/xml_encoding_handler.h
298
+ - ext/nokogiri/xml_entity_decl.c
299
+ - ext/nokogiri/xml_entity_decl.h
300
+ - ext/nokogiri/xml_entity_reference.c
301
+ - ext/nokogiri/xml_entity_reference.h
302
+ - ext/nokogiri/xml_io.c
303
+ - ext/nokogiri/xml_io.h
304
+ - ext/nokogiri/xml_libxml2_hacks.c
305
+ - ext/nokogiri/xml_libxml2_hacks.h
306
+ - ext/nokogiri/xml_namespace.c
307
+ - ext/nokogiri/xml_namespace.h
308
+ - ext/nokogiri/xml_node.c
309
+ - ext/nokogiri/xml_node.h
310
+ - ext/nokogiri/xml_node_set.c
311
+ - ext/nokogiri/xml_node_set.h
312
+ - ext/nokogiri/xml_processing_instruction.c
313
+ - ext/nokogiri/xml_processing_instruction.h
314
+ - ext/nokogiri/xml_reader.c
315
+ - ext/nokogiri/xml_reader.h
316
+ - ext/nokogiri/xml_relax_ng.c
317
+ - ext/nokogiri/xml_relax_ng.h
318
+ - ext/nokogiri/xml_sax_parser.c
319
+ - ext/nokogiri/xml_sax_parser.h
320
+ - ext/nokogiri/xml_sax_parser_context.c
321
+ - ext/nokogiri/xml_sax_parser_context.h
322
+ - ext/nokogiri/xml_sax_push_parser.c
323
+ - ext/nokogiri/xml_sax_push_parser.h
324
+ - ext/nokogiri/xml_schema.c
325
+ - ext/nokogiri/xml_schema.h
326
+ - ext/nokogiri/xml_syntax_error.c
327
+ - ext/nokogiri/xml_syntax_error.h
328
+ - ext/nokogiri/xml_text.c
329
+ - ext/nokogiri/xml_text.h
330
+ - ext/nokogiri/xml_xpath_context.c
331
+ - ext/nokogiri/xml_xpath_context.h
332
+ - ext/nokogiri/xslt_stylesheet.c
333
+ - ext/nokogiri/xslt_stylesheet.h
334
+ - lib/nokogiri.rb
335
+ - lib/nokogiri/2.0/nokogiri.so
336
+ - lib/nokogiri/2.1/nokogiri.so
337
+ - lib/nokogiri/css.rb
338
+ - lib/nokogiri/css/node.rb
339
+ - lib/nokogiri/css/parser.rb
340
+ - lib/nokogiri/css/parser.y
341
+ - lib/nokogiri/css/parser_extras.rb
342
+ - lib/nokogiri/css/syntax_error.rb
343
+ - lib/nokogiri/css/tokenizer.rb
344
+ - lib/nokogiri/css/tokenizer.rex
345
+ - lib/nokogiri/css/xpath_visitor.rb
346
+ - lib/nokogiri/decorators/slop.rb
347
+ - lib/nokogiri/html.rb
348
+ - lib/nokogiri/html/builder.rb
349
+ - lib/nokogiri/html/document.rb
350
+ - lib/nokogiri/html/document_fragment.rb
351
+ - lib/nokogiri/html/element_description.rb
352
+ - lib/nokogiri/html/element_description_defaults.rb
353
+ - lib/nokogiri/html/entity_lookup.rb
354
+ - lib/nokogiri/html/sax/parser.rb
355
+ - lib/nokogiri/html/sax/parser_context.rb
356
+ - lib/nokogiri/html/sax/push_parser.rb
357
+ - lib/nokogiri/syntax_error.rb
358
+ - lib/nokogiri/version.rb
359
+ - lib/nokogiri/xml.rb
360
+ - lib/nokogiri/xml/attr.rb
361
+ - lib/nokogiri/xml/attribute_decl.rb
362
+ - lib/nokogiri/xml/builder.rb
363
+ - lib/nokogiri/xml/cdata.rb
364
+ - lib/nokogiri/xml/character_data.rb
365
+ - lib/nokogiri/xml/document.rb
366
+ - lib/nokogiri/xml/document_fragment.rb
367
+ - lib/nokogiri/xml/dtd.rb
368
+ - lib/nokogiri/xml/element_content.rb
369
+ - lib/nokogiri/xml/element_decl.rb
370
+ - lib/nokogiri/xml/entity_decl.rb
371
+ - lib/nokogiri/xml/namespace.rb
372
+ - lib/nokogiri/xml/node.rb
373
+ - lib/nokogiri/xml/node/save_options.rb
374
+ - lib/nokogiri/xml/node_set.rb
375
+ - lib/nokogiri/xml/notation.rb
376
+ - lib/nokogiri/xml/parse_options.rb
377
+ - lib/nokogiri/xml/pp.rb
378
+ - lib/nokogiri/xml/pp/character_data.rb
379
+ - lib/nokogiri/xml/pp/node.rb
380
+ - lib/nokogiri/xml/processing_instruction.rb
381
+ - lib/nokogiri/xml/reader.rb
382
+ - lib/nokogiri/xml/relax_ng.rb
383
+ - lib/nokogiri/xml/sax.rb
384
+ - lib/nokogiri/xml/sax/document.rb
385
+ - lib/nokogiri/xml/sax/parser.rb
386
+ - lib/nokogiri/xml/sax/parser_context.rb
387
+ - lib/nokogiri/xml/sax/push_parser.rb
388
+ - lib/nokogiri/xml/schema.rb
389
+ - lib/nokogiri/xml/syntax_error.rb
390
+ - lib/nokogiri/xml/text.rb
391
+ - lib/nokogiri/xml/xpath.rb
392
+ - lib/nokogiri/xml/xpath/syntax_error.rb
393
+ - lib/nokogiri/xml/xpath_context.rb
394
+ - lib/nokogiri/xslt.rb
395
+ - lib/nokogiri/xslt/stylesheet.rb
396
+ - lib/xsd/xmlparser/nokogiri.rb
397
+ - suppressions/README.txt
398
+ - suppressions/nokogiri_ree-1.8.7.358.supp
399
+ - suppressions/nokogiri_ruby-1.8.7.370.supp
400
+ - suppressions/nokogiri_ruby-1.9.2.320.supp
401
+ - suppressions/nokogiri_ruby-1.9.3.327.supp
402
+ - tasks/nokogiri.org.rb
403
+ - tasks/test.rb
404
+ - test/css/test_nthiness.rb
405
+ - test/css/test_parser.rb
406
+ - test/css/test_tokenizer.rb
407
+ - test/css/test_xpath_visitor.rb
408
+ - test/decorators/test_slop.rb
409
+ - test/files/2ch.html
410
+ - test/files/address_book.rlx
411
+ - test/files/address_book.xml
412
+ - test/files/atom.xml
413
+ - test/files/bar/bar.xsd
414
+ - test/files/bogus.xml
415
+ - test/files/dont_hurt_em_why.xml
416
+ - test/files/encoding.html
417
+ - test/files/encoding.xhtml
418
+ - test/files/exslt.xml
419
+ - test/files/exslt.xslt
420
+ - test/files/foo/foo.xsd
421
+ - test/files/metacharset.html
422
+ - test/files/noencoding.html
423
+ - test/files/po.xml
424
+ - test/files/po.xsd
425
+ - test/files/saml/saml20assertion_schema.xsd
426
+ - test/files/saml/saml20protocol_schema.xsd
427
+ - test/files/saml/xenc_schema.xsd
428
+ - test/files/saml/xmldsig_schema.xsd
429
+ - test/files/shift_jis.html
430
+ - test/files/shift_jis.xml
431
+ - test/files/shift_jis_no_charset.html
432
+ - test/files/snuggles.xml
433
+ - test/files/staff.dtd
434
+ - test/files/staff.xml
435
+ - test/files/staff.xslt
436
+ - test/files/test_document_url/bar.xml
437
+ - test/files/test_document_url/document.dtd
438
+ - test/files/test_document_url/document.xml
439
+ - test/files/tlm.html
440
+ - test/files/to_be_xincluded.xml
441
+ - test/files/valid_bar.xml
442
+ - test/files/xinclude.xml
443
+ - test/helper.rb
444
+ - test/html/sax/test_parser.rb
445
+ - test/html/sax/test_parser_context.rb
446
+ - test/html/test_builder.rb
447
+ - test/html/test_document.rb
448
+ - test/html/test_document_encoding.rb
449
+ - test/html/test_document_fragment.rb
450
+ - test/html/test_element_description.rb
451
+ - test/html/test_named_characters.rb
452
+ - test/html/test_node.rb
453
+ - test/html/test_node_encoding.rb
454
+ - test/namespaces/test_additional_namespaces_in_builder_doc.rb
455
+ - test/namespaces/test_namespaces_in_builder_doc.rb
456
+ - test/namespaces/test_namespaces_in_cloned_doc.rb
457
+ - test/namespaces/test_namespaces_in_created_doc.rb
458
+ - test/namespaces/test_namespaces_in_parsed_doc.rb
459
+ - test/test_convert_xpath.rb
460
+ - test/test_css_cache.rb
461
+ - test/test_encoding_handler.rb
462
+ - test/test_memory_leak.rb
463
+ - test/test_nokogiri.rb
464
+ - test/test_reader.rb
465
+ - test/test_soap4r_sax.rb
466
+ - test/test_xslt_transforms.rb
467
+ - test/xml/node/test_save_options.rb
468
+ - test/xml/node/test_subclass.rb
469
+ - test/xml/sax/test_parser.rb
470
+ - test/xml/sax/test_parser_context.rb
471
+ - test/xml/sax/test_push_parser.rb
472
+ - test/xml/test_attr.rb
473
+ - test/xml/test_attribute_decl.rb
474
+ - test/xml/test_builder.rb
475
+ - test/xml/test_c14n.rb
476
+ - test/xml/test_cdata.rb
477
+ - test/xml/test_comment.rb
478
+ - test/xml/test_document.rb
479
+ - test/xml/test_document_encoding.rb
480
+ - test/xml/test_document_fragment.rb
481
+ - test/xml/test_dtd.rb
482
+ - test/xml/test_dtd_encoding.rb
483
+ - test/xml/test_element_content.rb
484
+ - test/xml/test_element_decl.rb
485
+ - test/xml/test_entity_decl.rb
486
+ - test/xml/test_entity_reference.rb
487
+ - test/xml/test_namespace.rb
488
+ - test/xml/test_node.rb
489
+ - test/xml/test_node_attributes.rb
490
+ - test/xml/test_node_encoding.rb
491
+ - test/xml/test_node_inheritance.rb
492
+ - test/xml/test_node_reparenting.rb
493
+ - test/xml/test_node_set.rb
494
+ - test/xml/test_parse_options.rb
495
+ - test/xml/test_processing_instruction.rb
496
+ - test/xml/test_reader_encoding.rb
497
+ - test/xml/test_relax_ng.rb
498
+ - test/xml/test_schema.rb
499
+ - test/xml/test_syntax_error.rb
500
+ - test/xml/test_text.rb
501
+ - test/xml/test_unparented_node.rb
502
+ - test/xml/test_xinclude.rb
503
+ - test/xml/test_xpath.rb
504
+ - test/xslt/test_custom_functions.rb
505
+ - test/xslt/test_exception_handling.rb
506
+ - test_all
507
+ homepage: http://nokogiri.org
508
+ licenses:
509
+ - MIT
510
+ metadata: {}
511
+ post_install_message: |
512
+ Nokogiri is built with the packaged libraries: libxml2-2.8.0, libxslt-1.1.28, zlib-1.2.8, libiconv-1.14.
513
+ rdoc_options:
514
+ - --main
515
+ - README.rdoc
516
+ require_paths:
517
+ - lib
518
+ required_ruby_version: !ruby/object:Gem::Requirement
519
+ requirements:
520
+ - - '>='
521
+ - !ruby/object:Gem::Version
522
+ version: 1.9.2
523
+ required_rubygems_version: !ruby/object:Gem::Requirement
524
+ requirements:
525
+ - - '>'
526
+ - !ruby/object:Gem::Version
527
+ version: 1.3.1
528
+ requirements: []
529
+ rubyforge_project: nokogiri
530
+ rubygems_version: 2.2.2
531
+ signing_key:
532
+ specification_version: 4
533
+ summary: Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser
534
+ test_files:
535
+ - test/test_nokogiri.rb
536
+ - test/test_memory_leak.rb
537
+ - test/test_convert_xpath.rb
538
+ - test/xml/test_element_content.rb
539
+ - test/xml/test_builder.rb
540
+ - test/xml/test_element_decl.rb
541
+ - test/xml/test_parse_options.rb
542
+ - test/xml/test_dtd_encoding.rb
543
+ - test/xml/test_attribute_decl.rb
544
+ - test/xml/test_cdata.rb
545
+ - test/xml/test_document_fragment.rb
546
+ - test/xml/test_dtd.rb
547
+ - test/xml/test_node_reparenting.rb
548
+ - test/xml/test_c14n.rb
549
+ - test/xml/test_node_inheritance.rb
550
+ - test/xml/test_schema.rb
551
+ - test/xml/node/test_save_options.rb
552
+ - test/xml/node/test_subclass.rb
553
+ - test/xml/test_processing_instruction.rb
554
+ - test/xml/test_attr.rb
555
+ - test/xml/test_namespace.rb
556
+ - test/xml/test_relax_ng.rb
557
+ - test/xml/test_xpath.rb
558
+ - test/xml/test_reader_encoding.rb
559
+ - test/xml/test_node_encoding.rb
560
+ - test/xml/test_node_attributes.rb
561
+ - test/xml/test_text.rb
562
+ - test/xml/test_document.rb
563
+ - test/xml/test_entity_reference.rb
564
+ - test/xml/test_node.rb
565
+ - test/xml/test_document_encoding.rb
566
+ - test/xml/test_unparented_node.rb
567
+ - test/xml/test_syntax_error.rb
568
+ - test/xml/test_entity_decl.rb
569
+ - test/xml/test_comment.rb
570
+ - test/xml/sax/test_parser.rb
571
+ - test/xml/sax/test_parser_context.rb
572
+ - test/xml/sax/test_push_parser.rb
573
+ - test/xml/test_node_set.rb
574
+ - test/xml/test_xinclude.rb
575
+ - test/test_css_cache.rb
576
+ - test/xslt/test_exception_handling.rb
577
+ - test/xslt/test_custom_functions.rb
578
+ - test/decorators/test_slop.rb
579
+ - test/html/test_builder.rb
580
+ - test/html/test_document_fragment.rb
581
+ - test/html/test_named_characters.rb
582
+ - test/html/test_element_description.rb
583
+ - test/html/test_node_encoding.rb
584
+ - test/html/test_document.rb
585
+ - test/html/test_node.rb
586
+ - test/html/test_document_encoding.rb
587
+ - test/html/sax/test_parser.rb
588
+ - test/html/sax/test_parser_context.rb
589
+ - test/test_xslt_transforms.rb
590
+ - test/css/test_tokenizer.rb
591
+ - test/css/test_parser.rb
592
+ - test/css/test_nthiness.rb
593
+ - test/css/test_xpath_visitor.rb
594
+ - test/test_encoding_handler.rb
595
+ - test/namespaces/test_namespaces_in_parsed_doc.rb
596
+ - test/namespaces/test_namespaces_in_cloned_doc.rb
597
+ - test/namespaces/test_namespaces_in_created_doc.rb
598
+ - test/namespaces/test_additional_namespaces_in_builder_doc.rb
599
+ - test/namespaces/test_namespaces_in_builder_doc.rb
600
+ - test/test_soap4r_sax.rb
601
+ - test/test_reader.rb