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
data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/cdata.rb
RENAMED
File without changes
|
File without changes
|
@@ -0,0 +1,234 @@
|
|
1
|
+
module Nokogiri
|
2
|
+
module XML
|
3
|
+
##
|
4
|
+
# Nokogiri::XML::Document is the main entry point for dealing with
|
5
|
+
# XML documents. The Document is created by parsing an XML document.
|
6
|
+
# See Nokogiri.XML()
|
7
|
+
#
|
8
|
+
# For searching a Document, see Nokogiri::XML::Node#css and
|
9
|
+
# Nokogiri::XML::Node#xpath
|
10
|
+
class Document < Nokogiri::XML::Node
|
11
|
+
##
|
12
|
+
# Parse an XML file. +string_or_io+ may be a String, or any object that
|
13
|
+
# responds to _read_ and _close_ such as an IO, or StringIO.
|
14
|
+
# +url+ is resource where this document is located. +encoding+ is the
|
15
|
+
# encoding that should be used when processing the document. +options+
|
16
|
+
# is a number that sets options in the parser, such as
|
17
|
+
# Nokogiri::XML::ParseOptions::RECOVER. See the constants in
|
18
|
+
# Nokogiri::XML::ParseOptions.
|
19
|
+
def self.parse string_or_io, url = nil, encoding = nil, options = ParseOptions::DEFAULT_XML, &block
|
20
|
+
|
21
|
+
options = Nokogiri::XML::ParseOptions.new(options) if Fixnum === options
|
22
|
+
# Give the options to the user
|
23
|
+
yield options if block_given?
|
24
|
+
|
25
|
+
if string_or_io.respond_to?(:read)
|
26
|
+
url ||= string_or_io.respond_to?(:path) ? string_or_io.path : nil
|
27
|
+
return read_io(string_or_io, url, encoding, options.to_i)
|
28
|
+
end
|
29
|
+
|
30
|
+
# read_memory pukes on empty docs
|
31
|
+
return new if string_or_io.nil? or string_or_io.empty?
|
32
|
+
|
33
|
+
read_memory(string_or_io, url, encoding, options.to_i)
|
34
|
+
end
|
35
|
+
|
36
|
+
# A list of Nokogiri::XML::SyntaxError found when parsing a document
|
37
|
+
attr_accessor :errors
|
38
|
+
|
39
|
+
def initialize *args # :nodoc:
|
40
|
+
@errors = []
|
41
|
+
@decorators = nil
|
42
|
+
end
|
43
|
+
|
44
|
+
##
|
45
|
+
# Create an element with +name+, and optionally setting the content and attributes.
|
46
|
+
#
|
47
|
+
# doc.create_element "div" # <div></div>
|
48
|
+
# doc.create_element "div", :class => "container" # <div class='container'></div>
|
49
|
+
# doc.create_element "div", "contents" # <div>contents</div>
|
50
|
+
# doc.create_element "div", "contents", :class => "container" # <div class='container'>contents</div>
|
51
|
+
# doc.create_element "div" { |node| node['class'] = "container" } # <div class='container'></div>
|
52
|
+
#
|
53
|
+
def create_element name, *args, &block
|
54
|
+
elm = Nokogiri::XML::Element.new(name, self, &block)
|
55
|
+
args.each do |arg|
|
56
|
+
case arg
|
57
|
+
when Hash
|
58
|
+
arg.each { |k,v|
|
59
|
+
key = k.to_s
|
60
|
+
if key =~ /^xmlns(:\w+)?$/
|
61
|
+
ns_name = key.split(":", 2)[1]
|
62
|
+
elm.add_namespace_definition ns_name, v
|
63
|
+
next
|
64
|
+
end
|
65
|
+
elm[k.to_s] = v.to_s
|
66
|
+
}
|
67
|
+
else
|
68
|
+
elm.content = arg
|
69
|
+
end
|
70
|
+
end
|
71
|
+
elm
|
72
|
+
end
|
73
|
+
|
74
|
+
# Create a text node with +text+
|
75
|
+
def create_text_node text, &block
|
76
|
+
Nokogiri::XML::Text.new(text.to_s, self, &block)
|
77
|
+
end
|
78
|
+
|
79
|
+
# Create a CDATA element containing +text+
|
80
|
+
def create_cdata text
|
81
|
+
Nokogiri::XML::CDATA.new(self, text.to_s)
|
82
|
+
end
|
83
|
+
|
84
|
+
# The name of this document. Always returns "document"
|
85
|
+
def name
|
86
|
+
'document'
|
87
|
+
end
|
88
|
+
|
89
|
+
# A reference to +self+
|
90
|
+
def document
|
91
|
+
self
|
92
|
+
end
|
93
|
+
|
94
|
+
##
|
95
|
+
# Recursively get all namespaces from this node and its subtree and
|
96
|
+
# return them as a hash.
|
97
|
+
#
|
98
|
+
# For example, given this document:
|
99
|
+
#
|
100
|
+
# <root xmlns:foo="bar">
|
101
|
+
# <bar xmlns:hello="world" />
|
102
|
+
# </root>
|
103
|
+
#
|
104
|
+
# This method will return:
|
105
|
+
#
|
106
|
+
# { 'xmlns:foo' => 'bar', 'xmlns:hello' => 'world' }
|
107
|
+
#
|
108
|
+
# WARNING: this method will clobber duplicate names in the keys.
|
109
|
+
# For example, given this document:
|
110
|
+
#
|
111
|
+
# <root xmlns:foo="bar">
|
112
|
+
# <bar xmlns:foo="baz" />
|
113
|
+
# </root>
|
114
|
+
#
|
115
|
+
# The hash returned will look like this: { 'xmlns:foo' => 'bar' }
|
116
|
+
#
|
117
|
+
# Non-prefixed default namespaces (as in "xmlns=") are not included
|
118
|
+
# in the hash.
|
119
|
+
#
|
120
|
+
# Note this is a very expensive operation in current implementation, as it
|
121
|
+
# traverses the entire graph, and also has to bring each node accross the
|
122
|
+
# libxml bridge into a ruby object.
|
123
|
+
def collect_namespaces
|
124
|
+
ns = {}
|
125
|
+
traverse { |j| ns.merge!(j.namespaces) }
|
126
|
+
ns
|
127
|
+
end
|
128
|
+
|
129
|
+
# Get the list of decorators given +key+
|
130
|
+
def decorators key
|
131
|
+
@decorators ||= Hash.new
|
132
|
+
@decorators[key] ||= []
|
133
|
+
end
|
134
|
+
|
135
|
+
##
|
136
|
+
# Validate this Document against it's DTD. Returns a list of errors on
|
137
|
+
# the document or +nil+ when there is no DTD.
|
138
|
+
def validate
|
139
|
+
return nil unless internal_subset
|
140
|
+
internal_subset.validate self
|
141
|
+
end
|
142
|
+
|
143
|
+
##
|
144
|
+
# Explore a document with shortcut methods. See Nokogiri::Slop for details.
|
145
|
+
#
|
146
|
+
# Note that any nodes that have been instantiated before #slop!
|
147
|
+
# is called will not be decorated with sloppy behavior. So, if you're in
|
148
|
+
# irb, the preferred idiom is:
|
149
|
+
#
|
150
|
+
# irb> doc = Nokogiri::Slop my_markup
|
151
|
+
#
|
152
|
+
# and not
|
153
|
+
#
|
154
|
+
# irb> doc = Nokogiri::HTML my_markup
|
155
|
+
# ... followed by irb's implicit inspect (and therefore instantiation of every node) ...
|
156
|
+
# irb> doc.slop!
|
157
|
+
# ... which does absolutely nothing.
|
158
|
+
#
|
159
|
+
def slop!
|
160
|
+
unless decorators(XML::Node).include? Nokogiri::Decorators::Slop
|
161
|
+
decorators(XML::Node) << Nokogiri::Decorators::Slop
|
162
|
+
decorate!
|
163
|
+
end
|
164
|
+
|
165
|
+
self
|
166
|
+
end
|
167
|
+
|
168
|
+
##
|
169
|
+
# Apply any decorators to +node+
|
170
|
+
def decorate node
|
171
|
+
return unless @decorators
|
172
|
+
@decorators.each { |klass,list|
|
173
|
+
next unless node.is_a?(klass)
|
174
|
+
list.each { |moodule| node.extend(moodule) }
|
175
|
+
}
|
176
|
+
end
|
177
|
+
|
178
|
+
alias :to_xml :serialize
|
179
|
+
alias :clone :dup
|
180
|
+
|
181
|
+
# Get the hash of namespaces on the root Nokogiri::XML::Node
|
182
|
+
def namespaces
|
183
|
+
root ? root.namespaces : {}
|
184
|
+
end
|
185
|
+
|
186
|
+
##
|
187
|
+
# Create a Nokogiri::XML::DocumentFragment from +tags+
|
188
|
+
# Returns an empty fragment if +tags+ is nil.
|
189
|
+
def fragment tags = nil
|
190
|
+
DocumentFragment.new(self, tags, self.root)
|
191
|
+
end
|
192
|
+
|
193
|
+
undef_method :swap, :parent, :namespace, :default_namespace=
|
194
|
+
undef_method :add_namespace_definition, :attributes
|
195
|
+
undef_method :namespace_definitions, :line, :add_namespace
|
196
|
+
|
197
|
+
def add_child child
|
198
|
+
raise "Document already has a root node" if root
|
199
|
+
if child.type == Node::DOCUMENT_FRAG_NODE
|
200
|
+
raise "Document cannot have multiple root nodes" if child.children.size > 1
|
201
|
+
super(child.children.first)
|
202
|
+
else
|
203
|
+
super
|
204
|
+
end
|
205
|
+
end
|
206
|
+
alias :<< :add_child
|
207
|
+
|
208
|
+
##
|
209
|
+
# +JRuby+
|
210
|
+
# Wraps Java's org.w3c.dom.document and returns Nokogiri::XML::Document
|
211
|
+
def self.wrap document
|
212
|
+
raise "JRuby only method" unless Nokogiri.jruby?
|
213
|
+
return wrapJavaDocument(document)
|
214
|
+
end
|
215
|
+
|
216
|
+
##
|
217
|
+
# +JRuby+
|
218
|
+
# Returns Java's org.w3c.dom.document of this Document.
|
219
|
+
def to_java
|
220
|
+
raise "JRuby only method" unless Nokogiri.jruby?
|
221
|
+
return toJavaDocument()
|
222
|
+
end
|
223
|
+
|
224
|
+
private
|
225
|
+
def implied_xpath_context
|
226
|
+
"/"
|
227
|
+
end
|
228
|
+
|
229
|
+
def inspect_attributes
|
230
|
+
[:name, :children]
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
module Nokogiri
|
2
|
+
module XML
|
3
|
+
class DocumentFragment < Nokogiri::XML::Node
|
4
|
+
##
|
5
|
+
# Create a new DocumentFragment from +tags+.
|
6
|
+
#
|
7
|
+
# If +ctx+ is present, it is used as a context node for the
|
8
|
+
# subtree created, e.g., namespaces will be resolved relative
|
9
|
+
# to +ctx+.
|
10
|
+
def initialize document, tags = nil, ctx = nil
|
11
|
+
return self unless tags
|
12
|
+
|
13
|
+
children = if ctx
|
14
|
+
ctx.parse(tags)
|
15
|
+
else
|
16
|
+
XML::Document.parse("<root>#{tags}</root>") \
|
17
|
+
.xpath("/root/node()")
|
18
|
+
end
|
19
|
+
children.each { |child| child.parent = self }
|
20
|
+
end
|
21
|
+
|
22
|
+
###
|
23
|
+
# return the name for DocumentFragment
|
24
|
+
def name
|
25
|
+
'#document-fragment'
|
26
|
+
end
|
27
|
+
|
28
|
+
###
|
29
|
+
# Convert this DocumentFragment to a string
|
30
|
+
def to_s
|
31
|
+
children.to_s
|
32
|
+
end
|
33
|
+
|
34
|
+
###
|
35
|
+
# Convert this DocumentFragment to html
|
36
|
+
# See Nokogiri::XML::NodeSet#to_html
|
37
|
+
def to_html *args
|
38
|
+
if Nokogiri.jruby?
|
39
|
+
options = args.first.is_a?(Hash) ? args.shift : {}
|
40
|
+
if !options[:save_with]
|
41
|
+
options[:save_with] = Node::SaveOptions::NO_DECLARATION | Node::SaveOptions::NO_EMPTY_TAGS | Node::SaveOptions::AS_HTML
|
42
|
+
end
|
43
|
+
args.insert(0, options)
|
44
|
+
end
|
45
|
+
children.to_html(*args)
|
46
|
+
end
|
47
|
+
|
48
|
+
###
|
49
|
+
# Convert this DocumentFragment to xhtml
|
50
|
+
# See Nokogiri::XML::NodeSet#to_xhtml
|
51
|
+
def to_xhtml *args
|
52
|
+
if Nokogiri.jruby?
|
53
|
+
options = args.first.is_a?(Hash) ? args.shift : {}
|
54
|
+
if !options[:save_with]
|
55
|
+
options[:save_with] = Node::SaveOptions::NO_DECLARATION | Node::SaveOptions::NO_EMPTY_TAGS | Node::SaveOptions::AS_XHTML
|
56
|
+
end
|
57
|
+
args.insert(0, options)
|
58
|
+
end
|
59
|
+
children.to_xhtml(*args)
|
60
|
+
end
|
61
|
+
|
62
|
+
###
|
63
|
+
# Convert this DocumentFragment to xml
|
64
|
+
# See Nokogiri::XML::NodeSet#to_xml
|
65
|
+
def to_xml *args
|
66
|
+
children.to_xml(*args)
|
67
|
+
end
|
68
|
+
|
69
|
+
###
|
70
|
+
# Search this fragment. See Nokogiri::XML::Node#css
|
71
|
+
def css *args
|
72
|
+
if children.any?
|
73
|
+
children.css(*args)
|
74
|
+
else
|
75
|
+
NodeSet.new(document)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
alias :serialize :to_s
|
80
|
+
|
81
|
+
class << self
|
82
|
+
####
|
83
|
+
# Create a Nokogiri::XML::DocumentFragment from +tags+
|
84
|
+
def parse tags
|
85
|
+
self.new(XML::Document.new, tags)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
private
|
90
|
+
|
91
|
+
def coerce data
|
92
|
+
return super unless String === data
|
93
|
+
|
94
|
+
document.fragment(data).children
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module Nokogiri
|
2
|
+
module XML
|
3
|
+
class DTD < Nokogiri::XML::Node
|
4
|
+
undef_method :attribute_nodes
|
5
|
+
undef_method :values
|
6
|
+
undef_method :content
|
7
|
+
undef_method :namespace
|
8
|
+
undef_method :namespace_definitions
|
9
|
+
undef_method :line if method_defined?(:line)
|
10
|
+
|
11
|
+
def keys
|
12
|
+
attributes.keys
|
13
|
+
end
|
14
|
+
|
15
|
+
def each &block
|
16
|
+
attributes.each { |key, value|
|
17
|
+
block.call([key, value])
|
18
|
+
}
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
File without changes
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module Nokogiri
|
2
|
+
module XML
|
3
|
+
class ElementDecl < Nokogiri::XML::Node
|
4
|
+
undef_method :namespace
|
5
|
+
undef_method :namespace_definitions
|
6
|
+
undef_method :line if method_defined?(:line)
|
7
|
+
|
8
|
+
def inspect
|
9
|
+
"#<#{self.class.name}:#{sprintf("0x%x", object_id)} #{to_s.inspect}>"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Nokogiri
|
2
|
+
module XML
|
3
|
+
class EntityDecl < Nokogiri::XML::Node
|
4
|
+
undef_method :attribute_nodes
|
5
|
+
undef_method :attributes
|
6
|
+
undef_method :namespace
|
7
|
+
undef_method :namespace_definitions
|
8
|
+
undef_method :line if method_defined?(:line)
|
9
|
+
|
10
|
+
def self.new name, doc, *args
|
11
|
+
doc.create_entity(name, *args)
|
12
|
+
end
|
13
|
+
|
14
|
+
def inspect
|
15
|
+
"#<#{self.class.name}:#{sprintf("0x%x", object_id)} #{to_s.inspect}>"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/vendor/bundle/ruby/1.9.1/gems/{nokogiri-1.4.4 → nokogiri-1.5.0}/lib/nokogiri/xml/namespace.rb
RENAMED
File without changes
|
@@ -0,0 +1,915 @@
|
|
1
|
+
require 'stringio'
|
2
|
+
require 'nokogiri/xml/node/save_options'
|
3
|
+
|
4
|
+
module Nokogiri
|
5
|
+
module XML
|
6
|
+
####
|
7
|
+
# Nokogiri::XML::Node is your window to the fun filled world of dealing
|
8
|
+
# with XML and HTML tags. A Nokogiri::XML::Node may be treated similarly
|
9
|
+
# to a hash with regard to attributes. For example (from irb):
|
10
|
+
#
|
11
|
+
# irb(main):004:0> node
|
12
|
+
# => <a href="#foo" id="link">link</a>
|
13
|
+
# irb(main):005:0> node['href']
|
14
|
+
# => "#foo"
|
15
|
+
# irb(main):006:0> node.keys
|
16
|
+
# => ["href", "id"]
|
17
|
+
# irb(main):007:0> node.values
|
18
|
+
# => ["#foo", "link"]
|
19
|
+
# irb(main):008:0> node['class'] = 'green'
|
20
|
+
# => "green"
|
21
|
+
# irb(main):009:0> node
|
22
|
+
# => <a href="#foo" id="link" class="green">link</a>
|
23
|
+
# irb(main):010:0>
|
24
|
+
#
|
25
|
+
# See Nokogiri::XML::Node#[] and Nokogiri::XML#[]= for more information.
|
26
|
+
#
|
27
|
+
# Nokogiri::XML::Node also has methods that let you move around your
|
28
|
+
# tree. For navigating your tree, see:
|
29
|
+
#
|
30
|
+
# * Nokogiri::XML::Node#parent
|
31
|
+
# * Nokogiri::XML::Node#children
|
32
|
+
# * Nokogiri::XML::Node#next
|
33
|
+
# * Nokogiri::XML::Node#previous
|
34
|
+
#
|
35
|
+
# You may search this node's subtree using Node#xpath and Node#css
|
36
|
+
class Node
|
37
|
+
include Nokogiri::XML::PP::Node
|
38
|
+
include Enumerable
|
39
|
+
|
40
|
+
# Element node type, see Nokogiri::XML::Node#element?
|
41
|
+
ELEMENT_NODE = 1
|
42
|
+
# Attribute node type
|
43
|
+
ATTRIBUTE_NODE = 2
|
44
|
+
# Text node type, see Nokogiri::XML::Node#text?
|
45
|
+
TEXT_NODE = 3
|
46
|
+
# CDATA node type, see Nokogiri::XML::Node#cdata?
|
47
|
+
CDATA_SECTION_NODE = 4
|
48
|
+
# Entity reference node type
|
49
|
+
ENTITY_REF_NODE = 5
|
50
|
+
# Entity node type
|
51
|
+
ENTITY_NODE = 6
|
52
|
+
# PI node type
|
53
|
+
PI_NODE = 7
|
54
|
+
# Comment node type, see Nokogiri::XML::Node#comment?
|
55
|
+
COMMENT_NODE = 8
|
56
|
+
# Document node type, see Nokogiri::XML::Node#xml?
|
57
|
+
DOCUMENT_NODE = 9
|
58
|
+
# Document type node type
|
59
|
+
DOCUMENT_TYPE_NODE = 10
|
60
|
+
# Document fragment node type
|
61
|
+
DOCUMENT_FRAG_NODE = 11
|
62
|
+
# Notation node type
|
63
|
+
NOTATION_NODE = 12
|
64
|
+
# HTML document node type, see Nokogiri::XML::Node#html?
|
65
|
+
HTML_DOCUMENT_NODE = 13
|
66
|
+
# DTD node type
|
67
|
+
DTD_NODE = 14
|
68
|
+
# Element declaration type
|
69
|
+
ELEMENT_DECL = 15
|
70
|
+
# Attribute declaration type
|
71
|
+
ATTRIBUTE_DECL = 16
|
72
|
+
# Entity declaration type
|
73
|
+
ENTITY_DECL = 17
|
74
|
+
# Namespace declaration type
|
75
|
+
NAMESPACE_DECL = 18
|
76
|
+
# XInclude start type
|
77
|
+
XINCLUDE_START = 19
|
78
|
+
# XInclude end type
|
79
|
+
XINCLUDE_END = 20
|
80
|
+
# DOCB document node type
|
81
|
+
DOCB_DOCUMENT_NODE = 21
|
82
|
+
|
83
|
+
def initialize name, document # :nodoc:
|
84
|
+
# ... Ya. This is empty on purpose.
|
85
|
+
end
|
86
|
+
|
87
|
+
###
|
88
|
+
# Decorate this node with the decorators set up in this node's Document
|
89
|
+
def decorate!
|
90
|
+
document.decorate(self)
|
91
|
+
end
|
92
|
+
|
93
|
+
###
|
94
|
+
# Search this node for +paths+. +paths+ can be XPath or CSS, and an
|
95
|
+
# optional hash of namespaces may be appended.
|
96
|
+
# See Node#xpath and Node#css.
|
97
|
+
def search *paths
|
98
|
+
# TODO use paths, handler, ns, binds = extract_params(paths)
|
99
|
+
ns = paths.last.is_a?(Hash) ? paths.pop :
|
100
|
+
(document.root ? document.root.namespaces : {})
|
101
|
+
|
102
|
+
prefix = "#{implied_xpath_context}/"
|
103
|
+
|
104
|
+
xpath(*(paths.map { |path|
|
105
|
+
path = path.to_s
|
106
|
+
path =~ /^(\.\/|\/|\.\.)/ ? path : CSS.xpath_for(
|
107
|
+
path,
|
108
|
+
:prefix => prefix,
|
109
|
+
:ns => ns
|
110
|
+
)
|
111
|
+
}.flatten.uniq) + [ns])
|
112
|
+
end
|
113
|
+
alias :/ :search
|
114
|
+
|
115
|
+
###
|
116
|
+
# call-seq: xpath *paths, [namespace-bindings, variable-bindings, custom-handler-class]
|
117
|
+
#
|
118
|
+
# Search this node for XPath +paths+. +paths+ must be one or more XPath
|
119
|
+
# queries.
|
120
|
+
#
|
121
|
+
# node.xpath('.//title')
|
122
|
+
#
|
123
|
+
# A hash of namespace bindings may be appended. For example:
|
124
|
+
#
|
125
|
+
# node.xpath('.//foo:name', {'foo' => 'http://example.org/'})
|
126
|
+
# node.xpath('.//xmlns:name', node.root.namespaces)
|
127
|
+
#
|
128
|
+
# A hash of variable bindings may also be appended to the namespace bindings. For example:
|
129
|
+
#
|
130
|
+
# node.xpath('.//address[@domestic=$value]', nil, {:value => 'Yes'})
|
131
|
+
#
|
132
|
+
# Custom XPath functions may also be defined. To define custom
|
133
|
+
# functions create a class and implement the function you want
|
134
|
+
# to define. The first argument to the method will be the
|
135
|
+
# current matching NodeSet. Any other arguments are ones that
|
136
|
+
# you pass in. Note that this class may appear anywhere in the
|
137
|
+
# argument list. For example:
|
138
|
+
#
|
139
|
+
# node.xpath('.//title[regex(., "\w+")]', Class.new {
|
140
|
+
# def regex node_set, regex
|
141
|
+
# node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
|
142
|
+
# end
|
143
|
+
# }.new)
|
144
|
+
#
|
145
|
+
def xpath *paths
|
146
|
+
return NodeSet.new(document) unless document
|
147
|
+
|
148
|
+
paths, handler, ns, binds = extract_params(paths)
|
149
|
+
|
150
|
+
sets = paths.map { |path|
|
151
|
+
ctx = XPathContext.new(self)
|
152
|
+
ctx.register_namespaces(ns)
|
153
|
+
path = path.gsub(/\/xmlns:/,'/:') unless Nokogiri.uses_libxml?
|
154
|
+
|
155
|
+
binds.each do |key,value|
|
156
|
+
ctx.register_variable key.to_s, value
|
157
|
+
end if binds
|
158
|
+
|
159
|
+
ctx.evaluate(path, handler)
|
160
|
+
}
|
161
|
+
return sets.first if sets.length == 1
|
162
|
+
|
163
|
+
NodeSet.new(document) do |combined|
|
164
|
+
sets.each do |set|
|
165
|
+
set.each do |node|
|
166
|
+
combined << node
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
###
|
173
|
+
# call-seq: css *rules, [namespace-bindings, custom-pseudo-class]
|
174
|
+
#
|
175
|
+
# Search this node for CSS +rules+. +rules+ must be one or more CSS
|
176
|
+
# selectors. For example:
|
177
|
+
#
|
178
|
+
# node.css('title')
|
179
|
+
# node.css('body h1.bold')
|
180
|
+
# node.css('div + p.green', 'div#one')
|
181
|
+
#
|
182
|
+
# A hash of namespace bindings may be appended. For example:
|
183
|
+
#
|
184
|
+
# node.css('bike|tire', {'bike' => 'http://schwinn.com/'})
|
185
|
+
#
|
186
|
+
# Custom CSS pseudo classes may also be defined. To define
|
187
|
+
# custom pseudo classes, create a class and implement the custom
|
188
|
+
# pseudo class you want defined. The first argument to the
|
189
|
+
# method will be the current matching NodeSet. Any other
|
190
|
+
# arguments are ones that you pass in. For example:
|
191
|
+
#
|
192
|
+
# node.css('title:regex("\w+")', Class.new {
|
193
|
+
# def regex node_set, regex
|
194
|
+
# node_set.find_all { |node| node['some_attribute'] =~ /#{regex}/ }
|
195
|
+
# end
|
196
|
+
# }.new)
|
197
|
+
#
|
198
|
+
# Note that the CSS query string is case-sensitive with regards
|
199
|
+
# to your document type. That is, if you're looking for "H1" in
|
200
|
+
# an HTML document, you'll never find anything, since HTML tags
|
201
|
+
# will match only lowercase CSS queries. However, "H1" might be
|
202
|
+
# found in an XML document, where tags names are case-sensitive
|
203
|
+
# (e.g., "H1" is distinct from "h1").
|
204
|
+
#
|
205
|
+
def css *rules
|
206
|
+
rules, handler, ns, binds = extract_params(rules)
|
207
|
+
|
208
|
+
prefix = "#{implied_xpath_context}/"
|
209
|
+
|
210
|
+
rules = rules.map { |rule|
|
211
|
+
CSS.xpath_for(rule, :prefix => prefix, :ns => ns)
|
212
|
+
}.flatten.uniq + [ns, handler, binds].compact
|
213
|
+
|
214
|
+
xpath(*rules)
|
215
|
+
end
|
216
|
+
|
217
|
+
###
|
218
|
+
# Search this node's immediate children using CSS selector +selector+
|
219
|
+
def > selector
|
220
|
+
ns = document.root.namespaces
|
221
|
+
xpath CSS.xpath_for(selector, :prefix => "./", :ns => ns).first
|
222
|
+
end
|
223
|
+
|
224
|
+
###
|
225
|
+
# Search for the first occurrence of +path+.
|
226
|
+
#
|
227
|
+
# Returns nil if nothing is found, otherwise a Node.
|
228
|
+
def at path, ns = document.root ? document.root.namespaces : {}
|
229
|
+
search(path, ns).first
|
230
|
+
end
|
231
|
+
alias :% :at
|
232
|
+
|
233
|
+
##
|
234
|
+
# Search this node for the first occurrence of XPath +paths+.
|
235
|
+
# Equivalent to <tt>xpath(paths).first</tt>
|
236
|
+
# See Node#xpath for more information.
|
237
|
+
#
|
238
|
+
def at_xpath *paths
|
239
|
+
xpath(*paths).first
|
240
|
+
end
|
241
|
+
|
242
|
+
##
|
243
|
+
# Search this node for the first occurrence of CSS +rules+.
|
244
|
+
# Equivalent to <tt>css(rules).first</tt>
|
245
|
+
# See Node#css for more information.
|
246
|
+
#
|
247
|
+
def at_css *rules
|
248
|
+
css(*rules).first
|
249
|
+
end
|
250
|
+
|
251
|
+
###
|
252
|
+
# Get the attribute value for the attribute +name+
|
253
|
+
def [] name
|
254
|
+
return nil unless key?(name.to_s)
|
255
|
+
get(name.to_s)
|
256
|
+
end
|
257
|
+
|
258
|
+
###
|
259
|
+
# Add +node_or_tags+ as a child of this Node.
|
260
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
261
|
+
#
|
262
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
263
|
+
#
|
264
|
+
# Also see related method +<<+.
|
265
|
+
def add_child node_or_tags
|
266
|
+
node_or_tags = coerce(node_or_tags)
|
267
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
268
|
+
node_or_tags.each { |n| add_child_node n }
|
269
|
+
else
|
270
|
+
add_child_node node_or_tags
|
271
|
+
end
|
272
|
+
node_or_tags
|
273
|
+
end
|
274
|
+
|
275
|
+
###
|
276
|
+
# Add +node_or_tags+ as a child of this Node.
|
277
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
278
|
+
#
|
279
|
+
# Returns self, to support chaining of calls (e.g., root << child1 << child2)
|
280
|
+
#
|
281
|
+
# Also see related method +add_child+.
|
282
|
+
def << node_or_tags
|
283
|
+
add_child node_or_tags
|
284
|
+
self
|
285
|
+
end
|
286
|
+
###
|
287
|
+
# Insert +node_or_tags+ before this Node (as a sibling).
|
288
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
289
|
+
#
|
290
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
291
|
+
#
|
292
|
+
# Also see related method +before+.
|
293
|
+
def add_previous_sibling node_or_tags
|
294
|
+
node_or_tags = coerce(node_or_tags)
|
295
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
296
|
+
if text?
|
297
|
+
pivot = Nokogiri::XML::Node.new 'dummy', document
|
298
|
+
add_previous_sibling_node pivot
|
299
|
+
else
|
300
|
+
pivot = self
|
301
|
+
end
|
302
|
+
node_or_tags.each { |n| pivot.send :add_previous_sibling_node, n }
|
303
|
+
pivot.unlink if text?
|
304
|
+
else
|
305
|
+
add_previous_sibling_node node_or_tags
|
306
|
+
end
|
307
|
+
node_or_tags
|
308
|
+
end
|
309
|
+
|
310
|
+
###
|
311
|
+
# Insert +node_or_tags+ after this Node (as a sibling).
|
312
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
313
|
+
#
|
314
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
315
|
+
#
|
316
|
+
# Also see related method +after+.
|
317
|
+
def add_next_sibling node_or_tags
|
318
|
+
node_or_tags = coerce(node_or_tags)
|
319
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
320
|
+
if text?
|
321
|
+
pivot = Nokogiri::XML::Node.new 'dummy', document
|
322
|
+
add_next_sibling_node pivot
|
323
|
+
else
|
324
|
+
pivot = self
|
325
|
+
end
|
326
|
+
node_or_tags.reverse_each { |n| pivot.send :add_next_sibling_node, n }
|
327
|
+
pivot.unlink if text?
|
328
|
+
else
|
329
|
+
add_next_sibling_node node_or_tags
|
330
|
+
end
|
331
|
+
node_or_tags
|
332
|
+
end
|
333
|
+
|
334
|
+
####
|
335
|
+
# Insert +node_or_tags+ before this node (as a sibling).
|
336
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
337
|
+
#
|
338
|
+
# Returns self, to support chaining of calls.
|
339
|
+
#
|
340
|
+
# Also see related method +add_previous_sibling+.
|
341
|
+
def before node_or_tags
|
342
|
+
add_previous_sibling node_or_tags
|
343
|
+
self
|
344
|
+
end
|
345
|
+
|
346
|
+
####
|
347
|
+
# Insert +node_or_tags+ after this node (as a sibling).
|
348
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
|
349
|
+
#
|
350
|
+
# Returns self, to support chaining of calls.
|
351
|
+
#
|
352
|
+
# Also see related method +add_next_sibling+.
|
353
|
+
def after node_or_tags
|
354
|
+
add_next_sibling node_or_tags
|
355
|
+
self
|
356
|
+
end
|
357
|
+
|
358
|
+
####
|
359
|
+
# Set the inner html for this Node to +node_or_tags+
|
360
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
|
361
|
+
#
|
362
|
+
# Returns self.
|
363
|
+
#
|
364
|
+
# Also see related method +children=+
|
365
|
+
def inner_html= node_or_tags
|
366
|
+
self.children = node_or_tags
|
367
|
+
self
|
368
|
+
end
|
369
|
+
|
370
|
+
####
|
371
|
+
# Set the inner html for this Node +node_or_tags+
|
372
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a Nokogiri::XML::DocumentFragment, or a string containing markup.
|
373
|
+
#
|
374
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
375
|
+
#
|
376
|
+
# Also see related method +inner_html=+
|
377
|
+
def children= node_or_tags
|
378
|
+
node_or_tags = coerce(node_or_tags)
|
379
|
+
children.unlink
|
380
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
381
|
+
node_or_tags.each { |n| add_child_node n }
|
382
|
+
else
|
383
|
+
add_child_node node_or_tags
|
384
|
+
end
|
385
|
+
node_or_tags
|
386
|
+
end
|
387
|
+
|
388
|
+
####
|
389
|
+
# Replace this Node with +node_or_tags+.
|
390
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
391
|
+
#
|
392
|
+
# Returns the reparented node (if +node_or_tags+ is a Node), or NodeSet (if +node_or_tags+ is a DocumentFragment, NodeSet, or string).
|
393
|
+
#
|
394
|
+
# Also see related method +swap+.
|
395
|
+
def replace node_or_tags
|
396
|
+
node_or_tags = coerce(node_or_tags)
|
397
|
+
if node_or_tags.is_a?(XML::NodeSet)
|
398
|
+
if text?
|
399
|
+
replacee = Nokogiri::XML::Node.new 'dummy', document
|
400
|
+
add_previous_sibling_node replacee
|
401
|
+
unlink
|
402
|
+
else
|
403
|
+
replacee = self
|
404
|
+
end
|
405
|
+
node_or_tags.each { |n| replacee.add_previous_sibling n }
|
406
|
+
replacee.unlink
|
407
|
+
else
|
408
|
+
replace_node node_or_tags
|
409
|
+
end
|
410
|
+
node_or_tags
|
411
|
+
end
|
412
|
+
|
413
|
+
####
|
414
|
+
# Swap this Node for +node_or_tags+
|
415
|
+
# +node_or_tags+ can be a Nokogiri::XML::Node, a ::DocumentFragment, a ::NodeSet, or a string containing markup.
|
416
|
+
#
|
417
|
+
# Returns self, to support chaining of calls.
|
418
|
+
#
|
419
|
+
# Also see related method +replace+.
|
420
|
+
def swap node_or_tags
|
421
|
+
replace node_or_tags
|
422
|
+
self
|
423
|
+
end
|
424
|
+
|
425
|
+
alias :next :next_sibling
|
426
|
+
alias :previous :previous_sibling
|
427
|
+
|
428
|
+
# :stopdoc:
|
429
|
+
# HACK: This is to work around an RDoc bug
|
430
|
+
alias :next= :add_next_sibling
|
431
|
+
# :startdoc:
|
432
|
+
|
433
|
+
alias :previous= :add_previous_sibling
|
434
|
+
alias :remove :unlink
|
435
|
+
alias :get_attribute :[]
|
436
|
+
alias :attr :[]
|
437
|
+
alias :set_attribute :[]=
|
438
|
+
alias :text :content
|
439
|
+
alias :inner_text :content
|
440
|
+
alias :has_attribute? :key?
|
441
|
+
alias :name :node_name
|
442
|
+
alias :name= :node_name=
|
443
|
+
alias :type :node_type
|
444
|
+
alias :to_str :text
|
445
|
+
alias :clone :dup
|
446
|
+
alias :elements :element_children
|
447
|
+
|
448
|
+
####
|
449
|
+
# Returns a hash containing the node's attributes. The key is
|
450
|
+
# the attribute name without any namespace, the value is a Nokogiri::XML::Attr
|
451
|
+
# representing the attribute.
|
452
|
+
# If you need to distinguish attributes with the same name, with different namespaces
|
453
|
+
# use #attribute_nodes instead.
|
454
|
+
def attributes
|
455
|
+
Hash[*(attribute_nodes.map { |node|
|
456
|
+
[node.node_name, node]
|
457
|
+
}.flatten)]
|
458
|
+
end
|
459
|
+
|
460
|
+
###
|
461
|
+
# Get the attribute values for this Node.
|
462
|
+
def values
|
463
|
+
attribute_nodes.map { |node| node.value }
|
464
|
+
end
|
465
|
+
|
466
|
+
###
|
467
|
+
# Get the attribute names for this Node.
|
468
|
+
def keys
|
469
|
+
attribute_nodes.map { |node| node.node_name }
|
470
|
+
end
|
471
|
+
|
472
|
+
###
|
473
|
+
# Iterate over each attribute name and value pair for this Node.
|
474
|
+
def each &block
|
475
|
+
attribute_nodes.each { |node|
|
476
|
+
block.call([node.node_name, node.value])
|
477
|
+
}
|
478
|
+
end
|
479
|
+
|
480
|
+
###
|
481
|
+
# Remove the attribute named +name+
|
482
|
+
def remove_attribute name
|
483
|
+
attributes[name].remove if key? name
|
484
|
+
end
|
485
|
+
alias :delete :remove_attribute
|
486
|
+
|
487
|
+
###
|
488
|
+
# Returns true if this Node matches +selector+
|
489
|
+
def matches? selector
|
490
|
+
ancestors.last.search(selector).include?(self)
|
491
|
+
end
|
492
|
+
|
493
|
+
###
|
494
|
+
# Create a DocumentFragment containing +tags+ that is relative to _this_
|
495
|
+
# context node.
|
496
|
+
def fragment tags
|
497
|
+
type = document.html? ? Nokogiri::HTML : Nokogiri::XML
|
498
|
+
type::DocumentFragment.new(document, tags, self)
|
499
|
+
end
|
500
|
+
|
501
|
+
###
|
502
|
+
# Parse +string_or_io+ as a document fragment within the context of
|
503
|
+
# *this* node. Returns a XML::NodeSet containing the nodes parsed from
|
504
|
+
# +string_or_io+.
|
505
|
+
def parse string_or_io, options = nil
|
506
|
+
options ||= (document.html? ? ParseOptions::DEFAULT_HTML : ParseOptions::DEFAULT_XML)
|
507
|
+
if Fixnum === options
|
508
|
+
options = Nokogiri::XML::ParseOptions.new(options)
|
509
|
+
end
|
510
|
+
# Give the options to the user
|
511
|
+
yield options if block_given?
|
512
|
+
|
513
|
+
contents = string_or_io.respond_to?(:read) ?
|
514
|
+
string_or_io.read :
|
515
|
+
string_or_io
|
516
|
+
|
517
|
+
return Nokogiri::XML::NodeSet.new(document) if contents.empty?
|
518
|
+
|
519
|
+
##
|
520
|
+
# This is a horrible hack, but I don't care. See #313 for background.
|
521
|
+
error_count = document.errors.length
|
522
|
+
node_set = in_context(contents, options.to_i)
|
523
|
+
if node_set.empty? and document.errors.length > error_count and options.recover?
|
524
|
+
fragment = Nokogiri::HTML::DocumentFragment.parse contents
|
525
|
+
node_set = fragment.children
|
526
|
+
end
|
527
|
+
node_set
|
528
|
+
end
|
529
|
+
|
530
|
+
####
|
531
|
+
# Set the Node's content to a Text node containing +string+. The string gets XML escaped, not interpreted as markup.
|
532
|
+
def content= string
|
533
|
+
self.native_content = encode_special_chars(string.to_s)
|
534
|
+
end
|
535
|
+
|
536
|
+
###
|
537
|
+
# Set the parent Node for this Node
|
538
|
+
def parent= parent_node
|
539
|
+
parent_node.add_child(self)
|
540
|
+
parent_node
|
541
|
+
end
|
542
|
+
|
543
|
+
###
|
544
|
+
# Returns a Hash of {prefix => value} for all namespaces on this
|
545
|
+
# node and its ancestors.
|
546
|
+
#
|
547
|
+
# This method returns the same namespaces as #namespace_scopes.
|
548
|
+
#
|
549
|
+
# Returns namespaces in scope for self -- those defined on self
|
550
|
+
# element directly or any ancestor node -- as a Hash of
|
551
|
+
# attribute-name/value pairs. Note that the keys in this hash
|
552
|
+
# XML attributes that would be used to define this namespace,
|
553
|
+
# such as "xmlns:prefix", not just the prefix. Default namespace
|
554
|
+
# set on self will be included with key "xmlns". However,
|
555
|
+
# default namespaces set on ancestor will NOT be, even if self
|
556
|
+
# has no explicit default namespace.
|
557
|
+
def namespaces
|
558
|
+
Hash[*namespace_scopes.map { |nd|
|
559
|
+
key = ['xmlns', nd.prefix].compact.join(':')
|
560
|
+
if RUBY_VERSION >= '1.9' && document.encoding
|
561
|
+
begin
|
562
|
+
key.force_encoding document.encoding
|
563
|
+
rescue ArgumentError
|
564
|
+
end
|
565
|
+
end
|
566
|
+
[key, nd.href]
|
567
|
+
}.flatten]
|
568
|
+
end
|
569
|
+
|
570
|
+
# Returns true if this is a Comment
|
571
|
+
def comment?
|
572
|
+
type == COMMENT_NODE
|
573
|
+
end
|
574
|
+
|
575
|
+
# Returns true if this is a CDATA
|
576
|
+
def cdata?
|
577
|
+
type == CDATA_SECTION_NODE
|
578
|
+
end
|
579
|
+
|
580
|
+
# Returns true if this is an XML::Document node
|
581
|
+
def xml?
|
582
|
+
type == DOCUMENT_NODE
|
583
|
+
end
|
584
|
+
|
585
|
+
# Returns true if this is an HTML::Document node
|
586
|
+
def html?
|
587
|
+
type == HTML_DOCUMENT_NODE
|
588
|
+
end
|
589
|
+
|
590
|
+
# Returns true if this is a Text node
|
591
|
+
def text?
|
592
|
+
type == TEXT_NODE
|
593
|
+
end
|
594
|
+
|
595
|
+
# Returns true if this is a DocumentFragment
|
596
|
+
def fragment?
|
597
|
+
type == DOCUMENT_FRAG_NODE
|
598
|
+
end
|
599
|
+
|
600
|
+
###
|
601
|
+
# Fetch the Nokogiri::HTML::ElementDescription for this node. Returns
|
602
|
+
# nil on XML documents and on unknown tags.
|
603
|
+
def description
|
604
|
+
return nil if document.xml?
|
605
|
+
Nokogiri::HTML::ElementDescription[name]
|
606
|
+
end
|
607
|
+
|
608
|
+
###
|
609
|
+
# Is this a read only node?
|
610
|
+
def read_only?
|
611
|
+
# According to gdome2, these are read-only node types
|
612
|
+
[NOTATION_NODE, ENTITY_NODE, ENTITY_DECL].include?(type)
|
613
|
+
end
|
614
|
+
|
615
|
+
# Returns true if this is an Element node
|
616
|
+
def element?
|
617
|
+
type == ELEMENT_NODE
|
618
|
+
end
|
619
|
+
alias :elem? :element?
|
620
|
+
|
621
|
+
###
|
622
|
+
# Turn this node in to a string. If the document is HTML, this method
|
623
|
+
# returns html. If the document is XML, this method returns XML.
|
624
|
+
def to_s
|
625
|
+
document.xml? ? to_xml : to_html
|
626
|
+
end
|
627
|
+
|
628
|
+
# Get the inner_html for this node's Node#children
|
629
|
+
def inner_html *args
|
630
|
+
children.map { |x| x.to_html(*args) }.join
|
631
|
+
end
|
632
|
+
|
633
|
+
# Get the path to this node as a CSS expression
|
634
|
+
def css_path
|
635
|
+
path.split(/\//).map { |part|
|
636
|
+
part.length == 0 ? nil : part.gsub(/\[(\d+)\]/, ':nth-of-type(\1)')
|
637
|
+
}.compact.join(' > ')
|
638
|
+
end
|
639
|
+
|
640
|
+
###
|
641
|
+
# Get a list of ancestor Node for this Node. If +selector+ is given,
|
642
|
+
# the ancestors must match +selector+
|
643
|
+
def ancestors selector = nil
|
644
|
+
return NodeSet.new(document) unless respond_to?(:parent)
|
645
|
+
return NodeSet.new(document) unless parent
|
646
|
+
|
647
|
+
parents = [parent]
|
648
|
+
|
649
|
+
while parents.last.respond_to?(:parent)
|
650
|
+
break unless ctx_parent = parents.last.parent
|
651
|
+
parents << ctx_parent
|
652
|
+
end
|
653
|
+
|
654
|
+
return NodeSet.new(document, parents) unless selector
|
655
|
+
|
656
|
+
root = parents.last
|
657
|
+
|
658
|
+
NodeSet.new(document, parents.find_all { |parent|
|
659
|
+
root.search(selector).include?(parent)
|
660
|
+
})
|
661
|
+
end
|
662
|
+
|
663
|
+
###
|
664
|
+
# Adds a default namespace supplied as a string +url+ href, to self.
|
665
|
+
# The consequence is as an xmlns attribute with supplied argument were
|
666
|
+
# present in parsed XML. A default namespace set with this method will
|
667
|
+
# now show up in #attributes, but when this node is serialized to XML an
|
668
|
+
# "xmlns" attribute will appear. See also #namespace and #namespace=
|
669
|
+
def default_namespace= url
|
670
|
+
add_namespace_definition(nil, url)
|
671
|
+
end
|
672
|
+
alias :add_namespace :add_namespace_definition
|
673
|
+
|
674
|
+
###
|
675
|
+
# Set the default namespace on this node (as would be defined with an
|
676
|
+
# "xmlns=" attribute in XML source), as a Namespace object +ns+. Note that
|
677
|
+
# a Namespace added this way will NOT be serialized as an xmlns attribute
|
678
|
+
# for this node. You probably want #default_namespace= instead, or perhaps
|
679
|
+
# #add_namespace_definition with a nil prefix argument.
|
680
|
+
def namespace= ns
|
681
|
+
return set_namespace(ns) unless ns
|
682
|
+
|
683
|
+
unless Nokogiri::XML::Namespace === ns
|
684
|
+
raise TypeError, "#{ns.class} can't be coerced into Nokogiri::XML::Namespace"
|
685
|
+
end
|
686
|
+
if ns.document != document
|
687
|
+
raise ArgumentError, 'namespace must be declared on the same document'
|
688
|
+
end
|
689
|
+
|
690
|
+
set_namespace ns
|
691
|
+
end
|
692
|
+
|
693
|
+
####
|
694
|
+
# Yields self and all children to +block+ recursively.
|
695
|
+
def traverse &block
|
696
|
+
children.each{|j| j.traverse(&block) }
|
697
|
+
block.call(self)
|
698
|
+
end
|
699
|
+
|
700
|
+
###
|
701
|
+
# Accept a visitor. This method calls "visit" on +visitor+ with self.
|
702
|
+
def accept visitor
|
703
|
+
visitor.visit(self)
|
704
|
+
end
|
705
|
+
|
706
|
+
###
|
707
|
+
# Test to see if this Node is equal to +other+
|
708
|
+
def == other
|
709
|
+
return false unless other
|
710
|
+
return false unless other.respond_to?(:pointer_id)
|
711
|
+
pointer_id == other.pointer_id
|
712
|
+
end
|
713
|
+
|
714
|
+
###
|
715
|
+
# Serialize Node using +options+. Save options can also be set using a
|
716
|
+
# block. See SaveOptions.
|
717
|
+
#
|
718
|
+
# These two statements are equivalent:
|
719
|
+
#
|
720
|
+
# node.serialize(:encoding => 'UTF-8', :save_with => FORMAT | AS_XML)
|
721
|
+
#
|
722
|
+
# or
|
723
|
+
#
|
724
|
+
# node.serialize(:encoding => 'UTF-8') do |config|
|
725
|
+
# config.format.as_xml
|
726
|
+
# end
|
727
|
+
#
|
728
|
+
def serialize *args, &block
|
729
|
+
options = args.first.is_a?(Hash) ? args.shift : {
|
730
|
+
:encoding => args[0],
|
731
|
+
:save_with => args[1]
|
732
|
+
}
|
733
|
+
|
734
|
+
encoding = options[:encoding] || document.encoding
|
735
|
+
options[:encoding] = encoding
|
736
|
+
|
737
|
+
outstring = ""
|
738
|
+
if encoding && outstring.respond_to?(:force_encoding)
|
739
|
+
outstring.force_encoding(Encoding.find(encoding))
|
740
|
+
end
|
741
|
+
io = StringIO.new(outstring)
|
742
|
+
write_to io, options, &block
|
743
|
+
io.string
|
744
|
+
end
|
745
|
+
|
746
|
+
###
|
747
|
+
# Serialize this Node to HTML
|
748
|
+
#
|
749
|
+
# doc.to_html
|
750
|
+
#
|
751
|
+
# See Node#write_to for a list of +options+. For formatted output,
|
752
|
+
# use Node#to_xhtml instead.
|
753
|
+
def to_html options = {}
|
754
|
+
# FIXME: this is a hack around broken libxml versions
|
755
|
+
return dump_html if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
|
756
|
+
|
757
|
+
options[:save_with] |= SaveOptions::DEFAULT_HTML if options[:save_with]
|
758
|
+
options[:save_with] = SaveOptions::DEFAULT_HTML unless options[:save_with]
|
759
|
+
serialize(options)
|
760
|
+
end
|
761
|
+
|
762
|
+
###
|
763
|
+
# Serialize this Node to XML using +options+
|
764
|
+
#
|
765
|
+
# doc.to_xml(:indent => 5, :encoding => 'UTF-8')
|
766
|
+
#
|
767
|
+
# See Node#write_to for a list of +options+
|
768
|
+
def to_xml options = {}
|
769
|
+
options[:save_with] |= SaveOptions::DEFAULT_XML if options[:save_with]
|
770
|
+
options[:save_with] = SaveOptions::DEFAULT_XML unless options[:save_with]
|
771
|
+
serialize(options)
|
772
|
+
end
|
773
|
+
|
774
|
+
###
|
775
|
+
# Serialize this Node to XHTML using +options+
|
776
|
+
#
|
777
|
+
# doc.to_xhtml(:indent => 5, :encoding => 'UTF-8')
|
778
|
+
#
|
779
|
+
# See Node#write_to for a list of +options+
|
780
|
+
def to_xhtml options = {}
|
781
|
+
# FIXME: this is a hack around broken libxml versions
|
782
|
+
return dump_html if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
|
783
|
+
|
784
|
+
options[:save_with] |= SaveOptions::DEFAULT_XHTML if options[:save_with]
|
785
|
+
options[:save_with] = SaveOptions::DEFAULT_XHTML unless options[:save_with]
|
786
|
+
serialize(options)
|
787
|
+
end
|
788
|
+
|
789
|
+
###
|
790
|
+
# Write Node to +io+ with +options+. +options+ modify the output of
|
791
|
+
# this method. Valid options are:
|
792
|
+
#
|
793
|
+
# * +:encoding+ for changing the encoding
|
794
|
+
# * +:indent_text+ the indentation text, defaults to one space
|
795
|
+
# * +:indent+ the number of +:indent_text+ to use, defaults to 2
|
796
|
+
# * +:save_with+ a combination of SaveOptions constants.
|
797
|
+
#
|
798
|
+
# To save with UTF-8 indented twice:
|
799
|
+
#
|
800
|
+
# node.write_to(io, :encoding => 'UTF-8', :indent => 2)
|
801
|
+
#
|
802
|
+
# To save indented with two dashes:
|
803
|
+
#
|
804
|
+
# node.write_to(io, :indent_text => '-', :indent => 2
|
805
|
+
#
|
806
|
+
def write_to io, *options
|
807
|
+
options = options.first.is_a?(Hash) ? options.shift : {}
|
808
|
+
encoding = options[:encoding] || options[0]
|
809
|
+
if Nokogiri.jruby?
|
810
|
+
save_options = options[:save_with] || options[1]
|
811
|
+
indent_times = options[:indent] || 0
|
812
|
+
else
|
813
|
+
save_options = options[:save_with] || options[1] || SaveOptions::FORMAT
|
814
|
+
indent_times = options[:indent] || 2
|
815
|
+
end
|
816
|
+
indent_text = options[:indent_text] || ' '
|
817
|
+
|
818
|
+
config = SaveOptions.new(save_options.to_i)
|
819
|
+
yield config if block_given?
|
820
|
+
|
821
|
+
native_write_to(io, encoding, indent_text * indent_times, config.options)
|
822
|
+
end
|
823
|
+
|
824
|
+
###
|
825
|
+
# Write Node as HTML to +io+ with +options+
|
826
|
+
#
|
827
|
+
# See Node#write_to for a list of +options+
|
828
|
+
def write_html_to io, options = {}
|
829
|
+
# FIXME: this is a hack around broken libxml versions
|
830
|
+
return (io << dump_html) if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
|
831
|
+
|
832
|
+
options[:save_with] ||= SaveOptions::DEFAULT_HTML
|
833
|
+
write_to io, options
|
834
|
+
end
|
835
|
+
|
836
|
+
###
|
837
|
+
# Write Node as XHTML to +io+ with +options+
|
838
|
+
#
|
839
|
+
# See Node#write_to for a list of +options+
|
840
|
+
def write_xhtml_to io, options = {}
|
841
|
+
# FIXME: this is a hack around broken libxml versions
|
842
|
+
return (io << dump_html) if Nokogiri.uses_libxml? && %w[2 6] === LIBXML_VERSION.split('.')[0..1]
|
843
|
+
|
844
|
+
options[:save_with] ||= SaveOptions::DEFAULT_XHTML
|
845
|
+
write_to io, options
|
846
|
+
end
|
847
|
+
|
848
|
+
###
|
849
|
+
# Write Node as XML to +io+ with +options+
|
850
|
+
#
|
851
|
+
# doc.write_xml_to io, :encoding => 'UTF-8'
|
852
|
+
#
|
853
|
+
# See Node#write_to for a list of options
|
854
|
+
def write_xml_to io, options = {}
|
855
|
+
options[:save_with] ||= SaveOptions::DEFAULT_XML
|
856
|
+
write_to io, options
|
857
|
+
end
|
858
|
+
|
859
|
+
###
|
860
|
+
# Compare two Node objects with respect to their Document. Nodes from
|
861
|
+
# different documents cannot be compared.
|
862
|
+
def <=> other
|
863
|
+
return nil unless other.is_a?(Nokogiri::XML::Node)
|
864
|
+
return nil unless document == other.document
|
865
|
+
compare other
|
866
|
+
end
|
867
|
+
|
868
|
+
private
|
869
|
+
|
870
|
+
def extract_params params # :nodoc:
|
871
|
+
# Pop off our custom function handler if it exists
|
872
|
+
handler = params.find { |param|
|
873
|
+
![Hash, String, Symbol].include?(param.class)
|
874
|
+
}
|
875
|
+
|
876
|
+
params -= [handler] if handler
|
877
|
+
|
878
|
+
hashes = []
|
879
|
+
while Hash === params.last || params.last.nil?
|
880
|
+
hashes << params.pop
|
881
|
+
break if params.empty?
|
882
|
+
end
|
883
|
+
|
884
|
+
ns, binds = hashes.reverse
|
885
|
+
|
886
|
+
ns ||= document.root ? document.root.namespaces : {}
|
887
|
+
|
888
|
+
[params, handler, ns, binds]
|
889
|
+
end
|
890
|
+
|
891
|
+
def coerce data # :nodoc:
|
892
|
+
return data if data.is_a?(XML::NodeSet)
|
893
|
+
return data.children if data.is_a?(XML::DocumentFragment)
|
894
|
+
return fragment(data).children if data.is_a?(String)
|
895
|
+
|
896
|
+
if data.is_a?(Document) || !data.is_a?(XML::Node)
|
897
|
+
raise ArgumentError, <<-EOERR
|
898
|
+
Requires a Node, NodeSet or String argument, and cannot accept a #{data.class}.
|
899
|
+
(You probably want to select a node from the Document with at() or search(), or create a new Node via Node.new().)
|
900
|
+
EOERR
|
901
|
+
end
|
902
|
+
|
903
|
+
data
|
904
|
+
end
|
905
|
+
|
906
|
+
def implied_xpath_context
|
907
|
+
"./"
|
908
|
+
end
|
909
|
+
|
910
|
+
def inspect_attributes
|
911
|
+
[:name, :namespace, :attribute_nodes, :children]
|
912
|
+
end
|
913
|
+
end
|
914
|
+
end
|
915
|
+
end
|