domo 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +24 -10
- data/VERSION +1 -1
- data/domo.gemspec +3 -3
- data/lib/domo.rb +0 -2
- data/lib/domo/core.rb +0 -1
- data/lib/domo/version.rb +0 -1
- data/pkg/domo-0.0.4.gem +0 -0
- data/test/bigarrow-build-dbconfig201110.xml +94 -0
- data/test/bigarrow-build-preview.xml +104 -0
- data/test/bigarrow-build-production.xml +100 -0
- data/test/bigarrow-build-staging-1.0.4.xml +100 -0
- data/test/bigarrow-build-staging-blanch-1.0.x.xml +116 -0
- data/test/bigarrow-build-staging.xml +115 -0
- data/test/bigarrow-deploy-staging-blanch-1.0.x.xml +36 -0
- data/test/bigarrow-deploy-staging.xml +36 -0
- data/test/bigarrow-test.xml +108 -0
- data/test/cuke4duke-example.xml +83 -0
- data/test/deploy-swiz-to-artifactory.xml +75 -0
- data/test/doc-chart.xml +53 -0
- data/test/doc-corpa.xml +54 -0
- data/test/doc-glutton.xml +70 -0
- data/test/doc-mmr.xml +55 -0
- data/test/doc-oculus.xml +74 -0
- data/test/generate-multi-environment-batch-dist.xml +96 -0
- data/test/generate-sphinx-build.xml +77 -0
- data/test/import-jce-policy.xml +47 -0
- data/test/import-key.xml +42 -0
- data/test/lab-commons-1.1.0.xml +78 -0
- data/test/lab-commons-rtt-trunk.xml +94 -0
- data/test/lab-commons-trunk.xml +84 -0
- data/test/lab-ope-batch-0.0.1.xml +79 -0
- data/test/lab-ope-batch-0.0.2.xml +79 -0
- data/test/lab-ope-batch-0.0.3.xml +79 -0
- data/test/lab-ope-batch.xml +75 -0
- data/test/lab-ope-core-0.0.1.xml +79 -0
- data/test/lab-ope-core.xml +75 -0
- data/test/lab-ope-web.xml +86 -0
- data/test/lab-simple-auth.xml +93 -0
- data/test/maven3-artifactory-pom-absent-issue.xml +60 -0
- data/test/mep-build-prod-trunk.xml +77 -0
- data/test/mep-build-prod.xml +71 -0
- data/test/mep-build-stable.xml +77 -0
- data/test/mep-build-staging-branch-1.0.x.xml +77 -0
- data/test/mep-build-staging-trunk.xml +77 -0
- data/test/mep-build-staging.xml +71 -0
- data/test/mep-build-verification.xml +75 -0
- data/test/mep-deploy-latest-branch-1.0.x.xml +108 -0
- data/test/mep-deploy-latest.xml +113 -0
- data/test/mep-deploy-stable.xml +97 -0
- data/test/mep-performance-test-portfolio-multi.xml +63 -0
- data/test/mep-performance-test-portfolio-single.xml +59 -0
- data/test/mep-performance-test-ranking.xml +55 -0
- data/test/mep-performance-test-top.xml +63 -0
- data/test/mep-test-branch-1.0.x.xml +195 -0
- data/test/mep-test.xml +200 -0
- data/test/mgm-batch-app.xml +143 -0
- data/test/mgm-batch.xml +92 -0
- data/test/mgm-batch_latest-tag.xml +94 -0
- data/test/mgm-flex-1.1.2.4.xml +89 -0
- data/test/mgm-flex.xml +85 -0
- data/test/mgm-project-1.0.0.xml +85 -0
- data/test/mgm-project-1.0.1.xml +85 -0
- data/test/mmr-batch.xml +102 -0
- data/test/mmr-server.xml +120 -0
- data/test/mnb-corpa-corector.xml +104 -0
- data/test/mnb-corpa-csv-generator.xml +114 -0
- data/test/mnb-corpa-integration-test.xml +104 -0
- data/test/mnb-corpa.xml +128 -0
- data/test/mnb-glutton-client.xml +103 -0
- data/test/monex-sessionkeeper-trunk.xml +89 -0
- data/test/monex-sessionkeeper_latest-tag.xml +80 -0
- data/test/oculus-batch-deploy-tags.xml +69 -0
- data/test/oculus-batch.xml +143 -0
- data/test/oculus-help.xml +140 -0
- data/test/oculus-publish-specification.xml +39 -0
- data/test/oculus-server.xml +149 -0
- data/test/sakimori-batch-bundle-prod.xml +60 -0
- data/test/sakimori-batch-bundle-stg.xml +60 -0
- data/test/sakimori-batch.xml +85 -0
- data/test/sakimori-common-3.0.1.xml +79 -0
- data/test/sakimori-common.xml +79 -0
- data/test/sakimori-project.xml +79 -0
- data/test/setup-settings-xml.xml +84 -0
- data/test/vision-analysis-trunk.xml +84 -0
- data/test/vision-batch-1.1.5-create-bundle-production.xml +70 -0
- data/test/vision-batch-1.1.5-create-bundle-staging.xml +70 -0
- data/test/vision-batch-trunk-create-bundle-staging.xml +60 -0
- data/test/vision-batch-trunk.xml +87 -0
- data/test/vision-batch_latest-tag.xml +90 -0
- data/test/vision-core-trunk.xml +85 -0
- data/test/vision-core_latest-tag.xml +90 -0
- data/test/vision-flash-swc-trunk.xml +86 -0
- data/test/vision-flash-swc_latest-tag.xml +81 -0
- data/test/vision-flex-logger-trunk.xml +86 -0
- data/test/vision-flex-logger_latest-tag.xml +81 -0
- data/test/vision-flex-server-1.1.2.5-create-war-production.xml +59 -0
- data/test/vision-flex-server-1.1.2.5-create-war-staging.xml +59 -0
- data/test/vision-flex-server-1.1.5-create-war-production.xml +69 -0
- data/test/vision-flex-server-1.1.5-create-war-staging.xml +69 -0
- data/test/vision-flex-server-1.1.6-create-war-production.xml +69 -0
- data/test/vision-flex-server-1.1.6-create-war-staging.xml +69 -0
- data/test/vision-flex-server-1.1.7-create-war-production.xml +69 -0
- data/test/vision-flex-server-1.1.7-create-war-staging.xml +69 -0
- data/test/vision-flex-server-1.1.8-create-war-production.xml +69 -0
- data/test/vision-flex-server-1.1.8-create-war-staging.xml +69 -0
- data/test/vision-flex-server-trunk-create-war-staging.xml +69 -0
- data/test/vision-flex-server-trunk.xml +85 -0
- data/test/vision-flex-server_latest-tag.xml +90 -0
- data/test/vision-flex4-app-trunk.xml +90 -0
- data/test/vision-flex4-app_latest-tag.xml +81 -0
- data/test/vision-flex4-core-trunk.xml +90 -0
- data/test/vision-flex4-core_latest-tag.xml +81 -0
- data/test/vision-operation-log-trunk.xml +84 -0
- data/test/vision-project-trunk.xml +85 -0
- data/test/vision-project_latest-tag.xml +90 -0
- data/vendor/bundle/ruby/1.9.1/bin/domo +1 -3
- data/vendor/bundle/ruby/1.9.1/bin/rake +19 -0
- data/vendor/bundle/ruby/1.9.1/cache/domain_name-0.5.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/highline-1.6.11.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/mechanize-2.1.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/net-http-digest_auth-1.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/net-http-persistent-2.3.3.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/nokogiri-1.5.0.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/ntlm-http-0.1.1.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/rake-0.9.2.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/unf-0.0.4.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/unf_ext-0.0.4.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/webrobots-0.0.13.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/Gemfile +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/LICENSE.txt +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/README.md +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/Rakefile +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/VERSION +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/data/effective_tld_names.dat +5197 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/domain_name.gemspec +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/lib/domain_name.rb +236 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/lib/domain_name/etld_data.rb +4302 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/lib/domain_name/etld_data.rb.erb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/lib/domain_name/punycode.rb +182 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/test/helper.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/test/test_domain_name-punycode.rb +96 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/test/test_domain_name.rb +228 -0
- data/vendor/bundle/ruby/1.9.1/gems/domain_name-0.5.2/tool/gen_etld_data.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/AUTHORS +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/CHANGELOG +304 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/COPYING +340 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/INSTALL +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/LICENSE +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/README +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/Rakefile +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/TODO +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/ansi_colors.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/asking_for_arrays.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/basic_usage.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/color_scheme.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/limit.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/menus.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/overwrite.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/page_and_wrap.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/password.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/trapping_eof.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/examples/using_readline.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/highline.gemspec +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline.rb +978 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/color_scheme.rb +136 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/lib/highline/compatibility.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/lib/highline/import.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/menu.rb +398 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/question.rb +465 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/string_extensions.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/style.rb +184 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/lib/highline/system_extensions.rb +180 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/setup.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/site/highline.css +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/site/images/logo.png +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/site/index.html +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/string_methods.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_color_scheme.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_highline.rb +962 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/test/tc_import.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{highline-1.6.2 → highline-1.6.11}/test/tc_menu.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_string_extension.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_string_highline.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/tc_style.rb +569 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.11/test/ts_all.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/CHANGELOG.rdoc +718 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/EXAMPLES.rdoc +187 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/FAQ.rdoc +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/GUIDE.rdoc +163 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/LICENSE.rdoc +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/Manifest.txt +159 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/README.rdoc +64 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/Rakefile +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/flickr_upload.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/mech-dump.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/proxy_req.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/rubyforge.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/examples/spider.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize.rb +1079 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/content_type_error.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/cookie.rb +232 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/cookie_jar.rb +194 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/download.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/element_matcher.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file.rb +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file_connection.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file_request.rb +26 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file_response.rb +74 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/file_saver.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form.rb +543 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/button.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/check_box.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/field.rb +54 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/file_upload.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/hidden.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/image_button.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/keygen.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/multi_select_list.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/option.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/radio_button.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/reset.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/select_list.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/submit.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/text.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/form/textarea.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/headers.rb +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/history.rb +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/agent.rb +1004 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/auth_challenge.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/auth_realm.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/content_disposition_parser.rb +188 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/http/www_authenticate_parser.rb +155 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/monkey_patch.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page.rb +440 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/base.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/frame.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/image.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/label.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/link.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/page/meta_refresh.rb +68 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/parser.rb +173 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/pluggable_parsers.rb +144 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/redirect_limit_reached_error.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/redirect_not_get_or_head_error.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/response_code_error.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/response_read_error.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/robots_disallowed_error.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/test_case.rb +663 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/unauthorized_error.rb +3 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/unsupported_scheme_error.rb +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/lib/mechanize/util.rb +101 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/htpasswd +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/server.crt +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/server.csr +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/server.key +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/data/server.pem +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/alt_text.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/bad_form_test.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/button.jpg +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/canonical_uri.html +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/dir with spaces/foo.html +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/empty_form.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/file_upload.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/find_link.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_multi_select.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/form_multival.html +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_no_action.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_no_input_name.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/form_order_test.html +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_select.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/form_set_fields.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/form_test.html +188 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/frame_referer_test.html +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/frame_test.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/google.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/index.html +0 -0
- 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
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/meta_cookie.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/no_title_test.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/noindex.html +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/rails_3_encoding_hack_form_test.html +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/relative/tc_relative_links.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/robots.html +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/robots.txt +2 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_bad_charset.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_bad_links.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_base_link.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_blank_form.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_charset.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_checkboxes.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_encoded_links.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_field_precedence.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_follow_meta.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_form_action.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/tc_links.html +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_meta_in_body.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_pretty_print.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/tc_referer.html +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_relative_links.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/tc_textarea.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/htdocs/test_click.html +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/{mechanize-1.0.0 → mechanize-2.1}/test/htdocs/unusual______.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize.rb +1164 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_cookie.rb +451 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_cookie_jar.rb +483 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_download.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_file.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_file_connection.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_file_request.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_file_saver.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form.rb +875 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_check_box.rb +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_encoding.rb +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_field.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_file_upload.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_image_button.rb +12 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_keygen.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_multi_select_list.rb +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_option.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_radio_button.rb +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_select_list.rb +76 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_form_textarea.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_headers.rb +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_history.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_agent.rb +1225 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_auth_challenge.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_auth_realm.rb +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_content_disposition_parser.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_http_www_authenticate_parser.rb +146 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_link.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page.rb +118 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page_encoding.rb +182 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page_frame.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page_link.rb +390 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_page_meta_refresh.rb +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_parser.rb +289 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_pluggable_parser.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_redirect_limit_reached_error.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_redirect_not_get_or_head_error.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_subclass.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_mechanize_util.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-2.1/test/test_multi_select.rb +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/History.txt +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/Manifest.txt +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/README.txt +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/Rakefile +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/lib/net/http/digest_auth.rb +159 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/sample/auth_server.rb +48 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/sample/net_http_example.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-digest_auth-1.2/test/test_net_http_digest_auth.rb +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/History.txt +204 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/Manifest.txt +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/README.rdoc +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/Rakefile +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/faster.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent.rb +741 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persistent/ssl_reuse.rb +129 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/test/test_net_http_persistent.rb +981 -0
- data/vendor/bundle/ruby/1.9.1/gems/net-http-persistent-2.3.3/test/test_net_http_persistent_ssl_reuse.rb +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/CHANGELOG.ja.rdoc +544 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/CHANGELOG.rdoc +532 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/Manifest.txt +283 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/README.ja.rdoc +106 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/README.rdoc +174 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/Rakefile +169 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/bin/nokogiri +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/Makefile +545 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/depend +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/extconf.rb +124 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_document.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_document.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/html_document.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_element_description.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_element_description.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/html_element_description.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_entity_lookup.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/html_entity_lookup.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/html_entity_lookup.o +0 -0
- 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
- 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
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/html_sax_parser_context.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/mkmf.log +408 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/nokogiri.c +115 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/nokogiri.h +160 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/nokogiri.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_attr.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_attr.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_attr.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_attribute_decl.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_attribute_decl.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_attribute_decl.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_cdata.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_cdata.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_cdata.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_comment.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_comment.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_comment.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_document.c +478 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_document.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_document.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_document_fragment.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_document_fragment.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_document_fragment.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_dtd.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_dtd.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_dtd.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_element_content.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_element_content.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_element_content.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_element_decl.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_element_decl.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_element_decl.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_encoding_handler.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_encoding_handler.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_encoding_handler.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_entity_decl.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_entity_decl.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_entity_decl.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_entity_reference.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_entity_reference.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_entity_reference.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_io.c +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_io.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_io.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_libxml2_hacks.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_libxml2_hacks.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_libxml2_hacks.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_namespace.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_namespace.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_namespace.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_node.c +1385 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_node.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_node.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_node_set.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_node_set.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_node_set.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_processing_instruction.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_processing_instruction.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_processing_instruction.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_reader.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_reader.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_reader.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_relax_ng.c +161 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_relax_ng.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_relax_ng.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_sax_parser.c +293 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_sax_parser.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_sax_parser.o +0 -0
- 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
- 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
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_sax_parser_context.o +0 -0
- 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
- 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
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_sax_push_parser.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_schema.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_schema.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_schema.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_syntax_error.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_syntax_error.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_syntax_error.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_text.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_text.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_text.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_xpath_context.c +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xml_xpath_context.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xml_xpath_context.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xslt_stylesheet.c +264 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/ext/nokogiri/xslt_stylesheet.h +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/xslt_stylesheet.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri.rb +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/css/node.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/parser.rb +677 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/parser.y +237 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/parser_extras.rb +91 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/css/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/tokenizer.rb +152 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/css/tokenizer.rex +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/css/xpath_visitor.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/decorators/slop.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/html.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/builder.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/html/document.rb +213 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/document_fragment.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/element_description.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/html/entity_lookup.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/html/sax/parser.rb +52 -0
- 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
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/version.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/attr.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb +425 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/cdata.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/character_data.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/document.rb +234 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/document_fragment.rb +98 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/dtd.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/element_content.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/element_decl.rb +13 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/namespace.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node.rb +915 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb +357 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/notation.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/parse_options.rb +93 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/pp.rb +0 -0
- 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
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/pp/node.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/processing_instruction.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/reader.rb +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/relax_ng.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/sax.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/sax/document.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/sax/parser.rb +0 -0
- 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
- 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
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xml/schema.rb +63 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/syntax_error.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/text.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/xpath.rb +0 -0
- 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
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/xpath_context.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xslt.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/xsd/xmlparser/nokogiri.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/nokogiri_help_responses.md +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/cross_compile.rb +152 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/nokogiri.org.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/tasks/test.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/css/test_nthiness.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/css/test_parser.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/css/test_tokenizer.rb +198 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/css/test_xpath_visitor.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/decorators/test_slop.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/2ch.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/address_book.rlx +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/address_book.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/bar/bar.xsd +0 -0
- 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
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/files/encoding.html +82 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/files/encoding.xhtml +84 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/exslt.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/exslt.xslt +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/foo/foo.xsd +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/files/metacharset.html +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/files/noencoding.html +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/po.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/po.xsd +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/shift_jis.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/shift_jis.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/snuggles.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/staff.dtd +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/staff.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/staff.xslt +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/tlm.html +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/files/valid_bar.xml +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/helper.rb +173 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/sax/test_parser.rb +136 -0
- 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
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/test_builder.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/test_document.rb +472 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/test_document_encoding.rb +138 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/test_document_fragment.rb +255 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/html/test_element_description.rb +100 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/test_named_characters.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/test_node.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/html/test_node_encoding.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/test_convert_xpath.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/test_css_cache.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/test_encoding_handler.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/test_memory_leak.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/test_nokogiri.rb +132 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/test_reader.rb +425 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/test_soap4r_sax.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/test_xslt_transforms.rb +193 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/node/test_save_options.rb +28 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/node/test_subclass.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/sax/test_parser.rb +338 -0
- 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
- 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
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_attr.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_attribute_decl.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_builder.rb +227 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_cdata.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_comment.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_document.rb +697 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_document_encoding.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_document_fragment.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_dtd.rb +107 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_dtd_encoding.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_element_content.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_element_decl.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_entity_decl.rb +122 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_entity_reference.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_namespace.rb +70 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_node.rb +917 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_node_attributes.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_node_encoding.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_node_reparenting.rb +334 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_node_set.rb +742 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_parse_options.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_processing_instruction.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_reader_encoding.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_relax_ng.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xml/test_schema.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_syntax_error.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_text.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_unparented_node.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_xpath.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xslt/test_custom_functions.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.0/test/xslt/test_exception_handling.rb +37 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/README +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/Rakefile +66 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/examples/http.rb +86 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/examples/imap.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/examples/smtp.rb +94 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/lib/net/ntlm.rb +774 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/lib/net/ntlm_http.rb +854 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/ntlm-http-0.1.1.gemspec +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/ntlm-http-0.1.1/test/function_test.rb +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/CHANGES +522 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/README.rdoc +197 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/Rakefile +369 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/TODO +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake +33 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/command_line_usage.rdoc +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/glossary.rdoc +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/jamis.rb +591 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rake.1.gz +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rakefile.rdoc +557 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/install.rb +90 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake.rb +69 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/alt_system.rb +109 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb +595 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/classic_namespace.rb +11 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/clean.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/cloneable.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/ftptools.rb +150 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/contrib/sys.rb +191 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/default_loader.rb +10 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/dsl_definition.rb +176 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/early_time.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/core.rb +27 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/module.rb +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/string.rb +167 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/time.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_list.rb +403 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_task.rb +47 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb +114 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/gempackagetask.rb +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/invocation_chain.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/multi_task.rb +16 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/name_space.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/packagetask.rb +185 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pathmap.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb +29 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rdoctask.rb +234 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/runtest.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb +327 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_arguments.rb +78 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/tasklib.rb +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/testtask.rb +191 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/version.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/win32.rb +55 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/file_creation.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/helper.rb +492 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_application.rb +489 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_application_options.rb +335 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_clean.rb +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_definitions.rb +80 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_directory_task.rb +46 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_dsl.rb +77 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_list.rb +628 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_task.rb +102 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_file_utils.rb +305 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_ftp_file.rb +59 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_functional.rb +450 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_invocation_chain.rb +52 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_makefile_loader.rb +44 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_multi_task.rb +51 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_name_space.rb +43 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map.rb +157 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rake_test_loader.rb +21 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rdoc_task.rb +83 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_require.rb +40 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_rules.rb +327 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task.rb +267 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_arguments.rb +88 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_manager.rb +157 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_manager_argument_resolution.rb +36 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_task_with_arguments.rb +173 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_test_task.rb +120 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_top_level_functions.rb +111 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/test/test_sys.rb +20 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/Gemfile +15 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/LICENSE.txt +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/README.md +39 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/Rakefile +56 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/VERSION +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf.rb +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf/normalizer.rb +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf/normalizer_cruby.rb +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/lib/unf/normalizer_jruby.rb +30 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/test/helper.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/test/normalization-test.txt +108816 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/test/test_unf.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf-0.0.4/unf.gemspec +67 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/Gemfile +14 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/README.md +58 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/Rakefile +65 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/VERSION +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/Makefile +187 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/extconf.rb +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/mkmf.log +34 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf.cc +75 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/normalizer.hh +139 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/table.hh +13542 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/trie/char_stream.hh +150 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/trie/node.hh +25 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/trie/searcher.hh +194 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf/util.hh +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/ext/unf_ext/unf_ext.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/lib/unf_ext.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/lib/unf_ext.rb +5 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/test/helper.rb +19 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/test/normalization-test.txt +108816 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/test/test_unf_ext.rb +41 -0
- data/vendor/bundle/ruby/1.9.1/gems/unf_ext-0.0.4/unf_ext.gemspec +71 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/Gemfile +17 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/Gemfile.lock +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/LICENSE.txt +24 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/README.rdoc +38 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/Rakefile +61 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/VERSION +1 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/lib/webrobots.rb +172 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/lib/webrobots/nokogiri.rb +32 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/lib/webrobots/robotstxt.rb +741 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/lib/webrobots/robotstxt.ry +476 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/test/helper.rb +18 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/test/test_webrobots.rb +682 -0
- data/vendor/bundle/ruby/1.9.1/gems/webrobots-0.0.13/webrobots.gemspec +68 -0
- data/vendor/bundle/ruby/1.9.1/specifications/domain_name-0.5.2.gemspec +46 -0
- data/vendor/bundle/ruby/1.9.1/specifications/highline-1.6.11.gemspec +29 -0
- data/vendor/bundle/ruby/1.9.1/specifications/mechanize-2.1.gemspec +55 -0
- data/vendor/bundle/ruby/1.9.1/specifications/net-http-digest_auth-1.2.gemspec +36 -0
- data/vendor/bundle/ruby/1.9.1/specifications/net-http-persistent-2.3.3.gemspec +36 -0
- data/vendor/bundle/ruby/1.9.1/specifications/nokogiri-1.5.0.gemspec +62 -0
- data/vendor/bundle/ruby/1.9.1/specifications/ntlm-http-0.1.1.gemspec +32 -0
- data/vendor/bundle/ruby/1.9.1/specifications/rake-0.9.2.2.gemspec +34 -0
- data/vendor/bundle/ruby/1.9.1/specifications/unf-0.0.4.gemspec +43 -0
- data/vendor/bundle/ruby/1.9.1/specifications/unf_ext-0.0.4.gemspec +44 -0
- data/vendor/bundle/ruby/1.9.1/specifications/webrobots-0.0.13.gemspec +46 -0
- metadata +833 -565
- data/vendor/bundle/ruby/1.9.1/cache/highline-1.6.2.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/mechanize-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/cache/nokogiri-1.4.4.gem +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/CHANGELOG +0 -251
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/Rakefile +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline.rb +0 -763
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline/color_scheme.rb +0 -118
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline/menu.rb +0 -398
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline/question.rb +0 -462
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/lib/highline/system_extensions.rb +0 -186
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/test/tc_color_scheme.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/test/tc_highline.rb +0 -823
- data/vendor/bundle/ruby/1.9.1/gems/highline-1.6.2/test/ts_all.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/CHANGELOG.rdoc +0 -516
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/EXAMPLES.rdoc +0 -185
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/FAQ.rdoc +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/GUIDE.rdoc +0 -123
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/LICENSE.rdoc +0 -340
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/Manifest.txt +0 -180
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/README.rdoc +0 -60
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/Rakefile +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/flickr_upload.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/mech-dump.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/proxy_req.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/rubyforge.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/examples/spider.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize.rb +0 -660
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain.rb +0 -33
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/auth_headers.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/body_decoding_handler.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/connection_resolver.rb +0 -77
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/custom_headers.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/handler.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/header_resolver.rb +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/parameter_resolver.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/post_connect_hook.rb +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/pre_connect_hook.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/request_resolver.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/response_body_parser.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/response_header_handler.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/response_reader.rb +0 -39
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/ssl_resolver.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/chain/uri_resolver.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/content_type_error.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/cookie.rb +0 -78
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/cookie_jar.rb +0 -186
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/file.rb +0 -71
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/file_response.rb +0 -60
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/file_saver.rb +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form.rb +0 -455
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/button.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/check_box.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/field.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/file_upload.rb +0 -23
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/image_button.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/multi_select_list.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/option.rb +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/radio_button.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/form/select_list.rb +0 -68
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/headers.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/history.rb +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/inspect.rb +0 -88
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/monkey_patch.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page.rb +0 -300
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/base.rb +0 -8
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/frame.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/image.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/label.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/link.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/page/meta.rb +0 -50
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/pluggable_parsers.rb +0 -101
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/redirect_limit_reached_error.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/redirect_not_get_or_head_error.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/response_code_error.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/unsupported_scheme_error.rb +0 -8
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/lib/mechanize/util.rb +0 -69
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_argument_validator.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_auth_headers.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_custom_headers.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_header_resolver.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_parameter_resolver.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_request_resolver.rb +0 -29
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/chain/test_response_reader.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/helper.rb +0 -132
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_multival.html +0 -37
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_select_all.html +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_select_none.html +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_select_noopts.html +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/form_test.html +0 -188
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/iframe_test.html +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/tc_links.html +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/tc_no_attributes.html +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/tc_radiobuttons.html +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/tc_referer.html +0 -10
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/htdocs/test_bad_encoding.html +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/servlets.rb +0 -365
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/ssl_server.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_authenticate.rb +0 -71
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_bad_links.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_blank_form.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_checkboxes.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_content_type.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_cookie_class.rb +0 -338
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_cookie_jar.rb +0 -324
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_cookies.rb +0 -123
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_encoded_links.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_errors.rb +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_field_precedence.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_follow_meta.rb +0 -119
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_form_action.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_form_as_hash.rb +0 -61
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_form_button.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_form_no_inputname.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_forms.rb +0 -571
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_frames.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_get_headers.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_gzipping.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_hash_api.rb +0 -45
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_history.rb +0 -142
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_history_added.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_html_unscape_forms.rb +0 -46
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_if_modified_since.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_keep_alive.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_links.rb +0 -128
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_mech.rb +0 -268
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_mech_proxy.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_mechanize_file.rb +0 -47
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_meta.rb +0 -65
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_multi_select.rb +0 -106
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_no_attributes.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_option.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_page.rb +0 -124
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_pluggable_parser.rb +0 -145
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_post_form.rb +0 -34
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_pretty_print.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_radiobutton.rb +0 -75
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_redirect_limit_reached.rb +0 -39
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_redirect_verb_handling.rb +0 -49
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_referer.rb +0 -39
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_relative_links.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_request.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_response_code.rb +0 -52
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_save_file.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_scheme.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_select.rb +0 -116
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_select_all.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_select_none.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_select_noopts.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_set_fields.rb +0 -44
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_ssl_server.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_subclass.rb +0 -30
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_textarea.rb +0 -45
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_upload.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_util.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/mechanize-1.0.0/test/test_verbs.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/CHANGELOG.ja.rdoc +0 -457
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/CHANGELOG.rdoc +0 -446
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/Manifest.txt +0 -282
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/README.ja.rdoc +0 -102
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/README.rdoc +0 -146
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/Rakefile +0 -187
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/bin/nokogiri +0 -54
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/deps.rip +0 -5
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/Makefile +0 -545
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/extconf.rb +0 -118
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/html_document.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/html_element_description.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/html_entity_lookup.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/html_sax_parser_context.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/mkmf.log +0 -377
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/nokogiri.c +0 -97
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/nokogiri.h +0 -162
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/nokogiri.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_attr.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_attribute_decl.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_cdata.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_comment.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_document.c +0 -469
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_document.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_document_fragment.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_dtd.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_element_content.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_element_decl.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_encoding_handler.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_entity_decl.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_entity_reference.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_io.c +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_io.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_libxml2_hacks.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_namespace.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_node.c +0 -1390
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_node.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_node_set.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_processing_instruction.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_reader.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_relax_ng.c +0 -168
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_relax_ng.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_sax_parser.c +0 -286
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_sax_parser.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_sax_parser_context.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_sax_push_parser.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_schema.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_syntax_error.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_text.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xml_xpath_context.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xslt_stylesheet.c +0 -254
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/ext/nokogiri/xslt_stylesheet.o +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri.rb +0 -133
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/generated_parser.rb +0 -676
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/generated_tokenizer.rb +0 -145
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/parser.rb +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/parser.y +0 -235
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/tokenizer.rb +0 -7
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/css/tokenizer.rex +0 -55
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/encoding_handler.rb +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/html/document.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/html/element_description.rb +0 -81
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/html/entity_lookup.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/html/sax/parser_context.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/io_callbacks.rb +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/libxml.rb +0 -420
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/common_node.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/html_elem_desc.rb +0 -24
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/html_entity_desc.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_alloc.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_attr.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_attribute.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_buffer.rb +0 -16
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_char_encoding_handler.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_document.rb +0 -117
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_dtd.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_element.rb +0 -26
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_element_content.rb +0 -17
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_entity.rb +0 -32
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_enumeration.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_node.rb +0 -28
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_node_set.rb +0 -53
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_notation.rb +0 -11
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_ns.rb +0 -15
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_parser_context.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_parser_input.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_relax_ng.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_sax_handler.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb +0 -124
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_schema.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_syntax_error.rb +0 -31
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_text_reader.rb +0 -12
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_xpath_context.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_xpath_object.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/structs/xslt_stylesheet.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/weak_bucket.rb +0 -40
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/attr.rb +0 -41
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/attribute_decl.rb +0 -27
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/cdata.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/comment.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/document.rb +0 -166
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/document_fragment.rb +0 -21
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/dtd.rb +0 -67
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/element_content.rb +0 -43
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/element_decl.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/entity_decl.rb +0 -36
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/entity_reference.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/namespace.rb +0 -44
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/node.rb +0 -559
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/node_set.rb +0 -149
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/processing_instruction.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/reader.rb +0 -236
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/relax_ng.rb +0 -85
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/sax/parser.rb +0 -135
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/sax/parser_context.rb +0 -79
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/sax/push_parser.rb +0 -51
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/schema.rb +0 -109
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/syntax_error.rb +0 -98
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/text.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/xpath.rb +0 -9
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xml/xpath_context.rb +0 -153
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/ffi/xslt/stylesheet.rb +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/html.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/html/document.rb +0 -90
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/html/sax/parser.rb +0 -48
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/nokogiri.bundle +0 -0
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/version.rb +0 -38
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/version_warning.rb +0 -14
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/attribute_decl.rb +0 -18
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/builder.rb +0 -418
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/document.rb +0 -218
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/document_fragment.rb +0 -84
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/dtd.rb +0 -22
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/element_decl.rb +0 -13
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/entity_decl.rb +0 -19
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/node.rb +0 -906
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/node/save_options.rb +0 -42
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/node_set.rb +0 -350
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/parse_options.rb +0 -85
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/reader.rb +0 -112
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xml/schema.rb +0 -57
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/lib/nokogiri/xslt/stylesheet.rb +0 -25
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/tasks/cross_compile.rb +0 -180
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/tasks/test.rb +0 -94
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/css/test_tokenizer.rb +0 -190
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/ffi/test_document.rb +0 -35
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/helper.rb +0 -169
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/sax/test_parser.rb +0 -74
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/test_document.rb +0 -398
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/test_document_encoding.rb +0 -77
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/test_document_fragment.rb +0 -253
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/html/test_element_description.rb +0 -98
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/test_memory_leak.rb +0 -87
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/test_nokogiri.rb +0 -138
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/test_reader.rb +0 -408
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/test_xslt_transforms.rb +0 -189
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/node/test_save_options.rb +0 -20
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/sax/test_parser.rb +0 -315
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_attribute_decl.rb +0 -82
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_builder.rb +0 -210
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_document.rb +0 -668
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_dtd.rb +0 -97
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_element_content.rb +0 -56
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_element_decl.rb +0 -73
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_entity_decl.rb +0 -120
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_namespace.rb +0 -68
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_node.rb +0 -894
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_node_reparenting.rb +0 -321
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_node_set.rb +0 -698
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xml/test_schema.rb +0 -89
- data/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.4.4/test/xslt/test_custom_functions.rb +0 -94
- data/vendor/bundle/ruby/1.9.1/specifications/highline-1.6.2.gemspec +0 -29
- data/vendor/bundle/ruby/1.9.1/specifications/mechanize-1.0.0.gemspec +0 -35
- data/vendor/bundle/ruby/1.9.1/specifications/nokogiri-1.4.4.gemspec +0 -49
@@ -0,0 +1,76 @@
|
|
1
|
+
require 'mechanize/test_case'
|
2
|
+
|
3
|
+
class TestMechanizeFormSelectList < Mechanize::TestCase
|
4
|
+
|
5
|
+
def setup
|
6
|
+
super
|
7
|
+
|
8
|
+
page = html_page <<-BODY
|
9
|
+
<form name="form1" method="post" action="/form_post">
|
10
|
+
<select name="select">
|
11
|
+
<option value="1">Option 1</option>
|
12
|
+
<option value="2" selected>Option 2</option>
|
13
|
+
<option value="3">Option 3</option>
|
14
|
+
<option value="4">Option 4</option>
|
15
|
+
<option value="5">Option 5</option>
|
16
|
+
<option value="6">Option 6</option>
|
17
|
+
</select>
|
18
|
+
</form>
|
19
|
+
BODY
|
20
|
+
|
21
|
+
form = page.forms.first
|
22
|
+
@select = form.fields.first
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_option_with
|
26
|
+
option = @select.option_with :value => '1'
|
27
|
+
|
28
|
+
assert_equal '1', option.value
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_options_with
|
32
|
+
options = @select.options_with :value => /[12]/
|
33
|
+
|
34
|
+
assert_equal 2, options.length
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_query_value
|
38
|
+
assert_equal [%w[select 2]], @select.query_value
|
39
|
+
|
40
|
+
@select.select_all
|
41
|
+
|
42
|
+
assert_equal [%w[select 6]], @select.query_value
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_select_all
|
46
|
+
@select.select_all
|
47
|
+
|
48
|
+
assert_equal "6", @select.value
|
49
|
+
end
|
50
|
+
|
51
|
+
def test_select_none
|
52
|
+
@select.select_none
|
53
|
+
|
54
|
+
assert_equal "1", @select.value
|
55
|
+
end
|
56
|
+
|
57
|
+
def test_selected_options
|
58
|
+
assert_equal [@select.options[1]], @select.selected_options
|
59
|
+
|
60
|
+
@select.options.last.click
|
61
|
+
|
62
|
+
assert_equal [@select.options.last], @select.selected_options
|
63
|
+
end
|
64
|
+
|
65
|
+
def test_value
|
66
|
+
assert_equal "2", @select.value
|
67
|
+
end
|
68
|
+
|
69
|
+
def test_value_equals
|
70
|
+
@select.value = %w[a 1 2]
|
71
|
+
|
72
|
+
assert_equal "a", @select.value
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'mechanize/test_case'
|
2
|
+
|
3
|
+
class TestMechanizeFormTextarea < Mechanize::TestCase
|
4
|
+
def setup
|
5
|
+
super
|
6
|
+
|
7
|
+
@page = @mech.get("http://localhost/tc_textarea.html")
|
8
|
+
end
|
9
|
+
|
10
|
+
def test_empty_text_area
|
11
|
+
form = @page.forms_with(:name => 'form1').first
|
12
|
+
assert_equal('', form.field_with(:name => 'text1').value)
|
13
|
+
form.text1 = 'Hello World'
|
14
|
+
assert_equal('Hello World', form.field_with(:name => 'text1').value)
|
15
|
+
page = @mech.submit(form)
|
16
|
+
assert_equal(1, page.links.length)
|
17
|
+
assert_equal('text1:Hello World', page.links[0].text)
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_non_empty_textfield
|
21
|
+
form = @page.forms_with(:name => 'form2').first
|
22
|
+
assert_equal('sample text', form.field_with(:name => 'text1').value)
|
23
|
+
page = @mech.submit(form)
|
24
|
+
assert_equal(1, page.links.length)
|
25
|
+
assert_equal('text1:sample text', page.links[0].text)
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_multi_textfield
|
29
|
+
form = @page.form_with(:name => 'form3')
|
30
|
+
|
31
|
+
assert_equal(2, form.fields_with(:name => 'text1').length)
|
32
|
+
assert_equal('', form.fields_with(:name => 'text1')[0].value)
|
33
|
+
assert_equal('sample text', form.fields_with(:name => 'text1')[1].value)
|
34
|
+
|
35
|
+
form.text1 = 'Hello World'
|
36
|
+
|
37
|
+
assert_equal('Hello World', form.fields_with(:name => 'text1')[0].value)
|
38
|
+
assert_equal('sample text', form.fields_with(:name => 'text1')[1].value)
|
39
|
+
|
40
|
+
page = @mech.submit(form)
|
41
|
+
|
42
|
+
assert_equal(2, page.links.length)
|
43
|
+
|
44
|
+
link = page.links_with(:text => 'text1:sample text')
|
45
|
+
|
46
|
+
assert_equal(1, link.length)
|
47
|
+
|
48
|
+
link = page.links_with(:text => 'text1:Hello World')
|
49
|
+
|
50
|
+
assert_equal(1, link.length)
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'mechanize/test_case'
|
2
|
+
|
3
|
+
class TestMechanizeHeaders < Mechanize::TestCase
|
4
|
+
def setup
|
5
|
+
super
|
6
|
+
|
7
|
+
@headers = Mechanize::Headers.new
|
8
|
+
@headers['content-type'] = 'text/html'
|
9
|
+
@headers['Content-encoding'] = 'gzip'
|
10
|
+
@headers['SERVER'] = 'Apache/2.2'
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_aref
|
14
|
+
assert_equal('Apache/2.2', @headers['server'])
|
15
|
+
assert_equal('text/html', @headers['Content-Type'])
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_key?
|
19
|
+
assert_equal(true, @headers.key?('content-Encoding'))
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_canonical_each
|
23
|
+
all_keys = ['Content-Type', 'Content-Encoding', 'Server']
|
24
|
+
keys = all_keys.dup
|
25
|
+
@headers.canonical_each { |key, value|
|
26
|
+
case keys.delete(key)
|
27
|
+
when *all_keys
|
28
|
+
# ok
|
29
|
+
else
|
30
|
+
flunk "unexpected key: #{key}"
|
31
|
+
end
|
32
|
+
}
|
33
|
+
assert_equal([], keys)
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
require 'mechanize/test_case'
|
2
|
+
|
3
|
+
class TestMechanizeHistory < Mechanize::TestCase
|
4
|
+
|
5
|
+
def setup
|
6
|
+
super
|
7
|
+
|
8
|
+
@uri = URI 'http://example/'
|
9
|
+
@uri2 = @uri + '/a'
|
10
|
+
@history = Mechanize::History.new
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_initialize
|
14
|
+
assert_empty @history
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_clear
|
18
|
+
@history.push :page, @uri
|
19
|
+
|
20
|
+
@history.clear
|
21
|
+
|
22
|
+
assert_empty @history
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_pop
|
26
|
+
assert_nil @history.pop
|
27
|
+
|
28
|
+
@history.push :page1, @uri
|
29
|
+
@history.push :page2, @uri2
|
30
|
+
|
31
|
+
assert_equal :page2, @history.pop
|
32
|
+
refute_empty @history
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_push
|
36
|
+
p1 = page @uri
|
37
|
+
|
38
|
+
obj = @history.push p1
|
39
|
+
|
40
|
+
assert_same @history, obj
|
41
|
+
assert_equal 1, @history.length
|
42
|
+
|
43
|
+
p2 = page @uri2
|
44
|
+
|
45
|
+
@history.push p2
|
46
|
+
|
47
|
+
assert_equal 2, @history.length
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_push_max_size
|
51
|
+
@history = Mechanize::History.new 2
|
52
|
+
|
53
|
+
@history.push :page1, @uri
|
54
|
+
|
55
|
+
assert_equal 1, @history.length
|
56
|
+
|
57
|
+
@history.push :page2, @uri
|
58
|
+
|
59
|
+
assert_equal 2, @history.length
|
60
|
+
|
61
|
+
@history.push :page3, @uri
|
62
|
+
|
63
|
+
assert_equal 2, @history.length
|
64
|
+
end
|
65
|
+
|
66
|
+
def test_push_uri
|
67
|
+
obj = @history.push :page, @uri
|
68
|
+
|
69
|
+
assert_same @history, obj
|
70
|
+
assert_equal 1, @history.length
|
71
|
+
|
72
|
+
@history.push :page2, @uri
|
73
|
+
|
74
|
+
assert_equal 2, @history.length
|
75
|
+
end
|
76
|
+
|
77
|
+
def test_shift
|
78
|
+
assert_nil @history.shift
|
79
|
+
|
80
|
+
@history.push :page1, @uri
|
81
|
+
@history.push :page2, @uri2
|
82
|
+
|
83
|
+
page = @history.shift
|
84
|
+
|
85
|
+
assert_equal :page1, page
|
86
|
+
refute_empty @history
|
87
|
+
|
88
|
+
@history.shift
|
89
|
+
|
90
|
+
assert_empty @history
|
91
|
+
end
|
92
|
+
|
93
|
+
def test_visited_eh
|
94
|
+
refute @history.visited? @uri
|
95
|
+
|
96
|
+
@history.push page @uri
|
97
|
+
|
98
|
+
assert @history.visited? URI('http://example')
|
99
|
+
assert @history.visited? URI('http://example/')
|
100
|
+
end
|
101
|
+
|
102
|
+
end
|
103
|
+
|
@@ -0,0 +1,1225 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
require 'mechanize/test_case'
|
4
|
+
|
5
|
+
class TestMechanizeHttpAgent < Mechanize::TestCase
|
6
|
+
|
7
|
+
def setup
|
8
|
+
super
|
9
|
+
|
10
|
+
@agent = @mech.agent
|
11
|
+
|
12
|
+
@uri = URI.parse 'http://example/'
|
13
|
+
|
14
|
+
@req = Net::HTTP::Get.new '/'
|
15
|
+
@res = Net::HTTPOK.allocate
|
16
|
+
@res.instance_variable_set :@code, 200
|
17
|
+
@res.instance_variable_set :@header, {}
|
18
|
+
|
19
|
+
@headers = if RUBY_VERSION > '1.9' then
|
20
|
+
%w[accept user-agent]
|
21
|
+
else
|
22
|
+
%w[accept]
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def auth_realm uri, scheme, type
|
27
|
+
base_uri = uri + '/'
|
28
|
+
realm = Mechanize::HTTP::AuthRealm.new scheme, base_uri, 'r'
|
29
|
+
@agent.authenticate_methods[base_uri][type] << realm
|
30
|
+
|
31
|
+
realm
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_connection_for_file
|
35
|
+
uri = URI.parse 'file:///nonexistent'
|
36
|
+
conn = @agent.connection_for uri
|
37
|
+
|
38
|
+
assert_equal Mechanize::FileConnection.new, conn
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_connection_for_http
|
42
|
+
conn = @agent.connection_for @uri
|
43
|
+
|
44
|
+
assert_equal @agent.http, conn
|
45
|
+
end
|
46
|
+
|
47
|
+
def test_disable_keep_alive
|
48
|
+
@agent.disable_keep_alive @req
|
49
|
+
|
50
|
+
refute @req['connection']
|
51
|
+
end
|
52
|
+
|
53
|
+
def test_disable_keep_alive_no
|
54
|
+
@agent.keep_alive = false
|
55
|
+
|
56
|
+
@agent.disable_keep_alive @req
|
57
|
+
|
58
|
+
assert_equal 'close', @req['connection']
|
59
|
+
end
|
60
|
+
|
61
|
+
def test_enable_gzip
|
62
|
+
@agent.enable_gzip @req
|
63
|
+
|
64
|
+
assert_equal 'gzip,deflate,identity', @req['accept-encoding']
|
65
|
+
end
|
66
|
+
|
67
|
+
def test_enable_gzip_no
|
68
|
+
@agent.gzip_enabled = false
|
69
|
+
|
70
|
+
@agent.enable_gzip @req
|
71
|
+
|
72
|
+
assert_equal 'identity', @req['accept-encoding']
|
73
|
+
end
|
74
|
+
|
75
|
+
def test_fetch_hooks
|
76
|
+
@agent.pre_connect_hooks << proc do |agent, request|
|
77
|
+
assert_equal '/index.html', request.path
|
78
|
+
assert_equal @agent, agent
|
79
|
+
end
|
80
|
+
|
81
|
+
@agent.post_connect_hooks << proc do |agent, uri, response, body|
|
82
|
+
assert_equal @agent, agent
|
83
|
+
assert_equal URI('http://example/index.html'), uri
|
84
|
+
assert_equal '200', response.code
|
85
|
+
assert_kind_of String, body
|
86
|
+
end
|
87
|
+
|
88
|
+
@agent.fetch URI 'http://example/index.html'
|
89
|
+
end
|
90
|
+
|
91
|
+
def test_fetch_file_plus
|
92
|
+
Tempfile.open '++plus++' do |io|
|
93
|
+
content = 'plusses +++'
|
94
|
+
io.write content
|
95
|
+
io.rewind
|
96
|
+
|
97
|
+
uri = URI.parse "file://#{Mechanize::Util.uri_escape io.path}"
|
98
|
+
|
99
|
+
page = @agent.fetch uri
|
100
|
+
|
101
|
+
assert_equal content, page.body
|
102
|
+
assert_kind_of Mechanize::File, page
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
def test_fetch_file_space
|
107
|
+
foo = File.expand_path("../htdocs/dir with spaces/foo.html", __FILE__)
|
108
|
+
|
109
|
+
uri = URI.parse "file://#{Mechanize::Util.uri_escape foo}"
|
110
|
+
|
111
|
+
page = @agent.fetch uri
|
112
|
+
|
113
|
+
assert_equal File.read(foo), page.body
|
114
|
+
assert_kind_of Mechanize::Page, page
|
115
|
+
end
|
116
|
+
|
117
|
+
def test_fetch_file_nonexistent
|
118
|
+
uri = URI.parse 'file:///nonexistent'
|
119
|
+
|
120
|
+
e = assert_raises Mechanize::ResponseCodeError do
|
121
|
+
@agent.fetch uri
|
122
|
+
end
|
123
|
+
|
124
|
+
assert_equal '404 => Net::HTTPNotFound', e.message
|
125
|
+
end
|
126
|
+
|
127
|
+
def test_fetch_post_connect_hook
|
128
|
+
response = nil
|
129
|
+
@agent.post_connect_hooks << lambda { |_, _, res, _| response = res }
|
130
|
+
|
131
|
+
@agent.fetch 'http://localhost/'
|
132
|
+
|
133
|
+
assert response
|
134
|
+
end
|
135
|
+
|
136
|
+
def test_fetch_server_error
|
137
|
+
e = assert_raises Mechanize::ResponseCodeError do
|
138
|
+
@mech.get 'http://localhost/response_code?code=500'
|
139
|
+
end
|
140
|
+
|
141
|
+
assert_equal '500', e.response_code
|
142
|
+
end
|
143
|
+
|
144
|
+
def test_get_robots
|
145
|
+
robotstxt = @agent.get_robots 'http://localhost/robots.txt'
|
146
|
+
refute_equal '', robotstxt
|
147
|
+
|
148
|
+
robotstxt = @agent.get_robots 'http://localhost/response_code?code=404'
|
149
|
+
assert_equal '', robotstxt
|
150
|
+
end
|
151
|
+
|
152
|
+
def test_http_request_file
|
153
|
+
uri = URI.parse 'file:///nonexistent'
|
154
|
+
request = @agent.http_request uri, :get
|
155
|
+
|
156
|
+
assert_kind_of Mechanize::FileRequest, request
|
157
|
+
assert_equal '/nonexistent', request.path
|
158
|
+
end
|
159
|
+
|
160
|
+
def test_http_request_get
|
161
|
+
request = @agent.http_request @uri, :get
|
162
|
+
|
163
|
+
assert_kind_of Net::HTTP::Get, request
|
164
|
+
assert_equal '/', request.path
|
165
|
+
end
|
166
|
+
|
167
|
+
def test_http_request_post
|
168
|
+
request = @agent.http_request @uri, :post
|
169
|
+
|
170
|
+
assert_kind_of Net::HTTP::Post, request
|
171
|
+
assert_equal '/', request.path
|
172
|
+
end
|
173
|
+
|
174
|
+
def test_idle_timeout_equals
|
175
|
+
@agent.set_http
|
176
|
+
@agent.idle_timeout = 1
|
177
|
+
|
178
|
+
assert_equal 1, @agent.http.idle_timeout
|
179
|
+
end
|
180
|
+
|
181
|
+
def test_post_connect
|
182
|
+
@agent.post_connect_hooks << proc { |agent, uri, response, body|
|
183
|
+
assert_equal @agent, agent
|
184
|
+
assert_equal @res, response
|
185
|
+
assert_equal 'body', body
|
186
|
+
throw :called
|
187
|
+
}
|
188
|
+
|
189
|
+
io = StringIO.new 'body'
|
190
|
+
|
191
|
+
assert_throws :called do
|
192
|
+
@agent.post_connect @uri, @res, io
|
193
|
+
end
|
194
|
+
|
195
|
+
assert_equal 0, io.pos
|
196
|
+
end
|
197
|
+
|
198
|
+
def test_pre_connect
|
199
|
+
@agent.pre_connect_hooks << proc { |agent, request|
|
200
|
+
assert_equal @agent, agent
|
201
|
+
assert_equal @req, request
|
202
|
+
throw :called
|
203
|
+
}
|
204
|
+
|
205
|
+
assert_throws :called do
|
206
|
+
@agent.pre_connect @req
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
def test_request_cookies
|
211
|
+
uri = URI.parse 'http://host.example.com'
|
212
|
+
Mechanize::Cookie.parse uri, 'hello=world domain=.example.com' do |cookie|
|
213
|
+
@agent.cookie_jar.add uri, cookie
|
214
|
+
end
|
215
|
+
|
216
|
+
@agent.request_cookies @req, uri
|
217
|
+
|
218
|
+
assert_equal 'hello=world domain=.example.com', @req['Cookie']
|
219
|
+
end
|
220
|
+
|
221
|
+
def test_request_cookies_none
|
222
|
+
@agent.request_cookies @req, @uri
|
223
|
+
|
224
|
+
assert_nil @req['Cookie']
|
225
|
+
end
|
226
|
+
|
227
|
+
def test_request_cookies_many
|
228
|
+
uri = URI.parse 'http://host.example.com'
|
229
|
+
cookie_str = 'a=b domain=.example.com, c=d domain=.example.com'
|
230
|
+
Mechanize::Cookie.parse uri, cookie_str do |cookie|
|
231
|
+
@agent.cookie_jar.add uri, cookie
|
232
|
+
end
|
233
|
+
|
234
|
+
@agent.request_cookies @req, uri
|
235
|
+
|
236
|
+
expected = cookie_str.sub ', ', '; '
|
237
|
+
|
238
|
+
assert_equal expected, @req['Cookie']
|
239
|
+
end
|
240
|
+
|
241
|
+
def test_request_cookies_wrong_domain
|
242
|
+
uri = URI.parse 'http://host.example.com'
|
243
|
+
Mechanize::Cookie.parse uri, 'hello=world domain=.example.com' do |cookie|
|
244
|
+
@agent.cookie_jar.add uri, cookie
|
245
|
+
end
|
246
|
+
|
247
|
+
@agent.request_cookies @req, @uri
|
248
|
+
|
249
|
+
assert_nil @req['Cookie']
|
250
|
+
end
|
251
|
+
|
252
|
+
def test_request_host
|
253
|
+
@agent.request_host @req, @uri
|
254
|
+
|
255
|
+
assert_equal 'example', @req['host']
|
256
|
+
end
|
257
|
+
|
258
|
+
def test_request_host_nonstandard
|
259
|
+
@uri.port = 81
|
260
|
+
|
261
|
+
@agent.request_host @req, @uri
|
262
|
+
|
263
|
+
assert_equal 'example:81', @req['host']
|
264
|
+
end
|
265
|
+
|
266
|
+
def test_request_language_charset
|
267
|
+
@agent.request_language_charset @req
|
268
|
+
|
269
|
+
assert_equal 'en-us,en;q=0.5', @req['accept-language']
|
270
|
+
assert_equal 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', @req['accept-charset']
|
271
|
+
end
|
272
|
+
|
273
|
+
def test_request_add_headers
|
274
|
+
@agent.request_add_headers @req, 'Content-Length' => 300
|
275
|
+
|
276
|
+
assert_equal '300', @req['content-length']
|
277
|
+
end
|
278
|
+
|
279
|
+
def test_request_add_headers_etag
|
280
|
+
@agent.request_add_headers @req, :etag => '300'
|
281
|
+
|
282
|
+
assert_equal '300', @req['etag']
|
283
|
+
end
|
284
|
+
|
285
|
+
def test_request_add_headers_if_modified_since
|
286
|
+
@agent.request_add_headers @req, :if_modified_since => 'some_date'
|
287
|
+
|
288
|
+
assert_equal 'some_date', @req['if-modified-since']
|
289
|
+
end
|
290
|
+
|
291
|
+
def test_request_add_headers_none
|
292
|
+
@agent.request_add_headers @req
|
293
|
+
|
294
|
+
assert_equal @headers, @req.to_hash.keys.sort
|
295
|
+
end
|
296
|
+
|
297
|
+
def test_request_add_headers_request_headers
|
298
|
+
@agent.request_headers['X-Foo'] = 'bar'
|
299
|
+
|
300
|
+
@agent.request_add_headers @req
|
301
|
+
|
302
|
+
assert_equal @headers + %w[x-foo], @req.to_hash.keys.sort
|
303
|
+
end
|
304
|
+
|
305
|
+
def test_request_add_headers_symbol
|
306
|
+
e = assert_raises ArgumentError do
|
307
|
+
@agent.request_add_headers @req, :content_length => 300
|
308
|
+
end
|
309
|
+
|
310
|
+
assert_equal 'unknown header symbol content_length', e.message
|
311
|
+
end
|
312
|
+
|
313
|
+
def test_request_auth_none
|
314
|
+
@agent.request_auth @req, @uri
|
315
|
+
|
316
|
+
assert_nil @req['Authorization']
|
317
|
+
end
|
318
|
+
|
319
|
+
def test_request_auth_basic
|
320
|
+
@agent.user = 'user'
|
321
|
+
@agent.password = 'password'
|
322
|
+
|
323
|
+
auth_realm @uri, 'Basic', :basic
|
324
|
+
|
325
|
+
@agent.request_auth @req, @uri
|
326
|
+
|
327
|
+
assert_match %r%^Basic %, @req['Authorization']
|
328
|
+
end
|
329
|
+
|
330
|
+
def test_request_auth_digest
|
331
|
+
@agent.user = 'user'
|
332
|
+
@agent.password = 'password'
|
333
|
+
|
334
|
+
realm = auth_realm @uri, 'Digest', :digest
|
335
|
+
@agent.digest_challenges[realm] = 'Digest realm=r, qop="auth"'
|
336
|
+
|
337
|
+
@agent.request_auth @req, @uri
|
338
|
+
|
339
|
+
assert_match %r%^Digest %, @req['Authorization']
|
340
|
+
assert_match %r%qop=auth%, @req['Authorization']
|
341
|
+
end
|
342
|
+
|
343
|
+
def test_request_auth_iis_digest
|
344
|
+
@agent.user = 'user'
|
345
|
+
@agent.password = 'password'
|
346
|
+
|
347
|
+
realm = auth_realm @uri, 'Digest', :digest
|
348
|
+
@agent.digest_challenges[realm] = 'Digest realm=r, qop="auth"'
|
349
|
+
|
350
|
+
@agent.request_auth @req, @uri
|
351
|
+
|
352
|
+
assert_match %r%^Digest %, @req['Authorization']
|
353
|
+
assert_match %r%qop=auth%, @req['Authorization']
|
354
|
+
end
|
355
|
+
|
356
|
+
def test_request_referer
|
357
|
+
referer = URI.parse 'http://old.example'
|
358
|
+
|
359
|
+
@agent.request_referer @req, @uri, referer
|
360
|
+
|
361
|
+
assert_equal 'http://old.example', @req['referer']
|
362
|
+
end
|
363
|
+
|
364
|
+
def test_request_referer_https
|
365
|
+
uri = URI.parse 'https://example'
|
366
|
+
referer = URI.parse 'https://old.example'
|
367
|
+
|
368
|
+
@agent.request_referer @req, uri, referer
|
369
|
+
|
370
|
+
assert_equal 'https://old.example', @req['referer']
|
371
|
+
end
|
372
|
+
|
373
|
+
def test_request_referer_https_downgrade
|
374
|
+
referer = URI.parse 'https://old.example'
|
375
|
+
|
376
|
+
@agent.request_referer @req, @uri, referer
|
377
|
+
|
378
|
+
assert_nil @req['referer']
|
379
|
+
end
|
380
|
+
|
381
|
+
def test_request_referer_https_downgrade_case
|
382
|
+
uri = URI.parse 'http://example'
|
383
|
+
referer = URI.parse 'httpS://old.example'
|
384
|
+
|
385
|
+
@agent.request_referer @req, uri, referer
|
386
|
+
|
387
|
+
assert_nil @req['referer']
|
388
|
+
end
|
389
|
+
|
390
|
+
def test_request_referer_https_upgrade
|
391
|
+
uri = URI.parse 'https://example'
|
392
|
+
referer = URI.parse 'http://old.example'
|
393
|
+
|
394
|
+
@agent.request_referer @req, uri, referer
|
395
|
+
|
396
|
+
assert_equal 'http://old.example', @req['referer']
|
397
|
+
end
|
398
|
+
|
399
|
+
def test_request_referer_none
|
400
|
+
@agent.request_referer @req, @uri, nil
|
401
|
+
|
402
|
+
assert_nil @req['referer']
|
403
|
+
end
|
404
|
+
|
405
|
+
def test_request_user_agent
|
406
|
+
@agent.request_user_agent @req
|
407
|
+
|
408
|
+
assert_match %r%^Mechanize/#{Mechanize::VERSION}%, @req['user-agent']
|
409
|
+
|
410
|
+
ruby_version = if RUBY_PATCHLEVEL >= 0 then
|
411
|
+
"#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
|
412
|
+
else
|
413
|
+
"#{RUBY_VERSION}dev#{RUBY_REVISION}"
|
414
|
+
end
|
415
|
+
|
416
|
+
assert_match %r%Ruby/#{ruby_version}%, @req['user-agent']
|
417
|
+
end
|
418
|
+
|
419
|
+
def test_resolve_bad_uri
|
420
|
+
e = assert_raises ArgumentError do
|
421
|
+
@agent.resolve 'google'
|
422
|
+
end
|
423
|
+
|
424
|
+
assert_equal 'absolute URL needed (not google)', e.message
|
425
|
+
end
|
426
|
+
|
427
|
+
def test_resolve_utf8
|
428
|
+
uri = 'http://example?q=ü'
|
429
|
+
|
430
|
+
resolved = @agent.resolve uri
|
431
|
+
|
432
|
+
assert_equal '/?q=%C3%BC', resolved.request_uri
|
433
|
+
end
|
434
|
+
|
435
|
+
def test_resolve_parameters_body
|
436
|
+
input_params = { :q => 'hello' }
|
437
|
+
|
438
|
+
uri, params = @agent.resolve_parameters @uri, :post, input_params
|
439
|
+
|
440
|
+
assert_equal 'http://example/', uri.to_s
|
441
|
+
assert_equal input_params, params
|
442
|
+
end
|
443
|
+
|
444
|
+
def test_resolve_parameters_query
|
445
|
+
uri, params = @agent.resolve_parameters @uri, :get, :q => 'hello'
|
446
|
+
|
447
|
+
assert_equal 'http://example/?q=hello', uri.to_s
|
448
|
+
assert_nil params
|
449
|
+
end
|
450
|
+
|
451
|
+
def test_resolve_parameters_query_append
|
452
|
+
input_params = { :q => 'hello' }
|
453
|
+
@uri.query = 'a=b'
|
454
|
+
|
455
|
+
uri, params = @agent.resolve_parameters @uri, :get, input_params
|
456
|
+
|
457
|
+
assert_equal 'http://example/?a=b&q=hello', uri.to_s
|
458
|
+
assert_nil params
|
459
|
+
end
|
460
|
+
|
461
|
+
def test_response_authenticate
|
462
|
+
@res.instance_variable_set :@header, 'www-authenticate' => ['Basic realm=r']
|
463
|
+
@agent.user = 'user'
|
464
|
+
@agent.password = 'password'
|
465
|
+
|
466
|
+
@agent.response_authenticate @res, nil, @uri, @req, {}, nil, nil
|
467
|
+
|
468
|
+
base_uri = @uri + '/'
|
469
|
+
realm = Mechanize::HTTP::AuthRealm.new 'Basic', base_uri, 'r'
|
470
|
+
assert_equal [realm], @agent.authenticate_methods[base_uri][:basic]
|
471
|
+
end
|
472
|
+
|
473
|
+
def test_response_authenticate_digest
|
474
|
+
@res.instance_variable_set(:@header,
|
475
|
+
'www-authenticate' => ['Digest realm=r'])
|
476
|
+
@agent.user = 'user'
|
477
|
+
@agent.password = 'password'
|
478
|
+
|
479
|
+
@agent.response_authenticate @res, nil, @uri, @req, {}, nil, nil
|
480
|
+
|
481
|
+
base_uri = @uri + '/'
|
482
|
+
realm = Mechanize::HTTP::AuthRealm.new 'Digest', base_uri, 'r'
|
483
|
+
assert_equal [realm], @agent.authenticate_methods[base_uri][:digest]
|
484
|
+
|
485
|
+
challenge = Mechanize::HTTP::AuthChallenge.new 'Digest', 'realm' => 'r'
|
486
|
+
assert_equal challenge, @agent.digest_challenges[realm]
|
487
|
+
end
|
488
|
+
|
489
|
+
def test_response_authenticate_digest_iis
|
490
|
+
@res.instance_variable_set(:@header,
|
491
|
+
'www-authenticate' => ['Digest realm=r'],
|
492
|
+
'server' => ['Microsoft-IIS'])
|
493
|
+
@agent.user = 'user'
|
494
|
+
@agent.password = 'password'
|
495
|
+
|
496
|
+
@agent.response_authenticate @res, nil, @uri, @req, {}, nil, nil
|
497
|
+
|
498
|
+
base_uri = @uri + '/'
|
499
|
+
realm = Mechanize::HTTP::AuthRealm.new 'Digest', base_uri, 'r'
|
500
|
+
assert_equal [realm], @agent.authenticate_methods[base_uri][:iis_digest]
|
501
|
+
end
|
502
|
+
|
503
|
+
def test_response_authenticate_multiple
|
504
|
+
@res.instance_variable_set(:@header,
|
505
|
+
'www-authenticate' =>
|
506
|
+
['Basic realm=r, Digest realm=r'])
|
507
|
+
@agent.user = 'user'
|
508
|
+
@agent.password = 'password'
|
509
|
+
|
510
|
+
@agent.response_authenticate @res, nil, @uri, @req, {}, nil, nil
|
511
|
+
|
512
|
+
base_uri = @uri + '/'
|
513
|
+
realm = Mechanize::HTTP::AuthRealm.new 'Digest', base_uri, 'r'
|
514
|
+
assert_equal [realm], @agent.authenticate_methods[base_uri][:digest]
|
515
|
+
|
516
|
+
assert_empty @agent.authenticate_methods[base_uri][:basic]
|
517
|
+
end
|
518
|
+
|
519
|
+
def test_response_authenticate_ntlm
|
520
|
+
@uri += '/ntlm'
|
521
|
+
@res.instance_variable_set(:@header,
|
522
|
+
'www-authenticate' => ['NTLM'])
|
523
|
+
@agent.user = 'user'
|
524
|
+
@agent.password = 'password'
|
525
|
+
|
526
|
+
page = @agent.response_authenticate @res, nil, @uri, @req, {}, nil, nil
|
527
|
+
|
528
|
+
assert_equal 'ok', page.body # lame test
|
529
|
+
end
|
530
|
+
|
531
|
+
def test_response_authenticate_unknown
|
532
|
+
@agent.user = 'user'
|
533
|
+
@agent.password = 'password'
|
534
|
+
page = Mechanize::File.new nil, nil, nil, 401
|
535
|
+
@res.instance_variable_set(:@header,
|
536
|
+
'www-authenticate' => ['Unknown realm=r'])
|
537
|
+
|
538
|
+
assert_raises Mechanize::UnauthorizedError do
|
539
|
+
@agent.response_authenticate @res, page, @uri, @req, nil, nil, nil
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
def test_response_content_encoding_7_bit
|
544
|
+
def @res.content_length() 4 end
|
545
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[7bit]
|
546
|
+
|
547
|
+
body = @agent.response_content_encoding @res, StringIO.new('part')
|
548
|
+
|
549
|
+
assert_equal 'part', body.read
|
550
|
+
end
|
551
|
+
|
552
|
+
def test_response_content_encoding_deflate
|
553
|
+
def @res.content_length() 12 end
|
554
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[deflate]
|
555
|
+
body_io = StringIO.new "x\x9C+H,*\x01\x00\x04?\x01\xB8"
|
556
|
+
|
557
|
+
body = @agent.response_content_encoding @res, body_io
|
558
|
+
|
559
|
+
assert_equal 'part', body.read
|
560
|
+
end
|
561
|
+
|
562
|
+
def test_response_content_encoding_deflate_chunked
|
563
|
+
def @res.content_length() nil end
|
564
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[deflate]
|
565
|
+
body_io = StringIO.new "x\x9C+H,*\x01\x00\x04?\x01\xB8"
|
566
|
+
|
567
|
+
body = @agent.response_content_encoding @res, body_io
|
568
|
+
|
569
|
+
assert_equal 'part', body.read
|
570
|
+
end
|
571
|
+
|
572
|
+
# IIS/6.0 ASP.NET/2.0.50727 does not wrap deflate with zlib, WTF?
|
573
|
+
def test_response_content_encoding_deflate_no_zlib
|
574
|
+
def @res.content_length() 6 end
|
575
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[deflate]
|
576
|
+
|
577
|
+
body = @agent.response_content_encoding @res, StringIO.new("+H,*\001\000")
|
578
|
+
|
579
|
+
assert_equal 'part', body.read
|
580
|
+
end
|
581
|
+
|
582
|
+
def test_response_content_encoding_gzip
|
583
|
+
def @res.content_length() 24 end
|
584
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[gzip]
|
585
|
+
body_io = StringIO.new \
|
586
|
+
"\037\213\b\0002\002\225M\000\003+H,*\001\000\306p\017I\004\000\000\000"
|
587
|
+
|
588
|
+
body = @agent.response_content_encoding @res, body_io
|
589
|
+
|
590
|
+
assert_equal 'part', body.read
|
591
|
+
end
|
592
|
+
|
593
|
+
def test_response_content_encoding_gzip_chunked
|
594
|
+
def @res.content_length() nil end
|
595
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[gzip]
|
596
|
+
body_io = StringIO.new \
|
597
|
+
"\037\213\b\0002\002\225M\000\003+H,*\001\000\306p\017I\004\000\000\000"
|
598
|
+
|
599
|
+
body = @agent.response_content_encoding @res, body_io
|
600
|
+
|
601
|
+
assert_equal 'part', body.read
|
602
|
+
end
|
603
|
+
|
604
|
+
def test_response_content_encoding_gzip_encoding_bad
|
605
|
+
def @res.content_length() 24 end
|
606
|
+
@res.instance_variable_set(:@header,
|
607
|
+
'content-encoding' => %w[gzip],
|
608
|
+
'content-type' => 'text/html; charset=UTF-8')
|
609
|
+
|
610
|
+
# "test\xB2"
|
611
|
+
body_io = StringIO.new \
|
612
|
+
"\037\213\b\000*+\314N\000\003+I-.\331\004\000x\016\003\376\005\000\000\000"
|
613
|
+
|
614
|
+
body = @agent.response_content_encoding @res, body_io
|
615
|
+
|
616
|
+
expected = "test\xB2"
|
617
|
+
expected.force_encoding Encoding::BINARY if have_encoding?
|
618
|
+
|
619
|
+
content = body.read
|
620
|
+
assert_equal expected, content
|
621
|
+
assert_equal Encoding::BINARY, content.encoding if have_encoding?
|
622
|
+
end
|
623
|
+
|
624
|
+
def test_response_content_encoding_none
|
625
|
+
def @res.content_length() 4 end
|
626
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[none]
|
627
|
+
|
628
|
+
body = @agent.response_content_encoding @res, StringIO.new('part')
|
629
|
+
|
630
|
+
assert_equal 'part', body.read
|
631
|
+
end
|
632
|
+
|
633
|
+
def test_response_content_encoding_x_gzip
|
634
|
+
def @res.content_length() 24 end
|
635
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[x-gzip]
|
636
|
+
body_io = StringIO.new \
|
637
|
+
"\037\213\b\0002\002\225M\000\003+H,*\001\000\306p\017I\004\000\000\000"
|
638
|
+
|
639
|
+
body = @agent.response_content_encoding @res, body_io
|
640
|
+
|
641
|
+
assert_equal 'part', body.read
|
642
|
+
end
|
643
|
+
|
644
|
+
def test_response_content_encoding_unknown
|
645
|
+
def @res.content_length() 4 end
|
646
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[unknown]
|
647
|
+
body = StringIO.new 'part'
|
648
|
+
|
649
|
+
e = assert_raises Mechanize::Error do
|
650
|
+
@agent.response_content_encoding @res, body
|
651
|
+
end
|
652
|
+
|
653
|
+
assert_equal 'Unsupported Content-Encoding: unknown', e.message
|
654
|
+
end
|
655
|
+
|
656
|
+
def test_get_meta_refresh_header_follow_self
|
657
|
+
@agent.follow_meta_refresh = true
|
658
|
+
@agent.follow_meta_refresh_self = true
|
659
|
+
|
660
|
+
page = Mechanize::Page.new(@uri, {'content-type' => 'text/html'}, '',
|
661
|
+
200, @mech)
|
662
|
+
@res.instance_variable_set :@header, 'refresh' => ['0']
|
663
|
+
|
664
|
+
refresh = @agent.get_meta_refresh @res, @uri, page
|
665
|
+
|
666
|
+
assert_equal [0.0, URI('http://example/')], refresh
|
667
|
+
end
|
668
|
+
|
669
|
+
def test_get_meta_refresh_header_no_follow
|
670
|
+
page = Mechanize::Page.new(@uri, {'content-type' => 'text/html'}, '',
|
671
|
+
200, @mech)
|
672
|
+
@res.instance_variable_set :@header, 'refresh' => ['0']
|
673
|
+
|
674
|
+
refresh = @agent.get_meta_refresh @res, @uri, page
|
675
|
+
|
676
|
+
assert_nil refresh
|
677
|
+
end
|
678
|
+
|
679
|
+
def test_get_meta_refresh_header_no_follow_self
|
680
|
+
@agent.follow_meta_refresh = true
|
681
|
+
|
682
|
+
page = Mechanize::Page.new(@uri, {'content-type' => 'text/html'}, '',
|
683
|
+
200, @mech)
|
684
|
+
@res.instance_variable_set :@header, 'refresh' => ['0']
|
685
|
+
|
686
|
+
refresh = @agent.get_meta_refresh @res, @uri, page
|
687
|
+
|
688
|
+
assert_nil refresh
|
689
|
+
end
|
690
|
+
|
691
|
+
def test_get_meta_refresh_meta_follow_self
|
692
|
+
@agent.follow_meta_refresh = true
|
693
|
+
@agent.follow_meta_refresh_self = true
|
694
|
+
|
695
|
+
body = <<-BODY
|
696
|
+
<title></title>
|
697
|
+
<meta http-equiv="refresh" content="0">
|
698
|
+
BODY
|
699
|
+
|
700
|
+
page = Mechanize::Page.new(@uri, {'content-type' => 'text/html'}, body,
|
701
|
+
200, @mech)
|
702
|
+
|
703
|
+
refresh = @agent.get_meta_refresh @res, @uri, page
|
704
|
+
|
705
|
+
assert_equal [0, 'http://example/'], refresh
|
706
|
+
end
|
707
|
+
|
708
|
+
def test_get_meta_refresh_meta_no_follow
|
709
|
+
body = <<-BODY
|
710
|
+
<title></title>
|
711
|
+
<meta http-equiv="refresh" content="0">
|
712
|
+
BODY
|
713
|
+
|
714
|
+
page = Mechanize::Page.new(@uri, {'content-type' => 'text/html'}, body,
|
715
|
+
200, @mech)
|
716
|
+
|
717
|
+
refresh = @agent.get_meta_refresh @res, @uri, page
|
718
|
+
|
719
|
+
assert_nil refresh
|
720
|
+
end
|
721
|
+
|
722
|
+
def test_get_meta_refresh_meta_no_follow_self
|
723
|
+
@agent.follow_meta_refresh = true
|
724
|
+
|
725
|
+
body = <<-BODY
|
726
|
+
<title></title>
|
727
|
+
<meta http-equiv="refresh" content="0">
|
728
|
+
BODY
|
729
|
+
|
730
|
+
page = Mechanize::Page.new(@uri, {'content-type' => 'text/html'}, body,
|
731
|
+
200, @mech)
|
732
|
+
|
733
|
+
refresh = @agent.get_meta_refresh @res, @uri, page
|
734
|
+
|
735
|
+
assert_nil refresh
|
736
|
+
end
|
737
|
+
|
738
|
+
def test_hook_content_encoding_response
|
739
|
+
@mech.content_encoding_hooks << lambda{|agent, uri, response, response_body_io|
|
740
|
+
response['content-encoding'] = 'gzip' if response['content-encoding'] == 'agzip'}
|
741
|
+
|
742
|
+
@res.instance_variable_set :@header, 'content-encoding' => %w[agzip]
|
743
|
+
body_io = StringIO.new 'part'
|
744
|
+
@agent.hook_content_encoding @res, @uri, body_io
|
745
|
+
|
746
|
+
assert_equal 'gzip', @res['content-encoding']
|
747
|
+
end
|
748
|
+
|
749
|
+
def test_response_cookies
|
750
|
+
uri = URI.parse 'http://host.example.com'
|
751
|
+
cookie_str = 'a=b domain=.example.com'
|
752
|
+
@res.instance_variable_set(:@header,
|
753
|
+
'set-cookie' => [cookie_str],
|
754
|
+
'content-type' => %w[text/html])
|
755
|
+
page = Mechanize::Page.new uri, @res, '', 200, @mech
|
756
|
+
|
757
|
+
@agent.response_cookies @res, uri, page
|
758
|
+
|
759
|
+
assert_equal ['a=b domain=.example.com'],
|
760
|
+
@agent.cookie_jar.cookies(uri).map { |c| c.to_s }
|
761
|
+
end
|
762
|
+
|
763
|
+
def test_response_cookies_many
|
764
|
+
uri = URI.parse 'http://host.example.com'
|
765
|
+
cookie1 = 'a=b domain=.example.com'
|
766
|
+
cookie2 = 'c=d domain=.example.com'
|
767
|
+
@res.instance_variable_set(:@header,
|
768
|
+
'set-cookie' => [cookie1, cookie2],
|
769
|
+
'content-type' => %w[text/html])
|
770
|
+
page = Mechanize::Page.new uri, @res, '', 200, @mech
|
771
|
+
|
772
|
+
@agent.response_cookies @res, uri, page
|
773
|
+
|
774
|
+
assert_equal ['a=b domain=.example.com', 'c=d domain=.example.com'],
|
775
|
+
@agent.cookie_jar.cookies(uri).map { |c| c.to_s }
|
776
|
+
end
|
777
|
+
|
778
|
+
def test_response_cookies_meta
|
779
|
+
uri = URI.parse 'http://host.example.com'
|
780
|
+
cookie_str = 'a=b domain=.example.com'
|
781
|
+
|
782
|
+
body = <<-BODY
|
783
|
+
<head>
|
784
|
+
<meta http-equiv="Set-Cookie" content="#{cookie_str}">
|
785
|
+
</head>"
|
786
|
+
BODY
|
787
|
+
|
788
|
+
@res.instance_variable_set(:@header,
|
789
|
+
'content-type' => %w[text/html])
|
790
|
+
page = Mechanize::Page.new uri, @res, body, 200, @mech
|
791
|
+
|
792
|
+
@agent.response_cookies @res, uri, page
|
793
|
+
|
794
|
+
assert_equal ['a=b domain=.example.com'],
|
795
|
+
@agent.cookie_jar.cookies(uri).map { |c| c.to_s }
|
796
|
+
end
|
797
|
+
|
798
|
+
def test_response_follow_meta_refresh
|
799
|
+
uri = URI.parse 'http://example/#id+1'
|
800
|
+
|
801
|
+
body = <<-BODY
|
802
|
+
<title></title>
|
803
|
+
<meta http-equiv="refresh" content="0">
|
804
|
+
BODY
|
805
|
+
|
806
|
+
page = Mechanize::Page.new(uri, {'content-type' => 'text/html'}, body,
|
807
|
+
200, @mech)
|
808
|
+
|
809
|
+
@agent.follow_meta_refresh = true
|
810
|
+
@agent.follow_meta_refresh_self = true
|
811
|
+
|
812
|
+
page = @agent.response_follow_meta_refresh @res, uri, page, 0
|
813
|
+
|
814
|
+
assert_equal uri, page.uri
|
815
|
+
end
|
816
|
+
|
817
|
+
def test_response_follow_meta_refresh_limit
|
818
|
+
uri = URI.parse 'http://example/#id+1'
|
819
|
+
|
820
|
+
body = <<-BODY
|
821
|
+
<title></title>
|
822
|
+
<meta http-equiv="refresh" content="0">
|
823
|
+
BODY
|
824
|
+
|
825
|
+
page = Mechanize::Page.new(uri, {'content-type' => 'text/html'}, body,
|
826
|
+
200, @mech)
|
827
|
+
|
828
|
+
@agent.follow_meta_refresh = true
|
829
|
+
@agent.follow_meta_refresh_self = true
|
830
|
+
|
831
|
+
assert_raises Mechanize::RedirectLimitReachedError do
|
832
|
+
@agent.response_follow_meta_refresh(@res, uri, page,
|
833
|
+
@agent.redirection_limit)
|
834
|
+
end
|
835
|
+
end
|
836
|
+
|
837
|
+
def test_response_read
|
838
|
+
def @res.read_body() yield 'part' end
|
839
|
+
def @res.content_length() 4 end
|
840
|
+
|
841
|
+
io = @agent.response_read @res, @req
|
842
|
+
|
843
|
+
body = io.read
|
844
|
+
|
845
|
+
assert_equal 'part', body
|
846
|
+
assert_equal Encoding::BINARY, body.encoding if body.respond_to? :encoding
|
847
|
+
end
|
848
|
+
|
849
|
+
def test_response_read_large
|
850
|
+
def @res.read_body() yield 'a' * 10241 end
|
851
|
+
def @res.content_length() 10241 end
|
852
|
+
|
853
|
+
io = @agent.response_read @res, @req
|
854
|
+
|
855
|
+
assert_kind_of Tempfile, io
|
856
|
+
assert_equal 10241, io.stat.size
|
857
|
+
end
|
858
|
+
|
859
|
+
def test_response_read_large_chunked
|
860
|
+
def @res.read_body
|
861
|
+
11.times do yield 'a' * 1024 end
|
862
|
+
end
|
863
|
+
def @res.content_length() end
|
864
|
+
|
865
|
+
io = @agent.response_read @res, @req
|
866
|
+
|
867
|
+
assert_kind_of Tempfile, io
|
868
|
+
assert_equal 11264, io.stat.size
|
869
|
+
end
|
870
|
+
|
871
|
+
def test_response_read_content_length_head
|
872
|
+
req = Net::HTTP::Head.new '/'
|
873
|
+
|
874
|
+
def @res.content_length() end
|
875
|
+
def @res.read_body() end
|
876
|
+
|
877
|
+
io = @agent.response_read @res, req
|
878
|
+
|
879
|
+
assert_equal '', io.read
|
880
|
+
end
|
881
|
+
|
882
|
+
def test_response_read_content_length_mismatch
|
883
|
+
def @res.content_length() 5 end
|
884
|
+
def @res.read_body() yield 'part' end
|
885
|
+
|
886
|
+
e = assert_raises EOFError do
|
887
|
+
@agent.response_read @res, @req
|
888
|
+
end
|
889
|
+
|
890
|
+
assert_equal 'Content-Length (5) does not match response body length (4)',
|
891
|
+
e.message
|
892
|
+
end
|
893
|
+
|
894
|
+
def test_response_read_content_length_redirect
|
895
|
+
res = Net::HTTPFound.allocate
|
896
|
+
def res.content_length() 5 end
|
897
|
+
def res.code() 302 end
|
898
|
+
def res.read_body() yield 'part' end
|
899
|
+
res.instance_variable_set :@header, {}
|
900
|
+
|
901
|
+
io = @agent.response_read res, @req
|
902
|
+
|
903
|
+
assert_equal 'part', io.read
|
904
|
+
end
|
905
|
+
|
906
|
+
def test_response_read_error
|
907
|
+
def @res.read_body()
|
908
|
+
yield 'part'
|
909
|
+
raise Net::HTTP::Persistent::Error
|
910
|
+
end
|
911
|
+
|
912
|
+
e = assert_raises Mechanize::ResponseReadError do
|
913
|
+
@agent.response_read @res, @req
|
914
|
+
end
|
915
|
+
|
916
|
+
assert_equal @res, e.response
|
917
|
+
assert_equal 'part', e.body_io.read
|
918
|
+
assert_kind_of Net::HTTP::Persistent::Error, e.error
|
919
|
+
end
|
920
|
+
|
921
|
+
def test_response_read_file
|
922
|
+
Tempfile.open 'pi.txt' do |tempfile|
|
923
|
+
tempfile.write "π\n"
|
924
|
+
tempfile.flush
|
925
|
+
tempfile.rewind
|
926
|
+
|
927
|
+
uri = URI.parse "file://#{tempfile.path}"
|
928
|
+
req = Mechanize::FileRequest.new uri
|
929
|
+
res = Mechanize::FileResponse.new tempfile.path
|
930
|
+
|
931
|
+
io = @agent.response_read res, req
|
932
|
+
|
933
|
+
expected = "π\n"
|
934
|
+
expected.force_encoding Encoding::BINARY if expected.respond_to? :encoding
|
935
|
+
|
936
|
+
body = io.read
|
937
|
+
assert_equal expected, body
|
938
|
+
assert_equal Encoding::BINARY, body.encoding if body.respond_to? :encoding
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
942
|
+
def test_response_read_no_body
|
943
|
+
req = Net::HTTP::Options.new '/'
|
944
|
+
|
945
|
+
def @res.content_length() end
|
946
|
+
def @res.read_body() end
|
947
|
+
|
948
|
+
io = @agent.response_read @res, req
|
949
|
+
|
950
|
+
assert_equal '', io.read
|
951
|
+
end
|
952
|
+
|
953
|
+
def test_response_read_unknown_code
|
954
|
+
res = Net::HTTPUnknownResponse.allocate
|
955
|
+
res.instance_variable_set :@code, 9999
|
956
|
+
res.instance_variable_set :@header, {}
|
957
|
+
def res.read_body() yield 'part' end
|
958
|
+
|
959
|
+
e = assert_raises Mechanize::ResponseCodeError do
|
960
|
+
@agent.response_read res, @req
|
961
|
+
end
|
962
|
+
|
963
|
+
assert_equal res, e.page
|
964
|
+
end
|
965
|
+
|
966
|
+
def test_response_redirect
|
967
|
+
@agent.redirect_ok = true
|
968
|
+
referer = page 'http://example/referer'
|
969
|
+
|
970
|
+
page = fake_page
|
971
|
+
page = @agent.response_redirect({ 'Location' => '/index.html' }, :get,
|
972
|
+
page, 0, referer)
|
973
|
+
|
974
|
+
assert_equal URI('http://fake.example/index.html'), page.uri
|
975
|
+
|
976
|
+
assert_equal 'http://example/referer', requests.first['Referer']
|
977
|
+
end
|
978
|
+
|
979
|
+
def test_response_redirect_limit
|
980
|
+
@agent.redirect_ok = true
|
981
|
+
referer = page 'http://example/referer'
|
982
|
+
|
983
|
+
assert_raises Mechanize::RedirectLimitReachedError do
|
984
|
+
@agent.response_redirect({ 'Location' => '/index.html' }, :get,
|
985
|
+
fake_page, @agent.redirection_limit, referer)
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
989
|
+
def test_response_redirect_not_ok
|
990
|
+
@agent.redirect_ok = false
|
991
|
+
|
992
|
+
page = fake_page
|
993
|
+
page = @agent.response_redirect({ 'Location' => '/other' }, :get, page, 0,
|
994
|
+
page)
|
995
|
+
|
996
|
+
assert_equal URI('http://fake.example'), page.uri
|
997
|
+
end
|
998
|
+
|
999
|
+
def test_response_redirect_permanent
|
1000
|
+
@agent.redirect_ok = :permanent
|
1001
|
+
|
1002
|
+
response = Net::HTTPMovedPermanently.allocate
|
1003
|
+
response.instance_variable_set :@header, { 'location' => %w[/index.html] }
|
1004
|
+
|
1005
|
+
page = fake_page
|
1006
|
+
page = @agent.response_redirect response, :get, page, 0, page
|
1007
|
+
|
1008
|
+
assert_equal URI('http://fake.example/index.html'), page.uri
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
def test_response_redirect_permanent_temporary
|
1012
|
+
@agent.redirect_ok = :permanent
|
1013
|
+
|
1014
|
+
response = Net::HTTPMovedTemporarily.allocate
|
1015
|
+
response.instance_variable_set :@header, { 'location' => %w[/index.html] }
|
1016
|
+
|
1017
|
+
page = fake_page
|
1018
|
+
page = @agent.response_redirect response, :get, page, 0, page
|
1019
|
+
|
1020
|
+
assert_equal URI('http://fake.example/'), page.uri
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
def test_response_parse
|
1024
|
+
body = '<title>hi</title>'
|
1025
|
+
@res.instance_variable_set :@header, 'content-type' => %w[text/html]
|
1026
|
+
|
1027
|
+
page = @agent.response_parse @res, body, @uri
|
1028
|
+
|
1029
|
+
assert_instance_of Mechanize::Page, page
|
1030
|
+
assert_equal @mech, page.mech
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
def test_response_parse_content_type_case
|
1034
|
+
body = '<title>hi</title>'
|
1035
|
+
@res.instance_variable_set(:@header, 'content-type' => %w[text/HTML])
|
1036
|
+
|
1037
|
+
page = @agent.response_parse @res, body, @uri
|
1038
|
+
|
1039
|
+
assert_instance_of Mechanize::Page, page
|
1040
|
+
|
1041
|
+
assert_equal 'text/HTML', page.content_type
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
def test_response_parse_content_type_encoding
|
1045
|
+
body = '<title>hi</title>'
|
1046
|
+
@res.instance_variable_set(:@header,
|
1047
|
+
'content-type' =>
|
1048
|
+
%w[text/html;charset=ISO-8859-1])
|
1049
|
+
|
1050
|
+
page = @agent.response_parse @res, body, @uri
|
1051
|
+
|
1052
|
+
assert_instance_of Mechanize::Page, page
|
1053
|
+
assert_equal @mech, page.mech
|
1054
|
+
|
1055
|
+
assert_equal 'ISO-8859-1', page.encoding
|
1056
|
+
assert_equal 'ISO-8859-1', page.parser.encoding
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
def test_response_parse_content_type_encoding_garbage
|
1060
|
+
body = '<title>hi</title>'
|
1061
|
+
@res.instance_variable_set(:@header,
|
1062
|
+
'content-type' =>
|
1063
|
+
%w[text/html; charset=garbage_charset])
|
1064
|
+
|
1065
|
+
page = @agent.response_parse @res, body, @uri
|
1066
|
+
|
1067
|
+
assert_instance_of Mechanize::Page, page
|
1068
|
+
assert_equal @mech, page.mech
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
def test_response_parse_content_type_encoding_broken_iso_8859_1
|
1072
|
+
body = '<title>hi</title>'
|
1073
|
+
@res.instance_variable_set(:@header,
|
1074
|
+
'content-type' =>
|
1075
|
+
%w[text/html; charset=ISO_8859-1])
|
1076
|
+
|
1077
|
+
page = @agent.response_parse @res, body, @uri
|
1078
|
+
|
1079
|
+
assert_instance_of Mechanize::Page, page
|
1080
|
+
assert_equal 'ISO_8859-1', page.encoding
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
def test_response_parse_content_type_encoding_broken_utf_8
|
1084
|
+
body = '<title>hi</title>'
|
1085
|
+
@res.instance_variable_set(:@header,
|
1086
|
+
'content-type' =>
|
1087
|
+
%w[text/html; charset=UTF8])
|
1088
|
+
|
1089
|
+
page = @agent.response_parse @res, body, @uri
|
1090
|
+
|
1091
|
+
assert_instance_of Mechanize::Page, page
|
1092
|
+
assert_equal 'UTF8', page.encoding
|
1093
|
+
assert_equal 'UTF8', page.parser.encoding
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
def test_response_parse_content_type_encoding_semicolon
|
1097
|
+
body = '<title>hi</title>'
|
1098
|
+
@res.instance_variable_set(:@header,
|
1099
|
+
'content-type' =>
|
1100
|
+
%w[text/html;charset=UTF-8;])
|
1101
|
+
|
1102
|
+
page = @agent.response_parse @res, body, @uri
|
1103
|
+
|
1104
|
+
assert_instance_of Mechanize::Page, page
|
1105
|
+
|
1106
|
+
assert_equal 'UTF-8', page.encoding
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
def test_robots_allowed_eh
|
1110
|
+
allowed = URI 'http://localhost/index.html'
|
1111
|
+
disallowed = URI 'http://localhost/norobots.html'
|
1112
|
+
|
1113
|
+
assert @agent.robots_allowed? allowed
|
1114
|
+
refute @agent.robots_allowed? disallowed
|
1115
|
+
|
1116
|
+
refute @agent.robots_disallowed? allowed
|
1117
|
+
assert @agent.robots_disallowed? disallowed
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
def test_robots_allowed_eh_noindex
|
1121
|
+
@agent.robots = true
|
1122
|
+
|
1123
|
+
noindex = URI 'http://localhost/noindex.html'
|
1124
|
+
|
1125
|
+
assert @agent.robots_allowed? noindex
|
1126
|
+
|
1127
|
+
assert_raises Mechanize::RobotsDisallowedError do
|
1128
|
+
@agent.fetch noindex
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
def test_set_http
|
1133
|
+
@agent.set_http
|
1134
|
+
|
1135
|
+
assert_equal 'mechanize', @agent.http.name
|
1136
|
+
refute @agent.http.retry_change_requests
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
def test_set_http_idle_timeout
|
1140
|
+
@agent.idle_timeout = 1
|
1141
|
+
@agent.set_http
|
1142
|
+
|
1143
|
+
assert_equal 'mechanize', @agent.http.name
|
1144
|
+
assert_equal 1, @agent.http.idle_timeout
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
def test_set_http_ssl
|
1148
|
+
in_tmpdir do
|
1149
|
+
store = OpenSSL::X509::Store.new
|
1150
|
+
@agent.cert = ssl_certificate
|
1151
|
+
@agent.key = ssl_private_key
|
1152
|
+
@agent.cert_store = store
|
1153
|
+
@agent.ca_file = '.'
|
1154
|
+
@agent.verify_callback = proc { |ok, context| }
|
1155
|
+
|
1156
|
+
@agent.set_http
|
1157
|
+
|
1158
|
+
http = @agent.http
|
1159
|
+
|
1160
|
+
assert_equal ssl_certificate, http.certificate
|
1161
|
+
assert_equal ssl_private_key, http.private_key
|
1162
|
+
assert_equal store, http.cert_store
|
1163
|
+
assert_equal '.', http.ca_file
|
1164
|
+
assert_equal OpenSSL::SSL::VERIFY_PEER, http.verify_mode
|
1165
|
+
assert http.verify_callback
|
1166
|
+
end
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
def test_set_http_ssl_verify_none
|
1170
|
+
in_tmpdir do
|
1171
|
+
@agent.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
1172
|
+
|
1173
|
+
@agent.set_http
|
1174
|
+
|
1175
|
+
http = @agent.http
|
1176
|
+
|
1177
|
+
assert_equal OpenSSL::SSL::VERIFY_NONE, http.verify_mode
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
def test_set_http_retry_change_request
|
1182
|
+
@agent.retry_change_requests = true
|
1183
|
+
@agent.set_http
|
1184
|
+
|
1185
|
+
assert_equal 'mechanize', @agent.http.name
|
1186
|
+
assert @agent.http.retry_change_requests
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
def test_set_proxy
|
1190
|
+
@agent.set_proxy 'www.example.com', 9001, 'joe', 'lol'
|
1191
|
+
|
1192
|
+
assert_equal @agent.proxy_uri.host, 'www.example.com'
|
1193
|
+
assert_equal @agent.proxy_uri.port, 9001
|
1194
|
+
assert_equal @agent.proxy_uri.user, 'joe'
|
1195
|
+
assert_equal @agent.proxy_uri.password, 'lol'
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
def test_set_proxy_port_string
|
1199
|
+
@agent.set_proxy 'www.example.com', '9001', 'joe', 'lol'
|
1200
|
+
|
1201
|
+
assert_equal @agent.proxy_uri.host, 'www.example.com'
|
1202
|
+
assert_equal @agent.proxy_uri.port, 9001
|
1203
|
+
assert_equal @agent.proxy_uri.user, 'joe'
|
1204
|
+
assert_equal @agent.proxy_uri.password, 'lol'
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
def test_set_proxy_service_name
|
1208
|
+
@agent.set_proxy 'www.example.com', 'http', 'joe', 'lol'
|
1209
|
+
|
1210
|
+
assert_equal @agent.proxy_uri.host, 'www.example.com'
|
1211
|
+
assert_equal @agent.proxy_uri.port, 80
|
1212
|
+
assert_equal @agent.proxy_uri.user, 'joe'
|
1213
|
+
assert_equal @agent.proxy_uri.password, 'lol'
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
def test_set_proxy_service_name_bad
|
1217
|
+
e = assert_raises ArgumentError do
|
1218
|
+
@agent.set_proxy 'www.example.com', 'nonexistent service', 'joe', 'lol'
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
assert_equal 'invalid value for port: "nonexistent service"', e.message
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
end
|
1225
|
+
|