domo 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1148) hide show
  1. data/Gemfile.lock +24 -10
  2. data/VERSION +1 -1
  3. data/domo.gemspec +3 -3
  4. data/lib/domo.rb +0 -2
  5. data/lib/domo/core.rb +0 -1
  6. data/lib/domo/version.rb +0 -1
  7. data/pkg/domo-0.0.4.gem +0 -0
  8. data/test/bigarrow-build-dbconfig201110.xml +94 -0
  9. data/test/bigarrow-build-preview.xml +104 -0
  10. data/test/bigarrow-build-production.xml +100 -0
  11. data/test/bigarrow-build-staging-1.0.4.xml +100 -0
  12. data/test/bigarrow-build-staging-blanch-1.0.x.xml +116 -0
  13. data/test/bigarrow-build-staging.xml +115 -0
  14. data/test/bigarrow-deploy-staging-blanch-1.0.x.xml +36 -0
  15. data/test/bigarrow-deploy-staging.xml +36 -0
  16. data/test/bigarrow-test.xml +108 -0
  17. data/test/cuke4duke-example.xml +83 -0
  18. data/test/deploy-swiz-to-artifactory.xml +75 -0
  19. data/test/doc-chart.xml +53 -0
  20. data/test/doc-corpa.xml +54 -0
  21. data/test/doc-glutton.xml +70 -0
  22. data/test/doc-mmr.xml +55 -0
  23. data/test/doc-oculus.xml +74 -0
  24. data/test/generate-multi-environment-batch-dist.xml +96 -0
  25. data/test/generate-sphinx-build.xml +77 -0
  26. data/test/import-jce-policy.xml +47 -0
  27. data/test/import-key.xml +42 -0
  28. data/test/lab-commons-1.1.0.xml +78 -0
  29. data/test/lab-commons-rtt-trunk.xml +94 -0
  30. data/test/lab-commons-trunk.xml +84 -0
  31. data/test/lab-ope-batch-0.0.1.xml +79 -0
  32. data/test/lab-ope-batch-0.0.2.xml +79 -0
  33. data/test/lab-ope-batch-0.0.3.xml +79 -0
  34. data/test/lab-ope-batch.xml +75 -0
  35. data/test/lab-ope-core-0.0.1.xml +79 -0
  36. data/test/lab-ope-core.xml +75 -0
  37. data/test/lab-ope-web.xml +86 -0
  38. data/test/lab-simple-auth.xml +93 -0
  39. data/test/maven3-artifactory-pom-absent-issue.xml +60 -0
  40. data/test/mep-build-prod-trunk.xml +77 -0
  41. data/test/mep-build-prod.xml +71 -0
  42. data/test/mep-build-stable.xml +77 -0
  43. data/test/mep-build-staging-branch-1.0.x.xml +77 -0
  44. data/test/mep-build-staging-trunk.xml +77 -0
  45. data/test/mep-build-staging.xml +71 -0
  46. data/test/mep-build-verification.xml +75 -0
  47. data/test/mep-deploy-latest-branch-1.0.x.xml +108 -0
  48. data/test/mep-deploy-latest.xml +113 -0
  49. data/test/mep-deploy-stable.xml +97 -0
  50. data/test/mep-performance-test-portfolio-multi.xml +63 -0
  51. data/test/mep-performance-test-portfolio-single.xml +59 -0
  52. data/test/mep-performance-test-ranking.xml +55 -0
  53. data/test/mep-performance-test-top.xml +63 -0
  54. data/test/mep-test-branch-1.0.x.xml +195 -0
  55. data/test/mep-test.xml +200 -0
  56. data/test/mgm-batch-app.xml +143 -0
  57. data/test/mgm-batch.xml +92 -0
  58. data/test/mgm-batch_latest-tag.xml +94 -0
  59. data/test/mgm-flex-1.1.2.4.xml +89 -0
  60. data/test/mgm-flex.xml +85 -0
  61. data/test/mgm-project-1.0.0.xml +85 -0
  62. data/test/mgm-project-1.0.1.xml +85 -0
  63. data/test/mmr-batch.xml +102 -0
  64. data/test/mmr-server.xml +120 -0
  65. data/test/mnb-corpa-corector.xml +104 -0
  66. data/test/mnb-corpa-csv-generator.xml +114 -0
  67. data/test/mnb-corpa-integration-test.xml +104 -0
  68. data/test/mnb-corpa.xml +128 -0
  69. data/test/mnb-glutton-client.xml +103 -0
  70. data/test/monex-sessionkeeper-trunk.xml +89 -0
  71. data/test/monex-sessionkeeper_latest-tag.xml +80 -0
  72. data/test/oculus-batch-deploy-tags.xml +69 -0
  73. data/test/oculus-batch.xml +143 -0
  74. data/test/oculus-help.xml +140 -0
  75. data/test/oculus-publish-specification.xml +39 -0
  76. data/test/oculus-server.xml +149 -0
  77. data/test/sakimori-batch-bundle-prod.xml +60 -0
  78. data/test/sakimori-batch-bundle-stg.xml +60 -0
  79. data/test/sakimori-batch.xml +85 -0
  80. data/test/sakimori-common-3.0.1.xml +79 -0
  81. data/test/sakimori-common.xml +79 -0
  82. data/test/sakimori-project.xml +79 -0
  83. data/test/setup-settings-xml.xml +84 -0
  84. data/test/vision-analysis-trunk.xml +84 -0
  85. data/test/vision-batch-1.1.5-create-bundle-production.xml +70 -0
  86. data/test/vision-batch-1.1.5-create-bundle-staging.xml +70 -0
  87. data/test/vision-batch-trunk-create-bundle-staging.xml +60 -0
  88. data/test/vision-batch-trunk.xml +87 -0
  89. data/test/vision-batch_latest-tag.xml +90 -0
  90. data/test/vision-core-trunk.xml +85 -0
  91. data/test/vision-core_latest-tag.xml +90 -0
  92. data/test/vision-flash-swc-trunk.xml +86 -0
  93. data/test/vision-flash-swc_latest-tag.xml +81 -0
  94. data/test/vision-flex-logger-trunk.xml +86 -0
  95. data/test/vision-flex-logger_latest-tag.xml +81 -0
  96. data/test/vision-flex-server-1.1.2.5-create-war-production.xml +59 -0
  97. data/test/vision-flex-server-1.1.2.5-create-war-staging.xml +59 -0
  98. data/test/vision-flex-server-1.1.5-create-war-production.xml +69 -0
  99. data/test/vision-flex-server-1.1.5-create-war-staging.xml +69 -0
  100. data/test/vision-flex-server-1.1.6-create-war-production.xml +69 -0
  101. data/test/vision-flex-server-1.1.6-create-war-staging.xml +69 -0
  102. data/test/vision-flex-server-1.1.7-create-war-production.xml +69 -0
  103. data/test/vision-flex-server-1.1.7-create-war-staging.xml +69 -0
  104. data/test/vision-flex-server-1.1.8-create-war-production.xml +69 -0
  105. data/test/vision-flex-server-1.1.8-create-war-staging.xml +69 -0
  106. data/test/vision-flex-server-trunk-create-war-staging.xml +69 -0
  107. data/test/vision-flex-server-trunk.xml +85 -0
  108. data/test/vision-flex-server_latest-tag.xml +90 -0
  109. data/test/vision-flex4-app-trunk.xml +90 -0
  110. data/test/vision-flex4-app_latest-tag.xml +81 -0
  111. data/test/vision-flex4-core-trunk.xml +90 -0
  112. data/test/vision-flex4-core_latest-tag.xml +81 -0
  113. data/test/vision-operation-log-trunk.xml +84 -0
  114. data/test/vision-project-trunk.xml +85 -0
  115. data/test/vision-project_latest-tag.xml +90 -0
  116. data/vendor/bundle/ruby/1.9.1/bin/domo +1 -3
  117. data/vendor/bundle/ruby/1.9.1/bin/rake +19 -0
  118. data/vendor/bundle/ruby/1.9.1/cache/domain_name-0.5.2.gem +0 -0
  119. data/vendor/bundle/ruby/1.9.1/cache/highline-1.6.11.gem +0 -0
  120. data/vendor/bundle/ruby/1.9.1/cache/mechanize-2.1.gem +0 -0
  121. data/vendor/bundle/ruby/1.9.1/cache/net-http-digest_auth-1.2.gem +0 -0
  122. data/vendor/bundle/ruby/1.9.1/cache/net-http-persistent-2.3.3.gem +0 -0
  123. data/vendor/bundle/ruby/1.9.1/cache/nokogiri-1.5.0.gem +0 -0
  124. data/vendor/bundle/ruby/1.9.1/cache/ntlm-http-0.1.1.gem +0 -0
  125. data/vendor/bundle/ruby/1.9.1/cache/rake-0.9.2.2.gem +0 -0
  126. data/vendor/bundle/ruby/1.9.1/cache/unf-0.0.4.gem +0 -0
  127. data/vendor/bundle/ruby/1.9.1/cache/unf_ext-0.0.4.gem +0 -0
  128. data/vendor/bundle/ruby/1.9.1/cache/webrobots-0.0.13.gem +0 -0
  129. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/Gemfile +16 -0
  130. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/LICENSE.txt +107 -0
  131. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/README.md +66 -0
  132. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/Rakefile +77 -0
  133. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/VERSION +1 -0
  134. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/data/effective_tld_names.dat +5197 -0
  135. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/domain_name.gemspec +70 -0
  136. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/lib/domain_name.rb +236 -0
  137. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/lib/domain_name/etld_data.rb +4302 -0
  138. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/lib/domain_name/etld_data.rb.erb +7 -0
  139. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/lib/domain_name/punycode.rb +182 -0
  140. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/test/helper.rb +18 -0
  141. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/test/test_domain_name-punycode.rb +96 -0
  142. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/test/test_domain_name.rb +228 -0
  143. data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/tool/gen_etld_data.rb +61 -0
  144. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/AUTHORS +3 -0
  145. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/CHANGELOG +304 -0
  146. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/COPYING +340 -0
  147. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/INSTALL +0 -0
  148. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/LICENSE +0 -0
  149. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/README +0 -0
  150. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/Rakefile +53 -0
  151. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/TODO +0 -0
  152. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/ansi_colors.rb +0 -0
  153. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/asking_for_arrays.rb +0 -0
  154. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/basic_usage.rb +0 -0
  155. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/color_scheme.rb +0 -0
  156. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/limit.rb +0 -0
  157. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/menus.rb +0 -0
  158. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/overwrite.rb +0 -0
  159. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/page_and_wrap.rb +0 -0
  160. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/password.rb +0 -0
  161. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/trapping_eof.rb +0 -0
  162. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/using_readline.rb +0 -0
  163. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/highline.gemspec +36 -0
  164. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline.rb +978 -0
  165. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/color_scheme.rb +136 -0
  166. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/lib/highline/compatibility.rb +0 -0
  167. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/lib/highline/import.rb +0 -0
  168. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/menu.rb +398 -0
  169. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/question.rb +465 -0
  170. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/string_extensions.rb +98 -0
  171. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/style.rb +184 -0
  172. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/system_extensions.rb +180 -0
  173. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/setup.rb +0 -0
  174. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/site/highline.css +65 -0
  175. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/site/images/logo.png +0 -0
  176. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/site/index.html +58 -0
  177. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/string_methods.rb +34 -0
  178. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_color_scheme.rb +98 -0
  179. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_highline.rb +962 -0
  180. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/test/tc_import.rb +0 -0
  181. data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/test/tc_menu.rb +0 -0
  182. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_string_extension.rb +22 -0
  183. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_string_highline.rb +40 -0
  184. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_style.rb +569 -0
  185. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/ts_all.rb +18 -0
  186. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/CHANGELOG.rdoc +718 -0
  187. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/EXAMPLES.rdoc +187 -0
  188. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/FAQ.rdoc +11 -0
  189. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/GUIDE.rdoc +163 -0
  190. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/LICENSE.rdoc +20 -0
  191. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/Manifest.txt +159 -0
  192. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/README.rdoc +64 -0
  193. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/Rakefile +49 -0
  194. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/flickr_upload.rb +22 -0
  195. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/mech-dump.rb +5 -0
  196. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/proxy_req.rb +7 -0
  197. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/rubyforge.rb +20 -0
  198. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/spider.rb +21 -0
  199. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize.rb +1079 -0
  200. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/content_type_error.rb +13 -0
  201. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/cookie.rb +232 -0
  202. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/cookie_jar.rb +194 -0
  203. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/download.rb +59 -0
  204. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/element_matcher.rb +36 -0
  205. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file.rb +65 -0
  206. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file_connection.rb +17 -0
  207. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file_request.rb +26 -0
  208. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file_response.rb +74 -0
  209. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file_saver.rb +39 -0
  210. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form.rb +543 -0
  211. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/button.rb +6 -0
  212. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/check_box.rb +12 -0
  213. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/field.rb +54 -0
  214. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/file_upload.rb +21 -0
  215. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/hidden.rb +3 -0
  216. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/image_button.rb +19 -0
  217. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/keygen.rb +34 -0
  218. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/multi_select_list.rb +94 -0
  219. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/option.rb +50 -0
  220. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/radio_button.rb +55 -0
  221. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/reset.rb +3 -0
  222. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/select_list.rb +44 -0
  223. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/submit.rb +3 -0
  224. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/text.rb +3 -0
  225. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/textarea.rb +3 -0
  226. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/headers.rb +23 -0
  227. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/history.rb +82 -0
  228. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http.rb +8 -0
  229. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/agent.rb +1004 -0
  230. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/auth_challenge.rb +59 -0
  231. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/auth_realm.rb +31 -0
  232. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/content_disposition_parser.rb +188 -0
  233. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/www_authenticate_parser.rb +155 -0
  234. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/monkey_patch.rb +16 -0
  235. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page.rb +440 -0
  236. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/base.rb +7 -0
  237. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/frame.rb +27 -0
  238. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/image.rb +30 -0
  239. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/label.rb +20 -0
  240. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/link.rb +98 -0
  241. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/meta_refresh.rb +68 -0
  242. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/parser.rb +173 -0
  243. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/pluggable_parsers.rb +144 -0
  244. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/redirect_limit_reached_error.rb +19 -0
  245. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/redirect_not_get_or_head_error.rb +21 -0
  246. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/response_code_error.rb +21 -0
  247. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/response_read_error.rb +27 -0
  248. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/robots_disallowed_error.rb +28 -0
  249. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/test_case.rb +663 -0
  250. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/unauthorized_error.rb +3 -0
  251. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/unsupported_scheme_error.rb +6 -0
  252. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/util.rb +101 -0
  253. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/htpasswd +0 -0
  254. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/server.crt +0 -0
  255. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/server.csr +0 -0
  256. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/server.key +0 -0
  257. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/server.pem +0 -0
  258. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/alt_text.html +0 -0
  259. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/bad_form_test.html +0 -0
  260. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/button.jpg +0 -0
  261. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/canonical_uri.html +9 -0
  262. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/dir with spaces/foo.html +1 -0
  263. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/empty_form.html +0 -0
  264. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/file_upload.html +0 -0
  265. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/find_link.html +0 -0
  266. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_multi_select.html +0 -0
  267. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/form_multival.html +37 -0
  268. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_no_action.html +0 -0
  269. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_no_input_name.html +0 -0
  270. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/form_order_test.html +11 -0
  271. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_select.html +0 -0
  272. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_set_fields.html +0 -0
  273. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/form_test.html +188 -0
  274. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/frame_referer_test.html +10 -0
  275. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/frame_test.html +0 -0
  276. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/google.html +0 -0
  277. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/index.html +0 -0
  278. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/link with space.html b/data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/link with → space.html +0 -0
  279. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/meta_cookie.html +0 -0
  280. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/no_title_test.html +0 -0
  281. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/noindex.html +9 -0
  282. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/rails_3_encoding_hack_form_test.html +27 -0
  283. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/relative/tc_relative_links.html +0 -0
  284. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/robots.html +8 -0
  285. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/robots.txt +2 -0
  286. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_bad_charset.html +0 -0
  287. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_bad_links.html +0 -0
  288. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_base_link.html +0 -0
  289. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_blank_form.html +0 -0
  290. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_charset.html +0 -0
  291. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_checkboxes.html +0 -0
  292. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_encoded_links.html +0 -0
  293. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_field_precedence.html +0 -0
  294. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_follow_meta.html +0 -0
  295. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_form_action.html +0 -0
  296. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/tc_links.html +19 -0
  297. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_meta_in_body.html +0 -0
  298. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_pretty_print.html +0 -0
  299. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/tc_referer.html +16 -0
  300. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_relative_links.html +0 -0
  301. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_textarea.html +0 -0
  302. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/test_click.html +11 -0
  303. data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/unusual______.html +0 -0
  304. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize.rb +1164 -0
  305. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_cookie.rb +451 -0
  306. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_cookie_jar.rb +483 -0
  307. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_download.rb +43 -0
  308. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_file.rb +61 -0
  309. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_file_connection.rb +21 -0
  310. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_file_request.rb +19 -0
  311. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_file_saver.rb +21 -0
  312. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form.rb +875 -0
  313. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_check_box.rb +38 -0
  314. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_encoding.rb +114 -0
  315. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_field.rb +63 -0
  316. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_file_upload.rb +20 -0
  317. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_image_button.rb +12 -0
  318. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_keygen.rb +32 -0
  319. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_multi_select_list.rb +84 -0
  320. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_option.rb +55 -0
  321. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_radio_button.rb +78 -0
  322. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_select_list.rb +76 -0
  323. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_textarea.rb +52 -0
  324. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_headers.rb +35 -0
  325. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_history.rb +103 -0
  326. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_agent.rb +1225 -0
  327. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_auth_challenge.rb +39 -0
  328. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_auth_realm.rb +49 -0
  329. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_content_disposition_parser.rb +118 -0
  330. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_www_authenticate_parser.rb +146 -0
  331. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_link.rb +80 -0
  332. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page.rb +118 -0
  333. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page_encoding.rb +182 -0
  334. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page_frame.rb +16 -0
  335. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page_link.rb +390 -0
  336. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page_meta_refresh.rb +127 -0
  337. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_parser.rb +289 -0
  338. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_pluggable_parser.rb +52 -0
  339. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_redirect_limit_reached_error.rb +24 -0
  340. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_redirect_not_get_or_head_error.rb +14 -0
  341. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_subclass.rb +22 -0
  342. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_util.rb +103 -0
  343. data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_multi_select.rb +119 -0
  344. data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/History.txt +24 -0
  345. data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/Manifest.txt +9 -0
  346. data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/README.txt +49 -0
  347. data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/Rakefile +22 -0
  348. data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/lib/net/http/digest_auth.rb +159 -0
  349. data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/sample/auth_server.rb +48 -0
  350. data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/sample/net_http_example.rb +27 -0
  351. data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/test/test_net_http_digest_auth.rb +111 -0
  352. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/History.txt +204 -0
  353. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/Manifest.txt +11 -0
  354. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/README.rdoc +78 -0
  355. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/Rakefile +19 -0
  356. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/faster.rb +27 -0
  357. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent.rb +741 -0
  358. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent/ssl_reuse.rb +129 -0
  359. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/test/test_net_http_persistent.rb +981 -0
  360. data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/test/test_net_http_persistent_ssl_reuse.rb +100 -0
  361. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/CHANGELOG.ja.rdoc +544 -0
  362. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/CHANGELOG.rdoc +532 -0
  363. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/Manifest.txt +283 -0
  364. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/README.ja.rdoc +106 -0
  365. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/README.rdoc +174 -0
  366. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/Rakefile +169 -0
  367. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/bin/nokogiri +53 -0
  368. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/Makefile +545 -0
  369. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/depend +0 -0
  370. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/extconf.rb +124 -0
  371. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_document.c +0 -0
  372. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_document.h +0 -0
  373. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/html_document.o +0 -0
  374. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_element_description.c +0 -0
  375. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_element_description.h +0 -0
  376. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/html_element_description.o +0 -0
  377. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_entity_lookup.c +0 -0
  378. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_entity_lookup.h +0 -0
  379. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/html_entity_lookup.o +0 -0
  380. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_sax_parser_context.c +0 -0
  381. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_sax_parser_context.h +0 -0
  382. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/html_sax_parser_context.o +0 -0
  383. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/mkmf.log +408 -0
  384. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/nokogiri.bundle +0 -0
  385. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/nokogiri.c +115 -0
  386. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/nokogiri.h +160 -0
  387. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/nokogiri.o +0 -0
  388. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_attr.c +0 -0
  389. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_attr.h +0 -0
  390. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_attr.o +0 -0
  391. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_attribute_decl.c +0 -0
  392. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_attribute_decl.h +0 -0
  393. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_attribute_decl.o +0 -0
  394. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_cdata.c +0 -0
  395. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_cdata.h +0 -0
  396. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_cdata.o +0 -0
  397. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_comment.c +0 -0
  398. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_comment.h +0 -0
  399. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_comment.o +0 -0
  400. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_document.c +478 -0
  401. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_document.h +0 -0
  402. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_document.o +0 -0
  403. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_document_fragment.c +0 -0
  404. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_document_fragment.h +0 -0
  405. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_document_fragment.o +0 -0
  406. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_dtd.c +0 -0
  407. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_dtd.h +0 -0
  408. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_dtd.o +0 -0
  409. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_element_content.c +0 -0
  410. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_element_content.h +0 -0
  411. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_element_content.o +0 -0
  412. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_element_decl.c +0 -0
  413. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_element_decl.h +0 -0
  414. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_element_decl.o +0 -0
  415. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_encoding_handler.c +0 -0
  416. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_encoding_handler.h +0 -0
  417. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_encoding_handler.o +0 -0
  418. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_entity_decl.c +0 -0
  419. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_entity_decl.h +0 -0
  420. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_entity_decl.o +0 -0
  421. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_entity_reference.c +0 -0
  422. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_entity_reference.h +0 -0
  423. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_entity_reference.o +0 -0
  424. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_io.c +56 -0
  425. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_io.h +0 -0
  426. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_io.o +0 -0
  427. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_libxml2_hacks.c +0 -0
  428. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_libxml2_hacks.h +0 -0
  429. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_libxml2_hacks.o +0 -0
  430. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_namespace.c +0 -0
  431. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_namespace.h +0 -0
  432. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_namespace.o +0 -0
  433. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_node.c +1385 -0
  434. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_node.h +0 -0
  435. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_node.o +0 -0
  436. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_node_set.c +0 -0
  437. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_node_set.h +0 -0
  438. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_node_set.o +0 -0
  439. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_processing_instruction.c +0 -0
  440. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_processing_instruction.h +0 -0
  441. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_processing_instruction.o +0 -0
  442. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_reader.c +0 -0
  443. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_reader.h +0 -0
  444. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_reader.o +0 -0
  445. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_relax_ng.c +161 -0
  446. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_relax_ng.h +0 -0
  447. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_relax_ng.o +0 -0
  448. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_sax_parser.c +293 -0
  449. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_sax_parser.h +0 -0
  450. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_sax_parser.o +0 -0
  451. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_sax_parser_context.c +0 -0
  452. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_sax_parser_context.h +0 -0
  453. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_sax_parser_context.o +0 -0
  454. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_sax_push_parser.c +0 -0
  455. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_sax_push_parser.h +0 -0
  456. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_sax_push_parser.o +0 -0
  457. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_schema.c +0 -0
  458. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_schema.h +0 -0
  459. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_schema.o +0 -0
  460. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_syntax_error.c +0 -0
  461. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_syntax_error.h +0 -0
  462. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_syntax_error.o +0 -0
  463. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_text.c +0 -0
  464. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_text.h +0 -0
  465. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_text.o +0 -0
  466. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_xpath_context.c +0 -0
  467. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_xpath_context.h +0 -0
  468. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_xpath_context.o +0 -0
  469. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xslt_stylesheet.c +264 -0
  470. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xslt_stylesheet.h +0 -0
  471. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xslt_stylesheet.o +0 -0
  472. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri.rb +127 -0
  473. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css.rb +27 -0
  474. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/css/node.rb +0 -0
  475. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/parser.rb +677 -0
  476. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/parser.y +237 -0
  477. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/parser_extras.rb +91 -0
  478. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/css/syntax_error.rb +0 -0
  479. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/tokenizer.rb +152 -0
  480. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/tokenizer.rex +55 -0
  481. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/css/xpath_visitor.rb +0 -0
  482. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/decorators/slop.rb +0 -0
  483. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/html.rb +36 -0
  484. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/builder.rb +0 -0
  485. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/html/document.rb +213 -0
  486. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/document_fragment.rb +0 -0
  487. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/element_description.rb +0 -0
  488. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/html/element_description_defaults.rb +671 -0
  489. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/entity_lookup.rb +0 -0
  490. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/html/sax/parser.rb +52 -0
  491. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/sax/parser_context.rb +0 -0
  492. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/nokogiri.bundle +0 -0
  493. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/syntax_error.rb +0 -0
  494. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/version.rb +88 -0
  495. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml.rb +0 -0
  496. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/attr.rb +0 -0
  497. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/attribute_decl.rb +18 -0
  498. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb +425 -0
  499. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/cdata.rb +0 -0
  500. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/character_data.rb +0 -0
  501. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/document.rb +234 -0
  502. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/document_fragment.rb +98 -0
  503. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/dtd.rb +22 -0
  504. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/element_content.rb +0 -0
  505. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/element_decl.rb +13 -0
  506. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/entity_decl.rb +19 -0
  507. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/namespace.rb +0 -0
  508. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node.rb +915 -0
  509. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node/save_options.rb +61 -0
  510. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb +357 -0
  511. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/notation.rb +0 -0
  512. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/parse_options.rb +93 -0
  513. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/pp.rb +0 -0
  514. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/pp/character_data.rb +0 -0
  515. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/pp/node.rb +0 -0
  516. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/processing_instruction.rb +0 -0
  517. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/reader.rb +112 -0
  518. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/relax_ng.rb +0 -0
  519. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/sax.rb +0 -0
  520. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/sax/document.rb +0 -0
  521. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/sax/parser.rb +0 -0
  522. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/sax/parser_context.rb +0 -0
  523. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/sax/push_parser.rb +0 -0
  524. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/schema.rb +63 -0
  525. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/syntax_error.rb +0 -0
  526. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/text.rb +0 -0
  527. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/xpath.rb +0 -0
  528. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/xpath/syntax_error.rb +0 -0
  529. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/xpath_context.rb +0 -0
  530. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xslt.rb +0 -0
  531. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xslt/stylesheet.rb +25 -0
  532. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/xsd/xmlparser/nokogiri.rb +0 -0
  533. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/nokogiri_help_responses.md +40 -0
  534. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/cross_compile.rb +152 -0
  535. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/nokogiri.org.rb +18 -0
  536. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/test.rb +94 -0
  537. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/css/test_nthiness.rb +0 -0
  538. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/css/test_parser.rb +0 -0
  539. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/css/test_tokenizer.rb +198 -0
  540. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/css/test_xpath_visitor.rb +0 -0
  541. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/decorators/test_slop.rb +0 -0
  542. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/2ch.html +0 -0
  543. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/address_book.rlx +0 -0
  544. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/address_book.xml +0 -0
  545. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/bar/bar.xsd +0 -0
  546. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/dont_hurt_em_why.xml +0 -0
  547. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/files/encoding.html +82 -0
  548. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/files/encoding.xhtml +84 -0
  549. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/exslt.xml +0 -0
  550. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/exslt.xslt +0 -0
  551. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/foo/foo.xsd +0 -0
  552. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/files/metacharset.html +10 -0
  553. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/files/noencoding.html +47 -0
  554. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/po.xml +0 -0
  555. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/po.xsd +0 -0
  556. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/shift_jis.html +0 -0
  557. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/shift_jis.xml +0 -0
  558. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/snuggles.xml +0 -0
  559. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/staff.dtd +0 -0
  560. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/staff.xml +0 -0
  561. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/staff.xslt +0 -0
  562. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/tlm.html +0 -0
  563. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/valid_bar.xml +0 -0
  564. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/helper.rb +173 -0
  565. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/sax/test_parser.rb +136 -0
  566. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/sax/test_parser_context.rb +0 -0
  567. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/test_builder.rb +0 -0
  568. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/test_document.rb +472 -0
  569. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/test_document_encoding.rb +138 -0
  570. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/test_document_fragment.rb +255 -0
  571. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/test_element_description.rb +100 -0
  572. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/test_named_characters.rb +0 -0
  573. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/test_node.rb +0 -0
  574. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/test_node_encoding.rb +0 -0
  575. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/test_convert_xpath.rb +0 -0
  576. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/test_css_cache.rb +0 -0
  577. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/test_encoding_handler.rb +0 -0
  578. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/test_memory_leak.rb +72 -0
  579. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/test_nokogiri.rb +132 -0
  580. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/test_reader.rb +425 -0
  581. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/test_soap4r_sax.rb +0 -0
  582. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/test_xslt_transforms.rb +193 -0
  583. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/node/test_save_options.rb +28 -0
  584. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/node/test_subclass.rb +0 -0
  585. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/sax/test_parser.rb +338 -0
  586. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/sax/test_parser_context.rb +0 -0
  587. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/sax/test_push_parser.rb +0 -0
  588. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_attr.rb +0 -0
  589. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_attribute_decl.rb +86 -0
  590. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_builder.rb +227 -0
  591. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_cdata.rb +0 -0
  592. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_comment.rb +0 -0
  593. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_document.rb +697 -0
  594. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_document_encoding.rb +0 -0
  595. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_document_fragment.rb +0 -0
  596. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_dtd.rb +107 -0
  597. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_dtd_encoding.rb +0 -0
  598. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_element_content.rb +56 -0
  599. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_element_decl.rb +73 -0
  600. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_entity_decl.rb +122 -0
  601. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_entity_reference.rb +0 -0
  602. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_namespace.rb +70 -0
  603. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_node.rb +917 -0
  604. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_node_attributes.rb +0 -0
  605. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_node_encoding.rb +0 -0
  606. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_node_reparenting.rb +334 -0
  607. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_node_set.rb +742 -0
  608. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_parse_options.rb +0 -0
  609. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_processing_instruction.rb +0 -0
  610. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_reader_encoding.rb +0 -0
  611. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_relax_ng.rb +0 -0
  612. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_schema.rb +94 -0
  613. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_syntax_error.rb +0 -0
  614. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_text.rb +0 -0
  615. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_unparented_node.rb +0 -0
  616. data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_xpath.rb +0 -0
  617. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xslt/test_custom_functions.rb +94 -0
  618. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xslt/test_exception_handling.rb +37 -0
  619. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/README +25 -0
  620. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/Rakefile +66 -0
  621. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/examples/http.rb +86 -0
  622. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/examples/imap.rb +73 -0
  623. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/examples/smtp.rb +94 -0
  624. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/lib/net/ntlm.rb +774 -0
  625. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/lib/net/ntlm_http.rb +854 -0
  626. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/ntlm-http-0.1.1.gemspec +16 -0
  627. data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/test/function_test.rb +111 -0
  628. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/CHANGES +522 -0
  629. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/MIT-LICENSE +21 -0
  630. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/README.rdoc +197 -0
  631. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/Rakefile +369 -0
  632. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/TODO +20 -0
  633. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake +33 -0
  634. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/command_line_usage.rdoc +114 -0
  635. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/Rakefile1 +38 -0
  636. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/Rakefile2 +35 -0
  637. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/a.c +6 -0
  638. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/b.c +6 -0
  639. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/main.c +11 -0
  640. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/glossary.rdoc +51 -0
  641. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/jamis.rb +591 -0
  642. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/proto_rake.rdoc +127 -0
  643. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rake.1.gz +0 -0
  644. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rakefile.rdoc +557 -0
  645. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rational.rdoc +151 -0
  646. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
  647. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
  648. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
  649. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
  650. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
  651. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
  652. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
  653. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
  654. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
  655. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
  656. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
  657. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
  658. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
  659. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
  660. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
  661. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.6.rdoc +55 -0
  662. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
  663. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
  664. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
  665. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
  666. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/install.rb +90 -0
  667. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake.rb +69 -0
  668. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/alt_system.rb +109 -0
  669. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb +595 -0
  670. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/classic_namespace.rb +11 -0
  671. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/clean.rb +32 -0
  672. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/cloneable.rb +25 -0
  673. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
  674. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/ftptools.rb +150 -0
  675. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/publisher.rb +73 -0
  676. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/rubyforgepublisher.rb +16 -0
  677. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/sshpublisher.rb +50 -0
  678. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/sys.rb +191 -0
  679. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/default_loader.rb +10 -0
  680. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/dsl_definition.rb +176 -0
  681. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/early_time.rb +18 -0
  682. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/core.rb +27 -0
  683. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/module.rb +39 -0
  684. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/string.rb +167 -0
  685. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/time.rb +14 -0
  686. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_creation_task.rb +24 -0
  687. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_list.rb +403 -0
  688. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_task.rb +47 -0
  689. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb +114 -0
  690. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb +145 -0
  691. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/gempackagetask.rb +15 -0
  692. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/invocation_chain.rb +51 -0
  693. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
  694. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/loaders/makefile.rb +40 -0
  695. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/multi_task.rb +16 -0
  696. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/name_space.rb +25 -0
  697. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/packagetask.rb +185 -0
  698. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pathmap.rb +1 -0
  699. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb +24 -0
  700. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb +29 -0
  701. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb +22 -0
  702. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb +234 -0
  703. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ruby182_test_unit_fix.rb +25 -0
  704. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  705. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/runtest.rb +21 -0
  706. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb +327 -0
  707. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_argument_error.rb +7 -0
  708. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_arguments.rb +78 -0
  709. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_manager.rb +307 -0
  710. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/tasklib.rb +22 -0
  711. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/testtask.rb +191 -0
  712. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/version.rb +8 -0
  713. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/win32.rb +55 -0
  714. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/file_creation.rb +34 -0
  715. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/helper.rb +492 -0
  716. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake.rb +40 -0
  717. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_application.rb +489 -0
  718. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_application_options.rb +335 -0
  719. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_clean.rb +14 -0
  720. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_definitions.rb +80 -0
  721. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_directory_task.rb +46 -0
  722. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_dsl.rb +77 -0
  723. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_early_time.rb +31 -0
  724. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_extension.rb +59 -0
  725. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_creation_task.rb +56 -0
  726. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_list.rb +628 -0
  727. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_list_path_map.rb +8 -0
  728. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_task.rb +102 -0
  729. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_utils.rb +305 -0
  730. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_ftp_file.rb +59 -0
  731. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_functional.rb +450 -0
  732. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_invocation_chain.rb +52 -0
  733. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_makefile_loader.rb +44 -0
  734. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_multi_task.rb +51 -0
  735. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_name_space.rb +43 -0
  736. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_package_task.rb +79 -0
  737. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map.rb +157 -0
  738. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map_explode.rb +34 -0
  739. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map_partial.rb +18 -0
  740. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_pseudo_status.rb +21 -0
  741. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rake_test_loader.rb +21 -0
  742. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rdoc_task.rb +83 -0
  743. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_require.rb +40 -0
  744. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rules.rb +327 -0
  745. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task.rb +267 -0
  746. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_argument_parsing.rb +103 -0
  747. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_arguments.rb +88 -0
  748. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_lib.rb +9 -0
  749. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_manager.rb +157 -0
  750. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_manager_argument_resolution.rb +36 -0
  751. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_with_arguments.rb +173 -0
  752. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_test_task.rb +120 -0
  753. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_top_level_functions.rb +111 -0
  754. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_win32.rb +72 -0
  755. data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb +20 -0
  756. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/Gemfile +15 -0
  757. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/LICENSE.txt +24 -0
  758. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/README.md +39 -0
  759. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/Rakefile +56 -0
  760. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/VERSION +1 -0
  761. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf.rb +24 -0
  762. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf/normalizer.rb +17 -0
  763. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf/normalizer_cruby.rb +1 -0
  764. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf/normalizer_jruby.rb +30 -0
  765. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/test/helper.rb +18 -0
  766. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/test/normalization-test.txt +108816 -0
  767. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/test/test_unf.rb +41 -0
  768. data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/unf.gemspec +67 -0
  769. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/Gemfile +14 -0
  770. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/LICENSE.txt +22 -0
  771. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/README.md +58 -0
  772. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/Rakefile +65 -0
  773. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/VERSION +1 -0
  774. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/Makefile +187 -0
  775. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/extconf.rb +25 -0
  776. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/mkmf.log +34 -0
  777. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf.cc +75 -0
  778. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf.o +0 -0
  779. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/normalizer.hh +139 -0
  780. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/table.hh +13542 -0
  781. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/trie/char_stream.hh +150 -0
  782. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/trie/node.hh +25 -0
  783. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/trie/searcher.hh +194 -0
  784. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/util.hh +24 -0
  785. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf_ext.bundle +0 -0
  786. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/lib/unf_ext.bundle +0 -0
  787. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/lib/unf_ext.rb +5 -0
  788. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/test/helper.rb +19 -0
  789. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/test/normalization-test.txt +108816 -0
  790. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/test/test_unf_ext.rb +41 -0
  791. data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/unf_ext.gemspec +71 -0
  792. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/Gemfile +17 -0
  793. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/Gemfile.lock +24 -0
  794. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/LICENSE.txt +24 -0
  795. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/README.rdoc +38 -0
  796. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/Rakefile +61 -0
  797. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/VERSION +1 -0
  798. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/lib/webrobots.rb +172 -0
  799. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/lib/webrobots/nokogiri.rb +32 -0
  800. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/lib/webrobots/robotstxt.rb +741 -0
  801. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/lib/webrobots/robotstxt.ry +476 -0
  802. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/test/helper.rb +18 -0
  803. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/test/test_webrobots.rb +682 -0
  804. data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/webrobots.gemspec +68 -0
  805. data/vendor/bundle/ruby/1.9.1/specifications/domain_name-0.5.2.gemspec +46 -0
  806. data/vendor/bundle/ruby/1.9.1/specifications/highline-1.6.11.gemspec +29 -0
  807. data/vendor/bundle/ruby/1.9.1/specifications/mechanize-2.1.gemspec +55 -0
  808. data/vendor/bundle/ruby/1.9.1/specifications/net-http-digest_auth-1.2.gemspec +36 -0
  809. data/vendor/bundle/ruby/1.9.1/specifications/net-http-persistent-2.3.3.gemspec +36 -0
  810. data/vendor/bundle/ruby/1.9.1/specifications/nokogiri-1.5.0.gemspec +62 -0
  811. data/vendor/bundle/ruby/1.9.1/specifications/ntlm-http-0.1.1.gemspec +32 -0
  812. data/vendor/bundle/ruby/1.9.1/specifications/rake-0.9.2.2.gemspec +34 -0
  813. data/vendor/bundle/ruby/1.9.1/specifications/unf-0.0.4.gemspec +43 -0
  814. data/vendor/bundle/ruby/1.9.1/specifications/unf_ext-0.0.4.gemspec +44 -0
  815. data/vendor/bundle/ruby/1.9.1/specifications/webrobots-0.0.13.gemspec +46 -0
  816. metadata +833 -565
  817. data/vendor/bundle/ruby/1.9.1/cache/highline-1.6.2.gem +0 -0
  818. data/vendor/bundle/ruby/1.9.1/cache/mechanize-1.0.0.gem +0 -0
  819. data/vendor/bundle/ruby/1.9.1/cache/nokogiri-1.4.4.gem +0 -0
  820. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/CHANGELOG +0 -251
  821. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/Rakefile +0 -82
  822. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline.rb +0 -763
  823. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline/color_scheme.rb +0 -118
  824. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline/menu.rb +0 -398
  825. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline/question.rb +0 -462
  826. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline/system_extensions.rb +0 -186
  827. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/test/tc_color_scheme.rb +0 -56
  828. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/test/tc_highline.rb +0 -823
  829. data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/test/ts_all.rb +0 -15
  830. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/CHANGELOG.rdoc +0 -516
  831. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/EXAMPLES.rdoc +0 -185
  832. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/FAQ.rdoc +0 -11
  833. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/GUIDE.rdoc +0 -123
  834. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/LICENSE.rdoc +0 -340
  835. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/Manifest.txt +0 -180
  836. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/README.rdoc +0 -60
  837. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/Rakefile +0 -33
  838. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/flickr_upload.rb +0 -23
  839. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/mech-dump.rb +0 -7
  840. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/proxy_req.rb +0 -9
  841. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/rubyforge.rb +0 -22
  842. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/spider.rb +0 -11
  843. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize.rb +0 -660
  844. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain.rb +0 -33
  845. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/auth_headers.rb +0 -78
  846. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/body_decoding_handler.rb +0 -48
  847. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/connection_resolver.rb +0 -77
  848. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/custom_headers.rb +0 -21
  849. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/handler.rb +0 -9
  850. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/header_resolver.rb +0 -57
  851. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/parameter_resolver.rb +0 -22
  852. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/post_connect_hook.rb +0 -0
  853. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/pre_connect_hook.rb +0 -20
  854. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/request_resolver.rb +0 -30
  855. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/response_body_parser.rb +0 -38
  856. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/response_header_handler.rb +0 -48
  857. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/response_reader.rb +0 -39
  858. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/ssl_resolver.rb +0 -40
  859. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/uri_resolver.rb +0 -75
  860. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/content_type_error.rb +0 -14
  861. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/cookie.rb +0 -78
  862. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/cookie_jar.rb +0 -186
  863. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/file.rb +0 -71
  864. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/file_response.rb +0 -60
  865. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/file_saver.rb +0 -37
  866. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form.rb +0 -455
  867. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/button.rb +0 -9
  868. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/check_box.rb +0 -11
  869. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/field.rb +0 -38
  870. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/file_upload.rb +0 -23
  871. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/image_button.rb +0 -21
  872. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/multi_select_list.rb +0 -67
  873. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/option.rb +0 -49
  874. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/radio_button.rb +0 -48
  875. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/select_list.rb +0 -68
  876. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/headers.rb +0 -11
  877. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/history.rb +0 -65
  878. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/inspect.rb +0 -88
  879. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/monkey_patch.rb +0 -35
  880. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page.rb +0 -300
  881. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/base.rb +0 -8
  882. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/frame.rb +0 -20
  883. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/image.rb +0 -26
  884. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/label.rb +0 -20
  885. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/link.rb +0 -48
  886. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/meta.rb +0 -50
  887. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/pluggable_parsers.rb +0 -101
  888. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/redirect_limit_reached_error.rb +0 -16
  889. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/redirect_not_get_or_head_error.rb +0 -18
  890. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/response_code_error.rb +0 -22
  891. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/unsupported_scheme_error.rb +0 -8
  892. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/util.rb +0 -69
  893. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_argument_validator.rb +0 -14
  894. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_auth_headers.rb +0 -25
  895. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_custom_headers.rb +0 -18
  896. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_header_resolver.rb +0 -29
  897. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_parameter_resolver.rb +0 -35
  898. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_request_resolver.rb +0 -29
  899. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_response_reader.rb +0 -24
  900. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/helper.rb +0 -132
  901. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_multival.html +0 -37
  902. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_select_all.html +0 -16
  903. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_select_none.html +0 -17
  904. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_select_noopts.html +0 -10
  905. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_test.html +0 -188
  906. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/iframe_test.html +0 -16
  907. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/tc_links.html +0 -18
  908. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/tc_no_attributes.html +0 -16
  909. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/tc_radiobuttons.html +0 -17
  910. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/tc_referer.html +0 -10
  911. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/test_bad_encoding.html +0 -52
  912. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/servlets.rb +0 -365
  913. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/ssl_server.rb +0 -48
  914. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_authenticate.rb +0 -71
  915. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_bad_links.rb +0 -25
  916. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_blank_form.rb +0 -16
  917. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_checkboxes.rb +0 -61
  918. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_content_type.rb +0 -13
  919. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_cookie_class.rb +0 -338
  920. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_cookie_jar.rb +0 -324
  921. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_cookies.rb +0 -123
  922. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_encoded_links.rb +0 -20
  923. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_errors.rb +0 -49
  924. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_field_precedence.rb +0 -30
  925. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_follow_meta.rb +0 -119
  926. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_form_action.rb +0 -52
  927. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_form_as_hash.rb +0 -61
  928. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_form_button.rb +0 -38
  929. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_form_no_inputname.rb +0 -15
  930. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_forms.rb +0 -571
  931. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_frames.rb +0 -25
  932. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_get_headers.rb +0 -52
  933. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_gzipping.rb +0 -22
  934. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_hash_api.rb +0 -45
  935. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_history.rb +0 -142
  936. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_history_added.rb +0 -16
  937. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_html_unscape_forms.rb +0 -46
  938. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_if_modified_since.rb +0 -20
  939. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_keep_alive.rb +0 -31
  940. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_links.rb +0 -128
  941. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_mech.rb +0 -268
  942. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_mech_proxy.rb +0 -16
  943. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_mechanize_file.rb +0 -47
  944. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_meta.rb +0 -65
  945. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_multi_select.rb +0 -106
  946. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_no_attributes.rb +0 -13
  947. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_option.rb +0 -18
  948. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_page.rb +0 -124
  949. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_pluggable_parser.rb +0 -145
  950. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_post_form.rb +0 -34
  951. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_pretty_print.rb +0 -22
  952. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_radiobutton.rb +0 -75
  953. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_redirect_limit_reached.rb +0 -39
  954. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_redirect_verb_handling.rb +0 -49
  955. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_referer.rb +0 -39
  956. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_relative_links.rb +0 -40
  957. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_request.rb +0 -13
  958. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_response_code.rb +0 -52
  959. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_save_file.rb +0 -48
  960. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_scheme.rb +0 -48
  961. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_select.rb +0 -116
  962. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_select_all.rb +0 -15
  963. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_select_none.rb +0 -15
  964. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_select_noopts.rb +0 -16
  965. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_set_fields.rb +0 -44
  966. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_ssl_server.rb +0 -20
  967. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_subclass.rb +0 -30
  968. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_textarea.rb +0 -45
  969. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_upload.rb +0 -109
  970. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_util.rb +0 -7
  971. data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_verbs.rb +0 -25
  972. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/CHANGELOG.ja.rdoc +0 -457
  973. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/CHANGELOG.rdoc +0 -446
  974. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/Manifest.txt +0 -282
  975. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/README.ja.rdoc +0 -102
  976. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/README.rdoc +0 -146
  977. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/Rakefile +0 -187
  978. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/bin/nokogiri +0 -54
  979. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/deps.rip +0 -5
  980. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/Makefile +0 -545
  981. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/extconf.rb +0 -118
  982. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/html_document.o +0 -0
  983. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/html_element_description.o +0 -0
  984. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/html_entity_lookup.o +0 -0
  985. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/html_sax_parser_context.o +0 -0
  986. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/mkmf.log +0 -377
  987. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/nokogiri.bundle +0 -0
  988. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/nokogiri.c +0 -97
  989. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/nokogiri.h +0 -162
  990. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/nokogiri.o +0 -0
  991. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_attr.o +0 -0
  992. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_attribute_decl.o +0 -0
  993. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_cdata.o +0 -0
  994. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_comment.o +0 -0
  995. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_document.c +0 -469
  996. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_document.o +0 -0
  997. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_document_fragment.o +0 -0
  998. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_dtd.o +0 -0
  999. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_element_content.o +0 -0
  1000. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_element_decl.o +0 -0
  1001. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_encoding_handler.o +0 -0
  1002. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_entity_decl.o +0 -0
  1003. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_entity_reference.o +0 -0
  1004. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_io.c +0 -31
  1005. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_io.o +0 -0
  1006. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_libxml2_hacks.o +0 -0
  1007. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_namespace.o +0 -0
  1008. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_node.c +0 -1390
  1009. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_node.o +0 -0
  1010. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_node_set.o +0 -0
  1011. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_processing_instruction.o +0 -0
  1012. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_reader.o +0 -0
  1013. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_relax_ng.c +0 -168
  1014. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_relax_ng.o +0 -0
  1015. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_sax_parser.c +0 -286
  1016. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_sax_parser.o +0 -0
  1017. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_sax_parser_context.o +0 -0
  1018. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_sax_push_parser.o +0 -0
  1019. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_schema.o +0 -0
  1020. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_syntax_error.o +0 -0
  1021. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_text.o +0 -0
  1022. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_xpath_context.o +0 -0
  1023. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xslt_stylesheet.c +0 -254
  1024. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xslt_stylesheet.o +0 -0
  1025. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri.rb +0 -133
  1026. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css.rb +0 -25
  1027. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/generated_parser.rb +0 -676
  1028. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/generated_tokenizer.rb +0 -145
  1029. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/parser.rb +0 -82
  1030. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/parser.y +0 -235
  1031. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/tokenizer.rb +0 -7
  1032. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/tokenizer.rex +0 -55
  1033. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/encoding_handler.rb +0 -42
  1034. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/html/document.rb +0 -28
  1035. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/html/element_description.rb +0 -81
  1036. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/html/entity_lookup.rb +0 -16
  1037. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/html/sax/parser_context.rb +0 -38
  1038. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/io_callbacks.rb +0 -42
  1039. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/libxml.rb +0 -420
  1040. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/common_node.rb +0 -38
  1041. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/html_elem_desc.rb +0 -24
  1042. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/html_entity_desc.rb +0 -13
  1043. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_alloc.rb +0 -16
  1044. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_attr.rb +0 -19
  1045. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_attribute.rb +0 -27
  1046. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_buffer.rb +0 -16
  1047. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_char_encoding_handler.rb +0 -11
  1048. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_document.rb +0 -117
  1049. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_dtd.rb +0 -28
  1050. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_element.rb +0 -26
  1051. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_element_content.rb +0 -17
  1052. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_entity.rb +0 -32
  1053. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_enumeration.rb +0 -12
  1054. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_node.rb +0 -28
  1055. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_node_set.rb +0 -53
  1056. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_notation.rb +0 -11
  1057. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_ns.rb +0 -15
  1058. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_parser_context.rb +0 -20
  1059. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_parser_input.rb +0 -19
  1060. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_relax_ng.rb +0 -14
  1061. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_sax_handler.rb +0 -51
  1062. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb +0 -124
  1063. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_schema.rb +0 -13
  1064. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_syntax_error.rb +0 -31
  1065. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_text_reader.rb +0 -12
  1066. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_xpath_context.rb +0 -38
  1067. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_xpath_object.rb +0 -35
  1068. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb +0 -20
  1069. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xslt_stylesheet.rb +0 -13
  1070. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/weak_bucket.rb +0 -40
  1071. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/attr.rb +0 -41
  1072. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/attribute_decl.rb +0 -27
  1073. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/cdata.rb +0 -19
  1074. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/comment.rb +0 -18
  1075. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/document.rb +0 -166
  1076. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/document_fragment.rb +0 -21
  1077. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/dtd.rb +0 -67
  1078. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/element_content.rb +0 -43
  1079. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/element_decl.rb +0 -19
  1080. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/entity_decl.rb +0 -36
  1081. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/entity_reference.rb +0 -19
  1082. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/namespace.rb +0 -44
  1083. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/node.rb +0 -559
  1084. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/node_set.rb +0 -149
  1085. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/processing_instruction.rb +0 -20
  1086. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/reader.rb +0 -236
  1087. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/relax_ng.rb +0 -85
  1088. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/sax/parser.rb +0 -135
  1089. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/sax/parser_context.rb +0 -79
  1090. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/sax/push_parser.rb +0 -51
  1091. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/schema.rb +0 -109
  1092. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/syntax_error.rb +0 -98
  1093. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/text.rb +0 -18
  1094. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/xpath.rb +0 -9
  1095. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/xpath_context.rb +0 -153
  1096. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xslt/stylesheet.rb +0 -73
  1097. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/html.rb +0 -35
  1098. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/html/document.rb +0 -90
  1099. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/html/sax/parser.rb +0 -48
  1100. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.bundle +0 -0
  1101. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/version.rb +0 -38
  1102. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/version_warning.rb +0 -14
  1103. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/attribute_decl.rb +0 -18
  1104. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/builder.rb +0 -418
  1105. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/document.rb +0 -218
  1106. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/document_fragment.rb +0 -84
  1107. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/dtd.rb +0 -22
  1108. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/element_decl.rb +0 -13
  1109. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/entity_decl.rb +0 -19
  1110. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/node.rb +0 -906
  1111. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/node/save_options.rb +0 -42
  1112. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/node_set.rb +0 -350
  1113. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/parse_options.rb +0 -85
  1114. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/reader.rb +0 -112
  1115. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/schema.rb +0 -57
  1116. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xslt/stylesheet.rb +0 -25
  1117. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/tasks/cross_compile.rb +0 -180
  1118. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/tasks/test.rb +0 -94
  1119. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/css/test_tokenizer.rb +0 -190
  1120. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/ffi/test_document.rb +0 -35
  1121. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/helper.rb +0 -169
  1122. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/sax/test_parser.rb +0 -74
  1123. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/test_document.rb +0 -398
  1124. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/test_document_encoding.rb +0 -77
  1125. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/test_document_fragment.rb +0 -253
  1126. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/test_element_description.rb +0 -98
  1127. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/test_memory_leak.rb +0 -87
  1128. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/test_nokogiri.rb +0 -138
  1129. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/test_reader.rb +0 -408
  1130. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/test_xslt_transforms.rb +0 -189
  1131. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/node/test_save_options.rb +0 -20
  1132. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/sax/test_parser.rb +0 -315
  1133. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_attribute_decl.rb +0 -82
  1134. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_builder.rb +0 -210
  1135. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_document.rb +0 -668
  1136. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_dtd.rb +0 -97
  1137. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_element_content.rb +0 -56
  1138. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_element_decl.rb +0 -73
  1139. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_entity_decl.rb +0 -120
  1140. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_namespace.rb +0 -68
  1141. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_node.rb +0 -894
  1142. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_node_reparenting.rb +0 -321
  1143. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_node_set.rb +0 -698
  1144. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_schema.rb +0 -89
  1145. data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xslt/test_custom_functions.rb +0 -94
  1146. data/vendor/bundle/ruby/1.9.1/specifications/highline-1.6.2.gemspec +0 -29
  1147. data/vendor/bundle/ruby/1.9.1/specifications/mechanize-1.0.0.gemspec +0 -35
  1148. data/vendor/bundle/ruby/1.9.1/specifications/nokogiri-1.4.4.gemspec +0 -49
