search_biomodel 0.1.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -2
- data/Gemfile.lock +17 -3
- data/README.rdoc +9 -2
- data/VERSION +1 -1
- data/lib/search_biomodel.rb +11 -8
- data/search_biomodel.gemspec +1055 -9
- data/search_biomodel/ruby/1.8/bin/jeweler +19 -0
- data/search_biomodel/ruby/1.8/bin/nokogiri +19 -0
- data/search_biomodel/ruby/1.8/bin/rackup +19 -0
- data/search_biomodel/ruby/1.8/bin/rake +19 -0
- data/search_biomodel/ruby/1.8/bin/rcov +19 -0
- data/search_biomodel/ruby/1.8/cache/builder-3.0.0.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/git-1.2.5.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/gyoku-0.4.4.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/httpi-0.9.4.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/jeweler-1.6.2.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/nokogiri-1.4.6.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/nori-1.0.1.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/pyu-ntlm-http-0.1.3.1.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/rack-1.3.0.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/rake-0.9.2.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/rcov-0.9.9.gem +0 -0
- data/search_biomodel/ruby/1.8/cache/savon-0.9.2.gem +0 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/CHANGES +89 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/README +229 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/README.rdoc +232 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/Rakefile +296 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/TAGS +55364 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/blankslate.rb +109 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/blankslate.rb +23 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/xchar.rb +197 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/xmlbase.rb +160 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/xmlevents.rb +63 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/xmlmarkup.rb +334 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/performance.rb +40 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/preload.rb +39 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_blankslate.rb +225 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_cssbuilder.rb +125 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_eventbuilder.rb +150 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_markupbuilder.rb +546 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_namecollision.rb +39 -0
- data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_xchar.rb +77 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/README +240 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git.rb +156 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/author.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/base.rb +479 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/branch.rb +104 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/branches.rb +48 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/diff.rb +146 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/index.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/lib.rb +719 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/log.rb +117 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/object.rb +273 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/path.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/remote.rb +40 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/repository.rb +4 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/stash.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/stashes.rb +44 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/status.rb +110 -0
- data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/working_directory.rb +4 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/.gemtest +0 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/.gitignore +9 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/.rspec +1 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/.travis.yml +7 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/CHANGELOG.md +55 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/Gemfile +2 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/LICENSE +20 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/README.md +81 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/Rakefile +11 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/gyoku.gemspec +26 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku.rb +23 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/array.rb +45 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/core_ext/string.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/hash.rb +55 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/version.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/xml_key.rb +63 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/xml_value.rb +28 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/array_spec.rb +53 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/core_ext/string_spec.rb +17 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/hash_spec.rb +160 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/xml_key_spec.rb +77 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/xml_value_spec.rb +49 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku_spec.rb +46 -0
- data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/spec_helper.rb +2 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.autotest +5 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.gemtest +0 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.gitignore +9 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.rspec +1 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.travis.yml +7 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/CHANGELOG.md +60 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/Gemfile +8 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/LICENSE +20 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/README.md +223 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/Rakefile +18 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/autotest/discover.rb +1 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/httpi.gemspec +28 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi.rb +198 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/adapter.rb +67 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/adapter/curb.rb +125 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/adapter/httpclient.rb +98 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/adapter/net_http.rb +117 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/auth/config.rb +81 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/auth/ssl.rb +91 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/dime.rb +56 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/request.rb +90 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/response.rb +85 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/version.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/attachment.gif +0 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/client_cert.pem +16 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/client_key.pem +15 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/xml.gz +0 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/xml.xml +10 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/xml_dime.dime +0 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/xml_dime.xml +1 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/adapter/curb_spec.rb +232 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/adapter/httpclient_spec.rb +164 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/adapter/net_http_spec.rb +142 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/adapter_spec.rb +55 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/auth/config_spec.rb +117 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/auth/ssl_spec.rb +128 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/httpi_spec.rb +284 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/request_spec.rb +135 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/response_spec.rb +125 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/integration/request_spec.rb +95 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/integration/server.rb +39 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/spec_helper.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/support/fixture.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/support/matchers.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/.document +8 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/ChangeLog.markdown +166 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/Gemfile +22 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/Gemfile.lock +59 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/LICENSE.txt +20 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/README.markdown +216 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/Rakefile +81 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/bin/jeweler +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/cucumber.feature +103 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/directory_layout.feature +86 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/dotdocument.feature +13 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/env_options.feature +9 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/gemfile.feature +71 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/git.feature +102 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/license.feature +20 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/rakefile.feature +158 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/readme.feature +12 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/test.feature +54 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/test_helper.feature +149 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/placeholder.feature +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/step_definitions/debug_steps.rb +6 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/step_definitions/filesystem_steps.rb +70 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/step_definitions/generator_steps.rb +382 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/step_definitions/task_steps.rb +6 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/support/env.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/tasks/build_gem.feature +9 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/tasks/version.feature +31 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/tasks/version_bumping.feature +49 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/jeweler.gemspec +244 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler.rb +177 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/build_gem.rb +36 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/check_dependencies.rb +50 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/install_gem.rb +31 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/release_gemspec.rb +82 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/release_to_git.rb +59 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/release_to_rubygems.rb +28 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/validate_gemspec.rb +30 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/base.rb +55 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/bump_major.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/bump_minor.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/bump_patch.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/write.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/write_gemspec.rb +39 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/errors.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/gemcutter_tasks.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/gemspec_helper.rb +87 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator.rb +287 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/application.rb +61 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/bacon_mixin.rb +43 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/github_mixin.rb +29 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/micronaut_mixin.rb +41 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/minitest_mixin.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/options.rb +162 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/rdoc_mixin.rb +9 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/riot_mixin.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/rspec_mixin.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/shindo_mixin.rb +44 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/shoulda_mixin.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/testspec_mixin.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/testunit_mixin.rb +39 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/yard_mixin.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/rubyforge_tasks.rb +95 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/rubygems_dot_org_tasks.rb +38 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/rubygems_tasks.rb +38 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/specification.rb +110 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/tasks.rb +224 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/.document +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/.gitignore +48 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/Gemfile +12 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/LICENSE.txt +20 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/README.rdoc +19 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/Rakefile +9 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/bacon/flunking.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/bacon/helper.rb +9 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/bundler_setup.erb +10 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/features/default.feature +9 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/features/support/env.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/jeweler_tasks.erb +31 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/micronaut/flunking.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/micronaut/helper.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/minitest/flunking.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/minitest/helper.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/other_tasks.erb +86 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/riot/flunking.rb +11 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/riot/helper.rb +4 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/rspec/.rspec +1 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/rspec/flunking.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/rspec/helper.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/shindo/flunking.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/shindo/helper.rb +6 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/shoulda/flunking.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/shoulda/helper.rb +11 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/testspec/flunking.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/testspec/helper.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/testunit/flunking.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/testunit/helper.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/version.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/version_helper.rb +141 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/bar/VERSION.yml +4 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/bar/bin/foo_the_ultimate_bin +1 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/bar/hey_include_me_in_gemspec +0 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/bar/lib/foo_the_ultimate_lib.rb +1 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/.document +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/.gitignore +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/LICENSE.txt +20 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/README.rdoc +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/Rakefile +85 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec +29 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb +0 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/test/test_helper.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/.document +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/.gitignore +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/LICENSE.txt +20 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/README.rdoc +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/Rakefile +84 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/VERSION +1 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/existing-project-with-version.gemspec +29 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/lib/existing_project_with_version.rb +0 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/test/existing_project_with_version_test.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/.document +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/.gitignore +5 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/LICENSE.txt +20 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/README.rdoc +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/Rakefile +84 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/VERSION.yml +4 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/bin/foo_the_ultimate_bin +0 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/existing-project-with-version.gemspec +29 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/lib/existing_project_with_version.rb +0 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/test/existing_project_with_version_test.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/test/test_helper.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/geminstaller.yml +12 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_build_gem.rb +103 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_install_gem.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_release_to_gemcutter.rb +39 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_release_to_git.rb +208 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_release_to_github.rb +406 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_validate_gemspec.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_write_gemspec.rb +101 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_base.rb +32 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_bump_major.rb +22 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_bump_minor.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_bump_patch.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_write.rb +22 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/generator/test_application.rb +120 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/generator/test_options.rb +225 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_gemspec_helper.rb +44 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_generator.rb +127 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_generator_initialization.rb +164 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_generator_mixins.rb +23 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_specification.rb +237 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_tasks.rb +50 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_version_helper.rb +214 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/shoulda_macros/jeweler_macros.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/test_helper.rb +178 -0
- data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/test_jeweler.rb +175 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/.autotest +26 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/.gemtest +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/CHANGELOG.ja.rdoc +480 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/CHANGELOG.rdoc +475 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/Manifest.txt +283 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/README.ja.rdoc +102 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/README.rdoc +146 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/Rakefile +191 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/bin/nokogiri +54 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/Makefile +515 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/depend +358 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/extconf.rb +118 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_document.c +154 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_document.h +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_document.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_element_description.c +276 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_element_description.h +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_element_description.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_entity_lookup.c +32 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_entity_lookup.h +8 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_entity_lookup.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_sax_parser_context.c +94 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_sax_parser_context.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/mkmf.log +278 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/nokogiri.c +97 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/nokogiri.h +162 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/nokogiri.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/nokogiri.so +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attr.c +94 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attr.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attr.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attribute_decl.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_cdata.c +56 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_cdata.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_cdata.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_comment.c +54 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_comment.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_comment.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document.c +478 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document.h +23 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document_fragment.c +48 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document_fragment.h +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document_fragment.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_dtd.c +202 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_dtd.h +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_dtd.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_content.c +123 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_content.h +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_content.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_decl.c +69 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_decl.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_decl.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_encoding_handler.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_decl.c +110 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_decl.h +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_decl.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_reference.c +52 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_reference.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_reference.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_io.c +56 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_io.h +11 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_io.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_libxml2_hacks.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_namespace.c +84 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_namespace.h +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_namespace.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node.c +1391 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node.h +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node_set.c +418 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node_set.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node_set.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_processing_instruction.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_reader.c +684 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_reader.h +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_reader.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_relax_ng.c +168 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_relax_ng.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_relax_ng.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser.c +288 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser.h +39 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser_context.c +199 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser_context.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_push_parser.c +115 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_push_parser.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_schema.c +205 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_schema.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_schema.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_syntax_error.c +58 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_syntax_error.h +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_syntax_error.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_text.c +50 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_text.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_text.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_xpath_context.c +309 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_xpath_context.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_xpath_context.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xslt_stylesheet.c +260 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xslt_stylesheet.h +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xslt_stylesheet.o +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri.rb +133 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css.rb +28 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/node.rb +99 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/parser.rb +677 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/parser.y +237 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/parser_extras.rb +91 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/syntax_error.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/tokenizer.rb +152 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/tokenizer.rex +55 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/xpath_visitor.rb +171 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/decorators/slop.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/encoding_handler.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/html/document.rb +28 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/html/element_description.rb +81 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/html/entity_lookup.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/html/sax/parser_context.rb +38 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/io_callbacks.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/libxml.rb +420 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/common_node.rb +38 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/html_elem_desc.rb +24 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/html_entity_desc.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_alloc.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_attr.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_attribute.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_buffer.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_char_encoding_handler.rb +11 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_document.rb +117 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_dtd.rb +28 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_element.rb +26 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_element_content.rb +17 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_entity.rb +32 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_enumeration.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_node.rb +28 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_node_set.rb +53 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_notation.rb +11 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_ns.rb +15 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_parser_context.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_parser_input.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_relax_ng.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_sax_handler.rb +51 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb +124 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_schema.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_syntax_error.rb +31 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_text_reader.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_xpath_context.rb +38 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_xpath_object.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xslt_stylesheet.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/weak_bucket.rb +40 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/attr.rb +41 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/attribute_decl.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/cdata.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/comment.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/document.rb +174 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/document_fragment.rb +21 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/dtd.rb +67 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/element_content.rb +43 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/element_decl.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/entity_decl.rb +36 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/entity_reference.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/namespace.rb +44 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/node.rb +559 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/node_set.rb +150 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/processing_instruction.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/reader.rb +236 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/relax_ng.rb +85 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/sax/parser.rb +143 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/sax/parser_context.rb +79 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/sax/push_parser.rb +51 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/schema.rb +109 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/syntax_error.rb +98 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/text.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/xpath.rb +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/xpath_context.rb +153 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xslt/stylesheet.rb +77 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/builder.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/document.rb +209 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/document_fragment.rb +41 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/element_description.rb +23 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/sax/parser.rb +52 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/nokogiri.so +0 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/syntax_error.rb +4 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/version.rb +43 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/version_warning.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml.rb +67 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/attr.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/builder.rb +418 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/cdata.rb +11 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/character_data.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/document.rb +218 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/document_fragment.rb +84 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/dtd.rb +22 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/element_content.rb +36 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/element_decl.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/namespace.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/node.rb +891 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/node/save_options.rb +52 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/node_set.rb +350 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/notation.rb +6 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/parse_options.rb +93 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/pp.rb +2 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/pp/node.rb +56 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/reader.rb +112 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax.rb +4 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax/document.rb +164 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax/parser.rb +115 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/schema.rb +63 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/syntax_error.rb +47 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/text.rb +9 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/xpath.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xslt.rb +52 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/xsd/xmlparser/nokogiri.rb +90 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/tasks/cross_compile.rb +173 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/tasks/test.rb +94 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/css/test_nthiness.rb +159 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/css/test_parser.rb +303 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/css/test_tokenizer.rb +198 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/css/test_xpath_visitor.rb +85 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/decorators/test_slop.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/ffi/test_document.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/2ch.html +108 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/address_book.rlx +12 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/address_book.xml +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/bar/bar.xsd +4 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/dont_hurt_em_why.xml +422 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/encoding.html +82 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/encoding.xhtml +84 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/exslt.xml +8 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/exslt.xslt +35 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/foo/foo.xsd +4 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/po.xml +32 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/po.xsd +66 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/shift_jis.html +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/shift_jis.xml +5 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/snuggles.xml +3 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/staff.dtd +10 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/staff.xml +59 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/staff.xslt +32 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/tlm.html +850 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/valid_bar.xml +2 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/helper.rb +171 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/sax/test_parser.rb +119 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/sax/test_parser_context.rb +48 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_builder.rb +164 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_document.rb +453 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_document_encoding.rb +123 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_document_fragment.rb +253 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_element_description.rb +98 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_named_characters.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_node.rb +190 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_node_encoding.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_convert_xpath.rb +135 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_css_cache.rb +45 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_encoding_handler.rb +46 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_memory_leak.rb +107 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_nokogiri.rb +138 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_reader.rb +421 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_soap4r_sax.rb +52 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_xslt_transforms.rb +193 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/node/test_save_options.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/node/test_subclass.rb +44 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/sax/test_parser.rb +331 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/sax/test_parser_context.rb +113 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/sax/test_push_parser.rb +156 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_attr.rb +65 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_attribute_decl.rb +82 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_builder.rb +210 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_cdata.rb +50 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_comment.rb +29 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_document.rb +670 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_document_encoding.rb +26 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_document_fragment.rb +192 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_dtd.rb +97 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_dtd_encoding.rb +33 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_element_content.rb +56 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_element_decl.rb +73 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_entity_decl.rb +120 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_entity_reference.rb +21 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_namespace.rb +68 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node.rb +906 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node_attributes.rb +34 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node_encoding.rb +107 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node_reparenting.rb +321 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node_set.rb +708 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_parse_options.rb +52 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_processing_instruction.rb +30 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_reader_encoding.rb +126 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_relax_ng.rb +60 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_schema.rb +94 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_syntax_error.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_text.rb +47 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_unparented_node.rb +381 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_xpath.rb +237 -0
- data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xslt/test_custom_functions.rb +94 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/.gitignore +7 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/.rspec +1 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/.travis.yml +8 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/CHANGELOG.md +90 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/Gemfile +4 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/LICENSE +20 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/README.md +64 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/Rakefile +16 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/benchmark/benchmark.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/benchmark/soap_response.xml +266 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori.rb +59 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/core_ext.rb +3 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/core_ext/hash.rb +70 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/core_ext/object.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/core_ext/string.rb +21 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/parser.rb +51 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/parser/nokogiri.rb +45 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/parser/rexml.rb +38 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/string_io_file.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/string_with_attributes.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/version.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/xml_utility_node.rb +230 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/nori.gemspec +24 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/core_ext/hash_spec.rb +60 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/core_ext/object_spec.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/core_ext/string_spec.rb +33 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/nori_spec.rb +641 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/parser_spec.rb +37 -0
- data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/spec_helper.rb +2 -0
- data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/README +25 -0
- data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/Rakefile +68 -0
- data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/examples/http.rb +86 -0
- data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/examples/imap.rb +73 -0
- data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/examples/smtp.rb +94 -0
- data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/lib/net/ntlm.rb +775 -0
- data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/lib/net/ntlm_http.rb +87 -0
- data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/test/function_test.rb +111 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/COPYING +18 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/KNOWN-ISSUES +21 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/README +425 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/Rakefile +100 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/SPEC +171 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/bin/rackup +4 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/contrib/rack_logo.svg +111 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/example/lobster.ru +4 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/example/protectedlobster.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/example/protectedlobster.ru +8 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack.rb +82 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/abstract/handler.rb +37 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/abstract/request.rb +43 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/basic.rb +58 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/digest/md5.rb +129 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/digest/nonce.rb +51 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/digest/params.rb +53 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/digest/request.rb +40 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/backports/uri/common.rb +64 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/builder.rb +137 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/cascade.rb +41 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/chunked.rb +56 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/commonlogger.rb +49 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/conditionalget.rb +66 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/config.rb +15 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/content_length.rb +33 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/content_type.rb +23 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/deflater.rb +99 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/directory.rb +157 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/etag.rb +60 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/file.rb +125 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler.rb +94 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/cgi.rb +61 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/evented_mongrel.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/fastcgi.rb +98 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/lsws.rb +61 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/mongrel.rb +100 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/scgi.rb +67 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/thin.rb +24 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/webrick.rb +80 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/head.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/lint.rb +567 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/lobster.rb +65 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/lock.rb +44 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/logger.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/methodoverride.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/mime.rb +210 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/mock.rb +185 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/multipart.rb +34 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/multipart/generator.rb +93 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/multipart/parser.rb +164 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/multipart/uploaded_file.rb +30 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/nulllogger.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/recursive.rb +61 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/reloader.rb +109 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/request.rb +309 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/response.rb +152 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/rewindable_input.rb +104 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/runtime.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/sendfile.rb +140 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/server.rb +323 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/session/abstract/id.rb +351 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/session/cookie.rb +152 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/session/memcache.rb +93 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/session/pool.rb +79 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/showexceptions.rb +378 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/showstatus.rb +113 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/static.rb +58 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/urlmap.rb +60 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/utils.rb +480 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/rack.gemspec +37 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/builder/anything.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/builder/comment.ru +4 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/builder/end.ru +3 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/builder/options.ru +2 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/lighttpd.conf +25 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/rackup_stub.rb +6 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/sample_rackup.ru +5 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/test +9 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/test.fcgi +8 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/test.ru +5 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/gemloader.rb +6 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/bad_robots +259 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/binary +0 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/content_type_and_no_filename +6 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/empty +10 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/fail_16384_nofile +814 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/file1.txt +1 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_and_modification_param +7 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_with_escaped_quotes +6 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_with_percent_escaped_quotes +6 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_with_unescaped_quotes +6 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/ie +6 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/mixed_files +21 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/nested +10 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/none +9 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/semicolon +6 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/text +15 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/webkit +32 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/rackup/config.ru +31 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/registering_handler/rack/handler/registering_myself.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_auth_basic.rb +70 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_auth_digest.rb +244 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_builder.rb +152 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_cascade.rb +45 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_cgi.rb +102 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_chunked.rb +60 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_commonlogger.rb +56 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_conditionalget.rb +86 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_config.rb +23 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_content_length.rb +73 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_content_type.rb +29 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_deflater.rb +169 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_directory.rb +57 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_etag.rb +82 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_fastcgi.rb +107 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_file.rb +122 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_handler.rb +59 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_head.rb +30 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_lint.rb +515 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_lobster.rb +43 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_lock.rb +142 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_logger.rb +28 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_methodoverride.rb +58 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_mock.rb +241 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_mongrel.rb +182 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_multipart.rb +287 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_nulllogger.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_recursive.rb +69 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_request.rb +813 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_response.rb +246 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_rewindable_input.rb +118 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_runtime.rb +39 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_sendfile.rb +83 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_server.rb +74 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_session_abstract_id.rb +43 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_session_cookie.rb +210 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_session_memcache.rb +289 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_session_pool.rb +200 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_showexceptions.rb +87 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_showstatus.rb +79 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_static.rb +56 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_thin.rb +86 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_urlmap.rb +213 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_utils.rb +430 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_webrick.rb +141 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/testrequest.rb +78 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/.gemtest +0 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/CHANGES +509 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/MIT-LICENSE +21 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/README.rdoc +200 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/RRR +9 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/Rakefile +405 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/TODO +20 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/bin/rake +32 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/install.rb +90 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake.rb +65 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/alt_system.rb +109 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/application.rb +589 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/classic_namespace.rb +9 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/clean.rb +31 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/cloneable.rb +25 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/ftptools.rb +150 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/publisher.rb +69 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/sshpublisher.rb +45 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/sys.rb +191 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/default_loader.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/dsl_definition.rb +167 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/early_time.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ext/core.rb +27 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ext/module.rb +39 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ext/string.rb +167 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ext/time.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_creation_task.rb +24 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_list.rb +403 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_task.rb +47 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_utils.rb +112 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_utils_ext.rb +142 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/gempackagetask.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/invocation_chain.rb +51 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/loaders/makefile.rb +40 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/multi_task.rb +16 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/name_space.rb +25 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/packagetask.rb +185 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/pathmap.rb +1 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/pseudo_status.rb +24 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/rake_module.rb +29 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/rake_test_loader.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/rdoctask.rb +230 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/runtest.rb +21 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/task.rb +327 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/task_argument_error.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/task_arguments.rb +74 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/task_manager.rb +307 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/tasklib.rb +22 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/testtask.rb +191 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/version.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/win32.rb +55 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/check_expansion.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/check_no_expansion.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/access/Rakefile +35 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/chains/Rakefile +15 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/comments/Rakefile +18 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/default/Rakefile +17 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/deprecated_import/Rakefile +1 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/dryrun/Rakefile +22 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/extra/Rakefile +1 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/file_creation_task/Rakefile +31 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/imports/Rakefile +19 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/imports/deps.mf +1 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/multidesc/Rakefile +15 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/namespace/Rakefile +64 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/rakelib/test1.rb +4 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/rbext/rakefile.rb +3 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/sample.mf +14 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/statusreturn/Rakefile +6 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/unittest/Rakefile +1 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/verbose/Rakefile +34 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/file_creation.rb +34 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/helper.rb +44 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/in_environment.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/reqfile.rb +3 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/reqfile2.rb +3 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/shellcommand.rb +3 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake.rb +38 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_application.rb +364 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_application_options.rb +382 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_clean.rb +12 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_definitions.rb +80 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_directory_task.rb +55 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_dsl.rb +73 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_early_time.rb +31 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_extension.rb +59 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_creation_task.rb +62 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_list.rb +633 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_list_path_map.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_task.rb +104 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_utils.rb +252 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_ftp_file.rb +59 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_functional.rb +468 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_invocation_chain.rb +52 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_makefile_loader.rb +23 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_multi_task.rb +51 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_name_space.rb +43 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_package_task.rb +78 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_path_map.rb +157 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_path_map_explode.rb +31 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_path_map_partial.rb +18 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_pseudo_status.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_rdoc_task.rb +81 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_require.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_rules.rb +346 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task.rb +271 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_argument_parsing.rb +116 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_arguments.rb +86 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_lib.rb +9 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_manager.rb +145 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_manager_argument_resolution.rb +36 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_with_arguments.rb +162 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_test_task.rb +122 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_top_level_functions.rb +76 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_win32.rb +83 -0
- data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_sys.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/BLURB +111 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/LICENSE +53 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/Rakefile +103 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/THANKS +110 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/bin/rcov +522 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/editor-extensions/rcov.el +131 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/editor-extensions/rcov.vim +38 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/1.8/callsite.c +216 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/1.8/rcovrt.c +294 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/1.9/callsite.c +234 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/1.9/rcovrt.c +264 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/Makefile +157 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/callsite.o +0 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/extconf.rb +21 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/rcovrt.o +0 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/rcovrt.so +0 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov.rb +33 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/call_site_analyzer.rb +225 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/code_coverage_analyzer.rb +271 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/coverage_info.rb +36 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/differential_analyzer.rb +116 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/file_statistics.rb +355 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/base_formatter.rb +174 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/failure_report.rb +15 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/full_text_report.rb +48 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/html_coverage.rb +274 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/html_erb_template.rb +62 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/text_coverage_diff.rb +193 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/text_report.rb +32 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/text_summary.rb +11 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/lowlevel.rb +146 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/rcovtask.rb +156 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/detail.html.erb +64 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/index.html.erb +93 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/jquery-1.3.2.min.js +19 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/jquery.tablesorter.min.js +15 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/print.css +12 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/rcov.js +42 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/screen.css +270 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/version.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcovrt.so +0 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/setup.rb +1588 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_01.rb +7 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_02.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_03.rb +20 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_04.rb +10 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_05-new.rb +17 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_05-old.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_05.rb +17 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_06.rb +8 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/call_site_analyzer_test.rb +171 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/code_coverage_analyzer_test.rb +220 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-all.out +7 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-diff.out +11 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-original.out +5 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff-no-color.out +12 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff.out +12 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/gcc-text.out +10 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/sample_03_rb.html +651 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/sample_03_rb.rb +28 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/sample_04_rb.html +641 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/file_statistics_test.rb +471 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/functional_test.rb +91 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/test_helper.rb +4 -0
- data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/turn_off_rcovrt.rb +4 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/.gitignore +9 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/.rspec +1 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/.travis.yml +7 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/.yardopts +2 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/CHANGELOG.md +533 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/Gemfile +4 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/LICENSE +20 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/README.md +39 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/Rakefile +40 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/client.rb +161 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/core_ext/hash.rb +70 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/core_ext/object.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/core_ext/string.rb +51 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/core_ext/time.rb +22 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/error.rb +6 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/global.rb +83 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/http/error.rb +42 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap.rb +24 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap/fault.rb +59 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap/request.rb +61 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap/response.rb +85 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap/xml.rb +184 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/version.rb +5 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/wsdl/document.rb +112 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/wsdl/parser.rb +96 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/wsdl/request.rb +35 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/wsse.rb +156 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/savon.gemspec +30 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/gzip/message.gz +0 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/another_soap_fault.xml +14 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/authentication.xml +14 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/header.xml +13 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/list.xml +18 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/multi_ref.xml +39 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/soap_fault.xml +8 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/soap_fault12.xml +18 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/authentication.xml +63 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/geotrust.xml +156 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/namespaced_actions.xml +307 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/no_namespace.xml +115 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/soap12.xml +11 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/two_bindings.xml +25 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/client_spec.rb +354 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/core_ext/hash_spec.rb +121 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/core_ext/object_spec.rb +19 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/core_ext/string_spec.rb +57 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/core_ext/time_spec.rb +13 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/http/error_spec.rb +52 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/savon_spec.rb +85 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap/fault_spec.rb +89 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap/request_spec.rb +45 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap/response_spec.rb +181 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap/xml_spec.rb +341 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap_spec.rb +21 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/wsdl/document_spec.rb +132 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/wsdl/parser_spec.rb +107 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/wsdl/request_spec.rb +15 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/wsse_spec.rb +232 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/spec_helper.rb +14 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/support/endpoint.rb +25 -0
- data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/support/fixture.rb +37 -0
- data/search_biomodel/ruby/1.8/specifications/builder-3.0.0.gemspec +36 -0
- data/search_biomodel/ruby/1.8/specifications/git-1.2.5.gemspec +30 -0
- data/search_biomodel/ruby/1.8/specifications/gyoku-0.4.4.gemspec +41 -0
- data/search_biomodel/ruby/1.8/specifications/httpi-0.9.4.gemspec +49 -0
- data/search_biomodel/ruby/1.8/specifications/jeweler-1.6.2.gemspec +79 -0
- data/search_biomodel/ruby/1.8/specifications/nokogiri-1.4.6.gemspec +53 -0
- data/search_biomodel/ruby/1.8/specifications/nori-1.0.1.gemspec +38 -0
- data/search_biomodel/ruby/1.8/specifications/pyu-ntlm-http-0.1.3.1.gemspec +31 -0
- data/search_biomodel/ruby/1.8/specifications/rack-1.3.0.gemspec +57 -0
- data/search_biomodel/ruby/1.8/specifications/rake-0.9.2.gemspec +43 -0
- data/search_biomodel/ruby/1.8/specifications/rcov-0.9.9.gemspec +34 -0
- data/search_biomodel/ruby/1.8/specifications/savon-0.9.2.gemspec +55 -0
- data/test/test_search_biomodel.rb +29 -4
- metadata +1071 -36
- data/test.rb +0 -1
@@ -0,0 +1,120 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
module Nokogiri
|
4
|
+
module XML
|
5
|
+
class TestEntityDecl < Nokogiri::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@xml = Nokogiri::XML(<<-eoxml)
|
9
|
+
<?xml version="1.0"?><?TEST-STYLE PIDATA?>
|
10
|
+
<!DOCTYPE staff SYSTEM "staff.dtd" [
|
11
|
+
<!ENTITY ent1 "es">
|
12
|
+
<!ENTITY nocontent >
|
13
|
+
]>
|
14
|
+
<root />
|
15
|
+
eoxml
|
16
|
+
|
17
|
+
@entities = @xml.internal_subset.children
|
18
|
+
@entity_decl = @entities.first
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_constants # for libffi implementation. *sigh* sorry Mike. :-(
|
22
|
+
assert_equal 1, EntityDecl::INTERNAL_GENERAL
|
23
|
+
assert_equal 2, EntityDecl::EXTERNAL_GENERAL_PARSED
|
24
|
+
assert_equal 3, EntityDecl::EXTERNAL_GENERAL_UNPARSED
|
25
|
+
assert_equal 4, EntityDecl::INTERNAL_PARAMETER
|
26
|
+
assert_equal 5, EntityDecl::EXTERNAL_PARAMETER
|
27
|
+
assert_equal 6, EntityDecl::INTERNAL_PREDEFINED
|
28
|
+
|
29
|
+
# While I'm here, another problem with libffi comes to mind. If someone
|
30
|
+
# upgrades their version of any particular C library, and the constants
|
31
|
+
# change values, the client using Ruby code is fucked. That sucks.
|
32
|
+
# Basically anything to do with the preprocessor fucks someone using
|
33
|
+
# libffi. :-(
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_create_typed_entity
|
37
|
+
entity = @xml.create_entity(
|
38
|
+
'foo', EntityDecl::INTERNAL_GENERAL, nil, nil, nil
|
39
|
+
)
|
40
|
+
assert_equal EntityDecl::INTERNAL_GENERAL, entity.entity_type
|
41
|
+
assert_equal 'foo', entity.name
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_new
|
45
|
+
entity = Nokogiri::XML::EntityDecl.new(
|
46
|
+
'foo', @xml, EntityDecl::INTERNAL_GENERAL, nil, nil, nil
|
47
|
+
)
|
48
|
+
assert_equal EntityDecl::INTERNAL_GENERAL, entity.entity_type
|
49
|
+
assert_equal 'foo', entity.name
|
50
|
+
end
|
51
|
+
|
52
|
+
def test_create_default_args
|
53
|
+
entity = @xml.create_entity('foo')
|
54
|
+
assert_equal EntityDecl::INTERNAL_GENERAL, entity.entity_type
|
55
|
+
assert_equal 'foo', entity.name
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_external_id
|
59
|
+
assert_nil @entity_decl.external_id
|
60
|
+
end
|
61
|
+
|
62
|
+
def test_system_id
|
63
|
+
assert_nil @entity_decl.system_id
|
64
|
+
end
|
65
|
+
|
66
|
+
def test_entity_type
|
67
|
+
assert_equal 1, @entity_decl.entity_type
|
68
|
+
end
|
69
|
+
|
70
|
+
def test_original_content
|
71
|
+
assert_equal "es", @entity_decl.original_content
|
72
|
+
assert_nil @entities[1].original_content
|
73
|
+
end
|
74
|
+
|
75
|
+
def test_content
|
76
|
+
assert_equal "es", @entity_decl.content
|
77
|
+
assert_nil @entities[1].content
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_type
|
81
|
+
assert_equal 17, @entities.first.type
|
82
|
+
end
|
83
|
+
|
84
|
+
def test_class
|
85
|
+
assert_instance_of Nokogiri::XML::EntityDecl, @entities.first
|
86
|
+
end
|
87
|
+
|
88
|
+
def test_attributes
|
89
|
+
assert_raise NoMethodError do
|
90
|
+
@entity_decl.attributes
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
def test_namespace
|
95
|
+
assert_raise NoMethodError do
|
96
|
+
@entity_decl.namespace
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
def test_namespace_definitions
|
101
|
+
assert_raise NoMethodError do
|
102
|
+
@entity_decl.namespace_definitions
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
def test_line
|
107
|
+
assert_raise NoMethodError do
|
108
|
+
@entity_decl.line
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
def test_inspect
|
113
|
+
assert_equal(
|
114
|
+
"#<#{@entity_decl.class.name}:#{sprintf("0x%x", @entity_decl.object_id)} #{@entity_decl.to_s.inspect}>",
|
115
|
+
@entity_decl.inspect
|
116
|
+
)
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
module Nokogiri
|
4
|
+
module XML
|
5
|
+
class TestEntityReference < Nokogiri::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@xml = Nokogiri::XML(File.open(XML_FILE), XML_FILE)
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_new
|
12
|
+
assert ref = EntityReference.new(@xml, 'ent4')
|
13
|
+
assert_instance_of EntityReference, ref
|
14
|
+
end
|
15
|
+
|
16
|
+
def test_many_references
|
17
|
+
100.times { EntityReference.new(@xml, 'foo') }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
module Nokogiri
|
4
|
+
module XML
|
5
|
+
class TestNamespace < Nokogiri::TestCase
|
6
|
+
def setup
|
7
|
+
super
|
8
|
+
@xml = Nokogiri::XML <<-eoxml
|
9
|
+
<root xmlns="http://tenderlovemaking.com/" xmlns:foo="bar">
|
10
|
+
<awesome/>
|
11
|
+
</root>
|
12
|
+
eoxml
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_built_nodes_keep_namespace_decls
|
16
|
+
doc = Document.new
|
17
|
+
e = Node.new 'element', doc
|
18
|
+
c = Node.new 'child', doc
|
19
|
+
c.default_namespace = 'woop:de:doo'
|
20
|
+
|
21
|
+
assert c.namespace, 'has a namespace'
|
22
|
+
e.add_child c
|
23
|
+
assert c.namespace, 'has a namespace'
|
24
|
+
|
25
|
+
doc.add_child e
|
26
|
+
assert c.namespace, 'has a namespace'
|
27
|
+
end
|
28
|
+
|
29
|
+
def test_inspect
|
30
|
+
ns = @xml.root.namespace
|
31
|
+
assert_equal "#<#{ns.class.name}:#{sprintf("0x%x", ns.object_id)} href=#{ns.href.inspect}>", ns.inspect
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_namespace_is_in_node_cache
|
35
|
+
node = @xml.root.namespace
|
36
|
+
assert @xml.instance_variable_get(:@node_cache).include?(node)
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_namespace_node_prefix
|
40
|
+
namespaces = @xml.root.namespace_definitions
|
41
|
+
assert_equal [nil, 'foo'], namespaces.map { |x| x.prefix }
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_namespace_node_href
|
45
|
+
namespaces = @xml.root.namespace_definitions
|
46
|
+
assert_equal [
|
47
|
+
'http://tenderlovemaking.com/',
|
48
|
+
'bar'
|
49
|
+
], namespaces.map { |x| x.href }
|
50
|
+
end
|
51
|
+
|
52
|
+
def test_equality
|
53
|
+
namespaces = @xml.root.namespace_definitions
|
54
|
+
assert_equal namespaces, @xml.root.namespace_definitions
|
55
|
+
end
|
56
|
+
|
57
|
+
def test_add_definition
|
58
|
+
@xml.root.add_namespace_definition('baz', 'bar')
|
59
|
+
assert_equal 3, @xml.root.namespace_definitions.length
|
60
|
+
end
|
61
|
+
|
62
|
+
def test_add_definition_return
|
63
|
+
ns = @xml.root.add_namespace_definition('baz', 'bar')
|
64
|
+
assert_equal 'baz', ns.prefix
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,906 @@
|
|
1
|
+
require "helper"
|
2
|
+
|
3
|
+
require 'stringio'
|
4
|
+
|
5
|
+
module Nokogiri
|
6
|
+
module XML
|
7
|
+
class TestNode < Nokogiri::TestCase
|
8
|
+
def setup
|
9
|
+
super
|
10
|
+
@xml = Nokogiri::XML(File.read(XML_FILE), XML_FILE)
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_first_element_child
|
14
|
+
node = @xml.root.first_element_child
|
15
|
+
assert_equal 'employee', node.name
|
16
|
+
assert node.element?, 'node is an element'
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_element_children
|
20
|
+
nodes = @xml.root.element_children
|
21
|
+
assert_equal @xml.root.first_element_child, nodes.first
|
22
|
+
assert nodes.all? { |node| node.element? }, 'all nodes are elements'
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_last_element_child
|
26
|
+
nodes = @xml.root.element_children
|
27
|
+
assert_equal nodes.last, @xml.root.element_children.last
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_bad_xpath
|
31
|
+
bad_xpath = '//foo['
|
32
|
+
|
33
|
+
begin
|
34
|
+
@xml.xpath(bad_xpath)
|
35
|
+
rescue Nokogiri::XML::XPath::SyntaxError => e
|
36
|
+
assert_match(bad_xpath, e.to_s)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_namespace_type_error
|
41
|
+
assert_raises(TypeError) do
|
42
|
+
@xml.root.namespace = Object.new
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def test_remove_namespace
|
47
|
+
@xml = Nokogiri::XML('<r xmlns="v"><s /></r>')
|
48
|
+
tag = @xml.at('s')
|
49
|
+
assert tag.namespace
|
50
|
+
tag.namespace = nil
|
51
|
+
assert_nil tag.namespace
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_parse_needs_doc
|
55
|
+
list = @xml.root.parse('fooooooo <hello />')
|
56
|
+
assert_equal 1, list.css('hello').length
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_parse
|
60
|
+
list = @xml.root.parse('fooooooo <hello />')
|
61
|
+
assert_equal 2, list.length
|
62
|
+
end
|
63
|
+
|
64
|
+
def test_parse_with_block
|
65
|
+
called = false
|
66
|
+
list = @xml.root.parse('<hello />') { |cfg|
|
67
|
+
called = true
|
68
|
+
assert_instance_of Nokogiri::XML::ParseOptions, cfg
|
69
|
+
}
|
70
|
+
assert called, 'config block called'
|
71
|
+
assert_equal 1, list.length
|
72
|
+
end
|
73
|
+
|
74
|
+
def test_parse_with_io
|
75
|
+
list = @xml.root.parse(StringIO.new('<hello />'))
|
76
|
+
assert_equal 1, list.length
|
77
|
+
assert_equal 'hello', list.first.name
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_parse_with_empty_string
|
81
|
+
list = @xml.root.parse('')
|
82
|
+
assert_equal 0, list.length
|
83
|
+
end
|
84
|
+
|
85
|
+
def test_parse_config_option
|
86
|
+
node = @xml.root
|
87
|
+
options = nil
|
88
|
+
node.parse("<item></item>") do |config|
|
89
|
+
options = config
|
90
|
+
end
|
91
|
+
assert_equal Nokogiri::XML::ParseOptions::DEFAULT_XML, options.to_i
|
92
|
+
end
|
93
|
+
|
94
|
+
# descriptive, not prescriptive.
|
95
|
+
def test_parse_invalid_html_markup_results_in_empty_nodeset
|
96
|
+
doc = Nokogiri::HTML("<html></html>")
|
97
|
+
nodeset = doc.root.parse "<div><div>a</div><snippet>b</snippet></div>"
|
98
|
+
assert_equal 1, doc.errors.length # "Tag snippet invalid"
|
99
|
+
assert_equal 1, nodeset.length
|
100
|
+
end
|
101
|
+
|
102
|
+
def test_node_context_parsing_of_malformed_html_fragment_with_recover_is_corrected
|
103
|
+
doc = HTML.parse "<html><body><div></div></body></html>"
|
104
|
+
context_node = doc.at_css "div"
|
105
|
+
nodeset = context_node.parse("<div </div>") do |options|
|
106
|
+
options.recover
|
107
|
+
end
|
108
|
+
assert_equal "<div></div>", nodeset.to_s
|
109
|
+
assert_equal 1, doc.errors.length
|
110
|
+
assert_equal 1, nodeset.length
|
111
|
+
end
|
112
|
+
|
113
|
+
def test_node_context_parsing_of_malformed_html_fragment_without_recover_is_not_corrected
|
114
|
+
doc = HTML.parse "<html><body><div></div></body></html>"
|
115
|
+
context_node = doc.at_css "div"
|
116
|
+
nodeset = context_node.parse("<div </div>") do |options|
|
117
|
+
options.strict
|
118
|
+
end
|
119
|
+
assert_equal 1, doc.errors.length
|
120
|
+
assert_equal 0, nodeset.length
|
121
|
+
end
|
122
|
+
|
123
|
+
def test_parse_error_list
|
124
|
+
error_count = @xml.errors.length
|
125
|
+
@xml.root.parse('<hello>')
|
126
|
+
assert(error_count < @xml.errors.length, "errors should have increased")
|
127
|
+
end
|
128
|
+
|
129
|
+
def test_subclass_dup
|
130
|
+
subclass = Class.new(Nokogiri::XML::Node)
|
131
|
+
node = subclass.new('foo', @xml).dup
|
132
|
+
assert_instance_of subclass, node
|
133
|
+
end
|
134
|
+
|
135
|
+
def test_gt_string_arg
|
136
|
+
node = @xml.at('employee')
|
137
|
+
nodes = (node > 'name')
|
138
|
+
assert_equal 1, nodes.length
|
139
|
+
assert_equal node, nodes.first.parent
|
140
|
+
end
|
141
|
+
|
142
|
+
def test_next_element_when_next_sibling_is_element_should_return_next_sibling
|
143
|
+
doc = Nokogiri::XML "<root><foo /><quux /></root>"
|
144
|
+
node = doc.at_css("foo")
|
145
|
+
next_element = node.next_element
|
146
|
+
assert next_element.element?
|
147
|
+
assert_equal doc.at_css("quux"), next_element
|
148
|
+
end
|
149
|
+
|
150
|
+
def test_next_element_when_there_is_no_next_sibling_should_return_nil
|
151
|
+
doc = Nokogiri::XML "<root><foo /><quux /></root>"
|
152
|
+
assert_nil doc.at_css("quux").next_element
|
153
|
+
end
|
154
|
+
|
155
|
+
def test_next_element_when_next_sibling_is_not_an_element_should_return_closest_next_element_sibling
|
156
|
+
doc = Nokogiri::XML "<root><foo />bar<quux /></root>"
|
157
|
+
node = doc.at_css("foo")
|
158
|
+
next_element = node.next_element
|
159
|
+
assert next_element.element?
|
160
|
+
assert_equal doc.at_css("quux"), next_element
|
161
|
+
end
|
162
|
+
|
163
|
+
def test_next_element_when_next_sibling_is_not_an_element_and_no_following_element_should_return_nil
|
164
|
+
doc = Nokogiri::XML "<root><foo />bar</root>"
|
165
|
+
node = doc.at_css("foo")
|
166
|
+
next_element = node.next_element
|
167
|
+
assert_nil next_element
|
168
|
+
end
|
169
|
+
|
170
|
+
def test_previous_element_when_previous_sibling_is_element_should_return_previous_sibling
|
171
|
+
doc = Nokogiri::XML "<root><foo /><quux /></root>"
|
172
|
+
node = doc.at_css("quux")
|
173
|
+
previous_element = node.previous_element
|
174
|
+
assert previous_element.element?
|
175
|
+
assert_equal doc.at_css("foo"), previous_element
|
176
|
+
end
|
177
|
+
|
178
|
+
def test_previous_element_when_there_is_no_previous_sibling_should_return_nil
|
179
|
+
doc = Nokogiri::XML "<root><foo /><quux /></root>"
|
180
|
+
assert_nil doc.at_css("foo").previous_element
|
181
|
+
end
|
182
|
+
|
183
|
+
def test_previous_element_when_previous_sibling_is_not_an_element_should_return_closest_previous_element_sibling
|
184
|
+
doc = Nokogiri::XML "<root><foo />bar<quux /></root>"
|
185
|
+
node = doc.at_css("quux")
|
186
|
+
previous_element = node.previous_element
|
187
|
+
assert previous_element.element?
|
188
|
+
assert_equal doc.at_css("foo"), previous_element
|
189
|
+
end
|
190
|
+
|
191
|
+
def test_previous_element_when_previous_sibling_is_not_an_element_and_no_following_element_should_return_nil
|
192
|
+
doc = Nokogiri::XML "<root>foo<bar /></root>"
|
193
|
+
node = doc.at_css("bar")
|
194
|
+
previous_element = node.previous_element
|
195
|
+
assert_nil previous_element
|
196
|
+
end
|
197
|
+
|
198
|
+
def test_element?
|
199
|
+
assert @xml.root.element?, 'is an element'
|
200
|
+
end
|
201
|
+
|
202
|
+
def test_slash_search
|
203
|
+
assert_equal 'EMP0001', (@xml/:staff/:employee/:employeeId).first.text
|
204
|
+
end
|
205
|
+
|
206
|
+
def test_append_with_document
|
207
|
+
assert_raises(ArgumentError) do
|
208
|
+
@xml.root << Nokogiri::XML::Document.new
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
def test_inspect_ns
|
213
|
+
xml = Nokogiri::XML(<<-eoxml) { |c| c.noblanks }
|
214
|
+
<root xmlns="http://tenderlovemaking.com/" xmlns:foo="bar">
|
215
|
+
<awesome/>
|
216
|
+
</root>
|
217
|
+
eoxml
|
218
|
+
ins = xml.inspect
|
219
|
+
|
220
|
+
xml.traverse do |node|
|
221
|
+
assert_match node.class.name, ins
|
222
|
+
if node.respond_to? :attributes
|
223
|
+
node.attributes.each do |k,v|
|
224
|
+
assert_match k, ins
|
225
|
+
assert_match v, ins
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
if node.respond_to?(:namespace) && node.namespace
|
230
|
+
assert_match node.namespace.class.name, ins
|
231
|
+
assert_match node.namespace.href, ins
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
def test_namespace_definitions_when_some_exist
|
237
|
+
xml = Nokogiri::XML <<-eoxml
|
238
|
+
<root xmlns="http://tenderlovemaking.com/" xmlns:foo="bar">
|
239
|
+
<awesome/>
|
240
|
+
</root>
|
241
|
+
eoxml
|
242
|
+
namespace_definitions = xml.root.namespace_definitions
|
243
|
+
assert_equal 2, namespace_definitions.length
|
244
|
+
end
|
245
|
+
|
246
|
+
def test_namespace_definitions_when_no_exist
|
247
|
+
xml = Nokogiri::XML <<-eoxml
|
248
|
+
<root xmlns="http://tenderlovemaking.com/" xmlns:foo="bar">
|
249
|
+
<awesome/>
|
250
|
+
</root>
|
251
|
+
eoxml
|
252
|
+
namespace_definitions = xml.at_xpath('//xmlns:awesome').namespace_definitions
|
253
|
+
assert_equal 0, namespace_definitions.length
|
254
|
+
end
|
255
|
+
|
256
|
+
def test_namespace_goes_to_children
|
257
|
+
fruits = Nokogiri::XML(<<-eoxml)
|
258
|
+
<Fruit xmlns='www.fruits.org'>
|
259
|
+
</Fruit>
|
260
|
+
eoxml
|
261
|
+
apple = Nokogiri::XML::Node.new('Apple', fruits)
|
262
|
+
orange = Nokogiri::XML::Node.new('Orange', fruits)
|
263
|
+
apple << orange
|
264
|
+
fruits.root << apple
|
265
|
+
assert fruits.at('//fruit:Orange',{'fruit'=>'www.fruits.org'})
|
266
|
+
assert fruits.at('//fruit:Apple',{'fruit'=>'www.fruits.org'})
|
267
|
+
end
|
268
|
+
|
269
|
+
def test_description
|
270
|
+
assert_nil @xml.at('employee').description
|
271
|
+
end
|
272
|
+
|
273
|
+
def test_spaceship
|
274
|
+
nodes = @xml.xpath('//employee')
|
275
|
+
assert_equal(-1, (nodes.first <=> nodes.last))
|
276
|
+
list = [nodes.first, nodes.last].sort
|
277
|
+
assert_equal nodes.first, list.first
|
278
|
+
assert_equal nodes.last, list.last
|
279
|
+
end
|
280
|
+
|
281
|
+
def test_incorrect_spaceship
|
282
|
+
nodes = @xml.xpath('//employee')
|
283
|
+
assert_nil(nodes.first <=> 'asdf')
|
284
|
+
end
|
285
|
+
|
286
|
+
def test_document_compare
|
287
|
+
nodes = @xml.xpath('//employee')
|
288
|
+
assert_equal(-1, (nodes.first <=> @xml))
|
289
|
+
end
|
290
|
+
|
291
|
+
def test_different_document_compare
|
292
|
+
nodes = @xml.xpath('//employee')
|
293
|
+
doc = Nokogiri::XML('<a><b/></a>')
|
294
|
+
b = doc.at('b')
|
295
|
+
assert_nil(nodes.first <=> b)
|
296
|
+
end
|
297
|
+
|
298
|
+
def test_duplicate_node_removes_namespace
|
299
|
+
fruits = Nokogiri::XML(<<-eoxml)
|
300
|
+
<Fruit xmlns='www.fruits.org'>
|
301
|
+
<Apple></Apple>
|
302
|
+
</Fruit>
|
303
|
+
eoxml
|
304
|
+
apple = fruits.root.xpath('fruit:Apple', {'fruit'=>'www.fruits.org'})[0]
|
305
|
+
new_apple = apple.dup
|
306
|
+
fruits.root << new_apple
|
307
|
+
assert_equal 2, fruits.xpath('//xmlns:Apple').length
|
308
|
+
assert_equal 1, fruits.to_xml.scan('www.fruits.org').length
|
309
|
+
end
|
310
|
+
|
311
|
+
[:clone, :dup].each do |symbol|
|
312
|
+
define_method "test_#{symbol}" do
|
313
|
+
node = @xml.at('//employee')
|
314
|
+
other = node.send(symbol)
|
315
|
+
assert_equal "employee", other.name
|
316
|
+
assert_nil other.parent
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
def test_fragment_creates_elements
|
321
|
+
apple = @xml.fragment('<Apple/>')
|
322
|
+
apple.children.each do |child|
|
323
|
+
assert_equal Nokogiri::XML::Node::ELEMENT_NODE, child.type
|
324
|
+
assert_instance_of Nokogiri::XML::Element, child
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
def test_node_added_to_root_should_get_namespace
|
329
|
+
fruits = Nokogiri::XML(<<-eoxml)
|
330
|
+
<Fruit xmlns='http://www.fruits.org'>
|
331
|
+
</Fruit>
|
332
|
+
eoxml
|
333
|
+
apple = fruits.fragment('<Apple/>')
|
334
|
+
fruits.root << apple
|
335
|
+
assert_equal 1, fruits.xpath('//xmlns:Apple').length
|
336
|
+
end
|
337
|
+
|
338
|
+
def test_new_node_can_have_ancestors
|
339
|
+
xml = Nokogiri::XML('<root>text</root>')
|
340
|
+
item = Nokogiri::XML::Element.new('item', xml)
|
341
|
+
assert_equal 0, item.ancestors.length
|
342
|
+
end
|
343
|
+
|
344
|
+
def test_children
|
345
|
+
doc = Nokogiri::XML(<<-eoxml)
|
346
|
+
<root>#{'<a/>' * 9 }</root>
|
347
|
+
eoxml
|
348
|
+
assert_equal 9, doc.root.children.length
|
349
|
+
assert_equal 9, doc.root.children.to_a.length
|
350
|
+
|
351
|
+
doc = Nokogiri::XML(<<-eoxml)
|
352
|
+
<root>#{'<a/>' * 15 }</root>
|
353
|
+
eoxml
|
354
|
+
assert_equal 15, doc.root.children.length
|
355
|
+
assert_equal 15, doc.root.children.to_a.length
|
356
|
+
end
|
357
|
+
|
358
|
+
def test_add_namespace
|
359
|
+
node = @xml.at('address')
|
360
|
+
node.add_namespace('foo', 'http://tenderlovemaking.com')
|
361
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns:foo']
|
362
|
+
end
|
363
|
+
|
364
|
+
def test_add_namespace_twice
|
365
|
+
node = @xml.at('address')
|
366
|
+
ns = node.add_namespace('foo', 'http://tenderlovemaking.com')
|
367
|
+
ns2 = node.add_namespace('foo', 'http://tenderlovemaking.com')
|
368
|
+
assert_equal ns, ns2
|
369
|
+
end
|
370
|
+
|
371
|
+
def test_add_default_ns
|
372
|
+
node = @xml.at('address')
|
373
|
+
node.add_namespace(nil, 'http://tenderlovemaking.com')
|
374
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns']
|
375
|
+
end
|
376
|
+
|
377
|
+
def test_add_multiple_namespaces
|
378
|
+
node = @xml.at('address')
|
379
|
+
|
380
|
+
node.add_namespace(nil, 'http://tenderlovemaking.com')
|
381
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns']
|
382
|
+
|
383
|
+
node.add_namespace('foo', 'http://tenderlovemaking.com')
|
384
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns:foo']
|
385
|
+
end
|
386
|
+
|
387
|
+
def test_default_namespace=
|
388
|
+
node = @xml.at('address')
|
389
|
+
node.default_namespace = 'http://tenderlovemaking.com'
|
390
|
+
assert_equal 'http://tenderlovemaking.com', node.namespaces['xmlns']
|
391
|
+
end
|
392
|
+
|
393
|
+
def test_namespace=
|
394
|
+
node = @xml.at('address')
|
395
|
+
assert_nil node.namespace
|
396
|
+
definition = node.add_namespace_definition 'bar', 'http://tlm.com/'
|
397
|
+
|
398
|
+
node.namespace = definition
|
399
|
+
|
400
|
+
assert_equal definition, node.namespace
|
401
|
+
|
402
|
+
assert_equal node, @xml.at('//foo:address', {
|
403
|
+
'foo' => 'http://tlm.com/'
|
404
|
+
})
|
405
|
+
end
|
406
|
+
|
407
|
+
def test_add_namespace_with_nil_associates_node
|
408
|
+
node = @xml.at('address')
|
409
|
+
assert_nil node.namespace
|
410
|
+
definition = node.add_namespace_definition nil, 'http://tlm.com/'
|
411
|
+
assert_equal definition, node.namespace
|
412
|
+
end
|
413
|
+
|
414
|
+
def test_add_namespace_does_not_associate_node
|
415
|
+
node = @xml.at('address')
|
416
|
+
assert_nil node.namespace
|
417
|
+
assert node.add_namespace_definition 'foo', 'http://tlm.com/'
|
418
|
+
assert_nil node.namespace
|
419
|
+
end
|
420
|
+
|
421
|
+
def test_set_namespace_from_different_doc
|
422
|
+
node = @xml.at('address')
|
423
|
+
doc = Nokogiri::XML(File.read(XML_FILE), XML_FILE)
|
424
|
+
decl = doc.root.add_namespace_definition 'foo', 'bar'
|
425
|
+
|
426
|
+
assert_raises(ArgumentError) do
|
427
|
+
node.namespace = decl
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
def test_set_namespace_must_only_take_a_namespace
|
432
|
+
node = @xml.at('address')
|
433
|
+
assert_raises(TypeError) do
|
434
|
+
node.namespace = node
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
def test_at
|
439
|
+
node = @xml.at('address')
|
440
|
+
assert_equal node, @xml.xpath('//address').first
|
441
|
+
end
|
442
|
+
|
443
|
+
def test_at_xpath
|
444
|
+
node = @xml.at_xpath('//address')
|
445
|
+
nodes = @xml.xpath('//address')
|
446
|
+
assert_equal 5, nodes.size
|
447
|
+
assert_equal node, nodes.first
|
448
|
+
end
|
449
|
+
|
450
|
+
def test_at_css
|
451
|
+
node = @xml.at_css('address')
|
452
|
+
nodes = @xml.css('address')
|
453
|
+
assert_equal 5, nodes.size
|
454
|
+
assert_equal node, nodes.first
|
455
|
+
end
|
456
|
+
|
457
|
+
def test_percent
|
458
|
+
node = @xml % ('address')
|
459
|
+
assert_equal node, @xml.xpath('//address').first
|
460
|
+
end
|
461
|
+
|
462
|
+
def test_accept
|
463
|
+
visitor = Class.new {
|
464
|
+
attr_accessor :visited
|
465
|
+
def accept target
|
466
|
+
target.accept(self)
|
467
|
+
end
|
468
|
+
|
469
|
+
def visit node
|
470
|
+
node.children.each { |c| c.accept(self) }
|
471
|
+
@visited = true
|
472
|
+
end
|
473
|
+
}.new
|
474
|
+
visitor.accept(@xml.root)
|
475
|
+
assert visitor.visited
|
476
|
+
end
|
477
|
+
|
478
|
+
def test_write_to
|
479
|
+
io = StringIO.new
|
480
|
+
@xml.write_to io
|
481
|
+
io.rewind
|
482
|
+
assert_equal @xml.to_xml, io.read
|
483
|
+
end
|
484
|
+
|
485
|
+
def test_attribute_with_symbol
|
486
|
+
assert_equal 'Yes', @xml.css('address').first[:domestic]
|
487
|
+
end
|
488
|
+
|
489
|
+
def test_write_to_with_block
|
490
|
+
called = false
|
491
|
+
io = StringIO.new
|
492
|
+
conf = nil
|
493
|
+
@xml.write_to io do |config|
|
494
|
+
called = true
|
495
|
+
conf = config
|
496
|
+
config.format.as_html.no_empty_tags
|
497
|
+
end
|
498
|
+
io.rewind
|
499
|
+
assert called
|
500
|
+
string = io.read
|
501
|
+
assert_equal @xml.serialize(nil, conf.options), string
|
502
|
+
assert_equal @xml.serialize(nil, conf), string
|
503
|
+
end
|
504
|
+
|
505
|
+
%w{ xml html xhtml }.each do |type|
|
506
|
+
define_method(:"test_write_#{type}_to") do
|
507
|
+
io = StringIO.new
|
508
|
+
assert @xml.send(:"write_#{type}_to", io)
|
509
|
+
io.rewind
|
510
|
+
assert_match @xml.send(:"to_#{type}"), io.read
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
def test_serialize_with_block
|
515
|
+
called = false
|
516
|
+
conf = nil
|
517
|
+
string = @xml.serialize do |config|
|
518
|
+
called = true
|
519
|
+
conf = config
|
520
|
+
config.format.as_html.no_empty_tags
|
521
|
+
end
|
522
|
+
assert called
|
523
|
+
assert_equal @xml.serialize(nil, conf.options), string
|
524
|
+
assert_equal @xml.serialize(nil, conf), string
|
525
|
+
end
|
526
|
+
|
527
|
+
def test_hold_refence_to_subnode
|
528
|
+
doc = Nokogiri::XML(<<-eoxml)
|
529
|
+
<root>
|
530
|
+
<a>
|
531
|
+
<b />
|
532
|
+
</a>
|
533
|
+
</root>
|
534
|
+
eoxml
|
535
|
+
assert node_a = doc.css('a').first
|
536
|
+
assert node_b = node_a.css('b').first
|
537
|
+
node_a.unlink
|
538
|
+
assert_equal 'b', node_b.name
|
539
|
+
end
|
540
|
+
|
541
|
+
def test_values
|
542
|
+
assert_equal %w{ Yes Yes }, @xml.xpath('//address')[1].values
|
543
|
+
end
|
544
|
+
|
545
|
+
def test_keys
|
546
|
+
assert_equal %w{ domestic street }, @xml.xpath('//address')[1].keys
|
547
|
+
end
|
548
|
+
|
549
|
+
def test_each
|
550
|
+
attributes = []
|
551
|
+
@xml.xpath('//address')[1].each do |key, value|
|
552
|
+
attributes << [key, value]
|
553
|
+
end
|
554
|
+
assert_equal [['domestic', 'Yes'], ['street', 'Yes']], attributes
|
555
|
+
end
|
556
|
+
|
557
|
+
def test_new
|
558
|
+
assert node = Nokogiri::XML::Node.new('input', @xml)
|
559
|
+
assert_equal 1, node.node_type
|
560
|
+
assert_instance_of Nokogiri::XML::Element, node
|
561
|
+
end
|
562
|
+
|
563
|
+
def test_to_str
|
564
|
+
name = @xml.xpath('//name').first
|
565
|
+
assert_match(/Margaret/, '' + name)
|
566
|
+
assert_equal('Margaret Martin', '' + name.children.first)
|
567
|
+
end
|
568
|
+
|
569
|
+
def test_ancestors
|
570
|
+
address = @xml.xpath('//address').first
|
571
|
+
assert_equal 3, address.ancestors.length
|
572
|
+
assert_equal ['employee', 'staff', 'document'],
|
573
|
+
address.ancestors.map { |x| x.name }
|
574
|
+
end
|
575
|
+
|
576
|
+
def test_read_only?
|
577
|
+
assert entity_decl = @xml.internal_subset.children.find { |x|
|
578
|
+
x.type == Node::ENTITY_DECL
|
579
|
+
}
|
580
|
+
assert entity_decl.read_only?
|
581
|
+
end
|
582
|
+
|
583
|
+
def test_remove_attribute
|
584
|
+
address = @xml.xpath('/staff/employee/address').first
|
585
|
+
assert_equal 'Yes', address['domestic']
|
586
|
+
address.remove_attribute 'domestic'
|
587
|
+
assert_nil address['domestic']
|
588
|
+
end
|
589
|
+
|
590
|
+
def test_delete
|
591
|
+
address = @xml.xpath('/staff/employee/address').first
|
592
|
+
assert_equal 'Yes', address['domestic']
|
593
|
+
address.delete 'domestic'
|
594
|
+
assert_nil address['domestic']
|
595
|
+
end
|
596
|
+
|
597
|
+
def test_set_content_with_symbol
|
598
|
+
node = @xml.at('//name')
|
599
|
+
node.content = :foo
|
600
|
+
assert_equal 'foo', node.content
|
601
|
+
end
|
602
|
+
|
603
|
+
def test_find_by_css_with_tilde_eql
|
604
|
+
xml = Nokogiri::XML.parse(<<-eoxml)
|
605
|
+
<root>
|
606
|
+
<a>Hello world</a>
|
607
|
+
<a class='foo bar'>Bar</a>
|
608
|
+
<a class='bar foo'>Bar</a>
|
609
|
+
<a class='bar'>Bar</a>
|
610
|
+
<a class='baz bar foo'>Bar</a>
|
611
|
+
<a class='bazbarfoo'>Awesome</a>
|
612
|
+
<a class='bazbar'>Awesome</a>
|
613
|
+
</root>
|
614
|
+
eoxml
|
615
|
+
set = xml.css('a[@class~="bar"]')
|
616
|
+
assert_equal 4, set.length
|
617
|
+
assert_equal ['Bar'], set.map { |node| node.content }.uniq
|
618
|
+
end
|
619
|
+
|
620
|
+
def test_unlink
|
621
|
+
xml = Nokogiri::XML.parse(<<-eoxml)
|
622
|
+
<root>
|
623
|
+
<a class='foo bar'>Bar</a>
|
624
|
+
<a class='bar foo'>Bar</a>
|
625
|
+
<a class='bar'>Bar</a>
|
626
|
+
<a>Hello world</a>
|
627
|
+
<a class='baz bar foo'>Bar</a>
|
628
|
+
<a class='bazbarfoo'>Awesome</a>
|
629
|
+
<a class='bazbar'>Awesome</a>
|
630
|
+
</root>
|
631
|
+
eoxml
|
632
|
+
node = xml.xpath('//a')[3]
|
633
|
+
assert_equal('Hello world', node.text)
|
634
|
+
assert_match(/Hello world/, xml.to_s)
|
635
|
+
assert node.parent
|
636
|
+
assert node.document
|
637
|
+
assert node.previous_sibling
|
638
|
+
assert node.next_sibling
|
639
|
+
node.unlink
|
640
|
+
assert !node.parent
|
641
|
+
#assert !node.document
|
642
|
+
assert !node.previous_sibling
|
643
|
+
assert !node.next_sibling
|
644
|
+
assert_no_match(/Hello world/, xml.to_s)
|
645
|
+
end
|
646
|
+
|
647
|
+
def test_next_sibling
|
648
|
+
assert node = @xml.root
|
649
|
+
assert sibling = node.child.next_sibling
|
650
|
+
assert_equal('employee', sibling.name)
|
651
|
+
end
|
652
|
+
|
653
|
+
def test_previous_sibling
|
654
|
+
assert node = @xml.root
|
655
|
+
assert sibling = node.child.next_sibling
|
656
|
+
assert_equal('employee', sibling.name)
|
657
|
+
assert_equal(sibling.previous_sibling, node.child)
|
658
|
+
end
|
659
|
+
|
660
|
+
def test_name=
|
661
|
+
assert node = @xml.root
|
662
|
+
node.name = 'awesome'
|
663
|
+
assert_equal('awesome', node.name)
|
664
|
+
end
|
665
|
+
|
666
|
+
def test_child
|
667
|
+
assert node = @xml.root
|
668
|
+
assert child = node.child
|
669
|
+
assert_equal('text', child.name)
|
670
|
+
end
|
671
|
+
|
672
|
+
def test_key?
|
673
|
+
assert node = @xml.search('//address').first
|
674
|
+
assert(!node.key?('asdfasdf'))
|
675
|
+
end
|
676
|
+
|
677
|
+
def test_set_property
|
678
|
+
assert node = @xml.search('//address').first
|
679
|
+
node['foo'] = 'bar'
|
680
|
+
assert_equal('bar', node['foo'])
|
681
|
+
end
|
682
|
+
|
683
|
+
def test_attributes
|
684
|
+
assert node = @xml.search('//address').first
|
685
|
+
assert_nil(node['asdfasdfasdf'])
|
686
|
+
assert_equal('Yes', node['domestic'])
|
687
|
+
|
688
|
+
assert node = @xml.search('//address')[2]
|
689
|
+
attr = node.attributes
|
690
|
+
assert_equal 2, attr.size
|
691
|
+
assert_equal 'Yes', attr['domestic'].value
|
692
|
+
assert_equal 'Yes', attr['domestic'].to_s
|
693
|
+
assert_equal 'No', attr['street'].value
|
694
|
+
end
|
695
|
+
|
696
|
+
def test_path
|
697
|
+
assert set = @xml.search('//employee')
|
698
|
+
assert node = set.first
|
699
|
+
assert_equal('/staff/employee[1]', node.path)
|
700
|
+
end
|
701
|
+
|
702
|
+
def test_parent_xpath
|
703
|
+
assert set = @xml.search('//employee')
|
704
|
+
assert node = set.first
|
705
|
+
assert parent_set = node.search('..')
|
706
|
+
assert parent_node = parent_set.first
|
707
|
+
assert_equal '/staff', parent_node.path
|
708
|
+
assert_equal node.parent, parent_node
|
709
|
+
end
|
710
|
+
|
711
|
+
def test_search_by_symbol
|
712
|
+
assert set = @xml.search(:employee)
|
713
|
+
assert 5, set.length
|
714
|
+
|
715
|
+
assert node = @xml.at(:employee)
|
716
|
+
assert node.text =~ /EMP0001/
|
717
|
+
end
|
718
|
+
|
719
|
+
def test_new_node
|
720
|
+
node = Nokogiri::XML::Node.new('form', @xml)
|
721
|
+
assert_equal('form', node.name)
|
722
|
+
assert(node.document)
|
723
|
+
end
|
724
|
+
|
725
|
+
def test_encode_special_chars
|
726
|
+
foo = @xml.css('employee').first.encode_special_chars('&')
|
727
|
+
assert_equal '&', foo
|
728
|
+
end
|
729
|
+
|
730
|
+
def test_content
|
731
|
+
node = Nokogiri::XML::Node.new('form', @xml)
|
732
|
+
assert_equal('', node.content)
|
733
|
+
|
734
|
+
node.content = 'hello world!'
|
735
|
+
assert_equal('hello world!', node.content)
|
736
|
+
|
737
|
+
node.content = '& <foo> &'
|
738
|
+
assert_equal('& <foo> &', node.content)
|
739
|
+
assert_equal('<form>& <foo> &amp;</form>', node.to_xml)
|
740
|
+
end
|
741
|
+
|
742
|
+
def test_set_content_should_unlink_existing_content
|
743
|
+
node = @xml.at_css("employee")
|
744
|
+
children = node.children
|
745
|
+
node.content = "hello"
|
746
|
+
children.each { |child| assert_nil child.parent }
|
747
|
+
end
|
748
|
+
|
749
|
+
def test_whitespace_nodes
|
750
|
+
doc = Nokogiri::XML.parse("<root><b>Foo</b>\n<i>Bar</i> <p>Bazz</p></root>")
|
751
|
+
children = doc.at('//root').children.collect{|j| j.to_s}
|
752
|
+
assert_equal "\n", children[1]
|
753
|
+
assert_equal " ", children[3]
|
754
|
+
end
|
755
|
+
|
756
|
+
def test_node_equality
|
757
|
+
doc1 = Nokogiri::XML.parse(File.read(XML_FILE), XML_FILE)
|
758
|
+
doc2 = Nokogiri::XML.parse(File.read(XML_FILE), XML_FILE)
|
759
|
+
|
760
|
+
address1_1 = doc1.xpath('//address').first
|
761
|
+
address1_2 = doc1.xpath('//address').first
|
762
|
+
|
763
|
+
address2 = doc2.xpath('//address').first
|
764
|
+
|
765
|
+
assert_not_equal address1_1, address2 # two references to very, very similar nodes
|
766
|
+
assert_equal address1_1, address1_2 # two references to the exact same node
|
767
|
+
end
|
768
|
+
|
769
|
+
def test_namespace_search_with_xpath_and_hash
|
770
|
+
xml = Nokogiri::XML.parse(<<-eoxml)
|
771
|
+
<root>
|
772
|
+
<car xmlns:part="http://general-motors.com/">
|
773
|
+
<part:tire>Michelin Model XGV</part:tire>
|
774
|
+
</car>
|
775
|
+
<bicycle xmlns:part="http://schwinn.com/">
|
776
|
+
<part:tire>I'm a bicycle tire!</part:tire>
|
777
|
+
</bicycle>
|
778
|
+
</root>
|
779
|
+
eoxml
|
780
|
+
|
781
|
+
tires = xml.xpath('//bike:tire', {'bike' => 'http://schwinn.com/'})
|
782
|
+
assert_equal 1, tires.length
|
783
|
+
end
|
784
|
+
|
785
|
+
def test_namespace_search_with_css
|
786
|
+
xml = Nokogiri::XML.parse(<<-eoxml)
|
787
|
+
<root>
|
788
|
+
<car xmlns:part="http://general-motors.com/">
|
789
|
+
<part:tire>Michelin Model XGV</part:tire>
|
790
|
+
</car>
|
791
|
+
<bicycle xmlns:part="http://schwinn.com/">
|
792
|
+
<part:tire>I'm a bicycle tire!</part:tire>
|
793
|
+
</bicycle>
|
794
|
+
</root>
|
795
|
+
eoxml
|
796
|
+
|
797
|
+
tires = xml.css('bike|tire', 'bike' => 'http://schwinn.com/')
|
798
|
+
assert_equal 1, tires.length
|
799
|
+
end
|
800
|
+
|
801
|
+
def test_namespaces_should_include_all_namespace_definitions
|
802
|
+
xml = Nokogiri::XML.parse(<<-EOF)
|
803
|
+
<x xmlns="http://quux.com/" xmlns:a="http://foo.com/" xmlns:b="http://bar.com/">
|
804
|
+
<y xmlns:c="http://bazz.com/">
|
805
|
+
<z>hello</z>
|
806
|
+
<a xmlns:c="http://newc.com/" />
|
807
|
+
</y>
|
808
|
+
</x>
|
809
|
+
EOF
|
810
|
+
|
811
|
+
namespaces = xml.namespaces # Document#namespace
|
812
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
813
|
+
"xmlns:a" => "http://foo.com/",
|
814
|
+
"xmlns:b" => "http://bar.com/"}, namespaces)
|
815
|
+
|
816
|
+
namespaces = xml.root.namespaces
|
817
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
818
|
+
"xmlns:a" => "http://foo.com/",
|
819
|
+
"xmlns:b" => "http://bar.com/"}, namespaces)
|
820
|
+
|
821
|
+
namespaces = xml.at_xpath("//xmlns:y").namespaces
|
822
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
823
|
+
"xmlns:a" => "http://foo.com/",
|
824
|
+
"xmlns:b" => "http://bar.com/",
|
825
|
+
"xmlns:c" => "http://bazz.com/"}, namespaces)
|
826
|
+
|
827
|
+
namespaces = xml.at_xpath("//xmlns:z").namespaces
|
828
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
829
|
+
"xmlns:a" => "http://foo.com/",
|
830
|
+
"xmlns:b" => "http://bar.com/",
|
831
|
+
"xmlns:c" => "http://bazz.com/"}, namespaces)
|
832
|
+
|
833
|
+
namespaces = xml.at_xpath("//xmlns:a").namespaces
|
834
|
+
assert_equal({"xmlns" => "http://quux.com/",
|
835
|
+
"xmlns:a" => "http://foo.com/",
|
836
|
+
"xmlns:b" => "http://bar.com/",
|
837
|
+
"xmlns:c" => "http://newc.com/"}, namespaces)
|
838
|
+
end
|
839
|
+
|
840
|
+
def test_namespace
|
841
|
+
xml = Nokogiri::XML.parse(<<-EOF)
|
842
|
+
<x xmlns:a='http://foo.com/' xmlns:b='http://bar.com/'>
|
843
|
+
<y xmlns:c='http://bazz.com/'>
|
844
|
+
<a:div>hello a</a:div>
|
845
|
+
<b:div>hello b</b:div>
|
846
|
+
<c:div>hello c</c:div>
|
847
|
+
<div>hello moon</div>
|
848
|
+
</y>
|
849
|
+
</x>
|
850
|
+
EOF
|
851
|
+
set = xml.search("//y/*")
|
852
|
+
assert_equal "a", set[0].namespace.prefix
|
853
|
+
assert_equal "b", set[1].namespace.prefix
|
854
|
+
assert_equal "c", set[2].namespace.prefix
|
855
|
+
assert_equal nil, set[3].namespace
|
856
|
+
end
|
857
|
+
|
858
|
+
def test_namespace_without_an_href_on_html_node
|
859
|
+
# because microsoft word's HTML formatting does this. ick.
|
860
|
+
xml = Nokogiri::HTML.parse <<-EOF
|
861
|
+
<div><o:p>foo</o:p></div>
|
862
|
+
EOF
|
863
|
+
|
864
|
+
assert_not_nil(node = xml.at('p'))
|
865
|
+
|
866
|
+
assert_equal 1, node.namespaces.keys.size
|
867
|
+
assert node.namespaces.has_key?('xmlns:o')
|
868
|
+
assert_equal nil, node.namespaces['xmlns:o']
|
869
|
+
end
|
870
|
+
|
871
|
+
def test_line
|
872
|
+
xml = Nokogiri::XML(<<-eoxml)
|
873
|
+
<root>
|
874
|
+
<a>
|
875
|
+
Hello world
|
876
|
+
</a>
|
877
|
+
</root>
|
878
|
+
eoxml
|
879
|
+
|
880
|
+
set = xml.search("//a")
|
881
|
+
node = set.first
|
882
|
+
assert_equal 2, node.line
|
883
|
+
end
|
884
|
+
|
885
|
+
def test_xpath_results_have_document_and_are_decorated
|
886
|
+
x = Module.new do
|
887
|
+
def awesome! ; end
|
888
|
+
end
|
889
|
+
util_decorate(@xml, x)
|
890
|
+
node_set = @xml.xpath("//employee")
|
891
|
+
assert_equal @xml, node_set.document
|
892
|
+
assert node_set.respond_to?(:awesome!)
|
893
|
+
end
|
894
|
+
|
895
|
+
def test_css_results_have_document_and_are_decorated
|
896
|
+
x = Module.new do
|
897
|
+
def awesome! ; end
|
898
|
+
end
|
899
|
+
util_decorate(@xml, x)
|
900
|
+
node_set = @xml.css("employee")
|
901
|
+
assert_equal @xml, node_set.document
|
902
|
+
assert node_set.respond_to?(:awesome!)
|
903
|
+
end
|
904
|
+
end
|
905
|
+
end
|
906
|
+
end
|