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,12 @@
|
|
1
|
+
require 'rack/nulllogger'
|
2
|
+
|
3
|
+
describe Rack::NullLogger do
|
4
|
+
should "act as a noop logger" do
|
5
|
+
app = lambda { |env|
|
6
|
+
env['rack.logger'].warn "b00m"
|
7
|
+
[200, {'Content-Type' => 'text/plain'}, ["Hello, World!"]]
|
8
|
+
}
|
9
|
+
logger = Rack::NullLogger.new(app)
|
10
|
+
lambda{ logger.call({}) }.should.not.raise
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
require 'rack/recursive'
|
2
|
+
require 'rack/mock'
|
3
|
+
|
4
|
+
describe Rack::Recursive do
|
5
|
+
@app1 = lambda { |env|
|
6
|
+
res = Rack::Response.new
|
7
|
+
res["X-Path-Info"] = env["PATH_INFO"]
|
8
|
+
res["X-Query-String"] = env["QUERY_STRING"]
|
9
|
+
res.finish do |inner_res|
|
10
|
+
inner_res.write "App1"
|
11
|
+
end
|
12
|
+
}
|
13
|
+
|
14
|
+
@app2 = lambda { |env|
|
15
|
+
Rack::Response.new.finish do |res|
|
16
|
+
res.write "App2"
|
17
|
+
_, _, body = env['rack.recursive.include'].call(env, "/app1")
|
18
|
+
body.each { |b|
|
19
|
+
res.write b
|
20
|
+
}
|
21
|
+
end
|
22
|
+
}
|
23
|
+
|
24
|
+
@app3 = lambda { |env|
|
25
|
+
raise Rack::ForwardRequest.new("/app1")
|
26
|
+
}
|
27
|
+
|
28
|
+
@app4 = lambda { |env|
|
29
|
+
raise Rack::ForwardRequest.new("http://example.org/app1/quux?meh")
|
30
|
+
}
|
31
|
+
|
32
|
+
should "allow for subrequests" do
|
33
|
+
res = Rack::MockRequest.new(Rack::Recursive.new(
|
34
|
+
Rack::URLMap.new("/app1" => @app1,
|
35
|
+
"/app2" => @app2))).
|
36
|
+
get("/app2")
|
37
|
+
|
38
|
+
res.should.be.ok
|
39
|
+
res.body.should.equal "App2App1"
|
40
|
+
end
|
41
|
+
|
42
|
+
should "raise error on requests not below the app" do
|
43
|
+
app = Rack::URLMap.new("/app1" => @app1,
|
44
|
+
"/app" => Rack::Recursive.new(
|
45
|
+
Rack::URLMap.new("/1" => @app1,
|
46
|
+
"/2" => @app2)))
|
47
|
+
|
48
|
+
lambda {
|
49
|
+
Rack::MockRequest.new(app).get("/app/2")
|
50
|
+
}.should.raise(ArgumentError).
|
51
|
+
message.should =~ /can only include below/
|
52
|
+
end
|
53
|
+
|
54
|
+
should "support forwarding" do
|
55
|
+
app = Rack::Recursive.new(Rack::URLMap.new("/app1" => @app1,
|
56
|
+
"/app3" => @app3,
|
57
|
+
"/app4" => @app4))
|
58
|
+
|
59
|
+
res = Rack::MockRequest.new(app).get("/app3")
|
60
|
+
res.should.be.ok
|
61
|
+
res.body.should.equal "App1"
|
62
|
+
|
63
|
+
res = Rack::MockRequest.new(app).get("/app4")
|
64
|
+
res.should.be.ok
|
65
|
+
res.body.should.equal "App1"
|
66
|
+
res["X-Path-Info"].should.equal "/quux"
|
67
|
+
res["X-Query-String"].should.equal "meh"
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,813 @@
|
|
1
|
+
require 'stringio'
|
2
|
+
require 'cgi'
|
3
|
+
require 'rack/request'
|
4
|
+
require 'rack/mock'
|
5
|
+
|
6
|
+
describe Rack::Request do
|
7
|
+
should "wrap the rack variables" do
|
8
|
+
req = Rack::Request.new(Rack::MockRequest.env_for("http://example.com:8080/"))
|
9
|
+
|
10
|
+
req.body.should.respond_to? :gets
|
11
|
+
req.scheme.should.equal "http"
|
12
|
+
req.request_method.should.equal "GET"
|
13
|
+
|
14
|
+
req.should.be.get
|
15
|
+
req.should.not.be.post
|
16
|
+
req.should.not.be.put
|
17
|
+
req.should.not.be.delete
|
18
|
+
req.should.not.be.head
|
19
|
+
req.should.not.be.patch
|
20
|
+
|
21
|
+
req.script_name.should.equal ""
|
22
|
+
req.path_info.should.equal "/"
|
23
|
+
req.query_string.should.equal ""
|
24
|
+
|
25
|
+
req.host.should.equal "example.com"
|
26
|
+
req.port.should.equal 8080
|
27
|
+
|
28
|
+
req.content_length.should.equal "0"
|
29
|
+
req.content_type.should.be.nil
|
30
|
+
end
|
31
|
+
|
32
|
+
should "figure out the correct host" do
|
33
|
+
req = Rack::Request.new \
|
34
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
|
35
|
+
req.host.should.equal "www2.example.org"
|
36
|
+
|
37
|
+
req = Rack::Request.new \
|
38
|
+
Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
|
39
|
+
req.host.should.equal "example.org"
|
40
|
+
|
41
|
+
req = Rack::Request.new \
|
42
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
|
43
|
+
req.host.should.equal "example.org"
|
44
|
+
|
45
|
+
env = Rack::MockRequest.env_for("/", "SERVER_ADDR" => "192.168.1.1", "SERVER_PORT" => "9292")
|
46
|
+
env.delete("SERVER_NAME")
|
47
|
+
req = Rack::Request.new(env)
|
48
|
+
req.host.should.equal "192.168.1.1"
|
49
|
+
|
50
|
+
env = Rack::MockRequest.env_for("/")
|
51
|
+
env.delete("SERVER_NAME")
|
52
|
+
req = Rack::Request.new(env)
|
53
|
+
req.host.should.equal ""
|
54
|
+
end
|
55
|
+
|
56
|
+
should "figure out the correct port" do
|
57
|
+
req = Rack::Request.new \
|
58
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
|
59
|
+
req.port.should.equal 80
|
60
|
+
|
61
|
+
req = Rack::Request.new \
|
62
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org:81")
|
63
|
+
req.port.should.equal 81
|
64
|
+
|
65
|
+
req = Rack::Request.new \
|
66
|
+
Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
|
67
|
+
req.port.should.equal 9292
|
68
|
+
|
69
|
+
req = Rack::Request.new \
|
70
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
|
71
|
+
req.port.should.equal 9292
|
72
|
+
|
73
|
+
req = Rack::Request.new \
|
74
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org")
|
75
|
+
req.port.should.equal 80
|
76
|
+
|
77
|
+
req = Rack::Request.new \
|
78
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_SSL" => "on")
|
79
|
+
req.port.should.equal 443
|
80
|
+
|
81
|
+
req = Rack::Request.new \
|
82
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_PROTO" => "https")
|
83
|
+
req.port.should.equal 443
|
84
|
+
|
85
|
+
req = Rack::Request.new \
|
86
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_PORT" => "9393")
|
87
|
+
req.port.should.equal 9393
|
88
|
+
|
89
|
+
req = Rack::Request.new \
|
90
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9393", "SERVER_PORT" => "80")
|
91
|
+
req.port.should.equal 9393
|
92
|
+
|
93
|
+
req = Rack::Request.new \
|
94
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "SERVER_PORT" => "9393")
|
95
|
+
req.port.should.equal 80
|
96
|
+
end
|
97
|
+
|
98
|
+
should "figure out the correct host with port" do
|
99
|
+
req = Rack::Request.new \
|
100
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
|
101
|
+
req.host_with_port.should.equal "www2.example.org"
|
102
|
+
|
103
|
+
req = Rack::Request.new \
|
104
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81")
|
105
|
+
req.host_with_port.should.equal "localhost:81"
|
106
|
+
|
107
|
+
req = Rack::Request.new \
|
108
|
+
Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
|
109
|
+
req.host_with_port.should.equal "example.org:9292"
|
110
|
+
|
111
|
+
req = Rack::Request.new \
|
112
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
|
113
|
+
req.host_with_port.should.equal "example.org:9292"
|
114
|
+
|
115
|
+
req = Rack::Request.new \
|
116
|
+
Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "SERVER_PORT" => "9393")
|
117
|
+
req.host_with_port.should.equal "example.org"
|
118
|
+
end
|
119
|
+
|
120
|
+
should "parse the query string" do
|
121
|
+
req = Rack::Request.new(Rack::MockRequest.env_for("/?foo=bar&quux=bla"))
|
122
|
+
req.query_string.should.equal "foo=bar&quux=bla"
|
123
|
+
req.GET.should.equal "foo" => "bar", "quux" => "bla"
|
124
|
+
req.POST.should.be.empty
|
125
|
+
req.params.should.equal "foo" => "bar", "quux" => "bla"
|
126
|
+
end
|
127
|
+
|
128
|
+
should "not unify GET and POST when calling params" do
|
129
|
+
mr = Rack::MockRequest.env_for("/?foo=quux",
|
130
|
+
"REQUEST_METHOD" => 'POST',
|
131
|
+
:input => "foo=bar&quux=bla"
|
132
|
+
)
|
133
|
+
req = Rack::Request.new mr
|
134
|
+
|
135
|
+
req.params
|
136
|
+
|
137
|
+
req.GET.should.equal "foo" => "quux"
|
138
|
+
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
139
|
+
req.params.should.equal req.GET.merge(req.POST)
|
140
|
+
end
|
141
|
+
|
142
|
+
should "raise if rack.input is missing" do
|
143
|
+
req = Rack::Request.new({})
|
144
|
+
lambda { req.POST }.should.raise(RuntimeError)
|
145
|
+
end
|
146
|
+
|
147
|
+
should "parse POST data when method is POST and no Content-Type given" do
|
148
|
+
req = Rack::Request.new \
|
149
|
+
Rack::MockRequest.env_for("/?foo=quux",
|
150
|
+
"REQUEST_METHOD" => 'POST',
|
151
|
+
:input => "foo=bar&quux=bla")
|
152
|
+
req.content_type.should.be.nil
|
153
|
+
req.media_type.should.be.nil
|
154
|
+
req.query_string.should.equal "foo=quux"
|
155
|
+
req.GET.should.equal "foo" => "quux"
|
156
|
+
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
157
|
+
req.params.should.equal "foo" => "bar", "quux" => "bla"
|
158
|
+
end
|
159
|
+
|
160
|
+
should "parse POST data with explicit content type regardless of method" do
|
161
|
+
req = Rack::Request.new \
|
162
|
+
Rack::MockRequest.env_for("/",
|
163
|
+
"CONTENT_TYPE" => 'application/x-www-form-urlencoded;foo=bar',
|
164
|
+
:input => "foo=bar&quux=bla")
|
165
|
+
req.content_type.should.equal 'application/x-www-form-urlencoded;foo=bar'
|
166
|
+
req.media_type.should.equal 'application/x-www-form-urlencoded'
|
167
|
+
req.media_type_params['foo'].should.equal 'bar'
|
168
|
+
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
169
|
+
req.params.should.equal "foo" => "bar", "quux" => "bla"
|
170
|
+
end
|
171
|
+
|
172
|
+
should "not parse POST data when media type is not form-data" do
|
173
|
+
req = Rack::Request.new \
|
174
|
+
Rack::MockRequest.env_for("/?foo=quux",
|
175
|
+
"REQUEST_METHOD" => 'POST',
|
176
|
+
"CONTENT_TYPE" => 'text/plain;charset=utf-8',
|
177
|
+
:input => "foo=bar&quux=bla")
|
178
|
+
req.content_type.should.equal 'text/plain;charset=utf-8'
|
179
|
+
req.media_type.should.equal 'text/plain'
|
180
|
+
req.media_type_params['charset'].should.equal 'utf-8'
|
181
|
+
req.POST.should.be.empty
|
182
|
+
req.params.should.equal "foo" => "quux"
|
183
|
+
req.body.read.should.equal "foo=bar&quux=bla"
|
184
|
+
end
|
185
|
+
|
186
|
+
should "parse POST data on PUT when media type is form-data" do
|
187
|
+
req = Rack::Request.new \
|
188
|
+
Rack::MockRequest.env_for("/?foo=quux",
|
189
|
+
"REQUEST_METHOD" => 'PUT',
|
190
|
+
"CONTENT_TYPE" => 'application/x-www-form-urlencoded',
|
191
|
+
:input => "foo=bar&quux=bla")
|
192
|
+
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
193
|
+
req.body.read.should.equal "foo=bar&quux=bla"
|
194
|
+
end
|
195
|
+
|
196
|
+
should "rewind input after parsing POST data" do
|
197
|
+
input = StringIO.new("foo=bar&quux=bla")
|
198
|
+
req = Rack::Request.new \
|
199
|
+
Rack::MockRequest.env_for("/",
|
200
|
+
"CONTENT_TYPE" => 'application/x-www-form-urlencoded;foo=bar',
|
201
|
+
:input => input)
|
202
|
+
req.params.should.equal "foo" => "bar", "quux" => "bla"
|
203
|
+
input.read.should.equal "foo=bar&quux=bla"
|
204
|
+
end
|
205
|
+
|
206
|
+
should "clean up Safari's ajax POST body" do
|
207
|
+
req = Rack::Request.new \
|
208
|
+
Rack::MockRequest.env_for("/",
|
209
|
+
'REQUEST_METHOD' => 'POST', :input => "foo=bar&quux=bla\0")
|
210
|
+
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
211
|
+
end
|
212
|
+
|
213
|
+
should "get value by key from params with #[]" do
|
214
|
+
req = Rack::Request.new \
|
215
|
+
Rack::MockRequest.env_for("?foo=quux")
|
216
|
+
req['foo'].should.equal 'quux'
|
217
|
+
req[:foo].should.equal 'quux'
|
218
|
+
end
|
219
|
+
|
220
|
+
should "set value to key on params with #[]=" do
|
221
|
+
req = Rack::Request.new \
|
222
|
+
Rack::MockRequest.env_for("?foo=duh")
|
223
|
+
req['foo'].should.equal 'duh'
|
224
|
+
req[:foo].should.equal 'duh'
|
225
|
+
req.params.should.equal 'foo' => 'duh'
|
226
|
+
|
227
|
+
req['foo'] = 'bar'
|
228
|
+
req.params.should.equal 'foo' => 'bar'
|
229
|
+
req['foo'].should.equal 'bar'
|
230
|
+
req[:foo].should.equal 'bar'
|
231
|
+
|
232
|
+
req[:foo] = 'jaz'
|
233
|
+
req.params.should.equal 'foo' => 'jaz'
|
234
|
+
req['foo'].should.equal 'jaz'
|
235
|
+
req[:foo].should.equal 'jaz'
|
236
|
+
end
|
237
|
+
|
238
|
+
should "return values for the keys in the order given from values_at" do
|
239
|
+
req = Rack::Request.new \
|
240
|
+
Rack::MockRequest.env_for("?foo=baz&wun=der&bar=ful")
|
241
|
+
req.values_at('foo').should.equal ['baz']
|
242
|
+
req.values_at('foo', 'wun').should.equal ['baz', 'der']
|
243
|
+
req.values_at('bar', 'foo', 'wun').should.equal ['ful', 'baz', 'der']
|
244
|
+
end
|
245
|
+
|
246
|
+
should "extract referrer correctly" do
|
247
|
+
req = Rack::Request.new \
|
248
|
+
Rack::MockRequest.env_for("/", "HTTP_REFERER" => "/some/path")
|
249
|
+
req.referer.should.equal "/some/path"
|
250
|
+
|
251
|
+
req = Rack::Request.new \
|
252
|
+
Rack::MockRequest.env_for("/")
|
253
|
+
req.referer.should.equal nil
|
254
|
+
end
|
255
|
+
|
256
|
+
should "extract user agent correctly" do
|
257
|
+
req = Rack::Request.new \
|
258
|
+
Rack::MockRequest.env_for("/", "HTTP_USER_AGENT" => "Mozilla/4.0 (compatible)")
|
259
|
+
req.user_agent.should.equal "Mozilla/4.0 (compatible)"
|
260
|
+
|
261
|
+
req = Rack::Request.new \
|
262
|
+
Rack::MockRequest.env_for("/")
|
263
|
+
req.user_agent.should.equal nil
|
264
|
+
end
|
265
|
+
|
266
|
+
should "treat missing content type as nil" do
|
267
|
+
req = Rack::Request.new \
|
268
|
+
Rack::MockRequest.env_for("/")
|
269
|
+
req.content_type.should.equal nil
|
270
|
+
end
|
271
|
+
|
272
|
+
should "treat empty content type as nil" do
|
273
|
+
req = Rack::Request.new \
|
274
|
+
Rack::MockRequest.env_for("/", "CONTENT_TYPE" => "")
|
275
|
+
req.content_type.should.equal nil
|
276
|
+
end
|
277
|
+
|
278
|
+
should "return nil media type for empty content type" do
|
279
|
+
req = Rack::Request.new \
|
280
|
+
Rack::MockRequest.env_for("/", "CONTENT_TYPE" => "")
|
281
|
+
req.media_type.should.equal nil
|
282
|
+
end
|
283
|
+
|
284
|
+
should "cache, but invalidates the cache" do
|
285
|
+
req = Rack::Request.new \
|
286
|
+
Rack::MockRequest.env_for("/?foo=quux",
|
287
|
+
"CONTENT_TYPE" => "application/x-www-form-urlencoded",
|
288
|
+
:input => "foo=bar&quux=bla")
|
289
|
+
req.GET.should.equal "foo" => "quux"
|
290
|
+
req.GET.should.equal "foo" => "quux"
|
291
|
+
req.env["QUERY_STRING"] = "bla=foo"
|
292
|
+
req.GET.should.equal "bla" => "foo"
|
293
|
+
req.GET.should.equal "bla" => "foo"
|
294
|
+
|
295
|
+
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
296
|
+
req.POST.should.equal "foo" => "bar", "quux" => "bla"
|
297
|
+
req.env["rack.input"] = StringIO.new("foo=bla&quux=bar")
|
298
|
+
req.POST.should.equal "foo" => "bla", "quux" => "bar"
|
299
|
+
req.POST.should.equal "foo" => "bla", "quux" => "bar"
|
300
|
+
end
|
301
|
+
|
302
|
+
should "figure out if called via XHR" do
|
303
|
+
req = Rack::Request.new(Rack::MockRequest.env_for(""))
|
304
|
+
req.should.not.be.xhr
|
305
|
+
|
306
|
+
req = Rack::Request.new \
|
307
|
+
Rack::MockRequest.env_for("", "HTTP_X_REQUESTED_WITH" => "XMLHttpRequest")
|
308
|
+
req.should.be.xhr
|
309
|
+
end
|
310
|
+
|
311
|
+
should "ssl detection" do
|
312
|
+
request = Rack::Request.new(Rack::MockRequest.env_for("/"))
|
313
|
+
request.scheme.should.equal "http"
|
314
|
+
request.should.not.be.ssl?
|
315
|
+
|
316
|
+
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTPS' => 'on'))
|
317
|
+
request.scheme.should.equal "https"
|
318
|
+
request.should.be.ssl?
|
319
|
+
|
320
|
+
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'rack.url_scheme' => 'https'))
|
321
|
+
request.scheme.should.equal "https"
|
322
|
+
request.should.be.ssl?
|
323
|
+
|
324
|
+
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8080'))
|
325
|
+
request.scheme.should.equal "http"
|
326
|
+
request.should.not.be.ssl?
|
327
|
+
|
328
|
+
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8443', 'HTTPS' => 'on'))
|
329
|
+
request.scheme.should.equal "https"
|
330
|
+
request.should.be.ssl?
|
331
|
+
|
332
|
+
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8443', 'HTTP_X_FORWARDED_SSL' => 'on'))
|
333
|
+
request.scheme.should.equal "https"
|
334
|
+
request.should.be.ssl?
|
335
|
+
|
336
|
+
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_X_FORWARDED_PROTO' => 'https'))
|
337
|
+
request.scheme.should.equal "https"
|
338
|
+
request.should.be.ssl?
|
339
|
+
|
340
|
+
request = Rack::Request.new(Rack::MockRequest.env_for("/", 'HTTP_X_FORWARDED_PROTO' => 'https, http, http'))
|
341
|
+
request.scheme.should.equal "https"
|
342
|
+
request.should.be.ssl
|
343
|
+
end
|
344
|
+
|
345
|
+
should "parse cookies" do
|
346
|
+
req = Rack::Request.new \
|
347
|
+
Rack::MockRequest.env_for("", "HTTP_COOKIE" => "foo=bar;quux=h&m")
|
348
|
+
req.cookies.should.equal "foo" => "bar", "quux" => "h&m"
|
349
|
+
req.cookies.should.equal "foo" => "bar", "quux" => "h&m"
|
350
|
+
req.env.delete("HTTP_COOKIE")
|
351
|
+
req.cookies.should.equal({})
|
352
|
+
end
|
353
|
+
|
354
|
+
should "parse cookies according to RFC 2109" do
|
355
|
+
req = Rack::Request.new \
|
356
|
+
Rack::MockRequest.env_for('', 'HTTP_COOKIE' => 'foo=bar;foo=car')
|
357
|
+
req.cookies.should.equal 'foo' => 'bar'
|
358
|
+
end
|
359
|
+
|
360
|
+
should 'parse cookies with quotes' do
|
361
|
+
req = Rack::Request.new Rack::MockRequest.env_for('', {
|
362
|
+
'HTTP_COOKIE' => '$Version="1"; Customer="WILE_E_COYOTE"; $Path="/acme"; Part_Number="Rocket_Launcher_0001"; $Path="/acme"'
|
363
|
+
})
|
364
|
+
req.cookies.should.equal({
|
365
|
+
'$Version' => '"1"',
|
366
|
+
'Customer' => '"WILE_E_COYOTE"',
|
367
|
+
'$Path' => '"/acme"',
|
368
|
+
'Part_Number' => '"Rocket_Launcher_0001"',
|
369
|
+
})
|
370
|
+
end
|
371
|
+
|
372
|
+
should "provide setters" do
|
373
|
+
req = Rack::Request.new(e=Rack::MockRequest.env_for(""))
|
374
|
+
req.script_name.should.equal ""
|
375
|
+
req.script_name = "/foo"
|
376
|
+
req.script_name.should.equal "/foo"
|
377
|
+
e["SCRIPT_NAME"].should.equal "/foo"
|
378
|
+
|
379
|
+
req.path_info.should.equal "/"
|
380
|
+
req.path_info = "/foo"
|
381
|
+
req.path_info.should.equal "/foo"
|
382
|
+
e["PATH_INFO"].should.equal "/foo"
|
383
|
+
end
|
384
|
+
|
385
|
+
should "provide the original env" do
|
386
|
+
req = Rack::Request.new(e = Rack::MockRequest.env_for(""))
|
387
|
+
req.env.should == e
|
388
|
+
end
|
389
|
+
|
390
|
+
should "restore the base URL" do
|
391
|
+
Rack::Request.new(Rack::MockRequest.env_for("")).base_url.
|
392
|
+
should.equal "http://example.org"
|
393
|
+
Rack::Request.new(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).base_url.
|
394
|
+
should.equal "http://example.org"
|
395
|
+
end
|
396
|
+
|
397
|
+
should "restore the URL" do
|
398
|
+
Rack::Request.new(Rack::MockRequest.env_for("")).url.
|
399
|
+
should.equal "http://example.org/"
|
400
|
+
Rack::Request.new(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).url.
|
401
|
+
should.equal "http://example.org/foo/"
|
402
|
+
Rack::Request.new(Rack::MockRequest.env_for("/foo")).url.
|
403
|
+
should.equal "http://example.org/foo"
|
404
|
+
Rack::Request.new(Rack::MockRequest.env_for("?foo")).url.
|
405
|
+
should.equal "http://example.org/?foo"
|
406
|
+
Rack::Request.new(Rack::MockRequest.env_for("http://example.org:8080/")).url.
|
407
|
+
should.equal "http://example.org:8080/"
|
408
|
+
Rack::Request.new(Rack::MockRequest.env_for("https://example.org/")).url.
|
409
|
+
should.equal "https://example.org/"
|
410
|
+
|
411
|
+
Rack::Request.new(Rack::MockRequest.env_for("https://example.com:8080/foo?foo")).url.
|
412
|
+
should.equal "https://example.com:8080/foo?foo"
|
413
|
+
end
|
414
|
+
|
415
|
+
should "restore the full path" do
|
416
|
+
Rack::Request.new(Rack::MockRequest.env_for("")).fullpath.
|
417
|
+
should.equal "/"
|
418
|
+
Rack::Request.new(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).fullpath.
|
419
|
+
should.equal "/foo/"
|
420
|
+
Rack::Request.new(Rack::MockRequest.env_for("/foo")).fullpath.
|
421
|
+
should.equal "/foo"
|
422
|
+
Rack::Request.new(Rack::MockRequest.env_for("?foo")).fullpath.
|
423
|
+
should.equal "/?foo"
|
424
|
+
Rack::Request.new(Rack::MockRequest.env_for("http://example.org:8080/")).fullpath.
|
425
|
+
should.equal "/"
|
426
|
+
Rack::Request.new(Rack::MockRequest.env_for("https://example.org/")).fullpath.
|
427
|
+
should.equal "/"
|
428
|
+
|
429
|
+
Rack::Request.new(Rack::MockRequest.env_for("https://example.com:8080/foo?foo")).fullpath.
|
430
|
+
should.equal "/foo?foo"
|
431
|
+
end
|
432
|
+
|
433
|
+
should "handle multiple media type parameters" do
|
434
|
+
req = Rack::Request.new \
|
435
|
+
Rack::MockRequest.env_for("/",
|
436
|
+
"CONTENT_TYPE" => 'text/plain; foo=BAR,baz=bizzle dizzle;BLING=bam')
|
437
|
+
req.should.not.be.form_data
|
438
|
+
req.media_type_params.should.include 'foo'
|
439
|
+
req.media_type_params['foo'].should.equal 'BAR'
|
440
|
+
req.media_type_params.should.include 'baz'
|
441
|
+
req.media_type_params['baz'].should.equal 'bizzle dizzle'
|
442
|
+
req.media_type_params.should.not.include 'BLING'
|
443
|
+
req.media_type_params.should.include 'bling'
|
444
|
+
req.media_type_params['bling'].should.equal 'bam'
|
445
|
+
end
|
446
|
+
|
447
|
+
should "parse with junk before boundry" do
|
448
|
+
# Adapted from RFC 1867.
|
449
|
+
input = <<EOF
|
450
|
+
blah blah\r
|
451
|
+
\r
|
452
|
+
--AaB03x\r
|
453
|
+
content-disposition: form-data; name="reply"\r
|
454
|
+
\r
|
455
|
+
yes\r
|
456
|
+
--AaB03x\r
|
457
|
+
content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
|
458
|
+
Content-Type: image/jpeg\r
|
459
|
+
Content-Transfer-Encoding: base64\r
|
460
|
+
\r
|
461
|
+
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
|
462
|
+
--AaB03x--\r
|
463
|
+
EOF
|
464
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
465
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
466
|
+
"CONTENT_LENGTH" => input.size,
|
467
|
+
:input => input)
|
468
|
+
|
469
|
+
req.POST.should.include "fileupload"
|
470
|
+
req.POST.should.include "reply"
|
471
|
+
|
472
|
+
req.should.be.form_data
|
473
|
+
req.content_length.should.equal input.size
|
474
|
+
req.media_type.should.equal 'multipart/form-data'
|
475
|
+
req.media_type_params.should.include 'boundary'
|
476
|
+
req.media_type_params['boundary'].should.equal 'AaB03x'
|
477
|
+
|
478
|
+
req.POST["reply"].should.equal "yes"
|
479
|
+
|
480
|
+
f = req.POST["fileupload"]
|
481
|
+
f.should.be.kind_of Hash
|
482
|
+
f[:type].should.equal "image/jpeg"
|
483
|
+
f[:filename].should.equal "dj.jpg"
|
484
|
+
f.should.include :tempfile
|
485
|
+
f[:tempfile].size.should.equal 76
|
486
|
+
end
|
487
|
+
|
488
|
+
should "not infinite loop with a malformed HTTP request" do
|
489
|
+
# Adapted from RFC 1867.
|
490
|
+
input = <<EOF
|
491
|
+
--AaB03x
|
492
|
+
content-disposition: form-data; name="reply"
|
493
|
+
|
494
|
+
yes
|
495
|
+
--AaB03x
|
496
|
+
content-disposition: form-data; name="fileupload"; filename="dj.jpg"
|
497
|
+
Content-Type: image/jpeg
|
498
|
+
Content-Transfer-Encoding: base64
|
499
|
+
|
500
|
+
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg
|
501
|
+
--AaB03x--
|
502
|
+
EOF
|
503
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
504
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
505
|
+
"CONTENT_LENGTH" => input.size,
|
506
|
+
:input => input)
|
507
|
+
|
508
|
+
lambda{req.POST}.should.raise(EOFError)
|
509
|
+
end
|
510
|
+
|
511
|
+
|
512
|
+
should "parse multipart form data" do
|
513
|
+
# Adapted from RFC 1867.
|
514
|
+
input = <<EOF
|
515
|
+
--AaB03x\r
|
516
|
+
content-disposition: form-data; name="reply"\r
|
517
|
+
\r
|
518
|
+
yes\r
|
519
|
+
--AaB03x\r
|
520
|
+
content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
|
521
|
+
Content-Type: image/jpeg\r
|
522
|
+
Content-Transfer-Encoding: base64\r
|
523
|
+
\r
|
524
|
+
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
|
525
|
+
--AaB03x--\r
|
526
|
+
EOF
|
527
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
528
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
529
|
+
"CONTENT_LENGTH" => input.size,
|
530
|
+
:input => input)
|
531
|
+
|
532
|
+
req.POST.should.include "fileupload"
|
533
|
+
req.POST.should.include "reply"
|
534
|
+
|
535
|
+
req.should.be.form_data
|
536
|
+
req.content_length.should.equal input.size
|
537
|
+
req.media_type.should.equal 'multipart/form-data'
|
538
|
+
req.media_type_params.should.include 'boundary'
|
539
|
+
req.media_type_params['boundary'].should.equal 'AaB03x'
|
540
|
+
|
541
|
+
req.POST["reply"].should.equal "yes"
|
542
|
+
|
543
|
+
f = req.POST["fileupload"]
|
544
|
+
f.should.be.kind_of Hash
|
545
|
+
f[:type].should.equal "image/jpeg"
|
546
|
+
f[:filename].should.equal "dj.jpg"
|
547
|
+
f.should.include :tempfile
|
548
|
+
f[:tempfile].size.should.equal 76
|
549
|
+
end
|
550
|
+
|
551
|
+
should "parse big multipart form data" do
|
552
|
+
input = <<EOF
|
553
|
+
--AaB03x\r
|
554
|
+
content-disposition: form-data; name="huge"; filename="huge"\r
|
555
|
+
\r
|
556
|
+
#{"x"*32768}\r
|
557
|
+
--AaB03x\r
|
558
|
+
content-disposition: form-data; name="mean"; filename="mean"\r
|
559
|
+
\r
|
560
|
+
--AaB03xha\r
|
561
|
+
--AaB03x--\r
|
562
|
+
EOF
|
563
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
564
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
565
|
+
"CONTENT_LENGTH" => input.size,
|
566
|
+
:input => input)
|
567
|
+
|
568
|
+
req.POST["huge"][:tempfile].size.should.equal 32768
|
569
|
+
req.POST["mean"][:tempfile].size.should.equal 10
|
570
|
+
req.POST["mean"][:tempfile].read.should.equal "--AaB03xha"
|
571
|
+
end
|
572
|
+
|
573
|
+
should "detect invalid multipart form data" do
|
574
|
+
input = <<EOF
|
575
|
+
--AaB03x\r
|
576
|
+
content-disposition: form-data; name="huge"; filename="huge"\r
|
577
|
+
EOF
|
578
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
579
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
580
|
+
"CONTENT_LENGTH" => input.size,
|
581
|
+
:input => input)
|
582
|
+
|
583
|
+
lambda { req.POST }.should.raise(EOFError)
|
584
|
+
|
585
|
+
input = <<EOF
|
586
|
+
--AaB03x\r
|
587
|
+
content-disposition: form-data; name="huge"; filename="huge"\r
|
588
|
+
\r
|
589
|
+
foo\r
|
590
|
+
EOF
|
591
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
592
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
593
|
+
"CONTENT_LENGTH" => input.size,
|
594
|
+
:input => input)
|
595
|
+
|
596
|
+
lambda { req.POST }.should.raise(EOFError)
|
597
|
+
|
598
|
+
input = <<EOF
|
599
|
+
--AaB03x\r
|
600
|
+
content-disposition: form-data; name="huge"; filename="huge"\r
|
601
|
+
\r
|
602
|
+
foo\r
|
603
|
+
EOF
|
604
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
605
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
606
|
+
"CONTENT_LENGTH" => input.size,
|
607
|
+
:input => input)
|
608
|
+
|
609
|
+
lambda { req.POST }.should.raise(EOFError)
|
610
|
+
end
|
611
|
+
|
612
|
+
should "correctly parse the part name from Content-Id header" do
|
613
|
+
input = <<EOF
|
614
|
+
--AaB03x\r
|
615
|
+
Content-Type: text/xml; charset=utf-8\r
|
616
|
+
Content-Id: <soap-start>\r
|
617
|
+
Content-Transfer-Encoding: 7bit\r
|
618
|
+
\r
|
619
|
+
foo\r
|
620
|
+
--AaB03x--\r
|
621
|
+
EOF
|
622
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
623
|
+
"CONTENT_TYPE" => "multipart/related, boundary=AaB03x",
|
624
|
+
"CONTENT_LENGTH" => input.size,
|
625
|
+
:input => input)
|
626
|
+
|
627
|
+
req.params.keys.should.equal ["<soap-start>"]
|
628
|
+
end
|
629
|
+
|
630
|
+
should "not try to interpret binary as utf8" do
|
631
|
+
if /regexp/.respond_to?(:kcode) # < 1.9
|
632
|
+
begin
|
633
|
+
original_kcode = $KCODE
|
634
|
+
$KCODE='UTF8'
|
635
|
+
|
636
|
+
input = <<EOF
|
637
|
+
--AaB03x\r
|
638
|
+
content-disposition: form-data; name="fileupload"; filename="junk.a"\r
|
639
|
+
content-type: application/octet-stream\r
|
640
|
+
\r
|
641
|
+
#{[0x36,0xCF,0x0A,0xF8].pack('c*')}\r
|
642
|
+
--AaB03x--\r
|
643
|
+
EOF
|
644
|
+
|
645
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
646
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
647
|
+
"CONTENT_LENGTH" => input.size,
|
648
|
+
:input => input)
|
649
|
+
|
650
|
+
lambda{req.POST}.should.not.raise(EOFError)
|
651
|
+
req.POST["fileupload"][:tempfile].size.should.equal 4
|
652
|
+
ensure
|
653
|
+
$KCODE = original_kcode
|
654
|
+
end
|
655
|
+
else # >= 1.9
|
656
|
+
input = <<EOF
|
657
|
+
--AaB03x\r
|
658
|
+
content-disposition: form-data; name="fileupload"; filename="junk.a"\r
|
659
|
+
content-type: application/octet-stream\r
|
660
|
+
\r
|
661
|
+
#{[0x36,0xCF,0x0A,0xF8].pack('c*')}\r
|
662
|
+
--AaB03x--\r
|
663
|
+
EOF
|
664
|
+
|
665
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
666
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
667
|
+
"CONTENT_LENGTH" => input.size,
|
668
|
+
:input => input)
|
669
|
+
|
670
|
+
lambda{req.POST}.should.not.raise(EOFError)
|
671
|
+
req.POST["fileupload"][:tempfile].size.should.equal 4
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
should "work around buggy 1.8.* Tempfile equality" do
|
676
|
+
input = <<EOF
|
677
|
+
--AaB03x\r
|
678
|
+
content-disposition: form-data; name="huge"; filename="huge"\r
|
679
|
+
\r
|
680
|
+
foo\r
|
681
|
+
--AaB03x--
|
682
|
+
EOF
|
683
|
+
|
684
|
+
rack_input = Tempfile.new("rackspec")
|
685
|
+
rack_input.write(input)
|
686
|
+
rack_input.rewind
|
687
|
+
|
688
|
+
req = Rack::Request.new Rack::MockRequest.env_for("/",
|
689
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
690
|
+
"CONTENT_LENGTH" => input.size,
|
691
|
+
:input => rack_input)
|
692
|
+
|
693
|
+
lambda{ req.POST }.should.not.raise
|
694
|
+
lambda{ req.POST }.should.not.raise("input re-processed!")
|
695
|
+
end
|
696
|
+
|
697
|
+
should "conform to the Rack spec" do
|
698
|
+
app = lambda { |env|
|
699
|
+
content = Rack::Request.new(env).POST["file"].inspect
|
700
|
+
size = content.respond_to?(:bytesize) ? content.bytesize : content.size
|
701
|
+
[200, {"Content-Type" => "text/html", "Content-Length" => size.to_s}, [content]]
|
702
|
+
}
|
703
|
+
|
704
|
+
input = <<EOF
|
705
|
+
--AaB03x\r
|
706
|
+
content-disposition: form-data; name="reply"\r
|
707
|
+
\r
|
708
|
+
yes\r
|
709
|
+
--AaB03x\r
|
710
|
+
content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
|
711
|
+
Content-Type: image/jpeg\r
|
712
|
+
Content-Transfer-Encoding: base64\r
|
713
|
+
\r
|
714
|
+
/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
|
715
|
+
--AaB03x--\r
|
716
|
+
EOF
|
717
|
+
input.force_encoding("ASCII-8BIT") if input.respond_to? :force_encoding
|
718
|
+
res = Rack::MockRequest.new(Rack::Lint.new(app)).get "/",
|
719
|
+
"CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
|
720
|
+
"CONTENT_LENGTH" => input.size.to_s, "rack.input" => StringIO.new(input)
|
721
|
+
|
722
|
+
res.should.be.ok
|
723
|
+
end
|
724
|
+
|
725
|
+
should "parse Accept-Encoding correctly" do
|
726
|
+
parser = lambda do |x|
|
727
|
+
Rack::Request.new(Rack::MockRequest.env_for("", "HTTP_ACCEPT_ENCODING" => x)).accept_encoding
|
728
|
+
end
|
729
|
+
|
730
|
+
parser.call(nil).should.equal([])
|
731
|
+
|
732
|
+
parser.call("compress, gzip").should.equal([["compress", 1.0], ["gzip", 1.0]])
|
733
|
+
parser.call("").should.equal([])
|
734
|
+
parser.call("*").should.equal([["*", 1.0]])
|
735
|
+
parser.call("compress;q=0.5, gzip;q=1.0").should.equal([["compress", 0.5], ["gzip", 1.0]])
|
736
|
+
parser.call("gzip;q=1.0, identity; q=0.5, *;q=0").should.equal([["gzip", 1.0], ["identity", 0.5], ["*", 0] ])
|
737
|
+
|
738
|
+
lambda { parser.call("gzip ; q=1.0") }.should.raise(RuntimeError)
|
739
|
+
end
|
740
|
+
|
741
|
+
should 'provide ip information' do
|
742
|
+
app = lambda { |env|
|
743
|
+
request = Rack::Request.new(env)
|
744
|
+
response = Rack::Response.new
|
745
|
+
response.write request.ip
|
746
|
+
response.finish
|
747
|
+
}
|
748
|
+
|
749
|
+
mock = Rack::MockRequest.new(Rack::Lint.new(app))
|
750
|
+
res = mock.get '/', 'REMOTE_ADDR' => '123.123.123.123'
|
751
|
+
res.body.should.equal '123.123.123.123'
|
752
|
+
|
753
|
+
res = mock.get '/',
|
754
|
+
'REMOTE_ADDR' => '123.123.123.123',
|
755
|
+
'HTTP_X_FORWARDED_FOR' => '234.234.234.234'
|
756
|
+
|
757
|
+
res.body.should.equal '234.234.234.234'
|
758
|
+
|
759
|
+
res = mock.get '/',
|
760
|
+
'REMOTE_ADDR' => '123.123.123.123',
|
761
|
+
'HTTP_X_FORWARDED_FOR' => '234.234.234.234,212.212.212.212'
|
762
|
+
|
763
|
+
res.body.should.equal '234.234.234.234'
|
764
|
+
|
765
|
+
res = mock.get '/',
|
766
|
+
'REMOTE_ADDR' => '123.123.123.123',
|
767
|
+
'HTTP_X_FORWARDED_FOR' => 'unknown,234.234.234.234,212.212.212.212'
|
768
|
+
|
769
|
+
res.body.should.equal '234.234.234.234'
|
770
|
+
end
|
771
|
+
|
772
|
+
class MyRequest < Rack::Request
|
773
|
+
def params
|
774
|
+
{:foo => "bar"}
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
should "allow subclass request to be instantiated after parent request" do
|
779
|
+
env = Rack::MockRequest.env_for("/?foo=bar")
|
780
|
+
|
781
|
+
req1 = Rack::Request.new(env)
|
782
|
+
req1.GET.should.equal "foo" => "bar"
|
783
|
+
req1.params.should.equal "foo" => "bar"
|
784
|
+
|
785
|
+
req2 = MyRequest.new(env)
|
786
|
+
req2.GET.should.equal "foo" => "bar"
|
787
|
+
req2.params.should.equal :foo => "bar"
|
788
|
+
end
|
789
|
+
|
790
|
+
should "allow parent request to be instantiated after subclass request" do
|
791
|
+
env = Rack::MockRequest.env_for("/?foo=bar")
|
792
|
+
|
793
|
+
req1 = MyRequest.new(env)
|
794
|
+
req1.GET.should.equal "foo" => "bar"
|
795
|
+
req1.params.should.equal :foo => "bar"
|
796
|
+
|
797
|
+
req2 = Rack::Request.new(env)
|
798
|
+
req2.GET.should.equal "foo" => "bar"
|
799
|
+
req2.params.should.equal "foo" => "bar"
|
800
|
+
end
|
801
|
+
|
802
|
+
(0x20...0x7E).collect { |a|
|
803
|
+
b = a.chr
|
804
|
+
c = CGI.escape(b)
|
805
|
+
should "not strip '#{a}' => '#{c}' => '#{b}' escaped character from parameters when accessed as string" do
|
806
|
+
url = "/?foo=#{c}bar#{c}"
|
807
|
+
env = Rack::MockRequest.env_for(url)
|
808
|
+
req2 = Rack::Request.new(env)
|
809
|
+
req2.GET.should.equal "foo" => "#{b}bar#{b}"
|
810
|
+
req2.params.should.equal "foo" => "#{b}bar#{b}"
|
811
|
+
end
|
812
|
+
}
|
813
|
+
end
|