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,8 @@
1
+ <html>
2
+ <head>
3
+ <title>Welcome!</title>
4
+ </head>
5
+ <body>
6
+ <p>Welcome, robot!</p>
7
+ </body>
8
+ </html>
@@ -0,0 +1,2 @@
1
+ User-Agent: *
2
+ Disallow: /norobots
@@ -0,0 +1,19 @@
1
+ <html>
2
+ <body>
3
+ <a href="thing.html"><b>Bold Dude</b></a>
4
+ <a href="thing.html" rel="nofollow">Dude</a>
5
+ <a href="thing.html" rel="me">Aaron <b>James</b> Patterson</a>
6
+ <a href="thing.html" id="bold_aaron_link" rel="me nofollow"><b>Aaron</b> Patterson</a>
7
+ <a href="thing.html" class="thing_link">Thing!</a>
8
+ <a href="thing.html">Ruby <b>Rocks!</b></a>
9
+ <!-- Testing a bug with escaped stuff in links:
10
+ http://rubyforge.org/pipermail/mechanize-users/2006-September/000002.html
11
+ -->
12
+ <a href="link%20with%20space.html">encoded space</a>
13
+ <a href="link with space.html">not encoded space</a>
14
+ <!-- End escaped bug -->
15
+ <a href="unusual&&%3F%3F%23%23.html">unusual characters</a>
16
+
17
+ <a href="javascript:new_page('1')">javascript link</a>
18
+ </body>
19
+ </html>
@@ -0,0 +1,16 @@
1
+ <html>
2
+ <body>
3
+ <a href="/referer">Referer Servlet</a>
4
+ <a href="http://localhost/referer">Referer Servlet forced to http</a>
5
+ <a href="https://localhost/referer">Referer Servlet forced to https</a>
6
+ <br />
7
+ <a href="/referer" rel="noreferrer">Referer Servlet (noreferrer)</a>
8
+ <a href="http://localhost/referer" rel="noreferrer">Referer Servlet forced to http (noreferrer)</a>
9
+ <a href="https://localhost/referer" rel="noreferrer">Referer Servlet forced to https (noreferrer)</a>
10
+ <br />
11
+ <form method="post" action="/referer">
12
+ <input type="text" name="first" /></br>
13
+ <input type="submit" value="Submit" />
14
+ </form>
15
+ </body>
16
+ </html>
@@ -0,0 +1,11 @@
1
+ <html>
2
+ <head><title>Page Title</title></head>
3
+ <body>
4
+ <a href="/frame_test.html">This link is not called "A Link"</a>
5
+ <form method="get" action="/frame_test.html">
6
+ <input type="text" name="words" value="nil">
7
+ <input type="submit" value="A Button">
8
+ </form>
9
+ <a href="/index.html">A Link</a>
10
+ </body>
11
+ </html>
@@ -0,0 +1,1164 @@
1
+ # coding: utf-8
2
+
3
+ require 'mechanize/test_case'
4
+
5
+ class TestMechanize < Mechanize::TestCase
6
+
7
+ def setup
8
+ super
9
+
10
+ @uri = URI 'http://example/'
11
+ @req = Net::HTTP::Get.new '/'
12
+
13
+ @res = Net::HTTPOK.allocate
14
+ @res.instance_variable_set :@code, 200
15
+ @res.instance_variable_set :@header, {}
16
+
17
+ @headers = if RUBY_VERSION > '1.9' then
18
+ %w[accept user-agent]
19
+ else
20
+ %w[accept]
21
+ end
22
+ end
23
+
24
+ def test_back
25
+ 0.upto(5) do |i|
26
+ assert_equal(i, @mech.history.size)
27
+ @mech.get("http://localhost/")
28
+ end
29
+ @mech.get("http://localhost/form_test.html")
30
+
31
+ assert_equal("http://localhost/form_test.html",
32
+ @mech.history.last.uri.to_s)
33
+ assert_equal("http://localhost/",
34
+ @mech.history[-2].uri.to_s)
35
+
36
+ assert_equal(7, @mech.history.size)
37
+ @mech.back
38
+ assert_equal(6, @mech.history.size)
39
+ assert_equal("http://localhost/",
40
+ @mech.history.last.uri.to_s)
41
+ end
42
+
43
+ def test_basic_auth
44
+ @mech.basic_auth('user', 'pass')
45
+ page = @mech.get("http://localhost/basic_auth")
46
+ assert_equal('You are authenticated', page.body)
47
+ end
48
+
49
+ def test_cert_key_file
50
+ in_tmpdir do
51
+ open 'key.pem', 'w' do |io| io.write ssl_private_key.to_pem end
52
+ open 'cert.pem', 'w' do |io| io.write ssl_certificate.to_pem end
53
+
54
+ mech = Mechanize.new do |a|
55
+ a.cert = 'cert.pem'
56
+ a.key = 'key.pem'
57
+ end
58
+
59
+ # Certificate#== seems broken
60
+ assert_equal ssl_certificate.to_pem, mech.certificate.to_pem
61
+ end
62
+ end
63
+
64
+ def test_cert_key_object
65
+ mech = Mechanize.new do |a|
66
+ a.cert = ssl_certificate
67
+ a.key = ssl_private_key
68
+ end
69
+
70
+ assert_equal ssl_certificate, mech.certificate
71
+ end
72
+
73
+ def test_cert_store
74
+ assert_nil @mech.cert_store
75
+
76
+ store = OpenSSL::X509::Store.new
77
+ @mech.cert_store = store
78
+
79
+ assert_equal store, @mech.cert_store
80
+ end
81
+
82
+ def test_click
83
+ @mech.user_agent_alias = 'Mac Safari'
84
+ page = @mech.get("http://localhost/frame_test.html")
85
+ link = page.link_with(:text => "Form Test")
86
+
87
+ page = @mech.click(link)
88
+
89
+ assert_equal("http://localhost/form_test.html",
90
+ @mech.history.last.uri.to_s)
91
+ end
92
+
93
+ def test_click_frame
94
+ frame = node 'frame', 'src' => '/index.html'
95
+ frame = Mechanize::Page::Frame.new frame, @mech, fake_page
96
+
97
+ @mech.click frame
98
+
99
+ assert_equal '/index.html', requests.first.path
100
+ end
101
+
102
+ def test_click_frame_hpricot_style
103
+ page = @mech.get("http://localhost/frame_test.html")
104
+ link = (page/"//frame[@name='frame2']").first
105
+
106
+ page = @mech.click(link)
107
+
108
+ assert_equal("http://localhost/form_test.html",
109
+ @mech.history.last.uri.to_s)
110
+ end
111
+
112
+ def test_click_hpricot_style # HACK move to test_divide in Page
113
+ page = @mech.get("http://localhost/frame_test.html")
114
+ link = (page/"//a[@class='bar']").first
115
+
116
+ page = @mech.click(link)
117
+
118
+ assert_equal("http://localhost/form_test.html",
119
+ @mech.history.last.uri.to_s)
120
+ end
121
+
122
+ def test_click_link
123
+ link = node 'a', 'href' => '/index.html'
124
+ link = Mechanize::Page::Link.new link, @mech, fake_page
125
+
126
+ @mech.click link
127
+
128
+ assert_equal '/index.html', requests.first.path
129
+ assert_equal 'http://fake.example/', requests.first['Referer']
130
+ end
131
+
132
+ def test_click_link_nofollow
133
+ page = html_page <<-BODY
134
+ <meta name="ROBOTS" content="nofollow">
135
+
136
+ <p>Do not follow <a href="/index.html">this</a> or <a href="/">this</a>!
137
+ BODY
138
+
139
+ page.links[0].click
140
+ page.links[1].click
141
+
142
+ @mech.robots = true
143
+
144
+ assert_raises Mechanize::RobotsDisallowedError do
145
+ page.links[0].click
146
+ end
147
+
148
+ assert_raises Mechanize::RobotsDisallowedError do
149
+ page.links[1].click
150
+ end
151
+ end
152
+
153
+ def test_click_link_noreferrer
154
+ link = node 'a', 'href' => '/index.html', 'rel' => 'noreferrer'
155
+ link = Mechanize::Page::Link.new link, @mech, fake_page
156
+
157
+ @mech.click link
158
+
159
+ assert_nil requests.first['referer']
160
+ end
161
+
162
+ def test_click_link_rel_nofollow
163
+ page = html_page <<-BODY
164
+ <p>You can follow <a href="/index.html">this link</a>
165
+ but not <a href="/" rel="me nofollow">this</a>!
166
+ BODY
167
+
168
+ page.links[0].click
169
+ page.links[1].click
170
+
171
+ @mech.robots = true
172
+
173
+ page.links[0].click
174
+
175
+ assert_raises Mechanize::RobotsDisallowedError do
176
+ page.links[1].click
177
+ end
178
+ end
179
+
180
+ def test_click_link_parent
181
+ page = page URI 'http://example/a/index.html'
182
+ link = node 'a', 'href' => '../index.html'
183
+ link = Mechanize::Page::Link.new link, @mech, page
184
+
185
+ @mech.click link
186
+
187
+ assert_equal '/index.html', requests.first.path
188
+ end
189
+
190
+ def test_click_link_parent_extra
191
+ page = page URI 'http://example/a/index.html'
192
+ link = node 'a', 'href' => '../../index.html'
193
+ link = Mechanize::Page::Link.new link, @mech, page
194
+
195
+ @mech.click link
196
+
197
+ assert_equal '/index.html', requests.first.path
198
+ end
199
+
200
+ def test_click_link_hpricot_style # HACK move to test_search in Page
201
+ page = @mech.get("http://localhost/tc_encoded_links.html")
202
+
203
+ page = @mech.click(page.search('a').first)
204
+
205
+ assert_equal("http://localhost/form_post?a=b&b=c", page.uri.to_s)
206
+ end
207
+
208
+ def test_click_link_query
209
+ page = @mech.get("http://localhost/tc_encoded_links.html")
210
+ link = page.links.first
211
+ assert_equal('/form_post?a=b&b=c', link.href)
212
+
213
+ page = @mech.click(link)
214
+
215
+ assert_equal("http://localhost/form_post?a=b&b=c", page.uri.to_s)
216
+ end
217
+
218
+ def test_click_link_space
219
+ page = @mech.get("http://localhost/tc_bad_links.html")
220
+
221
+ @mech.click page.links.first
222
+
223
+ assert_match(/alt_text.html$/, @mech.history.last.uri.to_s)
224
+ assert_equal(2, @mech.history.length)
225
+ end
226
+
227
+ def test_click_more
228
+ @mech.get 'http://localhost/test_click.html'
229
+ @mech.click 'A Button'
230
+ assert_equal 'http://localhost/frame_test.html?words=nil',
231
+ @mech.page.uri.to_s
232
+ @mech.back
233
+ @mech.click 'A Link'
234
+ assert_equal 'http://localhost/index.html',
235
+ @mech.page.uri.to_s
236
+ @mech.back
237
+ @mech.click @mech.page.link_with(:text => 'A Link')
238
+ assert_equal 'http://localhost/index.html',
239
+ @mech.page.uri.to_s
240
+ end
241
+
242
+ def test_cookies
243
+ uri = URI 'http://example'
244
+ jar = Mechanize::CookieJar.new
245
+ Mechanize::Cookie.parse uri, 'a=b' do |cookie|
246
+ jar.add uri, cookie
247
+ end
248
+
249
+ @mech.cookie_jar = jar
250
+
251
+ refute_empty @mech.cookies
252
+ end
253
+
254
+ def test_cookie_jar
255
+ assert_kind_of Mechanize::CookieJar, @mech.cookie_jar
256
+
257
+ jar = Mechanize::CookieJar.new
258
+
259
+ @mech.cookie_jar = jar
260
+
261
+ assert_equal jar, @mech.cookie_jar
262
+ end
263
+
264
+ def test_delete
265
+ page = @mech.delete('http://localhost/verb', { 'q' => 'foo' })
266
+ assert_equal 1, @mech.history.length
267
+ assert_equal 'DELETE', page.header['X-Request-Method']
268
+ end
269
+
270
+ def test_delete_redirect
271
+ page = @mech.delete('http://localhost/redirect')
272
+
273
+ assert_equal(page.uri.to_s, 'http://localhost/verb')
274
+
275
+ assert_equal 'GET', page.header['X-Request-Method']
276
+ end
277
+
278
+ #def test_download
279
+ # Dir.mktmpdir do |dir|
280
+ # file = "#{dir}/download"
281
+ # open file, 'w' do |io|
282
+ # @mech.download 'http://example', io
283
+ # end
284
+
285
+ # assert_equal 1, File.stat(file).size
286
+ # end
287
+ #end
288
+
289
+ def test_get
290
+ uri = URI 'http://localhost'
291
+
292
+ page = @mech.get uri, { :q => 'h' }, 'http://example', { 'X-H' => 'v' }
293
+
294
+ assert_equal URI('http://localhost/?q=h'), page.uri
295
+ assert_equal URI('http://localhost'), uri
296
+ end
297
+
298
+ def test_get_HTTP
299
+ page = @mech.get('HTTP://localhost/', { :q => 'hello' })
300
+ assert_equal('HTTP://localhost/?q=hello', page.uri.to_s)
301
+ end
302
+
303
+ def test_get_anchor
304
+ page = @mech.get('http://localhost/?foo=bar&#34;')
305
+ assert_equal('http://localhost/?foo=bar%22', page.uri.to_s)
306
+ end
307
+
308
+ def test_get_bad_url
309
+ assert_raises ArgumentError do
310
+ @mech.get '/foo.html'
311
+ end
312
+ end
313
+
314
+ def test_get_basic_auth_bad
315
+ @mech.basic_auth('aaron', 'aaron')
316
+
317
+ e = assert_raises Mechanize::UnauthorizedError do
318
+ @mech.get("http://localhost/basic_auth")
319
+ end
320
+
321
+ assert_equal("401", e.response_code)
322
+ end
323
+
324
+ def test_get_basic_auth_none
325
+ e = assert_raises Mechanize::UnauthorizedError do
326
+ @mech.get("http://localhost/basic_auth")
327
+ end
328
+
329
+ assert_equal("401", e.response_code)
330
+ end
331
+
332
+ def test_get_conditional
333
+ assert_empty @mech.history
334
+
335
+ page = @mech.get 'http://localhost/if_modified_since'
336
+ assert_match(/You did not send/, page.body)
337
+
338
+ assert_equal 1, @mech.history.length
339
+ page2 = @mech.get 'http://localhost/if_modified_since'
340
+
341
+ assert_equal 2, @mech.history.length
342
+ assert_equal page.object_id, page2.object_id
343
+ end
344
+
345
+ def test_get_digest_auth
346
+ block_called = false
347
+
348
+ @mech.basic_auth('user', 'pass')
349
+
350
+ @mech.pre_connect_hooks << lambda { |_, request|
351
+ block_called = true
352
+ request.to_hash.each do |k,v|
353
+ assert_equal(1, v.length)
354
+ end
355
+ }
356
+
357
+ page = @mech.get("http://localhost/digest_auth")
358
+ assert_equal('You are authenticated', page.body)
359
+ assert block_called
360
+ end
361
+
362
+ def test_get_file
363
+ page = @mech.get("http://localhost/frame_test.html")
364
+ content_length = page.header['Content-Length']
365
+ page_as_string = @mech.get_file("http://localhost/frame_test.html")
366
+ assert_equal(content_length.to_i, page_as_string.length.to_i)
367
+ end
368
+
369
+ def test_get_follow_meta_refresh
370
+ @mech.follow_meta_refresh = true
371
+
372
+ page = @mech.get('http://localhost/tc_follow_meta.html')
373
+
374
+ assert_equal(2, @mech.history.length)
375
+
376
+ assert_equal('http://localhost/tc_follow_meta.html',
377
+ @mech.history.first.uri.to_s)
378
+ assert_equal('http://localhost/index.html', page.uri.to_s)
379
+ assert_equal('http://localhost/index.html', @mech.history.last.uri.to_s)
380
+ end
381
+
382
+ def test_get_follow_meta_refresh_anywhere
383
+ @mech.follow_meta_refresh = :anywhere
384
+ requests = []
385
+ @mech.pre_connect_hooks << lambda { |_, request|
386
+ requests << request
387
+ }
388
+
389
+ @mech.get('http://localhost/tc_meta_in_body.html')
390
+ assert_equal 2, requests.length
391
+ end
392
+
393
+ def test_get_follow_meta_refresh_disabled
394
+ page = @mech.get('http://localhost/tc_follow_meta.html')
395
+ assert_equal('http://localhost/tc_follow_meta.html', page.uri.to_s)
396
+ assert_equal(1, page.meta_refresh.length)
397
+ end
398
+
399
+ def test_get_follow_meta_refresh_empty_url
400
+ @mech.follow_meta_refresh = true
401
+ @mech.follow_meta_refresh_self = true
402
+
403
+ page = @mech.get('http://localhost/refresh_with_empty_url')
404
+
405
+ assert_equal(3, @mech.history.length)
406
+ assert_equal('http://localhost/refresh_with_empty_url',
407
+ @mech.history[0].uri.to_s)
408
+ assert_equal('http://localhost/refresh_with_empty_url',
409
+ @mech.history[1].uri.to_s)
410
+ assert_equal('http://localhost/index.html', page.uri.to_s)
411
+ assert_equal('http://localhost/index.html', @mech.history.last.uri.to_s)
412
+ end
413
+
414
+ def test_get_follow_meta_refresh_in_body
415
+ @mech.follow_meta_refresh = true
416
+ requests = []
417
+ @mech.pre_connect_hooks << lambda { |_, request|
418
+ requests << request
419
+ }
420
+
421
+ @mech.get('http://localhost/tc_meta_in_body.html')
422
+ assert_equal 1, requests.length
423
+ end
424
+
425
+ def test_get_follow_meta_refresh_no_url
426
+ @mech.follow_meta_refresh = true
427
+ @mech.follow_meta_refresh_self = true
428
+
429
+ page = @mech.get('http://localhost/refresh_without_url')
430
+
431
+ assert_equal(3, @mech.history.length)
432
+ assert_equal('http://localhost/refresh_without_url',
433
+ @mech.history[0].uri.to_s)
434
+ assert_equal('http://localhost/refresh_without_url',
435
+ @mech.history[1].uri.to_s)
436
+ assert_equal('http://localhost/index.html', page.uri.to_s)
437
+ assert_equal('http://localhost/index.html', @mech.history.last.uri.to_s)
438
+ end
439
+
440
+ def test_get_follow_meta_refresh_referer_not_sent
441
+ @mech.follow_meta_refresh = true
442
+
443
+ requests = []
444
+
445
+ @mech.pre_connect_hooks << lambda { |_, request|
446
+ requests << request
447
+ }
448
+
449
+ @mech.get('http://localhost/tc_follow_meta.html')
450
+
451
+ assert_equal 2, @mech.history.length
452
+ assert_nil requests.last['referer']
453
+ end
454
+
455
+ def test_get_referer_download
456
+ download = Mechanize::Download.new URI 'http://example/prev'
457
+
458
+ uri = URI 'http://example'
459
+
460
+ page = @mech.get uri, { :q => 'h' }, download, { 'X-H' => 'v' }
461
+
462
+ assert_equal URI('http://example/?q=h'), page.uri
463
+ assert_equal URI('http://example'), uri
464
+
465
+ assert_equal 'http://example/prev', requests.first['referer']
466
+ end
467
+
468
+ def test_get_robots
469
+ @mech.robots = true
470
+
471
+ assert_equal "Page Title", @mech.get("http://localhost/index.html").title
472
+
473
+ assert_raises Mechanize::RobotsDisallowedError do
474
+ @mech.get "http://localhost/norobots.html"
475
+ end
476
+ end
477
+
478
+ def test_follow_meta_refresh_self
479
+ refute @mech.agent.follow_meta_refresh_self
480
+
481
+ @mech.follow_meta_refresh_self = true
482
+
483
+ assert @mech.agent.follow_meta_refresh_self
484
+ end
485
+
486
+ def test_get_gzip
487
+ page = @mech.get("http://localhost/gzip?file=index.html")
488
+
489
+ assert_kind_of(Mechanize::Page, page)
490
+
491
+ assert_match('Hello World', page.body)
492
+ end
493
+
494
+ def test_content_encoding_hooks_header
495
+ h = {'X-ResponseContentEncoding' => 'agzip'}
496
+
497
+ # test of X-ResponseContentEncoding feature
498
+ assert_raises(Mechanize::Error, 'Unsupported Content-Encoding: agzip') do
499
+ @mech.get("http://localhost/gzip?file=index.html", nil, nil, h)
500
+ end
501
+
502
+ @mech.content_encoding_hooks << lambda{|agent, uri, response, response_body_io|
503
+ response['content-encoding'] = 'gzip' if response['content-encoding'] == 'agzip'}
504
+
505
+ page = @mech.get("http://localhost/gzip?file=index.html", nil, nil, h)
506
+
507
+ assert_match('Hello World', page.body)
508
+ end
509
+
510
+ def external_cmd(io); Zlib::GzipReader.new(io).read; end
511
+
512
+ def test_content_encoding_hooks_body_io
513
+ h = {'X-ResponseContentEncoding' => 'unsupported_content_encoding'}
514
+
515
+ @mech.content_encoding_hooks << lambda{|agent, uri, response, response_body_io|
516
+ if response['content-encoding'] == 'unsupported_content_encoding'
517
+ response['content-encoding'] = 'none'
518
+ response_body_io.string = external_cmd(response_body_io)
519
+ end}
520
+
521
+ page = @mech.get("http://localhost/gzip?file=index.html", nil, nil, h)
522
+
523
+ assert_match('Hello World', page.body)
524
+ end
525
+
526
+ def test_get_http_refresh
527
+ @mech.follow_meta_refresh = true
528
+
529
+ requests = []
530
+
531
+ @mech.pre_connect_hooks << lambda { |_, request|
532
+ requests << request
533
+ }
534
+
535
+ page = @mech.get('http://localhost/http_refresh?refresh_time=0')
536
+
537
+ assert_equal('http://localhost/index.html', page.uri.to_s)
538
+ assert_equal(2, @mech.history.length)
539
+ assert_nil requests.last['referer']
540
+ end
541
+
542
+ def test_get_http_refresh_delay
543
+ @mech.follow_meta_refresh = true
544
+ class << @mech.agent
545
+ attr_accessor :slept
546
+ def sleep *args
547
+ @slept = args
548
+ end
549
+ end
550
+
551
+ @mech.get('http://localhost/http_refresh?refresh_time=1')
552
+ assert_equal [1], @mech.agent.slept
553
+ end
554
+
555
+ def test_get_http_refresh_disabled
556
+ page = @mech.get('http://localhost/http_refresh?refresh_time=0')
557
+ assert_equal('http://localhost/http_refresh?refresh_time=0', page.uri.to_s)
558
+ end
559
+
560
+ def test_get_kcode
561
+ $KCODE = 'u'
562
+ page = @mech.get("http://localhost/?a=#{[0xd6].pack('U')}")
563
+
564
+ assert_equal('http://localhost/?a=%D6', page.uri.to_s)
565
+
566
+ $KCODE = 'NONE'
567
+ end unless RUBY_VERSION >= '1.9.0'
568
+
569
+ def test_get_query
570
+ page = @mech.get('http://localhost/', { :q => 'hello' })
571
+ assert_equal('http://localhost/?q=hello', page.uri.to_s)
572
+ end
573
+
574
+ def test_get_redirect
575
+ page = @mech.get('http://localhost/redirect')
576
+
577
+ assert_equal(page.uri.to_s, 'http://localhost/verb')
578
+
579
+ assert_equal 'GET', page.header['X-Request-Method']
580
+ end
581
+
582
+ def test_get_redirect_found
583
+ page = @mech.get('http://localhost/response_code?code=302&ct=test/xml')
584
+
585
+ assert_equal('http://localhost/index.html', page.uri.to_s)
586
+
587
+ assert_equal(2, @mech.history.length)
588
+ end
589
+
590
+ def test_get_redirect_infinite
591
+ assert_raises(Mechanize::RedirectLimitReachedError) {
592
+ @mech.get('http://localhost/infinite_refresh')
593
+ }
594
+ end
595
+
596
+ def test_get_referer
597
+ request = nil
598
+ @mech.pre_connect_hooks << lambda { |_, req|
599
+ request = req
600
+ }
601
+
602
+ @mech.get('http://localhost/', [], 'http://tenderlovemaking.com/')
603
+ assert_equal 'http://tenderlovemaking.com/', request['Referer']
604
+ end
605
+
606
+ def test_get_referer_file
607
+ uri = URI 'http://tenderlovemaking.com/crossdomain.xml'
608
+ file = Mechanize::File.new uri
609
+
610
+ @mech.get('http://localhost', [], file)
611
+
612
+ # HACK no assertion of behavior
613
+ end
614
+
615
+ def test_get_referer_none
616
+ requests = []
617
+ @mech.pre_connect_hooks << lambda { |_, request|
618
+ requests << request
619
+ }
620
+
621
+ @mech.get('http://localhost/')
622
+ @mech.get('http://localhost/')
623
+ assert_equal(2, requests.length)
624
+ requests.each do |request|
625
+ assert_nil request['referer']
626
+ end
627
+ end
628
+
629
+ def test_get_scheme_unsupported
630
+ assert_raises Mechanize::UnsupportedSchemeError do
631
+ @mech.get('ftp://server.com/foo.html')
632
+ end
633
+ end
634
+
635
+ def test_get_space
636
+ page = nil
637
+
638
+ page = @mech.get("http://localhost/tc_bad_links.html ")
639
+
640
+ assert_match(/tc_bad_links.html$/, @mech.history.last.uri.to_s)
641
+
642
+ assert_equal(1, @mech.history.length)
643
+ end
644
+
645
+ def test_get_tilde
646
+ page = @mech.get('http://localhost/?foo=~2')
647
+
648
+ assert_equal('http://localhost/?foo=~2', page.uri.to_s)
649
+ end
650
+
651
+ def test_get_weird
652
+ @mech.get('http://localhost/?action=bing&bang=boom=1|a=|b=|c=')
653
+ @mech.get('http://localhost/?a=b&#038;b=c&#038;c=d')
654
+ @mech.get("http://localhost/?a=#{[0xd6].pack('U')}")
655
+
656
+ # HACK no assertion of behavior
657
+ end
658
+
659
+ def test_get_yield
660
+ pages = nil
661
+
662
+ @mech.get("http://localhost/file_upload.html") { |page|
663
+ pages = page
664
+ }
665
+
666
+ assert pages
667
+ assert_equal('File Upload Form', pages.title)
668
+ end
669
+
670
+ def test_head
671
+ page = @mech.head('http://localhost/verb', { 'q' => 'foo' })
672
+ assert_equal 0, @mech.history.length
673
+ assert_equal 'HEAD', page.header['X-Request-Method']
674
+ end
675
+
676
+ def test_head_redirect
677
+ page = @mech.head('http://localhost/redirect')
678
+
679
+ assert_equal(page.uri.to_s, 'http://localhost/verb')
680
+
681
+ assert_equal 'HEAD', page.header['X-Request-Method']
682
+ end
683
+
684
+ def test_history
685
+ 2.times do |i|
686
+ assert_equal(i, @mech.history.size)
687
+
688
+ @mech.get("http://localhost/")
689
+ end
690
+
691
+ page = @mech.get("http://localhost/form_test.html")
692
+
693
+ assert_equal("http://localhost/form_test.html",
694
+ @mech.history.last.uri.to_s)
695
+ assert_equal("http://localhost/",
696
+ @mech.history[-2].uri.to_s)
697
+
698
+ assert @mech.visited?("http://localhost/")
699
+ assert @mech.visited?("/form_test.html"), 'relative'
700
+ assert !@mech.visited?("http://google.com/")
701
+ assert @mech.visited?(page.links.first)
702
+ end
703
+
704
+ def test_history_added_gets_called
705
+ added_page = nil
706
+
707
+ @mech.history_added = lambda { |page|
708
+ added_page = page
709
+ }
710
+
711
+ assert_equal @mech.get('http://localhost/tc_blank_form.html'), added_page
712
+ end
713
+
714
+ def test_history_order
715
+ @mech.max_history = 2
716
+ assert_equal(0, @mech.history.length)
717
+
718
+ @mech.get('http://localhost/form_test.html')
719
+ assert_equal(1, @mech.history.length)
720
+
721
+ @mech.get('http://localhost/empty_form.html')
722
+ assert_equal(2, @mech.history.length)
723
+
724
+ @mech.get('http://localhost/tc_checkboxes.html')
725
+ assert_equal(2, @mech.history.length)
726
+ assert_equal('http://localhost/empty_form.html', @mech.history[0].uri.to_s)
727
+ assert_equal('http://localhost/tc_checkboxes.html',
728
+ @mech.history[1].uri.to_s)
729
+ end
730
+
731
+ def test_html_parser_equals
732
+ @mech.html_parser = {}
733
+ assert_raises(NoMethodError) {
734
+ @mech.get('http://localhost/?foo=~2').links
735
+ }
736
+ end
737
+
738
+ def test_idle_timeout_equals
739
+ @mech.idle_timeout = 5
740
+
741
+ assert_equal 5, @mech.idle_timeout
742
+ end
743
+
744
+ def test_keep_alive_equals
745
+ assert @mech.keep_alive
746
+
747
+ @mech.keep_alive = false
748
+
749
+ refute @mech.keep_alive
750
+ end
751
+
752
+ def test_keep_alive_time
753
+ assert_equal 0, @mech.keep_alive_time
754
+
755
+ @mech.keep_alive_time = 1
756
+
757
+ assert_equal 1, @mech.keep_alive_time
758
+ end
759
+
760
+ def test_log
761
+ assert_nil @mech.log
762
+ end
763
+
764
+ def test_log_equals
765
+ @mech.log = Logger.new $stderr
766
+
767
+ refute_nil @mech.log
768
+ assert_nil Mechanize.log
769
+ end
770
+
771
+ def test_max_file_buffer_equals
772
+ @mech.max_file_buffer = 1024
773
+
774
+ assert_equal 1024, @mech.agent.max_file_buffer
775
+ end
776
+
777
+ def test_max_history_equals
778
+ @mech.max_history = 10
779
+ 0.upto(10) do |i|
780
+ assert_equal(i, @mech.history.size)
781
+ @mech.get("http://localhost/")
782
+ end
783
+
784
+ 0.upto(10) do |i|
785
+ assert_equal(10, @mech.history.size)
786
+ @mech.get("http://localhost/")
787
+ end
788
+ end
789
+
790
+ def test_open_timeout_equals
791
+ @mech.open_timeout = 5
792
+
793
+ assert_equal 5, @mech.open_timeout
794
+ end
795
+
796
+ def test_parse_download
797
+ @mech.pluggable_parser['application/octet-stream'] = Mechanize::Download
798
+
799
+ response = Net::HTTPOK.allocate
800
+ response.instance_variable_set(:@header,
801
+ 'content-type' =>
802
+ ['application/octet-stream'])
803
+
804
+ download = @mech.parse @uri, response, StringIO.new('raw')
805
+
806
+ assert_kind_of Mechanize::Download, download
807
+ assert_kind_of StringIO, download.content
808
+ end
809
+
810
+ def test_parse_html
811
+ response = Net::HTTPOK.allocate
812
+ response.instance_variable_set :@header, 'content-type' => ['text/html']
813
+
814
+ page = @mech.parse URI('http://example/'), response, ''
815
+
816
+ assert_kind_of Mechanize::Page, page
817
+ end
818
+
819
+ def test_post
820
+ @mech.post "http://example", 'gender' => 'female'
821
+
822
+ assert_equal "gender=female", requests.first.body
823
+ end
824
+
825
+ def test_post_basic_auth
826
+ requests = []
827
+
828
+ @mech.pre_connect_hooks << proc { |agent, request|
829
+ requests << request.class
830
+ }
831
+
832
+ @mech.basic_auth('user', 'pass')
833
+ page = @mech.post("http://localhost/basic_auth")
834
+ assert_equal('You are authenticated', page.body)
835
+ assert_equal(2, requests.length)
836
+ r1 = requests[0]
837
+ r2 = requests[1]
838
+ assert_equal(r1, r2)
839
+ end
840
+
841
+ def test_post_entity
842
+ @mech.post "http://localhost/form_post", 'json' => '["&quot;"]'
843
+
844
+ assert_equal "json=%5B%22%22%22%5D", requests.first.body
845
+ end
846
+
847
+ def test_post_multiple_values
848
+ @mech.post "http://localhost/form_post",
849
+ [%w[gender female], %w[gender male]]
850
+
851
+ assert_equal "gender=female&gender=male", requests.first.body
852
+ end
853
+
854
+ def test_post_multipart
855
+ page = @mech.post('http://localhost/file_upload', {
856
+ :name => 'Some file',
857
+ :userfile1 => File.open(__FILE__)
858
+ })
859
+
860
+ name = File.basename __FILE__
861
+ assert_match(
862
+ "Content-Disposition: form-data; name=\"userfile1\"; filename=\"#{name}\"",
863
+ page.body
864
+ )
865
+ assert page.body.length > File.read(__FILE__).length
866
+ end
867
+
868
+ def test_post_redirect
869
+ page = @mech.post('http://localhost/redirect')
870
+
871
+ assert_equal(page.uri.to_s, 'http://localhost/verb')
872
+
873
+ assert_equal 'GET', page.header['X-Request-Method']
874
+ end
875
+
876
+ def test_put
877
+ page = @mech.put('http://localhost/verb', 'foo')
878
+ assert_equal 1, @mech.history.length
879
+ assert_equal 'PUT', page.header['X-Request-Method']
880
+ end
881
+
882
+ def test_put_redirect
883
+ page = @mech.put('http://localhost/redirect', 'foo')
884
+
885
+ assert_equal(page.uri.to_s, 'http://localhost/verb')
886
+
887
+ assert_equal 'GET', page.header['X-Request-Method']
888
+ end
889
+
890
+ def test_read_timeout_equals
891
+ @mech.read_timeout = 5
892
+
893
+ assert_equal 5, @mech.read_timeout
894
+ end
895
+
896
+ def test_retry_change_requests_equals
897
+ refute @mech.retry_change_requests
898
+
899
+ @mech.retry_change_requests = true
900
+
901
+ assert @mech.retry_change_requests
902
+ end
903
+
904
+ def test_set_proxy
905
+ http = @mech.agent.http
906
+
907
+ @mech.set_proxy 'localhost', 8080, 'user', 'pass'
908
+
909
+ assert_equal 'localhost', @mech.proxy_addr
910
+ assert_equal 8080, @mech.proxy_port
911
+ assert_equal 'user', @mech.proxy_user
912
+ assert_equal 'pass', @mech.proxy_pass
913
+
914
+ refute_same http, @mech.agent.http
915
+ end
916
+
917
+ def test_submit_bad_form_method
918
+ page = @mech.get("http://localhost/bad_form_test.html")
919
+ assert_raises ArgumentError do
920
+ @mech.submit(page.forms.first)
921
+ end
922
+ end
923
+
924
+ def test_submit_check_one
925
+ page = @mech.get('http://localhost/tc_checkboxes.html')
926
+ form = page.forms.first
927
+ form.checkboxes_with(:name => 'green')[1].check
928
+
929
+ page = @mech.submit(form)
930
+
931
+ assert_equal(1, page.links.length)
932
+ assert_equal('green:on', page.links.first.text)
933
+ end
934
+
935
+ def test_submit_check_two
936
+ page = @mech.get('http://localhost/tc_checkboxes.html')
937
+ form = page.forms.first
938
+ form.checkboxes_with(:name => 'green')[0].check
939
+ form.checkboxes_with(:name => 'green')[1].check
940
+
941
+ page = @mech.submit(form)
942
+
943
+ assert_equal(2, page.links.length)
944
+ assert_equal('green:on', page.links[0].text)
945
+ assert_equal('green:on', page.links[1].text)
946
+ end
947
+
948
+ def test_submit_enctype
949
+ page = @mech.get("http://localhost/file_upload.html")
950
+ assert_equal('multipart/form-data', page.forms[0].enctype)
951
+
952
+ form = page.forms.first
953
+ form.file_uploads.first.file_name = __FILE__
954
+ form.file_uploads.first.mime_type = "text/plain"
955
+ form.file_uploads.first.file_data = "Hello World\n\n"
956
+
957
+ page = @mech.submit(form)
958
+
959
+ basename = File.basename __FILE__
960
+
961
+ assert_match(
962
+ "Content-Disposition: form-data; name=\"userfile1\"; filename=\"#{basename}\"",
963
+ page.body
964
+ )
965
+ assert_match(
966
+ "Content-Disposition: form-data; name=\"name\"",
967
+ page.body
968
+ )
969
+ assert_match('Content-Type: text/plain', page.body)
970
+ assert_match('Hello World', page.body)
971
+ assert_match('foo[aaron]', page.body)
972
+ end
973
+
974
+ def test_submit_file_data
975
+ page = @mech.get("http://localhost/file_upload.html")
976
+ assert_equal('multipart/form-data', page.forms[1].enctype)
977
+
978
+ form = page.forms[1]
979
+ form.file_uploads.first.file_name = __FILE__
980
+ form.file_uploads.first.file_data = File.read __FILE__
981
+
982
+ page = @mech.submit(form)
983
+
984
+ contents = File.read __FILE__
985
+ basename = File.basename __FILE__
986
+
987
+ assert_match(
988
+ "Content-Disposition: form-data; name=\"green[eggs]\"; filename=\"#{basename}\"",
989
+ page.body
990
+ )
991
+
992
+ assert_match(contents, page.body)
993
+ end
994
+
995
+ def test_submit_file_name
996
+ page = @mech.get("http://localhost/file_upload.html")
997
+ assert_equal('multipart/form-data', page.forms[1].enctype)
998
+
999
+ form = page.forms[1]
1000
+ form.file_uploads.first.file_name = __FILE__
1001
+
1002
+ page = @mech.submit(form)
1003
+
1004
+ contents = File.read __FILE__
1005
+ basename = File.basename __FILE__
1006
+ assert_match(
1007
+ "Content-Disposition: form-data; name=\"green[eggs]\"; filename=\"#{basename}\"",
1008
+ page.body
1009
+ )
1010
+ assert_match(contents, page.body)
1011
+ end
1012
+
1013
+ def test_submit_get
1014
+ form = node 'form', 'method' => 'GET', 'action' => '/?a=b'
1015
+ form = Mechanize::Form.new form, @mech, fake_page
1016
+
1017
+ @mech.submit form
1018
+
1019
+ assert_equal '/', requests.first.path
1020
+ end
1021
+
1022
+ def test_submit_headers
1023
+ page = @mech.get 'http://localhost:2000/form_no_action.html'
1024
+
1025
+ assert form = page.forms.first
1026
+ form.action = '/http_headers'
1027
+
1028
+ page = @mech.submit form, nil, 'foo' => 'bar'
1029
+
1030
+ headers = page.body.split("\n").map { |x| x.split('|', 2) }.flatten
1031
+ headers = Hash[*headers]
1032
+
1033
+ assert_equal 'bar', headers['foo']
1034
+ end
1035
+
1036
+ def test_submit_multipart
1037
+ page = @mech.get("http://localhost/file_upload.html")
1038
+
1039
+ assert_equal('multipart/form-data', page.forms[1].enctype)
1040
+
1041
+ form = page.forms[1]
1042
+ form.file_uploads.first.file_name = __FILE__
1043
+ form.file_uploads.first.mime_type = "text/plain"
1044
+ form.file_uploads.first.file_data = "Hello World\n\n"
1045
+
1046
+ page = @mech.submit(form)
1047
+
1048
+ basename = File.basename __FILE__
1049
+
1050
+ assert_match(
1051
+ "Content-Disposition: form-data; name=\"green[eggs]\"; filename=\"#{basename}\"",
1052
+ page.body
1053
+ )
1054
+ end
1055
+
1056
+ def test_submit_no_file
1057
+ page = @mech.get("http://localhost/file_upload.html")
1058
+ form = page.forms.first
1059
+ form.field_with(:name => 'name').value = 'Aaron'
1060
+ @page = @mech.submit(form)
1061
+ assert_match('Aaron', @page.body)
1062
+ assert_match(
1063
+ "Content-Disposition: form-data; name=\"userfile1\"; filename=\"\"",
1064
+ @page.body
1065
+ )
1066
+ end
1067
+
1068
+ def test_submit_post
1069
+ form = node 'form', 'method' => 'POST', 'action' => '/?a=b'
1070
+ form = Mechanize::Form.new form, @mech, fake_page
1071
+
1072
+ @mech.submit form
1073
+
1074
+ assert_equal '/?a=b', requests.first.path
1075
+ end
1076
+
1077
+ def test_submit_post_pound
1078
+ form = node 'form', 'method' => 'POST', 'action' => '/#1'
1079
+ form = Mechanize::Form.new form, @mech, fake_page
1080
+
1081
+ @mech.submit form
1082
+
1083
+ assert_equal '/', requests.first.path
1084
+ end
1085
+
1086
+ def test_submit_too_many_radiobuttons
1087
+ page = @mech.get("http://localhost/form_test.html")
1088
+ form = page.form_with(:name => 'post_form1')
1089
+ form.radiobuttons.each { |r| r.checked = true }
1090
+
1091
+ assert_raises Mechanize::Error do
1092
+ @mech.submit(form)
1093
+ end
1094
+ end
1095
+
1096
+ def test_transact
1097
+ @mech.get("http://localhost/frame_test.html")
1098
+ assert_equal(1, @mech.history.length)
1099
+ @mech.transact { |a|
1100
+ 5.times {
1101
+ @mech.get("http://localhost/frame_test.html")
1102
+ }
1103
+ assert_equal(6, @mech.history.length)
1104
+ }
1105
+ assert_equal(1, @mech.history.length)
1106
+ end
1107
+
1108
+ def test_user_agent_alias_equals_unknown
1109
+ assert_raises ArgumentError do
1110
+ @mech.user_agent_alias = "Aaron's Browser"
1111
+ end
1112
+ end
1113
+
1114
+ def test_verify_mode
1115
+ assert_equal OpenSSL::SSL::VERIFY_PEER, @mech.verify_mode
1116
+
1117
+ @mech.verify_mode = OpenSSL::SSL::VERIFY_NONE
1118
+
1119
+ assert_equal OpenSSL::SSL::VERIFY_NONE, @mech.verify_mode
1120
+ end
1121
+
1122
+ def test_visited_eh
1123
+ @mech.get("http://localhost/content_type_test?ct=application/pdf")
1124
+
1125
+ assert \
1126
+ @mech.visited?("http://localhost/content_type_test?ct=application/pdf")
1127
+ assert \
1128
+ !@mech.visited?("http://localhost/content_type_test")
1129
+ assert \
1130
+ !@mech.visited?("http://localhost/content_type_test?ct=text/html")
1131
+ end
1132
+
1133
+ def test_visited_eh_link
1134
+ @mech.get("http://example/index.html")
1135
+
1136
+ page = page URI 'http://example'
1137
+ link = node 'a', 'href' => '/index.html'
1138
+ link = Mechanize::Page::Link.new link, page, @mech
1139
+
1140
+ assert @mech.visited? link
1141
+ end
1142
+
1143
+ def test_visited_eh_redirect
1144
+ @mech.get("http://localhost/response_code?code=302")
1145
+
1146
+ assert_equal("http://localhost/index.html", @mech.current_page.uri.to_s)
1147
+
1148
+ assert @mech.visited?('http://localhost/response_code?code=302')
1149
+ end
1150
+
1151
+ def assert_header(page, header)
1152
+ headers = {}
1153
+
1154
+ page.body.split(/[\r\n]+/).each do |page_header|
1155
+ headers.[]=(*page_header.chomp.split(/\|/))
1156
+ end
1157
+
1158
+ header.each do |key, value|
1159
+ assert(headers.has_key?(key))
1160
+ assert_equal(value, headers[key])
1161
+ end
1162
+ end
1163
+ end
1164
+