@@ -0,0 +1,234 @@
1
+ module Nokogiri
2
+ module XML
3
+ ##
4
+ # Nokogiri::XML::Document is the main entry point for dealing with
5
+ # XML documents. The Document is created by parsing an XML document.
6
+ # See Nokogiri.XML()
7
+ #
8
+ # For searching a Document, see Nokogiri::XML::Node#css and
9
+ # Nokogiri::XML::Node#xpath
10
+ class Document < Nokogiri::XML::Node
11
+ ##
12
+ # Parse an XML file. +string_or_io+ may be a String, or any object that
13
+ # responds to _read_ and _close_ such as an IO, or StringIO.
14
+ # +url+ is resource where this document is located. +encoding+ is the
15
+ # encoding that should be used when processing the document. +options+
16
+ # is a number that sets options in the parser, such as
17
+ # Nokogiri::XML::ParseOptions::RECOVER. See the constants in
18
+ # Nokogiri::XML::ParseOptions.
19
+ def self.parse string_or_io, url = nil, encoding = nil, options = ParseOptions::DEFAULT_XML, &block
20
+
21
+ options = Nokogiri::XML::ParseOptions.new(options) if Fixnum === options
22
+ # Give the options to the user
23
+ yield options if block_given?
24
+
25
+ if string_or_io.respond_to?(:read)
26
+ url ||= string_or_io.respond_to?(:path) ? string_or_io.path : nil
27
+ return read_io(string_or_io, url, encoding, options.to_i)
28
+ end
29
+
30
+ # read_memory pukes on empty docs
31
+ return new if string_or_io.nil? or string_or_io.empty?
32
+
33
+ read_memory(string_or_io, url, encoding, options.to_i)
34
+ end
35
+
36
+ # A list of Nokogiri::XML::SyntaxError found when parsing a document
37
+ attr_accessor :errors
38
+
39
+ def initialize *args # :nodoc:
40
+ @errors = []
41
+ @decorators = nil
42
+ end
43
+
44
+ ##
45
+ # Create an element with +name+, and optionally setting the content and attributes.
46
+ #
47
+ # doc.create_element "div" # <div></div>
48
+ # doc.create_element "div", :class => "container" # <div class='container'></div>
49
+ # doc.create_element "div", "contents" # <div>contents</div>
50
+ # doc.create_element "div", "contents", :class => "container" # <div class='container'>contents</div>
51
+ # doc.create_element "div" { |node| node['class'] = "container" } # <div class='container'></div>
52
+ #
53
+ def create_element name, *args, &block
54
+ elm = Nokogiri::XML::Element.new(name, self, &block)
55
+ args.each do |arg|
56
+ case arg
57
+ when Hash
58
+ arg.each { |k,v|
59
+ key = k.to_s
60
+ if key =~ /^xmlns(:\w+)?$/
61
+ ns_name = key.split(":", 2)[1]
62
+ elm.add_namespace_definition ns_name, v
63
+ next
64
+ end
65
+ elm[k.to_s] = v.to_s
66
+ }
67
+ else
68
+ elm.content = arg
69
+ end
70
+ end
71
+ elm
72
+ end
73
+
74
+ # Create a text node with +text+
75
+ def create_text_node text, &block
76
+ Nokogiri::XML::Text.new(text.to_s, self, &block)
77
+ end
78
+
79
+ # Create a CDATA element containing +text+
80
+ def create_cdata text
81
+ Nokogiri::XML::CDATA.new(self, text.to_s)
82
+ end
83
+
84
+ # The name of this document. Always returns "document"
85
+ def name
86
+ 'document'
87
+ end
88
+
89
+ # A reference to +self+
90
+ def document
91
+ self
92
+ end
93
+
94
+ ##
95
+ # Recursively get all namespaces from this node and its subtree and
96
+ # return them as a hash.
97
+ #
98
+ # For example, given this document:
99
+ #
100
+ # <root xmlns:foo="bar">
101
+ # <bar xmlns:hello="world" />
102
+ # </root>
103
+ #
104
+ # This method will return:
105
+ #
106
+ # { 'xmlns:foo' => 'bar', 'xmlns:hello' => 'world' }
107
+ #
108
+ # WARNING: this method will clobber duplicate names in the keys.
109
+ # For example, given this document:
110
+ #
111
+ # <root xmlns:foo="bar">
112
+ # <bar xmlns:foo="baz" />
113
+ # </root>
114
+ #
115
+ # The hash returned will look like this: { 'xmlns:foo' => 'bar' }
116
+ #
117
+ # Non-prefixed default namespaces (as in "xmlns=") are not included
118
+ # in the hash.
119
+ #
120
+ # Note this is a very expensive operation in current implementation, as it
121
+ # traverses the entire graph, and also has to bring each node accross the
122
+ # libxml bridge into a ruby object.
123
+ def collect_namespaces
124
+ ns = {}
125
+ traverse { |j| ns.merge!(j.namespaces) }
126
+ ns
127
+ end
128
+
129
+ # Get the list of decorators given +key+
130
+ def decorators key
131
+ @decorators ||= Hash.new
132
+ @decorators[key] ||= []
133
+ end
134
+
135
+ ##
136
+ # Validate this Document against it's DTD. Returns a list of errors on
137
+ # the document or +nil+ when there is no DTD.
138
+ def validate
139
+ return nil unless internal_subset
140
+ internal_subset.validate self
141
+ end
142
+
143
+ ##
144
+ # Explore a document with shortcut methods. See Nokogiri::Slop for details.
145
+ #
146
+ # Note that any nodes that have been instantiated before #slop!
147
+ # is called will not be decorated with sloppy behavior. So, if you're in
148
+ # irb, the preferred idiom is:
149
+ #
150
+ # irb> doc = Nokogiri::Slop my_markup
151
+ #
152
+ # and not
153
+ #
154
+ # irb> doc = Nokogiri::HTML my_markup
155
+ # ... followed by irb's implicit inspect (and therefore instantiation of every node) ...
156
+ # irb> doc.slop!
157
+ # ... which does absolutely nothing.
158
+ #
159
+ def slop!
160
+ unless decorators(XML::Node).include? Nokogiri::Decorators::Slop
161
+ decorators(XML::Node) << Nokogiri::Decorators::Slop
162
+ decorate!
163
+ end
164
+
165
+ self
166
+ end
167
+
168
+ ##
169
+ # Apply any decorators to +node+
170
+ def decorate node
171
+ return unless @decorators
172
+ @decorators.each { |klass,list|
173
+ next unless node.is_a?(klass)
174
+ list.each { |moodule| node.extend(moodule) }
175
+ }
176
+ end
177
+
178
+ alias :to_xml :serialize
179
+ alias :clone :dup
180
+
181
+ # Get the hash of namespaces on the root Nokogiri::XML::Node
182
+ def namespaces
183
+ root ? root.namespaces : {}
184
+ end
185
+
186
+ ##
187
+ # Create a Nokogiri::XML::DocumentFragment from +tags+
188
+ # Returns an empty fragment if +tags+ is nil.
189
+ def fragment tags = nil
190
+ DocumentFragment.new(self, tags, self.root)
191
+ end
192
+
193
+ undef_method :swap, :parent, :namespace, :default_namespace=
194
+ undef_method :add_namespace_definition, :attributes
195
+ undef_method :namespace_definitions, :line, :add_namespace
196
+
197
+ def add_child child
198
+ raise "Document already has a root node" if root
199
+ if child.type == Node::DOCUMENT_FRAG_NODE
200
+ raise "Document cannot have multiple root nodes" if child.children.size > 1
201
+ super(child.children.first)
202
+ else
203
+ super
204
+ end
205
+ end
206
+ alias :<< :add_child
207
+
208
+ ##
209
+ # +JRuby+
210
+ # Wraps Java's org.w3c.dom.document and returns Nokogiri::XML::Document
211
+ def self.wrap document
212
+ raise "JRuby only method" unless Nokogiri.jruby?
213
+ return wrapJavaDocument(document)
214
+ end
215
+
216
+ ##
217
+ # +JRuby+
218
+ # Returns Java's org.w3c.dom.document of this Document.
219
+ def to_java
220
+ raise "JRuby only method" unless Nokogiri.jruby?
221
+ return toJavaDocument()
222
+ end
223
+
224
+ private
225
+ def implied_xpath_context
226
+ "/"
227
+ end
228
+
229
+ def inspect_attributes
230
+ [:name, :children]
231
+ end
232
+ end
233
+ end
234
+ end
@@ -0,0 +1,98 @@
1
+ module Nokogiri
2
+ module XML
3
+ class DocumentFragment < Nokogiri::XML::Node
4
+ ##
5
+ # Create a new DocumentFragment from +tags+.
6
+ #
7
+ # If +ctx+ is present, it is used as a context node for the
8
+ # subtree created, e.g., namespaces will be resolved relative
9
+ # to +ctx+.
10
+ def initialize document, tags = nil, ctx = nil
11
+ return self unless tags
12
+
13
+ children = if ctx
14
+ ctx.parse(tags)
15
+ else
16
+ XML::Document.parse("<root>#{tags}</root>") \
17
+ .xpath("/root/node()")
18
+ end
19
+ children.each { |child| child.parent = self }
20
+ end
21
+
22
+ ###
23
+ # return the name for DocumentFragment
24
+ def name
25
+ '#document-fragment'
26
+ end
27
+
28
+ ###
29
+ # Convert this DocumentFragment to a string
30
+ def to_s
31
+ children.to_s
32
+ end
33
+
34
+ ###
35
+ # Convert this DocumentFragment to html
36
+ # See Nokogiri::XML::NodeSet#to_html
37
+ def to_html *args
38
+ if Nokogiri.jruby?
39
+ options = args.first.is_a?(Hash) ? args.shift : {}
40
+ if !options[:save_with]
41
+ options[:save_with] = Node::SaveOptions::NO_DECLARATION | Node::SaveOptions::NO_EMPTY_TAGS | Node::SaveOptions::AS_HTML
42
+ end
43
+ args.insert(0, options)
44
+ end
45
+ children.to_html(*args)
46
+ end
47
+
48
+ ###
49
+ # Convert this DocumentFragment to xhtml
50
+ # See Nokogiri::XML::NodeSet#to_xhtml
51
+ def to_xhtml *args
52
+ if Nokogiri.jruby?
53
+ options = args.first.is_a?(Hash) ? args.shift : {}
54
+ if !options[:save_with]
55
+ options[:save_with] = Node::SaveOptions::NO_DECLARATION | Node::SaveOptions::NO_EMPTY_TAGS | Node::SaveOptions::AS_XHTML
56
+ end
57
+ args.insert(0, options)
58
+ end
59
+ children.to_xhtml(*args)
60
+ end
61
+
62
+ ###
63
+ # Convert this DocumentFragment to xml
64
+ # See Nokogiri::XML::NodeSet#to_xml
65
+ def to_xml *args
66
+ children.to_xml(*args)
67
+ end
68
+
69
+ ###
70
+ # Search this fragment. See Nokogiri::XML::Node#css
71
+ def css *args
72
+ if children.any?
73
+ children.css(*args)
74
+ else
75
+ NodeSet.new(document)
76
+ end
77
+ end
78
+
79
+ alias :serialize :to_s
80
+
81
+ class << self
82
+ ####
83
+ # Create a Nokogiri::XML::DocumentFragment from +tags+
84
+ def parse tags
85
+ self.new(XML::Document.new, tags)
86
+ end
87
+ end
88
+
89
+ private
90
+
91
+ def coerce data
92
+ return super unless String === data
93
+
94
+ document.fragment(data).children
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,22 @@
1
+ module Nokogiri
2
+ module XML
3
+ class DTD < Nokogiri::XML::Node
4
+ undef_method :attribute_nodes
5
+ undef_method :values
6
+ undef_method :content
7
+ undef_method :namespace
8
+ undef_method :namespace_definitions
9
+ undef_method :line if method_defined?(:line)
10
+
11
+ def keys
12
+ attributes.keys
13
+ end
14
+
15
+ def each &block
16
+ attributes.each { |key, value|
17
+ block.call([key, value])
18
+ }
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,13 @@
1
+ module Nokogiri
2
+ module XML
3
+ class ElementDecl < Nokogiri::XML::Node
4
+ undef_method :namespace
5
+ undef_method :namespace_definitions
6
+ undef_method :line if method_defined?(:line)
7
+
8
+ def inspect
9
+ "#<#{self.class.name}:#{sprintf("0x%x", object_id)} #{to_s.inspect}>"
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,19 @@
1
+ module Nokogiri
2
+ module XML
3
+ class EntityDecl < Nokogiri::XML::Node
4
+ undef_method :attribute_nodes
5
+ undef_method :attributes
6
+ undef_method :namespace
7
+ undef_method :namespace_definitions
8
+ undef_method :line if method_defined?(:line)
9
+
10
+ def self.new name, doc, *args
11
+ doc.create_entity(name, *args)
12
+ end
13
+
14
+ def inspect
15
+ "#<#{self.class.name}:#{sprintf("0x%x", object_id)} #{to_s.inspect}>"
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,915 @@
1
+ require 'stringio'
2
+ require 'nokogiri/xml/node/save_options'
3
+
4
+ module Nokogiri
5
+ module XML
6
+ ####
7
+ # Nokogiri::XML::Node is your window to the fun filled world of dealing
8
+ # with XML and HTML tags. A Nokogiri::XML::Node may be treated similarly
9
+ # to a hash with regard to attributes. For example (from irb):
10
+ #
11
+ # irb(main):004:0> node
12
+ # => <a href="#foo" id="link">link</a>
13
+ # irb(main):005:0> node['href']
14
+ # => "#foo"
15
+ # irb(main):006:0> node.keys
16
+ # => ["href", "id"]
17
+ # irb(main):007:0> node.values
18
+ # => ["#foo", "link"]
19
+ # irb(main):008:0> node['class'] = 'green'
20
+ # => "green"
21
+ # irb(main):009:0> node
22
+ # => <a href="#foo" id="link" class="green">link</a>
23
+ # irb(main):010:0>
24
+ #
25
+ # See Nokogiri::XML::Node#[] and Nokogiri::XML#[]= for more information.
26
+ #
27
+ # Nokogiri::XML::Node also has methods that let you move around your
28
+ # tree. For navigating your tree, see:
29
+ #
30
+ # * Nokogiri::XML::Node#parent
31
+ # * Nokogiri::XML::Node#children
32
+ # * Nokogiri::XML::Node#next
33
+ # * Nokogiri::XML::Node#previous
34
+ #
35
+ # You may search this node's subtree using Node#xpath and Node#css
36
+ class Node
37
+ include Nokogiri::XML::PP::Node
38
+ include Enumerable
39
+
40
+ # Element node type, see Nokogiri::XML::Node#element?
41
+ ELEMENT_NODE = 1
42
+ # Attribute node type
43
+ ATTRIBUTE_NODE = 2
44
+ # Text node type, see Nokogiri::XML::Node#text?
45
+ TEXT_NODE = 3
46
+ # CDATA node type, see Nokogiri::XML::Node#cdata?
47
+ CDATA_SECTION_NODE = 4
48
+ # Entity reference node type
49
+ ENTITY_REF_NODE = 5
50
+ # Entity node type
51
+ ENTITY_NODE = 6
52
+ # PI node type
53
+ PI_NODE = 7
54
+ # Comment node type, see Nokogiri::XML::Node#comment?
55
+ COMMENT_NODE = 8
56
+ # Document node type, see Nokogiri::XML::Node#xml?
57
+ DOCUMENT_NODE = 9
58
+ # Document type node type
59
+ DOCUMENT_TYPE_NODE = 10
60
+ # Document fragment node type
61
+ DOCUMENT_FRAG_NODE = 11
62
+ # Notation node type
63
+ NOTATION_NODE = 12
64
+ # HTML document node type, see Nokogiri::XML::Node#html?
65
+ HTML_DOCUMENT_NODE = 13
66
+ # DTD node type
67
+ DTD_NODE = 14
68
+ # Element declaration type
69
+ ELEMENT_DECL = 15
70
+ # Attribute declaration type
71
+ ATTRIBUTE_DECL = 16
72
+ # Entity declaration type
73
+ ENTITY_DECL = 17
74
+ # Namespace declaration type
75
+ NAMESPACE_DECL = 18
76
+ # XInclude start type
77
+ XINCLUDE_START = 19
78
+ # XInclude end type
79
+ XINCLUDE_END = 20
80
+ # DOCB document node type
81
+ DOCB_DOCUMENT_NODE = 21
82
+
83
+ def initialize name, document # :nodoc:
84
+ # ... Ya. This is empty on purpose.
85
+ end
86
+
87
+ ###
88
+ # Decorate this node with the decorators set up in this node's Document
89
+ def decorate!
90
+ document.decorate(self)
91
+ end
92
+
93
+ ###
94
+ # Search this node for +paths+. +paths+ can be XPath or CSS, and an
95
+ # optional hash of namespaces may be appended.
96
+ # See Node#xpath and Node#css.
97
+ def search *paths
98
+ # TODO use paths, handler, ns, binds = extract_params(paths)
99
+ ns = paths.last.is_a?(Hash) ? paths.pop :
100
+ (document.root ? document.root.namespaces : {})
101
+
102
+ prefix = "#{implied_xpath_context}/"
103
+
104
+ xpath(*(paths.map { |path|
105
+ path = path.to_s
106
+ path =~ /^(\.\/|\/|\.\.)/ ? path : CSS.xpath_for(
107
+ path,
108
+ :prefix => prefix,
109
+ :ns => ns
110
+ )
111
+ }.flatten.uniq) + [ns])
112
+ end
113
+ alias :/ :search
114
+
115
+ ###
116
+ # call-seq: xpath *paths, [namespace-bindings, variable-bindings, custom-handler-class]
117
+ #
118
+ # Search this node for XPath +paths+. +paths+ must be one or more XPath
119
+ # queries.
120
+ #
121
+ # node.xpath('.//title')
122
+ #
123
+ # A hash of namespace bindings may be appended. For example:
124
+ #
125
+ # node.xpath('.//foo:name', {'foo' => 'http://example.org/'})
126
+ # node.xpath('.//xmlns:name', node.root.namespaces)
127
+ #
128
+ # A hash of variable bindings may also be appended to the namespace bindings. For example:
129
+ #
130
+ # node.xpath('.//address[@domestic=$value]', nil, {:value => 'Yes'})
131
+ #
132
+ # Custom XPath functions may also be defined. To define custom
133
+ # functions create a class and implement the function you want
134
+ # to define. The first argument to the method will be the
135
+ # current matching NodeSet. Any other arguments are ones that
136
+ # you pass in. Note that this class may appear anywhere in the
137
+ # argument list. For example:
138
+ #
139
+ # node.xpath('.//title[regex(., "\w+")]', Class.new {
140
+ # def regex node_set, regex
141
+ # node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
142
+ # end
143
+ # }.new)
144
+ #
145
+ def xpath *paths
146
+ return NodeSet.new(document) unless document
147
+
148
+ paths, handler, ns, binds = extract_params(paths)
149
+
150
+ sets = paths.map { |path|
151
+ ctx = XPathContext.new(self)
152
+ ctx.register_namespaces(ns)
153
+ path = path.gsub(/\/xmlns:/,'/:') unless Nokogiri.uses_libxml?
154
+
155
+ binds.each do |key,value|
156
+ ctx.register_variable key.to_s, value
157
+ end if binds
158
+
159
+ ctx.evaluate(path, handler)
160
+ }
161
+ return sets.first if sets.length == 1
162
+
163
+ NodeSet.new(document) do |combined|
164
+ sets.each do |set|
165
+ set.each do |node|
166
+ combined << node
167
+ end
168
+ end
169
+ end
170
+ end
171
+
172
+ ###
173
+ # call-seq: css *rules, [namespace-bindings, custom-pseudo-class]
174
+ #
175
+ # Search this node for CSS +rules+. +rules+ must be one or more CSS
176
+ # selectors. For example:
177
+ #
178
+ # node.css('title')
179
+ # node.css('body h1.bold')
180
+ # node.css('div + p.green', 'div#one')
181
+ #
182
+ # A hash of namespace bindings may be appended. For example:
183
+ #
184
+ # node.css('bike|tire', {'bike' => 'http://schwinn.com/'})
185
+ #
186
+ # Custom CSS pseudo classes may also be defined. To define
187
+ # custom pseudo classes, create a class and implement the custom
188
+ # pseudo class you want defined. The first argument to the
189
+ # method will be the current matching NodeSet. Any other
190
+ # arguments are ones that you pass in. For example:
191
+ #
192
+ # node.css('title:regex("\w+")', Class.new {
193
+ # def regex node_set, regex
194
+ # node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
195
+ # end
196
+ # }.new)
197
+ #
198
+ # Note that the CSS query string is case-sensitive with regards
199
+ # to your document type. That is, if you're looking for "H1" in
200
+ # an HTML document, you'll never find anything, since HTML tags
201
+ # will match only lowercase CSS queries. However, "H1" might be
202
+ # found in an XML document, where tags names are case-sensitive
203
+ # (e.g., "H1" is distinct from "h1").
204
+ #
205
+ def css *rules
206
+ rules, handler, ns, binds = extract_params(rules)
207
+
208
+ prefix = "#{implied_xpath_context}/"
209
+
210
+ rules = rules.map { |rule|
211
+ CSS.xpath_for(rule, :prefix => prefix, :ns => ns)
212
+ }.flatten.uniq + [ns, handler, binds].compact
213
+
214
+ xpath(*rules)
215
+ end
216
+
217
+ ###
218
+ # Search this node's immediate children using CSS selector +selector+
219
+ def > selector
220
+ ns = document.root.namespaces
221
+ xpath CSS.xpath_for(selector, :prefix => "./", :ns => ns).first
222
+ end
223
+
224
+ ###
225
+ # Search for the first occurrence of +path+.
226
+ #
227
+ # Returns nil if nothing is found, otherwise a Node.
228
+ def at path, ns = document.root ? document.root.namespaces : {}
229
+ search(path, ns).first
230
+ end
231
+ alias :% :at
232
+
233
+ ##
234
+ # Search this node for the first occurrence of XPath +paths+.
235
+ # Equivalent to <tt>xpath(paths).first</tt>
236
+ # See Node#xpath for more information.
237
+ #
238
+ def at_xpath *paths
239
+ xpath(*paths).first
240
+ end
241
+
242
+ ##
243
+ # Search this node for the first occurrence of CSS +rules+.
244
+ # Equivalent to <tt>css(rules).first</tt>
245
+ # See Node#css for more information.
246
+ #
247
+ def at_css *rules
248
+ css(*rules).first
249
+ end
250
+
251
+ ###
252
+ # Get the attribute value for the attribute +name+
253
+ def [] name
254
+ return nil unless key?(name.to_s)
255
+ get(name.to_s)
256
+ end
257
+
258
+ ###
259
+ # Add +node_or_tags+ as a child of this Node.
260
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
261
+ #
262
+ # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
263
+ #
264
+ # Also see related method +<<+.
265
+ def add_child node_or_tags
266
+ node_or_tags = coerce(node_or_tags)
267
+ if node_or_tags.is_a?(XML::NodeSet)
268
+ node_or_tags.each { |n| add_child_node n }
269
+ else
270
+ add_child_node node_or_tags
271
+ end
272
+ node_or_tags
273
+ end
274
+
275
+ ###
276
+ # Add +node_or_tags+ as a child of this Node.
277
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
278
+ #
279
+ # Returns self, to support chaining of calls (e.g., root << child1 << child2)
280
+ #
281
+ # Also see related method +add_child+.
282
+ def << node_or_tags
283
+ add_child node_or_tags
284
+ self
285
+ end
286
+ ###
287
+ # Insert +node_or_tags+ before this Node (as a sibling).
288
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
289
+ #
290
+ # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
291
+ #
292
+ # Also see related method +before+.
293
+ def add_previous_sibling node_or_tags
294
+ node_or_tags = coerce(node_or_tags)
295
+ if node_or_tags.is_a?(XML::NodeSet)
296
+ if text?
297
+ pivot = Nokogiri::XML::Node.new 'dummy', document
298
+ add_previous_sibling_node pivot
299
+ else
300
+ pivot = self
301
+ end
302
+ node_or_tags.each { |n| pivot.send :add_previous_sibling_node, n }
303
+ pivot.unlink if text?
304
+ else
305
+ add_previous_sibling_node node_or_tags
306
+ end
307
+ node_or_tags
308
+ end
309
+
310
+ ###
311
+ # Insert +node_or_tags+ after this Node (as a sibling).
312
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
313
+ #
314
+ # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
315
+ #
316
+ # Also see related method +after+.
317
+ def add_next_sibling node_or_tags
318
+ node_or_tags = coerce(node_or_tags)
319
+ if node_or_tags.is_a?(XML::NodeSet)
320
+ if text?
321
+ pivot = Nokogiri::XML::Node.new 'dummy', document
322
+ add_next_sibling_node pivot
323
+ else
324
+ pivot = self
325
+ end
326
+ node_or_tags.reverse_each { |n| pivot.send :add_next_sibling_node, n }
327
+ pivot.unlink if text?
328
+ else
329
+ add_next_sibling_node node_or_tags
330
+ end
331
+ node_or_tags
332
+ end
333
+
334
+ ####
335
+ # Insert +node_or_tags+ before this node (as a sibling).
336
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
337
+ #
338
+ # Returns self, to support chaining of calls.
339
+ #
340
+ # Also see related method +add_previous_sibling+.
341
+ def before node_or_tags
342
+ add_previous_sibling node_or_tags
343
+ self
344
+ end
345
+
346
+ ####
347
+ # Insert +node_or_tags+ after this node (as a sibling).
348
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
349
+ #
350
+ # Returns self, to support chaining of calls.
351
+ #
352
+ # Also see related method +add_next_sibling+.
353
+ def after node_or_tags
354
+ add_next_sibling node_or_tags
355
+ self
356
+ end
357
+
358
+ ####
359
+ # Set the inner html for this Node to +node_or_tags+
360
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
361
+ #
362
+ # Returns self.
363
+ #
364
+ # Also see related method +children=+
365
+ def inner_html= node_or_tags
366
+ self.children = node_or_tags
367
+ self
368
+ end
369
+
370
+ ####
371
+ # Set the inner html for this Node +node_or_tags+
372
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
373
+ #
374
+ # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
375
+ #
376
+ # Also see related method +inner_html=+
377
+ def children= node_or_tags
378
+ node_or_tags = coerce(node_or_tags)
379
+ children.unlink
380
+ if node_or_tags.is_a?(XML::NodeSet)
381
+ node_or_tags.each { |n| add_child_node n }
382
+ else
383
+ add_child_node node_or_tags
384
+ end
385
+ node_or_tags
386
+ end
387
+
388
+ ####
389
+ # Replace this Node with +node_or_tags+.
390
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
391
+ #
392
+ # Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
393
+ #
394
+ # Also see related method +swap+.
395
+ def replace node_or_tags
396
+ node_or_tags = coerce(node_or_tags)
397
+ if node_or_tags.is_a?(XML::NodeSet)
398
+ if text?
399
+ replacee = Nokogiri::XML::Node.new 'dummy', document
400
+ add_previous_sibling_node replacee
401
+ unlink
402
+ else
403
+ replacee = self
404
+ end
405
+ node_or_tags.each { |n| replacee.add_previous_sibling n }
406
+ replacee.unlink
407
+ else
408
+ replace_node node_or_tags
409
+ end
410
+ node_or_tags
411
+ end
412
+
413
+ ####
414
+ # Swap this Node for +node_or_tags+
415
+ # +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
416
+ #
417
+ # Returns self, to support chaining of calls.
418
+ #
419
+ # Also see related method +replace+.
420
+ def swap node_or_tags
421
+ replace node_or_tags
422
+ self
423
+ end
424
+
425
+ alias :next :next_sibling
426
+ alias :previous :previous_sibling
427
+
428
+ # :stopdoc:
429
+ # HACK: This is to work around an RDoc bug
430
+ alias :next= :add_next_sibling
431
+ # :startdoc:
432
+
433
+ alias :previous= :add_previous_sibling
434
+ alias :remove :unlink
435
+ alias :get_attribute :[]
436
+ alias :attr :[]
437
+ alias :set_attribute :[]=
438
+ alias :text :content
439
+ alias :inner_text :content
440
+ alias :has_attribute? :key?
441
+ alias :name :node_name
442
+ alias :name= :node_name=
443
+ alias :type :node_type
444
+ alias :to_str :text
445
+ alias :clone :dup
446
+ alias :elements :element_children
447
+
448
+ ####
449
+ # Returns a hash containing the node's attributes. The key is
450
+ # the attribute name without any namespace, the value is a Nokogiri::XML::Attr
451
+ # representing the attribute.
452
+ # If you need to distinguish attributes with the same name, with different namespaces
453
+ # use #attribute_nodes instead.
454
+ def attributes
455
+ Hash[*(attribute_nodes.map { |node|
456
+ [node.node_name, node]
457
+ }.flatten)]
458
+ end
459
+
460
+ ###
461
+ # Get the attribute values for this Node.
462
+ def values
463
+ attribute_nodes.map { |node| node.value }
464
+ end
465
+
466
+ ###
467
+ # Get the attribute names for this Node.
468
+ def keys
469
+ attribute_nodes.map { |node| node.node_name }
470
+ end
471
+
472
+ ###
473
+ # Iterate over each attribute name and value pair for this Node.
474
+ def each &block
475
+ attribute_nodes.each { |node|
476
+ block.call([node.node_name, node.value])
477
+ }
478
+ end
479
+
480
+ ###
481
+ # Remove the attribute named +name+
482
+ def remove_attribute name
483
+ attributes[name].remove if key? name
484
+ end
485
+ alias :delete :remove_attribute
486
+
487
+ ###
488
+ # Returns true if this Node matches +selector+
489
+ def matches? selector
490
+ ancestors.last.search(selector).include?(self)
491
+ end
492
+
493
+ ###
494
+ # Create a DocumentFragment containing +tags+ that is relative to _this_
495
+ # context node.
496
+ def fragment tags
497
+ type = document.html? ? Nokogiri::HTML : Nokogiri::XML
498
+ type::DocumentFragment.new(document, tags, self)
499
+ end
500
+
501
+ ###
502
+ # Parse +string_or_io+ as a document fragment within the context of
503
+ # *this* node. Returns a XML::NodeSet containing the nodes parsed from
504
+ # +string_or_io+.
505
+ def parse string_or_io, options = nil
506
+ options ||= (document.html? ? ParseOptions::DEFAULT_HTML : ParseOptions::DEFAULT_XML)
507
+ if Fixnum === options
508
+ options = Nokogiri::XML::ParseOptions.new(options)
509
+ end
510
+ # Give the options to the user
511
+ yield options if block_given?
512
+
513
+ contents = string_or_io.respond_to?(:read) ?
514
+ string_or_io.read :
515
+ string_or_io
516
+
517
+ return Nokogiri::XML::NodeSet.new(document) if contents.empty?
518
+
519
+ ##
520
+ # This is a horrible hack, but I don't care. See #313 for background.
521
+ error_count = document.errors.length
522
+ node_set = in_context(contents, options.to_i)
523
+ if node_set.empty? and document.errors.length > error_count and options.recover?
524
+ fragment = Nokogiri::HTML::DocumentFragment.parse contents
525
+ node_set = fragment.children
526
+ end
527
+ node_set
528
+ end
529
+
530
+ ####
531
+ # Set the Node's content to a Text node containing +string+. The string gets XML escaped, not interpreted as markup.
532
+ def content= string
533
+ self.native_content = encode_special_chars(string.to_s)
534
+ end
535
+
536
+ ###
537
+ # Set the parent Node for this Node
538
+ def parent= parent_node
539
+ parent_node.add_child(self)
540
+ parent_node
541
+ end
542
+
543
+ ###
544
+ # Returns a Hash of {prefix => value} for all namespaces on this
545
+ # node and its ancestors.
546
+ #
547
+ # This method returns the same namespaces as #namespace_scopes.
548
+ #
549
+ # Returns namespaces in scope for self -- those defined on self
550
+ # element directly or any ancestor node -- as a Hash of
551
+ # attribute-name/value pairs. Note that the keys in this hash
552
+ # XML attributes that would be used to define this namespace,
553
+ # such as "xmlns:prefix", not just the prefix. Default namespace
554
+ # set on self will be included with key "xmlns". However,
555
+ # default namespaces set on ancestor will NOT be, even if self
556
+ # has no explicit default namespace.
557
+ def namespaces
558
+ Hash[*namespace_scopes.map { |nd|
559
+ key = ['xmlns', nd.prefix].compact.join(':')
560
+ if RUBY_VERSION >= '1.9' && document.encoding
561
+ begin
562
+ key.force_encoding document.encoding
563
+ rescue ArgumentError
564
+ end
565
+ end
566
+ [key, nd.href]
567
+ }.flatten]
568
+ end
569
+
570
+ # Returns true if this is a Comment
571
+ def comment?
572
+ type == COMMENT_NODE
573
+ end
574
+
575
+ # Returns true if this is a CDATA
576
+ def cdata?
577
+ type == CDATA_SECTION_NODE
578
+ end
579
+
580
+ # Returns true if this is an XML::Document node
581
+ def xml?
582
+ type == DOCUMENT_NODE
583
+ end
584
+
585
+ # Returns true if this is an HTML::Document node
586
+ def html?
587
+ type == HTML_DOCUMENT_NODE
588
+ end
589
+
590
+ # Returns true if this is a Text node
591
+ def text?
592
+ type == TEXT_NODE
593
+ end
594
+
595
+ # Returns true if this is a DocumentFragment
596
+ def fragment?
597
+ type == DOCUMENT_FRAG_NODE
598
+ end
599
+
600
+ ###
601
+ # Fetch the Nokogiri::HTML::ElementDescription for this node. Returns
602
+ # nil on XML documents and on unknown tags.
603
+ def description
604
+ return nil if document.xml?
605
+ Nokogiri::HTML::ElementDescription[name]
606
+ end
607
+
608
+ ###
609
+ # Is this a read only node?
610
+ def read_only?
611
+ # According to gdome2, these are read-only node types
612
+ [NOTATION_NODE, ENTITY_NODE, ENTITY_DECL].include?(type)
613
+ end
614
+
615
+ # Returns true if this is an Element node
616
+ def element?
617
+ type == ELEMENT_NODE
618
+ end
619
+ alias :elem? :element?
620
+
621
+ ###
622
+ # Turn this node in to a string. If the document is HTML, this method
623
+ # returns html. If the document is XML, this method returns XML.
624
+ def to_s
625
+ document.xml? ? to_xml : to_html
626
+ end
627
+
628
+ # Get the inner_html for this node's Node#children
629
+ def inner_html *args
630
+ children.map { |x| x.to_html(*args) }.join
631
+ end
632
+
633
+ # Get the path to this node as a CSS expression
634
+ def css_path
635
+ path.split(/\//).map { |part|
636
+ part.length == 0 ? nil : part.gsub(/\[(\d+)\]/, ':nth-of-type(\1)')
637
+ }.compact.join(' > ')
638
+ end
639
+
640
+ ###
641
+ # Get a list of ancestor Node for this Node. If +selector+ is given,
642
+ # the ancestors must match +selector+
643
+ def ancestors selector = nil
644
+ return NodeSet.new(document) unless respond_to?(:parent)
645
+ return NodeSet.new(document) unless parent
646
+
647
+ parents = [parent]
648
+
649
+ while parents.last.respond_to?(:parent)
650
+ break unless ctx_parent = parents.last.parent
651
+ parents << ctx_parent
652
+ end
653
+
654
+ return NodeSet.new(document, parents) unless selector
655
+
656
+ root = parents.last
657
+
658
+ NodeSet.new(document, parents.find_all { |parent|
659
+ root.search(selector).include?(parent)
660
+ })
661
+ end
662
+
663
+ ###
664
+ # Adds a default namespace supplied as a string +url+ href, to self.
665
+ # The consequence is as an xmlns attribute with supplied argument were
666
+ # present in parsed XML. A default namespace set with this method will
667
+ # now show up in #attributes, but when this node is serialized to XML an
668
+ # "xmlns" attribute will appear. See also #namespace and #namespace=
669
+ def default_namespace= url
670
+ add_namespace_definition(nil, url)
671
+ end
672
+ alias :add_namespace :add_namespace_definition
673
+
674
+ ###
675
+ # Set the default namespace on this node (as would be defined with an
676
+ # "xmlns=" attribute in XML source), as a Namespace object +ns+. Note that
677
+ # a Namespace added this way will NOT be serialized as an xmlns attribute
678
+ # for this node. You probably want #default_namespace= instead, or perhaps
679
+ # #add_namespace_definition with a nil prefix argument.
680
+ def namespace= ns
681
+ return set_namespace(ns) unless ns
682
+
683
+ unless Nokogiri::XML::Namespace === ns
684
+ raise TypeError, "#{ns.class} can't be coerced into Nokogiri::XML::Namespace"
685
+ end
686
+ if ns.document != document
687
+ raise ArgumentError, 'namespace must be declared on the same document'
688
+ end
689
+
690
+ set_namespace ns
691
+ end
692
+
693
+ ####
694
+ # Yields self and all children to +block+ recursively.
695
+ def traverse &block
696
+ children.each{|j| j.traverse(&block) }
697
+ block.call(self)
698
+ end
699
+
700
+ ###
701
+ # Accept a visitor. This method calls "visit" on +visitor+ with self.
702
+ def accept visitor
703
+ visitor.visit(self)
704
+ end
705
+
706
+ ###
707
+ # Test to see if this Node is equal to +other+
708
+ def == other
709
+ return false unless other
710
+ return false unless other.respond_to?(:pointer_id)
711
+ pointer_id == other.pointer_id
712
+ end
713
+
714
+ ###
715
+ # Serialize Node using +options+. Save options can also be set using a
716
+ # block. See SaveOptions.
717
+ #
718
+ # These two statements are equivalent:
719
+ #
720
+ # node.serialize(:encoding => 'UTF-8', :save_with => FORMAT | AS_XML)
721
+ #
722
+ # or
723
+ #
724
+ # node.serialize(:encoding => 'UTF-8') do |config|
725
+ # config.format.as_xml
726
+ # end
727
+ #
728
+ def serialize *args, &block
729
+ options = args.first.is_a?(Hash) ? args.shift : {
730
+ :encoding => args[0],
731
+ :save_with => args[1]
732
+ }
733
+
734
+ encoding = options[:encoding] || document.encoding
735
+ options[:encoding] = encoding
736
+
737
+ outstring = ""
738
+ if encoding && outstring.respond_to?(:force_encoding)
739
+ outstring.force_encoding(Encoding.find(encoding))
740
+ end
741
+ io = StringIO.new(outstring)
742
+ write_to io, options, &block
743
+ io.string
744
+ end
745
+
746
+ ###
747
+ # Serialize this Node to HTML
748
+ #
749
+ # doc.to_html
750
+ #
751
+ # See Node#write_to for a list of +options+. For formatted output,
752
+ # use Node#to_xhtml instead.
753
+ def to_html options = {}
754
+ # FIXME: this is a hack around broken libxml versions
755
+ return dump_html if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
756
+
757
+ options[:save_with] |= SaveOptions::DEFAULT_HTML if options[:save_with]
758
+ options[:save_with] = SaveOptions::DEFAULT_HTML unless options[:save_with]
759
+ serialize(options)
760
+ end
761
+
762
+ ###
763
+ # Serialize this Node to XML using +options+
764
+ #
765
+ # doc.to_xml(:indent => 5, :encoding => 'UTF-8')
766
+ #
767
+ # See Node#write_to for a list of +options+
768
+ def to_xml options = {}
769
+ options[:save_with] |= SaveOptions::DEFAULT_XML if options[:save_with]
770
+ options[:save_with] = SaveOptions::DEFAULT_XML unless options[:save_with]
771
+ serialize(options)
772
+ end
773
+
774
+ ###
775
+ # Serialize this Node to XHTML using +options+
776
+ #
777
+ # doc.to_xhtml(:indent => 5, :encoding => 'UTF-8')
778
+ #
779
+ # See Node#write_to for a list of +options+
780
+ def to_xhtml options = {}
781
+ # FIXME: this is a hack around broken libxml versions
782
+ return dump_html if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
783
+
784
+ options[:save_with] |= SaveOptions::DEFAULT_XHTML if options[:save_with]
785
+ options[:save_with] = SaveOptions::DEFAULT_XHTML unless options[:save_with]
786
+ serialize(options)
787
+ end
788
+
789
+ ###
790
+ # Write Node to +io+ with +options+. +options+ modify the output of
791
+ # this method. Valid options are:
792
+ #
793
+ # * +:encoding+ for changing the encoding
794
+ # * +:indent_text+ the indentation text, defaults to one space
795
+ # * +:indent+ the number of +:indent_text+ to use, defaults to 2
796
+ # * +:save_with+ a combination of SaveOptions constants.
797
+ #
798
+ # To save with UTF-8 indented twice:
799
+ #
800
+ # node.write_to(io, :encoding => 'UTF-8', :indent => 2)
801
+ #
802
+ # To save indented with two dashes:
803
+ #
804
+ # node.write_to(io, :indent_text => '-', :indent => 2
805
+ #
806
+ def write_to io, *options
807
+ options = options.first.is_a?(Hash) ? options.shift : {}
808
+ encoding = options[:encoding] || options[0]
809
+ if Nokogiri.jruby?
810
+ save_options = options[:save_with] || options[1]
811
+ indent_times = options[:indent] || 0
812
+ else
813
+ save_options = options[:save_with] || options[1] || SaveOptions::FORMAT
814
+ indent_times = options[:indent] || 2
815
+ end
816
+ indent_text = options[:indent_text] || ' '
817
+
818
+ config = SaveOptions.new(save_options.to_i)
819
+ yield config if block_given?
820
+
821
+ native_write_to(io, encoding, indent_text * indent_times, config.options)
822
+ end
823
+
824
+ ###
825
+ # Write Node as HTML to +io+ with +options+
826
+ #
827
+ # See Node#write_to for a list of +options+
828
+ def write_html_to io, options = {}
829
+ # FIXME: this is a hack around broken libxml versions
830
+ return (io << dump_html) if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
831
+
832
+ options[:save_with] ||= SaveOptions::DEFAULT_HTML
833
+ write_to io, options
834
+ end
835
+
836
+ ###
837
+ # Write Node as XHTML to +io+ with +options+
838
+ #
839
+ # See Node#write_to for a list of +options+
840
+ def write_xhtml_to io, options = {}
841
+ # FIXME: this is a hack around broken libxml versions
842
+ return (io << dump_html) if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
843
+
844
+ options[:save_with] ||= SaveOptions::DEFAULT_XHTML
845
+ write_to io, options
846
+ end
847
+
848
+ ###
849
+ # Write Node as XML to +io+ with +options+
850
+ #
851
+ # doc.write_xml_to io, :encoding => 'UTF-8'
852
+ #
853
+ # See Node#write_to for a list of options
854
+ def write_xml_to io, options = {}
855
+ options[:save_with] ||= SaveOptions::DEFAULT_XML
856
+ write_to io, options
857
+ end
858
+
859
+ ###
860
+ # Compare two Node objects with respect to their Document. Nodes from
861
+ # different documents cannot be compared.
862
+ def <=> other
863
+ return nil unless other.is_a?(Nokogiri::XML::Node)
864
+ return nil unless document == other.document
865
+ compare other
866
+ end
867
+
868
+ private
869
+
870
+ def extract_params params # :nodoc:
871
+ # Pop off our custom function handler if it exists
872
+ handler = params.find { |param|
873
+ ![Hash, String, Symbol].include?(param.class)
874
+ }
875
+
876
+ params -= [handler] if handler
877
+
878
+ hashes = []
879
+ while Hash === params.last || params.last.nil?
880
+ hashes << params.pop
881
+ break if params.empty?
882
+ end
883
+
884
+ ns, binds = hashes.reverse
885
+
886
+ ns ||= document.root ? document.root.namespaces : {}
887
+
888
+ [params, handler, ns, binds]
889
+ end
890
+
891
+ def coerce data # :nodoc:
892
+ return data if data.is_a?(XML::NodeSet)
893
+ return data.children if data.is_a?(XML::DocumentFragment)
894
+ return fragment(data).children if data.is_a?(String)
895
+
896
+ if data.is_a?(Document) || !data.is_a?(XML::Node)
897
+ raise ArgumentError, <<-EOERR
898
+ Requires a Node, NodeSet or String argument, and cannot accept a #{data.class}.
899
+ (You probably want to select a node from the Document with at() or search(), or create a new Node via Node.new().)
900
+ EOERR
901
+ end
902
+
903
+ data
904
+ end
905
+
906
+ def implied_xpath_context
907
+ "./"
908
+ end
909
+
910
+ def inspect_attributes
911
+ [:name, :namespace, :attribute_nodes, :children]
912
+ end
913
+ end
914
+ end
915
+ end