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
File without changes
|
File without changes
|
@@ -0,0 +1,107 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
module Nokogiri
|
4
|
+
module XML
|
5
|
+
class TestDTD < Nokogiri::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@xml = Nokogiri::XML(File.open(XML_FILE))
|
9
|
+
assert @dtd = @xml.internal_subset
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_system_id
|
13
|
+
assert_equal 'staff.dtd', @dtd.system_id
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_external_id
|
17
|
+
if Nokogiri.uses_libxml?
|
18
|
+
xml = Nokogiri::XML('<!DOCTYPE foo PUBLIC "bar"><foo />')
|
19
|
+
else
|
20
|
+
xml = Nokogiri::XML('<!DOCTYPE foo PUBLIC "bar" ""><foo />')
|
21
|
+
end
|
22
|
+
assert dtd = xml.internal_subset
|
23
|
+
assert_equal 'bar', dtd.external_id
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_content
|
27
|
+
assert_raise NoMethodError do
|
28
|
+
@dtd.content
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_empty_attributes
|
33
|
+
dtd = Nokogiri::HTML("<html></html>").internal_subset
|
34
|
+
assert_equal Hash.new, dtd.attributes
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_attributes
|
38
|
+
assert_equal ['width'], @dtd.attributes.keys
|
39
|
+
assert_equal '0', @dtd.attributes['width'].default
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_keys
|
43
|
+
assert_equal ['width'], @dtd.keys
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_each
|
47
|
+
hash = {}
|
48
|
+
@dtd.each { |key, value| hash[key] = value }
|
49
|
+
assert_equal @dtd.attributes, hash
|
50
|
+
end
|
51
|
+
|
52
|
+
def test_namespace
|
53
|
+
assert_raise NoMethodError do
|
54
|
+
@dtd.namespace
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_namespace_definitions
|
59
|
+
assert_raise NoMethodError do
|
60
|
+
@dtd.namespace_definitions
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
def test_line
|
65
|
+
assert_raise NoMethodError do
|
66
|
+
@dtd.line
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def test_validate
|
71
|
+
if Nokogiri.uses_libxml?
|
72
|
+
list = @xml.internal_subset.validate @xml
|
73
|
+
assert_equal 44, list.length
|
74
|
+
else
|
75
|
+
xml = Nokogiri::XML(File.open(XML_FILE)) {|cfg| cfg.dtdvalid}
|
76
|
+
list = xml.internal_subset.validate xml
|
77
|
+
assert_equal 37, list.length
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def test_external_subsets
|
82
|
+
assert subset = @xml.internal_subset
|
83
|
+
assert_equal 'staff', subset.name
|
84
|
+
end
|
85
|
+
|
86
|
+
def test_entities
|
87
|
+
assert entities = @dtd.entities
|
88
|
+
assert_equal %w[ ent1 ent2 ent3 ent4 ent5 ].sort, entities.keys.sort
|
89
|
+
end
|
90
|
+
|
91
|
+
def test_elements
|
92
|
+
assert elements = @dtd.elements
|
93
|
+
assert_equal %w[ br ], elements.keys
|
94
|
+
assert_equal 'br', elements['br'].name
|
95
|
+
end
|
96
|
+
|
97
|
+
def test_notations
|
98
|
+
assert notations = @dtd.notations
|
99
|
+
assert_equal %w[ notation1 notation2 ].sort, notations.keys.sort
|
100
|
+
assert notation1 = notations['notation1']
|
101
|
+
assert_equal 'notation1', notation1.name
|
102
|
+
assert_equal 'notation1File', notation1.public_id
|
103
|
+
assert_nil notation1.system_id
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/test/xml/test_dtd_encoding.rb
RENAMED
File without changes
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
module Nokogiri
|
4
|
+
module XML
|
5
|
+
class TestElementContent < Nokogiri::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@xml = Nokogiri::XML(<<-eoxml)
|
9
|
+
<?xml version="1.0"?><?TEST-STYLE PIDATA?>
|
10
|
+
<!DOCTYPE staff SYSTEM "staff.dtd" [
|
11
|
+
<!ELEMENT br EMPTY>
|
12
|
+
<!ELEMENT div1 (head, (p | list | note)*, div2*)>
|
13
|
+
<!ELEMENT div2 (tender:love)>
|
14
|
+
]>
|
15
|
+
<root/>
|
16
|
+
eoxml
|
17
|
+
@elements = @xml.internal_subset.children.find_all { |x|
|
18
|
+
x.type == 15
|
19
|
+
}
|
20
|
+
@tree = @elements[1].content
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_allowed_content_not_defined
|
24
|
+
assert_nil @elements.first.content
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_document
|
28
|
+
assert @tree
|
29
|
+
assert_equal @xml, @tree.document
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_type
|
33
|
+
assert_equal ElementContent::SEQ, @tree.type
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_children
|
37
|
+
assert_equal 2, @tree.children.length
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_name
|
41
|
+
assert_nil @tree.name
|
42
|
+
assert_equal 'head', @tree.children.first.name
|
43
|
+
assert_equal 'p', @tree.children[1].children.first.children.first.name
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_occur
|
47
|
+
assert_equal ElementContent::ONCE, @tree.occur
|
48
|
+
end
|
49
|
+
|
50
|
+
def test_prefix
|
51
|
+
assert_nil @tree.prefix
|
52
|
+
assert_equal 'tender', @elements[2].content.prefix
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
module Nokogiri
|
4
|
+
module XML
|
5
|
+
class TestElementDecl < Nokogiri::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@xml = Nokogiri::XML(<<-eoxml)
|
9
|
+
<?xml version="1.0"?><?TEST-STYLE PIDATA?>
|
10
|
+
<!DOCTYPE staff SYSTEM "staff.dtd" [
|
11
|
+
<!ELEMENT br EMPTY>
|
12
|
+
<!ELEMENT div1 (head, (p | list | note)*, div2*)>
|
13
|
+
<!ELEMENT my:way EMPTY>
|
14
|
+
<!ATTLIST br width CDATA "0">
|
15
|
+
<!ATTLIST br height CDATA "0">
|
16
|
+
]>
|
17
|
+
<root/>
|
18
|
+
eoxml
|
19
|
+
@elements = @xml.internal_subset.children.find_all { |x|
|
20
|
+
x.type == 15
|
21
|
+
}
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_inspect
|
25
|
+
e = @elements.first
|
26
|
+
assert_equal(
|
27
|
+
"#<#{e.class.name}:#{sprintf("0x%x", e.object_id)} #{e.to_s.inspect}>",
|
28
|
+
e.inspect
|
29
|
+
)
|
30
|
+
end
|
31
|
+
|
32
|
+
def test_prefix
|
33
|
+
assert_nil @elements[1].prefix
|
34
|
+
assert_equal 'my', @elements[2].prefix
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_line
|
38
|
+
assert_raise NoMethodError do
|
39
|
+
@elements.first.line
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def test_namespace
|
44
|
+
assert_raise NoMethodError do
|
45
|
+
@elements.first.namespace
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_namespace_definitions
|
50
|
+
assert_raise NoMethodError do
|
51
|
+
@elements.first.namespace_definitions
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def test_element_type
|
56
|
+
assert_equal 1, @elements.first.element_type
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_type
|
60
|
+
assert_equal 15, @elements.first.type
|
61
|
+
end
|
62
|
+
|
63
|
+
def test_class
|
64
|
+
assert_instance_of Nokogiri::XML::ElementDecl, @elements.first
|
65
|
+
end
|
66
|
+
|
67
|
+
def test_attributes
|
68
|
+
assert_equal 2, @elements.first.attribute_nodes.length
|
69
|
+
assert_equal 'width', @elements.first.attribute_nodes.first.name
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,122 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
module Nokogiri
|
4
|
+
module XML
|
5
|
+
class TestEntityDecl < Nokogiri::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@xml = Nokogiri::XML(<<-eoxml)
|
9
|
+
<?xml version="1.0"?><?TEST-STYLE PIDATA?>
|
10
|
+
<!DOCTYPE staff SYSTEM "staff.dtd" [
|
11
|
+
<!ENTITY ent1 "es">
|
12
|
+
<!ENTITY nocontent "">
|
13
|
+
]>
|
14
|
+
<root />
|
15
|
+
eoxml
|
16
|
+
|
17
|
+
@entities = @xml.internal_subset.children
|
18
|
+
@entity_decl = @entities.first
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_constants
|
22
|
+
assert_equal 1, EntityDecl::INTERNAL_GENERAL
|
23
|
+
assert_equal 2, EntityDecl::EXTERNAL_GENERAL_PARSED
|
24
|
+
assert_equal 3, EntityDecl::EXTERNAL_GENERAL_UNPARSED
|
25
|
+
assert_equal 4, EntityDecl::INTERNAL_PARAMETER
|
26
|
+
assert_equal 5, EntityDecl::EXTERNAL_PARAMETER
|
27
|
+
assert_equal 6, EntityDecl::INTERNAL_PREDEFINED
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_create_typed_entity
|
31
|
+
entity = @xml.create_entity(
|
32
|
+
'foo', EntityDecl::INTERNAL_GENERAL, nil, nil, nil
|
33
|
+
)
|
34
|
+
assert_equal EntityDecl::INTERNAL_GENERAL, entity.entity_type
|
35
|
+
assert_equal 'foo', entity.name
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_new
|
39
|
+
entity = Nokogiri::XML::EntityDecl.new(
|
40
|
+
'foo', @xml, EntityDecl::INTERNAL_GENERAL, nil, nil, nil
|
41
|
+
)
|
42
|
+
assert_equal EntityDecl::INTERNAL_GENERAL, entity.entity_type
|
43
|
+
assert_equal 'foo', entity.name
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_create_default_args
|
47
|
+
entity = @xml.create_entity('foo')
|
48
|
+
assert_equal EntityDecl::INTERNAL_GENERAL, entity.entity_type
|
49
|
+
assert_equal 'foo', entity.name
|
50
|
+
end
|
51
|
+
|
52
|
+
def test_external_id
|
53
|
+
assert_nil @entity_decl.external_id
|
54
|
+
end
|
55
|
+
|
56
|
+
def test_system_id
|
57
|
+
assert_nil @entity_decl.system_id
|
58
|
+
end
|
59
|
+
|
60
|
+
def test_entity_type
|
61
|
+
assert_equal 1, @entity_decl.entity_type
|
62
|
+
end
|
63
|
+
|
64
|
+
def test_original_content
|
65
|
+
assert_equal "es", @entity_decl.original_content
|
66
|
+
if Nokogiri.jruby?
|
67
|
+
assert_nil @entities[1].original_content
|
68
|
+
else
|
69
|
+
assert_equal "", @entities[1].original_content
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
def test_content
|
74
|
+
assert_equal "es", @entity_decl.content
|
75
|
+
if Nokogiri.jruby?
|
76
|
+
assert_nil @entities[1].content
|
77
|
+
else
|
78
|
+
assert_equal "", @entities[1].content
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def test_type
|
83
|
+
assert_equal 17, @entities.first.type
|
84
|
+
end
|
85
|
+
|
86
|
+
def test_class
|
87
|
+
assert_instance_of Nokogiri::XML::EntityDecl, @entities.first
|
88
|
+
end
|
89
|
+
|
90
|
+
def test_attributes
|
91
|
+
assert_raise NoMethodError do
|
92
|
+
@entity_decl.attributes
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
def test_namespace
|
97
|
+
assert_raise NoMethodError do
|
98
|
+
@entity_decl.namespace
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
def test_namespace_definitions
|
103
|
+
assert_raise NoMethodError do
|
104
|
+
@entity_decl.namespace_definitions
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
def test_line
|
109
|
+
assert_raise NoMethodError do
|
110
|
+
@entity_decl.line
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
def test_inspect
|
115
|
+
assert_equal(
|
116
|
+
"#<#{@entity_decl.class.name}:#{sprintf("0x%x", @entity_decl.object_id)} #{@entity_decl.to_s.inspect}>",
|
117
|
+
@entity_decl.inspect
|
118
|
+
)
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
File without changes
|
@@ -0,0 +1,70 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
module Nokogiri
|
4
|
+
module XML
|
5
|
+
class TestNamespace < Nokogiri::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@xml = Nokogiri::XML <<-eoxml
|
9
|
+
<root xmlns="http://tenderlovemaking.com/" xmlns:foo="bar">
|
10
|
+
<awesome/>
|
11
|
+
</root>
|
12
|
+
eoxml
|
13
|
+
end
|
14
|
+
|
15
|
+
if Nokogiri.uses_libxml?
|
16
|
+
def test_namespace_is_in_node_cache
|
17
|
+
node = @xml.root.namespace
|
18
|
+
assert @xml.instance_variable_get(:@node_cache).include?(node)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_built_nodes_keep_namespace_decls
|
23
|
+
doc = Document.new
|
24
|
+
e = Node.new 'element', doc
|
25
|
+
c = Node.new 'child', doc
|
26
|
+
c.default_namespace = 'woop:de:doo'
|
27
|
+
|
28
|
+
assert c.namespace, 'has a namespace'
|
29
|
+
e.add_child c
|
30
|
+
assert c.namespace, 'has a namespace'
|
31
|
+
|
32
|
+
doc.add_child e
|
33
|
+
assert c.namespace, 'has a namespace'
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_inspect
|
37
|
+
ns = @xml.root.namespace
|
38
|
+
assert_equal "#<#{ns.class.name}:#{sprintf("0x%x", ns.object_id)} href=#{ns.href.inspect}>", ns.inspect
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_namespace_node_prefix
|
42
|
+
namespaces = @xml.root.namespace_definitions
|
43
|
+
assert_equal [nil, 'foo'], namespaces.map { |x| x.prefix }
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_namespace_node_href
|
47
|
+
namespaces = @xml.root.namespace_definitions
|
48
|
+
assert_equal [
|
49
|
+
'http://tenderlovemaking.com/',
|
50
|
+
'bar'
|
51
|
+
], namespaces.map { |x| x.href }
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_equality
|
55
|
+
namespaces = @xml.root.namespace_definitions
|
56
|
+
assert_equal namespaces, @xml.root.namespace_definitions
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_add_definition
|
60
|
+
@xml.root.add_namespace_definition('baz', 'bar')
|
61
|
+
assert_equal 3, @xml.root.namespace_definitions.length
|
62
|
+
end
|
63
|
+
|
64
|
+
def test_add_definition_return
|
65
|
+
ns = @xml.root.add_namespace_definition('baz', 'bar')
|
66
|
+
assert_equal 'baz', ns.prefix
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
@@ -0,0 +1,917 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
require 'stringio'
|
4
|
+
|
5
|
+
module Nokogiri
|
6
|
+
module XML
|
7
|
+
class TestNode < Nokogiri::TestCase
|
8
|
+
def setup
|
9
|
+
super
|
10
|
+
@xml = Nokogiri::XML(File.read(XML_FILE), XML_FILE)
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_first_element_child
|
14
|
+
node = @xml.root.first_element_child
|
15
|
+
assert_equal 'employee', node.name
|
16
|
+
assert node.element?, 'node is an element'
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_element_children
|
20
|
+
nodes = @xml.root.element_children
|
21
|
+
assert_equal @xml.root.first_element_child, nodes.first
|
22
|
+
assert nodes.all? { |node| node.element? }, 'all nodes are elements'
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_last_element_child
|
26
|
+
nodes = @xml.root.element_children
|
27
|
+
assert_equal nodes.last, @xml.root.element_children.last
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_bad_xpath
|
31
|
+
bad_xpath = '//foo['
|
32
|
+
|
33
|
+
begin
|
34
|
+
@xml.xpath(bad_xpath)
|
35
|
+
rescue Nokogiri::XML::XPath::SyntaxError => e
|
36
|
+
assert_match(bad_xpath, e.to_s)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_namespace_type_error
|
41
|
+
assert_raises(TypeError) do
|
42
|
+
@xml.root.namespace = Object.new
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_remove_namespace
|
47
|
+
@xml = Nokogiri::XML('<r xmlns="v"><s /></r>')
|
48
|
+
tag = @xml.at('s')
|
49
|
+
assert tag.namespace
|
50
|
+
tag.namespace = nil
|
51
|
+
assert_nil tag.namespace
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_parse_needs_doc
|
55
|
+
list = @xml.root.parse('fooooooo <hello />')
|
56
|
+
assert_equal 1, list.css('hello').length
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_parse
|
60
|
+
list = @xml.root.parse('fooooooo <hello />')
|
61
|
+
assert_equal 2, list.length
|
62
|
+
end
|
63
|
+
|
64
|
+
def test_parse_with_block
|
65
|
+
called = false
|
66
|
+
list = @xml.root.parse('<hello />') { |cfg|
|
67
|
+
called = true
|
68
|
+
assert_instance_of Nokogiri::XML::ParseOptions, cfg
|
69
|
+
}
|
70
|
+
assert called, 'config block called'
|
71
|
+
assert_equal 1, list.length
|
72
|
+
end
|
73
|
+
|
74
|
+
def test_parse_with_io
|
75
|
+
list = @xml.root.parse(StringIO.new('<hello />'))
|
76
|
+
assert_equal 1, list.length
|
77
|
+
assert_equal 'hello', list.first.name
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_parse_with_empty_string
|
81
|
+
list = @xml.root.parse('')
|
82
|
+
assert_equal 0, list.length
|
83
|
+
end
|
84
|
+
|
85
|
+
def test_parse_config_option
|
86
|
+
node = @xml.root
|
87
|
+
options = nil
|
88
|
+
node.parse("<item></item>") do |config|
|
89
|
+
options = config
|
90
|
+
end
|
91
|
+
assert_equal Nokogiri::XML::ParseOptions::DEFAULT_XML, options.to_i
|
92
|
+
end
|
93
|
+
|
94
|
+
# descriptive, not prescriptive.
|
95
|
+
def test_parse_invalid_html_markup_results_in_empty_nodeset
|
96
|
+
doc = Nokogiri::HTML("<html></html>")
|
97
|
+
nodeset = doc.root.parse "<div><div>a</div><snippet>b</snippet></div>"
|
98
|
+
assert_equal 1, doc.errors.length # "Tag snippet invalid"
|
99
|
+
assert_equal 1, nodeset.length
|
100
|
+
end
|
101
|
+
|
102
|
+
def test_node_context_parsing_of_malformed_html_fragment_with_recover_is_corrected
|
103
|
+
doc = HTML.parse "<html><body><div></div></body></html>"
|
104
|
+
context_node = doc.at_css "div"
|
105
|
+
nodeset = context_node.parse("<div </div>") do |options|
|
106
|
+
options.recover
|
107
|
+
end
|
108
|
+
assert_equal "<div></div>", nodeset.to_s
|
109
|
+
assert_equal 1, doc.errors.length
|
110
|
+
assert_equal 1, nodeset.length
|
111
|
+
end
|
112
|
+
|
113
|
+
def test_node_context_parsing_of_malformed_html_fragment_without_recover_is_not_corrected
|
114
|
+
doc = HTML.parse "<html><body><div></div></body></html>"
|
115
|
+
context_node = doc.at_css "div"
|
116
|
+
nodeset = context_node.parse("<div </div>") do |options|
|
117
|
+
options.strict
|
118
|
+
end
|
119
|
+
assert_equal 1, doc.errors.length
|
120
|
+
assert_equal 0, nodeset.length
|
121
|
+
end
|
122
|
+
|
123
|
+
def test_parse_error_list
|
124
|
+
error_count = @xml.errors.length
|
125
|
+
@xml.root.parse('<hello>')
|
126
|
+
assert(error_count < @xml.errors.length, "errors should have increased")
|
127
|
+
end
|
128
|
+
|
129
|
+
def test_subclass_dup
|
130
|
+
subclass = Class.new(Nokogiri::XML::Node)
|
131
|
+
node = subclass.new('foo', @xml).dup
|
132
|
+
assert_instance_of subclass, node
|
133
|
+
end
|
134
|
+
|
135
|
+
def test_gt_string_arg
|
136
|
+
node = @xml.at('employee')
|
137
|
+
nodes = (node > 'name')
|
138
|
+
assert_equal 1, nodes.length
|
139
|
+
assert_equal node, nodes.first.parent
|
140
|
+
end
|
141
|
+
|
142
|
+
def test_next_element_when_next_sibling_is_element_should_return_next_sibling
|
143
|
+
doc = Nokogiri::XML "<root><foo /><quux /></root>"
|
144
|
+
node = doc.at_css("foo")
|
145
|
+
next_element = node.next_element
|
146
|
+
assert next_element.element?
|
147
|
+
assert_equal doc.at_css("quux"), next_element
|
148
|
+
end
|
149
|
+
|
150
|
+
def test_next_element_when_there_is_no_next_sibling_should_return_nil
|
151
|
+
doc = Nokogiri::XML "<root><foo /><quux /></root>"
|
152
|
+
assert_nil doc.at_css("quux").next_element
|
153
|
+
end
|
154
|
+
|
155
|
+
def test_next_element_when_next_sibling_is_not_an_element_should_return_closest_next_element_sibling
|
156
|
+
doc = Nokogiri::XML "<root><foo />bar<quux /></root>"
|
157
|
+
node = doc.at_css("foo")
|
158
|
+
next_element = node.next_element
|
159
|
+
assert next_element.element?
|
160
|
+
assert_equal doc.at_css("quux"), next_element
|
161
|
+
end
|
162
|
+
|
163
|
+
def test_next_element_when_next_sibling_is_not_an_element_and_no_following_element_should_return_nil
|
164
|
+
doc = Nokogiri::XML "<root><foo />bar</root>"
|
165
|
+
node = doc.at_css("foo")
|
166
|
+
next_element = node.next_element
|
167
|
+
assert_nil next_element
|
168
|
+
end
|
169
|
+
|
170
|
+
def test_previous_element_when_previous_sibling_is_element_should_return_previous_sibling
|
171
|
+
doc = Nokogiri::XML "<root><foo /><quux /></root>"
|
172
|
+
node = doc.at_css("quux")
|
173
|
+
previous_element = node.previous_element
|
174
|
+
assert previous_element.element?
|
175
|
+
assert_equal doc.at_css("foo"), previous_element
|
176
|
+
end
|
177
|
+
|
178
|
+
def test_previous_element_when_there_is_no_previous_sibling_should_return_nil
|
179
|
+
doc = Nokogiri::XML "<root><foo /><quux /></root>"
|
180
|
+
assert_nil doc.at_css("foo").previous_element
|
181
|
+
end
|
182
|
+
|
183
|
+
def test_previous_element_when_previous_sibling_is_not_an_element_should_return_closest_previous_element_sibling
|
184
|
+
doc = Nokogiri::XML "<root><foo />bar<quux /></root>"
|
185
|
+
node = doc.at_css("quux")
|
186
|
+
previous_element = node.previous_element
|
187
|
+
assert previous_element.element?
|
188
|
+
assert_equal doc.at_css("foo"), previous_element
|
189
|
+
end
|
190
|
+
|
191
|
+
def test_previous_element_when_previous_sibling_is_not_an_element_and_no_following_element_should_return_nil
|
192
|
+
doc = Nokogiri::XML "<root>foo<bar /></root>"
|
193
|
+
node = doc.at_css("bar")
|
194
|
+
previous_element = node.previous_element
|
195
|
+
assert_nil previous_element
|
196
|
+
end
|
197
|
+
|
198
|
+
def test_element?
|
199
|
+
assert @xml.root.element?, 'is an element'
|
200
|
+
end
|
201
|
+
|
202
|
+
def test_slash_search
|
203
|
+
assert_equal 'EMP0001', (@xml/:staff/:employee/:employeeId).first.text
|
204
|
+
end
|
205
|
+
|
206
|
+
def test_append_with_document
|
207
|
+
assert_raises(ArgumentError) do
|
208
|
+
@xml.root << Nokogiri::XML::Document.new
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
def test_inspect_ns
|
213
|
+
xml = Nokogiri::XML(<<-eoxml) { |c| c.noblanks }
|
214
|
+
<root xmlns="http://tenderlovemaking.com/" xmlns:foo="bar">
|
215
|
+
<awesome/>
|
216
|
+
</root>
|
217
|
+
eoxml
|
218
|
+
ins = xml.inspect
|
219
|
+
|
220
|
+
xml.traverse do |node|
|
221
|
+
assert_match node.class.name, ins
|
222
|
+
if node.respond_to? :attributes
|
223
|
+
node.attributes.each do |k,v|
|
224
|
+
assert_match k, ins
|
225
|
+
assert_match v, ins
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
if node.respond_to?(:namespace) && node.namespace
|
230
|
+
assert_match node.namespace.class.name, ins
|
231
|
+
assert_match node.namespace.href, ins
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
def test_namespace_definitions_when_some_exist
|
237
|
+
xml = Nokogiri::XML <<-eoxml
|
238
|
+
<root xmlns="http://tenderlovemaking.com/" xmlns:foo="bar">
|
239
|
+
<awesome/>
|
240
|
+
</root>
|
241
|
+
eoxml
|
242
|
+
namespace_definitions = xml.root.namespace_definitions
|
243
|
+
assert_equal 2, namespace_definitions.length
|
244
|
+
end
|
245
|
+
|
246
|
+
def test_namespace_definitions_when_no_exist
|
247
|
+
xml = Nokogiri::XML <<-eoxml
|
248
|
+
<root xmlns="http://tenderlovemaking.com/" xmlns:foo="bar">
|
249
|
+
<awesome/>
|
250
|
+
</root>
|
251
|
+
eoxml
|
252
|
+
namespace_definitions = xml.at_xpath('//xmlns:awesome').namespace_definitions
|
253
|
+
assert_equal 0, namespace_definitions.length
|
254
|
+
end
|
255
|
+
|
256
|
+
def test_namespace_goes_to_children
|
257
|
+
fruits = Nokogiri::XML(<<-eoxml)
|
258
|
+
<Fruit xmlns='www.fruits.org'>
|
259
|
+
</Fruit>
|
260
|
+
eoxml
|
261
|
+
apple = Nokogiri::XML::Node.new('Apple', fruits)
|
262
|
+
orange = Nokogiri::XML::Node.new('Orange', fruits)
|
263
|
+
apple << orange
|
264
|
+
fruits.root << apple
|
265
|
+
assert fruits.at('//fruit:Orange',{'fruit'=>'www.fruits.org'})
|
266
|
+
assert fruits.at('//fruit:Apple',{'fruit'=>'www.fruits.org'})
|
267
|
+
end
|
268
|
+
|
269
|
+
def test_description
|
270
|
+
assert_nil @xml.at('employee').description
|
271
|
+
end
|
272
|
+
|
273
|
+
def test_spaceship
|
274
|
+
nodes = @xml.xpath('//employee')
|
275
|
+
assert_equal(-1, (nodes.first <=> nodes.last))
|
276
|
+
list = [nodes.first, nodes.last].sort
|
277
|
+
assert_equal nodes.first, list.first
|
278
|
+
assert_equal nodes.last, list.last
|
279
|
+
end
|
280
|
+
|
281
|
+
def test_incorrect_spaceship
|
282
|
+
nodes = @xml.xpath('//employee')
|
283
|
+
assert_nil(nodes.first <=> 'asdf')
|
284
|
+
end
|
285
|
+
|
286
|
+
def test_document_compare
|
287
|
+
nodes = @xml.xpath('//employee')
|
288
|
+
assert_equal(-1, (nodes.first <=> @xml))
|
289
|
+
end
|
290
|
+
|
291
|
+
def test_different_document_compare
|
292
|
+
nodes = @xml.xpath('//employee')
|
293
|
+
doc = Nokogiri::XML('<a><b/></a>')
|
294
|
+
b = doc.at('b')
|
295
|
+
assert_nil(nodes.first <=> b)
|
296
|
+
end
|
297
|
+
|
298
|
+
def test_duplicate_node_removes_namespace
|
299
|
+
fruits = Nokogiri::XML(<<-eoxml)
|
300
|
+
<Fruit xmlns='www.fruits.org'>
|
301
|
+
<Apple></Apple>
|
302
|
+
</Fruit>
|
303
|
+
eoxml
|
304
|
+
apple = fruits.root.xpath('fruit:Apple', {'fruit'=>'www.fruits.org'})[0]
|
305
|
+
new_apple = apple.dup
|
306
|
+
fruits.root << new_apple
|
307
|
+
assert_equal 2, fruits.xpath('//xmlns:Apple').length
|
308
|
+
assert_equal 1, fruits.to_xml.scan('www.fruits.org').length
|
309
|
+
end
|
310
|
+
|
311
|
+
[:clone, :dup].each do |symbol|
|
312
|
+
define_method "test_#{symbol}" do
|
313
|
+
node = @xml.at('//employee')
|
314
|
+
other = node.send(symbol)
|
315
|
+
assert_equal "employee", other.name
|
316
|
+
assert_nil other.parent
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
def test_fragment_creates_elements
|
321
|
+
apple = @xml.fragment('<Apple/>')
|
322
|
+
apple.children.each do |child|
|
323
|
+
assert_equal Nokogiri::XML::Node::ELEMENT_NODE, child.type
|
324
|
+
assert_instance_of Nokogiri::XML::Element, child
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
def test_node_added_to_root_should_get_namespace
|
329
|
+
fruits = Nokogiri::XML(<<-eoxml)
|
330
|
+
<Fruit xmlns='http://www.fruits.org'>
|
331
|
+
</Fruit>
|
332
|
+
eoxml
|
333
|
+
apple = fruits.fragment('<Apple/>')
|
334
|
+
fruits.root << apple
|
335
|
+
assert_equal 1, fruits.xpath('//xmlns:Apple').length
|
336
|
+
end
|
337
|
+
|
338
|
+
def test_new_node_can_have_ancestors
|
339
|
+
xml = Nokogiri::XML('<root>text</root>')
|
340
|
+
item = Nokogiri::XML::Element.new('item', xml)
|
341
|
+
assert_equal 0, item.ancestors.length
|
342
|
+
end
|
343
|
+
|
344
|
+
def test_children
|
345
|
+
doc = Nokogiri::XML(<<-eoxml)
|
346
|
+
<root>#{'<a/>' * 9 }</root>
|
347
|
+
eoxml
|
348
|
+
assert_equal 9, doc.root.children.length
|
349
|
+
assert_equal 9, doc.root.children.to_a.length
|
350
|
+
|
351
|
+
doc = Nokogiri::XML(<<-eoxml)
|
352
|
+
<root>#{'<a/>' * 15 }</root>
|
353
|
+
eoxml
|
354
|
+
assert_equal 15, doc.root.children.length
|
355
|
+
assert_equal 15, doc.root.children.to_a.length
|
356
|
+
end
|
357
|
+
|
358
|
+
def test_add_namespace
|
359
|
+
node = @xml.at('address')
|
360
|
+
node.add_namespace('foo', 'http://tenderlovemaking.com')
|
361
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns:foo']
|
362
|
+
end
|
363
|
+
|
364
|
+
def test_add_namespace_twice
|
365
|
+
node = @xml.at('address')
|
366
|
+
ns = node.add_namespace('foo', 'http://tenderlovemaking.com')
|
367
|
+
ns2 = node.add_namespace('foo', 'http://tenderlovemaking.com')
|
368
|
+
assert_equal ns, ns2
|
369
|
+
end
|
370
|
+
|
371
|
+
def test_add_default_ns
|
372
|
+
node = @xml.at('address')
|
373
|
+
node.add_namespace(nil, 'http://tenderlovemaking.com')
|
374
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns']
|
375
|
+
end
|
376
|
+
|
377
|
+
def test_add_multiple_namespaces
|
378
|
+
node = @xml.at('address')
|
379
|
+
|
380
|
+
node.add_namespace(nil, 'http://tenderlovemaking.com')
|
381
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns']
|
382
|
+
|
383
|
+
node.add_namespace('foo', 'http://tenderlovemaking.com')
|
384
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns:foo']
|
385
|
+
end
|
386
|
+
|
387
|
+
def test_default_namespace=
|
388
|
+
node = @xml.at('address')
|
389
|
+
node.default_namespace = 'http://tenderlovemaking.com'
|
390
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns']
|
391
|
+
end
|
392
|
+
|
393
|
+
def test_namespace=
|
394
|
+
node = @xml.at('address')
|
395
|
+
assert_nil node.namespace
|
396
|
+
definition = node.add_namespace_definition 'bar', 'http://tlm.com/'
|
397
|
+
|
398
|
+
node.namespace = definition
|
399
|
+
|
400
|
+
assert_equal definition, node.namespace
|
401
|
+
|
402
|
+
assert_equal node, @xml.at('//foo:address', {
|
403
|
+
'foo' => 'http://tlm.com/'
|
404
|
+
})
|
405
|
+
end
|
406
|
+
|
407
|
+
def test_add_namespace_with_nil_associates_node
|
408
|
+
node = @xml.at('address')
|
409
|
+
assert_nil node.namespace
|
410
|
+
definition = node.add_namespace_definition nil, 'http://tlm.com/'
|
411
|
+
assert_equal definition, node.namespace
|
412
|
+
end
|
413
|
+
|
414
|
+
def test_add_namespace_does_not_associate_node
|
415
|
+
node = @xml.at('address')
|
416
|
+
assert_nil node.namespace
|
417
|
+
assert node.add_namespace_definition 'foo', 'http://tlm.com/'
|
418
|
+
assert_nil node.namespace
|
419
|
+
end
|
420
|
+
|
421
|
+
def test_set_namespace_from_different_doc
|
422
|
+
node = @xml.at('address')
|
423
|
+
doc = Nokogiri::XML(File.read(XML_FILE), XML_FILE)
|
424
|
+
decl = doc.root.add_namespace_definition 'foo', 'bar'
|
425
|
+
|
426
|
+
assert_raises(ArgumentError) do
|
427
|
+
node.namespace = decl
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
def test_set_namespace_must_only_take_a_namespace
|
432
|
+
node = @xml.at('address')
|
433
|
+
assert_raises(TypeError) do
|
434
|
+
node.namespace = node
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
def test_at
|
439
|
+
node = @xml.at('address')
|
440
|
+
assert_equal node, @xml.xpath('//address').first
|
441
|
+
end
|
442
|
+
|
443
|
+
def test_at_xpath
|
444
|
+
node = @xml.at_xpath('//address')
|
445
|
+
nodes = @xml.xpath('//address')
|
446
|
+
assert_equal 5, nodes.size
|
447
|
+
assert_equal node, nodes.first
|
448
|
+
end
|
449
|
+
|
450
|
+
def test_at_css
|
451
|
+
node = @xml.at_css('address')
|
452
|
+
nodes = @xml.css('address')
|
453
|
+
assert_equal 5, nodes.size
|
454
|
+
assert_equal node, nodes.first
|
455
|
+
end
|
456
|
+
|
457
|
+
def test_percent
|
458
|
+
node = @xml % ('address')
|
459
|
+
assert_equal node, @xml.xpath('//address').first
|
460
|
+
end
|
461
|
+
|
462
|
+
def test_accept
|
463
|
+
visitor = Class.new {
|
464
|
+
attr_accessor :visited
|
465
|
+
def accept target
|
466
|
+
target.accept(self)
|
467
|
+
end
|
468
|
+
|
469
|
+
def visit node
|
470
|
+
node.children.each { |c| c.accept(self) }
|
471
|
+
@visited = true
|
472
|
+
end
|
473
|
+
}.new
|
474
|
+
visitor.accept(@xml.root)
|
475
|
+
assert visitor.visited
|
476
|
+
end
|
477
|
+
|
478
|
+
def test_write_to
|
479
|
+
io = StringIO.new
|
480
|
+
@xml.write_to io
|
481
|
+
io.rewind
|
482
|
+
assert_equal @xml.to_xml, io.read
|
483
|
+
end
|
484
|
+
|
485
|
+
def test_attribute_with_symbol
|
486
|
+
assert_equal 'Yes', @xml.css('address').first[:domestic]
|
487
|
+
end
|
488
|
+
|
489
|
+
def test_non_existent_attribute_should_return_nil
|
490
|
+
node = @xml.root.first_element_child
|
491
|
+
assert_nil node.attribute('type')
|
492
|
+
end
|
493
|
+
|
494
|
+
def test_write_to_with_block
|
495
|
+
called = false
|
496
|
+
io = StringIO.new
|
497
|
+
conf = nil
|
498
|
+
@xml.write_to io do |config|
|
499
|
+
called = true
|
500
|
+
conf = config
|
501
|
+
config.format.as_html.no_empty_tags
|
502
|
+
end
|
503
|
+
io.rewind
|
504
|
+
assert called
|
505
|
+
string = io.read
|
506
|
+
assert_equal @xml.serialize(nil, conf.options), string
|
507
|
+
assert_equal @xml.serialize(nil, conf), string
|
508
|
+
end
|
509
|
+
|
510
|
+
%w{ xml html xhtml }.each do |type|
|
511
|
+
define_method(:"test_write_#{type}_to") do
|
512
|
+
io = StringIO.new
|
513
|
+
assert @xml.send(:"write_#{type}_to", io)
|
514
|
+
io.rewind
|
515
|
+
assert_match @xml.send(:"to_#{type}"), io.read
|
516
|
+
end
|
517
|
+
end
|
518
|
+
|
519
|
+
def test_serialize_with_block
|
520
|
+
called = false
|
521
|
+
conf = nil
|
522
|
+
string = @xml.serialize do |config|
|
523
|
+
called = true
|
524
|
+
conf = config
|
525
|
+
config.format.as_html.no_empty_tags
|
526
|
+
end
|
527
|
+
assert called
|
528
|
+
assert_equal @xml.serialize(nil, conf.options), string
|
529
|
+
assert_equal @xml.serialize(nil, conf), string
|
530
|
+
end
|
531
|
+
|
532
|
+
def test_hold_refence_to_subnode
|
533
|
+
doc = Nokogiri::XML(<<-eoxml)
|
534
|
+
<root>
|
535
|
+
<a>
|
536
|
+
<b />
|
537
|
+
</a>
|
538
|
+
</root>
|
539
|
+
eoxml
|
540
|
+
assert node_a = doc.css('a').first
|
541
|
+
assert node_b = node_a.css('b').first
|
542
|
+
node_a.unlink
|
543
|
+
assert_equal 'b', node_b.name
|
544
|
+
end
|
545
|
+
|
546
|
+
def test_values
|
547
|
+
assert_equal %w{ Yes Yes }, @xml.xpath('//address')[1].values
|
548
|
+
end
|
549
|
+
|
550
|
+
def test_keys
|
551
|
+
assert_equal %w{ domestic street }, @xml.xpath('//address')[1].keys
|
552
|
+
end
|
553
|
+
|
554
|
+
def test_each
|
555
|
+
attributes = []
|
556
|
+
@xml.xpath('//address')[1].each do |key, value|
|
557
|
+
attributes << [key, value]
|
558
|
+
end
|
559
|
+
assert_equal [['domestic', 'Yes'], ['street', 'Yes']], attributes
|
560
|
+
end
|
561
|
+
|
562
|
+
def test_new
|
563
|
+
assert node = Nokogiri::XML::Node.new('input', @xml)
|
564
|
+
assert_equal 1, node.node_type
|
565
|
+
assert_instance_of Nokogiri::XML::Element, node
|
566
|
+
end
|
567
|
+
|
568
|
+
def test_to_str
|
569
|
+
name = @xml.xpath('//name').first
|
570
|
+
assert_match(/Margaret/, '' + name)
|
571
|
+
assert_equal('Margaret Martin', '' + name.children.first)
|
572
|
+
end
|
573
|
+
|
574
|
+
def test_ancestors
|
575
|
+
address = @xml.xpath('//address').first
|
576
|
+
assert_equal 3, address.ancestors.length
|
577
|
+
assert_equal ['employee', 'staff', 'document'],
|
578
|
+
address.ancestors.map { |x| x.name }
|
579
|
+
end
|
580
|
+
|
581
|
+
def test_read_only?
|
582
|
+
assert entity_decl = @xml.internal_subset.children.find { |x|
|
583
|
+
x.type == Node::ENTITY_DECL
|
584
|
+
}
|
585
|
+
assert entity_decl.read_only?
|
586
|
+
end
|
587
|
+
|
588
|
+
def test_remove_attribute
|
589
|
+
address = @xml.xpath('/staff/employee/address').first
|
590
|
+
assert_equal 'Yes', address['domestic']
|
591
|
+
address.remove_attribute 'domestic'
|
592
|
+
assert_nil address['domestic']
|
593
|
+
end
|
594
|
+
|
595
|
+
def test_delete
|
596
|
+
address = @xml.xpath('/staff/employee/address').first
|
597
|
+
assert_equal 'Yes', address['domestic']
|
598
|
+
address.delete 'domestic'
|
599
|
+
assert_nil address['domestic']
|
600
|
+
end
|
601
|
+
|
602
|
+
def test_set_content_with_symbol
|
603
|
+
node = @xml.at('//name')
|
604
|
+
node.content = :foo
|
605
|
+
assert_equal 'foo', node.content
|
606
|
+
end
|
607
|
+
|
608
|
+
def test_find_by_css_with_tilde_eql
|
609
|
+
xml = Nokogiri::XML.parse(<<-eoxml)
|
610
|
+
<root>
|
611
|
+
<a>Hello world</a>
|
612
|
+
<a class='foo bar'>Bar</a>
|
613
|
+
<a class='bar foo'>Bar</a>
|
614
|
+
<a class='bar'>Bar</a>
|
615
|
+
<a class='baz bar foo'>Bar</a>
|
616
|
+
<a class='bazbarfoo'>Awesome</a>
|
617
|
+
<a class='bazbar'>Awesome</a>
|
618
|
+
</root>
|
619
|
+
eoxml
|
620
|
+
set = xml.css('a[@class~="bar"]')
|
621
|
+
assert_equal 4, set.length
|
622
|
+
assert_equal ['Bar'], set.map { |node| node.content }.uniq
|
623
|
+
end
|
624
|
+
|
625
|
+
def test_unlink
|
626
|
+
xml = Nokogiri::XML.parse(<<-eoxml)
|
627
|
+
<root>
|
628
|
+
<a class='foo bar'>Bar</a>
|
629
|
+
<a class='bar foo'>Bar</a>
|
630
|
+
<a class='bar'>Bar</a>
|
631
|
+
<a>Hello world</a>
|
632
|
+
<a class='baz bar foo'>Bar</a>
|
633
|
+
<a class='bazbarfoo'>Awesome</a>
|
634
|
+
<a class='bazbar'>Awesome</a>
|
635
|
+
</root>
|
636
|
+
eoxml
|
637
|
+
node = xml.xpath('//a')[3]
|
638
|
+
assert_equal('Hello world', node.text)
|
639
|
+
assert_match(/Hello world/, xml.to_s)
|
640
|
+
assert node.parent
|
641
|
+
assert node.document
|
642
|
+
assert node.previous_sibling
|
643
|
+
assert node.next_sibling
|
644
|
+
node.unlink
|
645
|
+
assert !node.parent
|
646
|
+
#assert !node.document
|
647
|
+
assert !node.previous_sibling
|
648
|
+
assert !node.next_sibling
|
649
|
+
assert_no_match(/Hello world/, xml.to_s)
|
650
|
+
end
|
651
|
+
|
652
|
+
def test_next_sibling
|
653
|
+
assert node = @xml.root
|
654
|
+
assert sibling = node.child.next_sibling
|
655
|
+
assert_equal('employee', sibling.name)
|
656
|
+
end
|
657
|
+
|
658
|
+
def test_previous_sibling
|
659
|
+
assert node = @xml.root
|
660
|
+
assert sibling = node.child.next_sibling
|
661
|
+
assert_equal('employee', sibling.name)
|
662
|
+
assert_equal(sibling.previous_sibling, node.child)
|
663
|
+
end
|
664
|
+
|
665
|
+
def test_name=
|
666
|
+
assert node = @xml.root
|
667
|
+
node.name = 'awesome'
|
668
|
+
assert_equal('awesome', node.name)
|
669
|
+
end
|
670
|
+
|
671
|
+
def test_child
|
672
|
+
assert node = @xml.root
|
673
|
+
assert child = node.child
|
674
|
+
assert_equal('text', child.name)
|
675
|
+
end
|
676
|
+
|
677
|
+
def test_key?
|
678
|
+
assert node = @xml.search('//address').first
|
679
|
+
assert(!node.key?('asdfasdf'))
|
680
|
+
end
|
681
|
+
|
682
|
+
def test_set_property
|
683
|
+
assert node = @xml.search('//address').first
|
684
|
+
node['foo'] = 'bar'
|
685
|
+
assert_equal('bar', node['foo'])
|
686
|
+
end
|
687
|
+
|
688
|
+
def test_attributes
|
689
|
+
assert node = @xml.search('//address').first
|
690
|
+
assert_nil(node['asdfasdfasdf'])
|
691
|
+
assert_equal('Yes', node['domestic'])
|
692
|
+
|
693
|
+
assert node = @xml.search('//address')[2]
|
694
|
+
attr = node.attributes
|
695
|
+
assert_equal 2, attr.size
|
696
|
+
assert_equal 'Yes', attr['domestic'].value
|
697
|
+
assert_equal 'Yes', attr['domestic'].to_s
|
698
|
+
assert_equal 'No', attr['street'].value
|
699
|
+
end
|
700
|
+
|
701
|
+
def test_path
|
702
|
+
assert set = @xml.search('//employee')
|
703
|
+
assert node = set.first
|
704
|
+
assert_equal('/staff/employee[1]', node.path)
|
705
|
+
end
|
706
|
+
|
707
|
+
def test_parent_xpath
|
708
|
+
assert set = @xml.search('//employee')
|
709
|
+
assert node = set.first
|
710
|
+
assert parent_set = node.search('..')
|
711
|
+
assert parent_node = parent_set.first
|
712
|
+
assert_equal '/staff', parent_node.path
|
713
|
+
assert_equal node.parent, parent_node
|
714
|
+
end
|
715
|
+
|
716
|
+
def test_search_by_symbol
|
717
|
+
assert set = @xml.search(:employee)
|
718
|
+
assert 5, set.length
|
719
|
+
|
720
|
+
assert node = @xml.at(:employee)
|
721
|
+
assert node.text =~ /EMP0001/
|
722
|
+
end
|
723
|
+
|
724
|
+
def test_new_node
|
725
|
+
node = Nokogiri::XML::Node.new('form', @xml)
|
726
|
+
assert_equal('form', node.name)
|
727
|
+
assert(node.document)
|
728
|
+
end
|
729
|
+
|
730
|
+
def test_encode_special_chars
|
731
|
+
foo = @xml.css('employee').first.encode_special_chars('&')
|
732
|
+
assert_equal '&', foo
|
733
|
+
end
|
734
|
+
|
735
|
+
def test_content_equals
|
736
|
+
node = Nokogiri::XML::Node.new('form', @xml)
|
737
|
+
assert_equal('', node.content)
|
738
|
+
|
739
|
+
node.content = 'hello world!'
|
740
|
+
assert_equal('hello world!', node.content)
|
741
|
+
|
742
|
+
node.content = '& <foo> &'
|
743
|
+
assert_equal('& <foo> &', node.content)
|
744
|
+
assert_equal('<form>& <foo> &amp;</form>', node.to_xml)
|
745
|
+
|
746
|
+
node.content = "1234 <-> 1234"
|
747
|
+
assert_equal "1234 <-> 1234", node.content
|
748
|
+
assert_equal "<form>1234 <-> 1234</form>", node.to_xml
|
749
|
+
end
|
750
|
+
|
751
|
+
def test_set_content_should_unlink_existing_content
|
752
|
+
node = @xml.at_css("employee")
|
753
|
+
children = node.children
|
754
|
+
node.content = "hello"
|
755
|
+
children.each { |child| assert_nil child.parent }
|
756
|
+
end
|
757
|
+
|
758
|
+
def test_whitespace_nodes
|
759
|
+
doc = Nokogiri::XML.parse("<root><b>Foo</b>\n<i>Bar</i> <p>Bazz</p></root>")
|
760
|
+
children = doc.at('//root').children.collect{|j| j.to_s}
|
761
|
+
assert_equal "\n", children[1]
|
762
|
+
assert_equal " ", children[3]
|
763
|
+
end
|
764
|
+
|
765
|
+
def test_node_equality
|
766
|
+
doc1 = Nokogiri::XML.parse(File.read(XML_FILE), XML_FILE)
|
767
|
+
doc2 = Nokogiri::XML.parse(File.read(XML_FILE), XML_FILE)
|
768
|
+
|
769
|
+
address1_1 = doc1.xpath('//address').first
|
770
|
+
address1_2 = doc1.xpath('//address').first
|
771
|
+
|
772
|
+
address2 = doc2.xpath('//address').first
|
773
|
+
|
774
|
+
assert_not_equal address1_1, address2 # two references to very, very similar nodes
|
775
|
+
assert_equal address1_1, address1_2 # two references to the exact same node
|
776
|
+
end
|
777
|
+
|
778
|
+
def test_namespace_search_with_xpath_and_hash
|
779
|
+
xml = Nokogiri::XML.parse(<<-eoxml)
|
780
|
+
<root>
|
781
|
+
<car xmlns:part="http://general-motors.com/">
|
782
|
+
<part:tire>Michelin Model XGV</part:tire>
|
783
|
+
</car>
|
784
|
+
<bicycle xmlns:part="http://schwinn.com/">
|
785
|
+
<part:tire>I'm a bicycle tire!</part:tire>
|
786
|
+
</bicycle>
|
787
|
+
</root>
|
788
|
+
eoxml
|
789
|
+
|
790
|
+
tires = xml.xpath('//bike:tire', {'bike' => 'http://schwinn.com/'})
|
791
|
+
assert_equal 1, tires.length
|
792
|
+
end
|
793
|
+
|
794
|
+
def test_namespace_search_with_css
|
795
|
+
xml = Nokogiri::XML.parse(<<-eoxml)
|
796
|
+
<root>
|
797
|
+
<car xmlns:part="http://general-motors.com/">
|
798
|
+
<part:tire>Michelin Model XGV</part:tire>
|
799
|
+
</car>
|
800
|
+
<bicycle xmlns:part="http://schwinn.com/">
|
801
|
+
<part:tire>I'm a bicycle tire!</part:tire>
|
802
|
+
</bicycle>
|
803
|
+
</root>
|
804
|
+
eoxml
|
805
|
+
|
806
|
+
tires = xml.css('bike|tire', 'bike' => 'http://schwinn.com/')
|
807
|
+
assert_equal 1, tires.length
|
808
|
+
end
|
809
|
+
|
810
|
+
def test_namespaces_should_include_all_namespace_definitions
|
811
|
+
xml = Nokogiri::XML.parse(<<-EOF)
|
812
|
+
<x xmlns="http://quux.com/" xmlns:a="http://foo.com/" xmlns:b="http://bar.com/">
|
813
|
+
<y xmlns:c="http://bazz.com/">
|
814
|
+
<z>hello</z>
|
815
|
+
<a xmlns:c="http://newc.com/" />
|
816
|
+
</y>
|
817
|
+
</x>
|
818
|
+
EOF
|
819
|
+
|
820
|
+
namespaces = xml.namespaces # Document#namespace
|
821
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
822
|
+
"xmlns:a" => "http://foo.com/",
|
823
|
+
"xmlns:b" => "http://bar.com/"}, namespaces)
|
824
|
+
|
825
|
+
namespaces = xml.root.namespaces
|
826
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
827
|
+
"xmlns:a" => "http://foo.com/",
|
828
|
+
"xmlns:b" => "http://bar.com/"}, namespaces)
|
829
|
+
|
830
|
+
namespaces = xml.at_xpath("//xmlns:y").namespaces
|
831
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
832
|
+
"xmlns:a" => "http://foo.com/",
|
833
|
+
"xmlns:b" => "http://bar.com/",
|
834
|
+
"xmlns:c" => "http://bazz.com/"}, namespaces)
|
835
|
+
|
836
|
+
namespaces = xml.at_xpath("//xmlns:z").namespaces
|
837
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
838
|
+
"xmlns:a" => "http://foo.com/",
|
839
|
+
"xmlns:b" => "http://bar.com/",
|
840
|
+
"xmlns:c" => "http://bazz.com/"}, namespaces)
|
841
|
+
|
842
|
+
namespaces = xml.at_xpath("//xmlns:a").namespaces
|
843
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
844
|
+
"xmlns:a" => "http://foo.com/",
|
845
|
+
"xmlns:b" => "http://bar.com/",
|
846
|
+
"xmlns:c" => "http://newc.com/"}, namespaces)
|
847
|
+
end
|
848
|
+
|
849
|
+
def test_namespace
|
850
|
+
xml = Nokogiri::XML.parse(<<-EOF)
|
851
|
+
<x xmlns:a='http://foo.com/' xmlns:b='http://bar.com/'>
|
852
|
+
<y xmlns:c='http://bazz.com/'>
|
853
|
+
<a:div>hello a</a:div>
|
854
|
+
<b:div>hello b</b:div>
|
855
|
+
<c:div>hello c</c:div>
|
856
|
+
<div>hello moon</div>
|
857
|
+
</y>
|
858
|
+
</x>
|
859
|
+
EOF
|
860
|
+
set = xml.search("//y/*")
|
861
|
+
assert_equal "a", set[0].namespace.prefix
|
862
|
+
assert_equal "b", set[1].namespace.prefix
|
863
|
+
assert_equal "c", set[2].namespace.prefix
|
864
|
+
assert_equal nil, set[3].namespace
|
865
|
+
end
|
866
|
+
|
867
|
+
if Nokogiri.uses_libxml?
|
868
|
+
def test_namespace_without_an_href_on_html_node
|
869
|
+
# because microsoft word's HTML formatting does this. ick.
|
870
|
+
xml = Nokogiri::HTML.parse <<-EOF
|
871
|
+
<div><o:p>foo</o:p></div>
|
872
|
+
EOF
|
873
|
+
|
874
|
+
assert_not_nil(node = xml.at('p'))
|
875
|
+
|
876
|
+
assert_equal 1, node.namespaces.keys.size
|
877
|
+
assert node.namespaces.has_key?('xmlns:o')
|
878
|
+
assert_equal nil, node.namespaces['xmlns:o']
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
882
|
+
def test_line
|
883
|
+
xml = Nokogiri::XML(<<-eoxml)
|
884
|
+
<root>
|
885
|
+
<a>
|
886
|
+
Hello world
|
887
|
+
</a>
|
888
|
+
</root>
|
889
|
+
eoxml
|
890
|
+
|
891
|
+
set = xml.search("//a")
|
892
|
+
node = set.first
|
893
|
+
assert_equal 2, node.line
|
894
|
+
end
|
895
|
+
|
896
|
+
def test_xpath_results_have_document_and_are_decorated
|
897
|
+
x = Module.new do
|
898
|
+
def awesome! ; end
|
899
|
+
end
|
900
|
+
util_decorate(@xml, x)
|
901
|
+
node_set = @xml.xpath("//employee")
|
902
|
+
assert_equal @xml, node_set.document
|
903
|
+
assert node_set.respond_to?(:awesome!)
|
904
|
+
end
|
905
|
+
|
906
|
+
def test_css_results_have_document_and_are_decorated
|
907
|
+
x = Module.new do
|
908
|
+
def awesome! ; end
|
909
|
+
end
|
910
|
+
util_decorate(@xml, x)
|
911
|
+
node_set = @xml.css("employee")
|
912
|
+
assert_equal @xml, node_set.document
|
913
|
+
assert node_set.respond_to?(:awesome!)
|
914
|
+
end
|
915
|
+
end
|
916
|
+
end
|
917
|
+
end
|