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.
Files changed (1059) hide show
  1. data/Gemfile +1 -2
  2. data/Gemfile.lock +17 -3
  3. data/README.rdoc +9 -2
  4. data/VERSION +1 -1
  5. data/lib/search_biomodel.rb +11 -8
  6. data/search_biomodel.gemspec +1055 -9
  7. data/search_biomodel/ruby/1.8/bin/jeweler +19 -0
  8. data/search_biomodel/ruby/1.8/bin/nokogiri +19 -0
  9. data/search_biomodel/ruby/1.8/bin/rackup +19 -0
  10. data/search_biomodel/ruby/1.8/bin/rake +19 -0
  11. data/search_biomodel/ruby/1.8/bin/rcov +19 -0
  12. data/search_biomodel/ruby/1.8/cache/builder-3.0.0.gem +0 -0
  13. data/search_biomodel/ruby/1.8/cache/git-1.2.5.gem +0 -0
  14. data/search_biomodel/ruby/1.8/cache/gyoku-0.4.4.gem +0 -0
  15. data/search_biomodel/ruby/1.8/cache/httpi-0.9.4.gem +0 -0
  16. data/search_biomodel/ruby/1.8/cache/jeweler-1.6.2.gem +0 -0
  17. data/search_biomodel/ruby/1.8/cache/nokogiri-1.4.6.gem +0 -0
  18. data/search_biomodel/ruby/1.8/cache/nori-1.0.1.gem +0 -0
  19. data/search_biomodel/ruby/1.8/cache/pyu-ntlm-http-0.1.3.1.gem +0 -0
  20. data/search_biomodel/ruby/1.8/cache/rack-1.3.0.gem +0 -0
  21. data/search_biomodel/ruby/1.8/cache/rake-0.9.2.gem +0 -0
  22. data/search_biomodel/ruby/1.8/cache/rcov-0.9.9.gem +0 -0
  23. data/search_biomodel/ruby/1.8/cache/savon-0.9.2.gem +0 -0
  24. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/CHANGES +89 -0
  25. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/README +229 -0
  26. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/README.rdoc +232 -0
  27. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/Rakefile +296 -0
  28. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/TAGS +55364 -0
  29. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/blankslate.rb +109 -0
  30. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder.rb +13 -0
  31. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/blankslate.rb +23 -0
  32. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/xchar.rb +197 -0
  33. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/xmlbase.rb +160 -0
  34. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/xmlevents.rb +63 -0
  35. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/lib/builder/xmlmarkup.rb +334 -0
  36. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/performance.rb +40 -0
  37. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/preload.rb +39 -0
  38. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_blankslate.rb +225 -0
  39. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_cssbuilder.rb +125 -0
  40. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_eventbuilder.rb +150 -0
  41. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_markupbuilder.rb +546 -0
  42. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_namecollision.rb +39 -0
  43. data/search_biomodel/ruby/1.8/gems/builder-3.0.0/test/test_xchar.rb +77 -0
  44. data/search_biomodel/ruby/1.8/gems/git-1.2.5/README +240 -0
  45. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git.rb +156 -0
  46. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/author.rb +14 -0
  47. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/base.rb +479 -0
  48. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/branch.rb +104 -0
  49. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/branches.rb +48 -0
  50. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/diff.rb +146 -0
  51. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/index.rb +5 -0
  52. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/lib.rb +719 -0
  53. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/log.rb +117 -0
  54. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/object.rb +273 -0
  55. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/path.rb +27 -0
  56. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/remote.rb +40 -0
  57. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/repository.rb +4 -0
  58. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/stash.rb +27 -0
  59. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/stashes.rb +44 -0
  60. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/status.rb +110 -0
  61. data/search_biomodel/ruby/1.8/gems/git-1.2.5/lib/git/working_directory.rb +4 -0
  62. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/.gemtest +0 -0
  63. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/.gitignore +9 -0
  64. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/.rspec +1 -0
  65. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/.travis.yml +7 -0
  66. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/CHANGELOG.md +55 -0
  67. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/Gemfile +2 -0
  68. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/LICENSE +20 -0
  69. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/README.md +81 -0
  70. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/Rakefile +11 -0
  71. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/gyoku.gemspec +26 -0
  72. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku.rb +23 -0
  73. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/array.rb +45 -0
  74. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/core_ext/string.rb +19 -0
  75. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/hash.rb +55 -0
  76. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/version.rb +5 -0
  77. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/xml_key.rb +63 -0
  78. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/lib/gyoku/xml_value.rb +28 -0
  79. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/array_spec.rb +53 -0
  80. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/core_ext/string_spec.rb +17 -0
  81. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/hash_spec.rb +160 -0
  82. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/xml_key_spec.rb +77 -0
  83. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku/xml_value_spec.rb +49 -0
  84. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/gyoku_spec.rb +46 -0
  85. data/search_biomodel/ruby/1.8/gems/gyoku-0.4.4/spec/spec_helper.rb +2 -0
  86. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.autotest +5 -0
  87. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.gemtest +0 -0
  88. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.gitignore +9 -0
  89. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.rspec +1 -0
  90. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/.travis.yml +7 -0
  91. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/CHANGELOG.md +60 -0
  92. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/Gemfile +8 -0
  93. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/LICENSE +20 -0
  94. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/README.md +223 -0
  95. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/Rakefile +18 -0
  96. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/autotest/discover.rb +1 -0
  97. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/httpi.gemspec +28 -0
  98. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi.rb +198 -0
  99. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/adapter.rb +67 -0
  100. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/adapter/curb.rb +125 -0
  101. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/adapter/httpclient.rb +98 -0
  102. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/adapter/net_http.rb +117 -0
  103. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/auth/config.rb +81 -0
  104. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/auth/ssl.rb +91 -0
  105. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/dime.rb +56 -0
  106. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/request.rb +90 -0
  107. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/response.rb +85 -0
  108. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/lib/httpi/version.rb +5 -0
  109. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/attachment.gif +0 -0
  110. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/client_cert.pem +16 -0
  111. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/client_key.pem +15 -0
  112. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/xml.gz +0 -0
  113. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/xml.xml +10 -0
  114. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/xml_dime.dime +0 -0
  115. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/fixtures/xml_dime.xml +1 -0
  116. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/adapter/curb_spec.rb +232 -0
  117. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/adapter/httpclient_spec.rb +164 -0
  118. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/adapter/net_http_spec.rb +142 -0
  119. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/adapter_spec.rb +55 -0
  120. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/auth/config_spec.rb +117 -0
  121. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/auth/ssl_spec.rb +128 -0
  122. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/httpi_spec.rb +284 -0
  123. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/request_spec.rb +135 -0
  124. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/httpi/response_spec.rb +125 -0
  125. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/integration/request_spec.rb +95 -0
  126. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/integration/server.rb +39 -0
  127. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/spec_helper.rb +12 -0
  128. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/support/fixture.rb +27 -0
  129. data/search_biomodel/ruby/1.8/gems/httpi-0.9.4/spec/support/matchers.rb +19 -0
  130. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/.document +8 -0
  131. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/ChangeLog.markdown +166 -0
  132. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/Gemfile +22 -0
  133. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/Gemfile.lock +59 -0
  134. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/LICENSE.txt +20 -0
  135. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/README.markdown +216 -0
  136. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/Rakefile +81 -0
  137. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/bin/jeweler +5 -0
  138. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/cucumber.feature +103 -0
  139. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/directory_layout.feature +86 -0
  140. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/dotdocument.feature +13 -0
  141. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/env_options.feature +9 -0
  142. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/gemfile.feature +71 -0
  143. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/git.feature +102 -0
  144. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/license.feature +20 -0
  145. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/rakefile.feature +158 -0
  146. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/readme.feature +12 -0
  147. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/test.feature +54 -0
  148. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/generator/test_helper.feature +149 -0
  149. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/placeholder.feature +5 -0
  150. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/step_definitions/debug_steps.rb +6 -0
  151. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/step_definitions/filesystem_steps.rb +70 -0
  152. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/step_definitions/generator_steps.rb +382 -0
  153. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/step_definitions/task_steps.rb +6 -0
  154. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/support/env.rb +42 -0
  155. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/tasks/build_gem.feature +9 -0
  156. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/tasks/version.feature +31 -0
  157. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/features/tasks/version_bumping.feature +49 -0
  158. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/jeweler.gemspec +244 -0
  159. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler.rb +177 -0
  160. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands.rb +20 -0
  161. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/build_gem.rb +36 -0
  162. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/check_dependencies.rb +50 -0
  163. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/install_gem.rb +31 -0
  164. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/release_gemspec.rb +82 -0
  165. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/release_to_git.rb +59 -0
  166. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/release_to_rubygems.rb +28 -0
  167. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/validate_gemspec.rb +30 -0
  168. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/base.rb +55 -0
  169. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/bump_major.rb +13 -0
  170. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/bump_minor.rb +12 -0
  171. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/bump_patch.rb +14 -0
  172. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/version/write.rb +12 -0
  173. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/commands/write_gemspec.rb +39 -0
  174. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/errors.rb +8 -0
  175. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/gemcutter_tasks.rb +8 -0
  176. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/gemspec_helper.rb +87 -0
  177. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator.rb +287 -0
  178. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/application.rb +61 -0
  179. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/bacon_mixin.rb +43 -0
  180. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/github_mixin.rb +29 -0
  181. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/micronaut_mixin.rb +41 -0
  182. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/minitest_mixin.rb +42 -0
  183. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/options.rb +162 -0
  184. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/rdoc_mixin.rb +9 -0
  185. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/riot_mixin.rb +42 -0
  186. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/rspec_mixin.rb +42 -0
  187. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/shindo_mixin.rb +44 -0
  188. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/shoulda_mixin.rb +42 -0
  189. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/testspec_mixin.rb +42 -0
  190. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/testunit_mixin.rb +39 -0
  191. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/yard_mixin.rb +14 -0
  192. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/rubyforge_tasks.rb +95 -0
  193. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/rubygems_dot_org_tasks.rb +38 -0
  194. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/rubygems_tasks.rb +38 -0
  195. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/specification.rb +110 -0
  196. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/tasks.rb +224 -0
  197. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/.document +5 -0
  198. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/.gitignore +48 -0
  199. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/Gemfile +12 -0
  200. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/LICENSE.txt +20 -0
  201. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/README.rdoc +19 -0
  202. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/Rakefile +9 -0
  203. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/bacon/flunking.rb +7 -0
  204. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/bacon/helper.rb +9 -0
  205. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/bundler_setup.erb +10 -0
  206. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/features/default.feature +9 -0
  207. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/features/support/env.rb +10 -0
  208. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/jeweler_tasks.erb +31 -0
  209. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/micronaut/flunking.rb +7 -0
  210. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/micronaut/helper.rb +18 -0
  211. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/minitest/flunking.rb +7 -0
  212. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/minitest/helper.rb +12 -0
  213. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/other_tasks.erb +86 -0
  214. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/riot/flunking.rb +11 -0
  215. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/riot/helper.rb +4 -0
  216. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/rspec/.rspec +1 -0
  217. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/rspec/flunking.rb +7 -0
  218. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/rspec/helper.rb +12 -0
  219. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/shindo/flunking.rb +8 -0
  220. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/shindo/helper.rb +6 -0
  221. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/shoulda/flunking.rb +7 -0
  222. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/shoulda/helper.rb +11 -0
  223. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/testspec/flunking.rb +7 -0
  224. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/testspec/helper.rb +7 -0
  225. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/testunit/flunking.rb +7 -0
  226. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/templates/testunit/helper.rb +10 -0
  227. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/version.rb +10 -0
  228. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/version_helper.rb +141 -0
  229. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/bar/VERSION.yml +4 -0
  230. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/bar/bin/foo_the_ultimate_bin +1 -0
  231. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/bar/hey_include_me_in_gemspec +0 -0
  232. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/bar/lib/foo_the_ultimate_lib.rb +1 -0
  233. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/.document +5 -0
  234. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/.gitignore +5 -0
  235. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/LICENSE.txt +20 -0
  236. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/README.rdoc +7 -0
  237. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/Rakefile +85 -0
  238. 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
  239. 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
  240. 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
  241. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-constant/test/test_helper.rb +10 -0
  242. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/.document +5 -0
  243. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/.gitignore +5 -0
  244. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/LICENSE.txt +20 -0
  245. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/README.rdoc +7 -0
  246. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/Rakefile +84 -0
  247. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/VERSION +1 -0
  248. 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
  249. 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
  250. 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
  251. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb +10 -0
  252. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/.document +5 -0
  253. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/.gitignore +5 -0
  254. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/LICENSE.txt +20 -0
  255. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/README.rdoc +7 -0
  256. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/Rakefile +84 -0
  257. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/VERSION.yml +4 -0
  258. 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
  259. 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
  260. 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
  261. 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
  262. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/fixtures/existing-project-with-version-yaml/test/test_helper.rb +10 -0
  263. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/geminstaller.yml +12 -0
  264. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_build_gem.rb +103 -0
  265. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_install_gem.rb +35 -0
  266. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_release_to_gemcutter.rb +39 -0
  267. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_release_to_git.rb +208 -0
  268. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_release_to_github.rb +406 -0
  269. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_validate_gemspec.rb +27 -0
  270. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/test_write_gemspec.rb +101 -0
  271. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_base.rb +32 -0
  272. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_bump_major.rb +22 -0
  273. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_bump_minor.rb +19 -0
  274. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_bump_patch.rb +20 -0
  275. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/commands/version/test_write.rb +22 -0
  276. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/generator/test_application.rb +120 -0
  277. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/generator/test_options.rb +225 -0
  278. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_gemspec_helper.rb +44 -0
  279. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_generator.rb +127 -0
  280. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_generator_initialization.rb +164 -0
  281. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_generator_mixins.rb +23 -0
  282. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_specification.rb +237 -0
  283. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_tasks.rb +50 -0
  284. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/jeweler/test_version_helper.rb +214 -0
  285. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/shoulda_macros/jeweler_macros.rb +35 -0
  286. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/test_helper.rb +178 -0
  287. data/search_biomodel/ruby/1.8/gems/jeweler-1.6.2/test/test_jeweler.rb +175 -0
  288. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/.autotest +26 -0
  289. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/.gemtest +0 -0
  290. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/CHANGELOG.ja.rdoc +480 -0
  291. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/CHANGELOG.rdoc +475 -0
  292. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/Manifest.txt +283 -0
  293. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/README.ja.rdoc +102 -0
  294. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/README.rdoc +146 -0
  295. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/Rakefile +191 -0
  296. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/bin/nokogiri +54 -0
  297. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/Makefile +515 -0
  298. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/depend +358 -0
  299. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/extconf.rb +118 -0
  300. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_document.c +154 -0
  301. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_document.h +10 -0
  302. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_document.o +0 -0
  303. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_element_description.c +276 -0
  304. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_element_description.h +10 -0
  305. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_element_description.o +0 -0
  306. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_entity_lookup.c +32 -0
  307. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_entity_lookup.h +8 -0
  308. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_entity_lookup.o +0 -0
  309. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_sax_parser_context.c +94 -0
  310. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_sax_parser_context.h +11 -0
  311. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/html_sax_parser_context.o +0 -0
  312. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/mkmf.log +278 -0
  313. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/nokogiri.c +97 -0
  314. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/nokogiri.h +162 -0
  315. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/nokogiri.o +0 -0
  316. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/nokogiri.so +0 -0
  317. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attr.c +94 -0
  318. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attr.h +9 -0
  319. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attr.o +0 -0
  320. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attribute_decl.c +70 -0
  321. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attribute_decl.h +9 -0
  322. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_attribute_decl.o +0 -0
  323. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_cdata.c +56 -0
  324. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_cdata.h +9 -0
  325. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_cdata.o +0 -0
  326. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_comment.c +54 -0
  327. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_comment.h +9 -0
  328. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_comment.o +0 -0
  329. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document.c +478 -0
  330. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document.h +23 -0
  331. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document.o +0 -0
  332. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document_fragment.c +48 -0
  333. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document_fragment.h +10 -0
  334. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_document_fragment.o +0 -0
  335. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_dtd.c +202 -0
  336. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_dtd.h +10 -0
  337. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_dtd.o +0 -0
  338. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_content.c +123 -0
  339. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_content.h +10 -0
  340. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_content.o +0 -0
  341. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_decl.c +69 -0
  342. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_decl.h +9 -0
  343. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_element_decl.o +0 -0
  344. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_encoding_handler.c +79 -0
  345. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_encoding_handler.h +8 -0
  346. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_encoding_handler.o +0 -0
  347. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_decl.c +110 -0
  348. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_decl.h +10 -0
  349. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_decl.o +0 -0
  350. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_reference.c +52 -0
  351. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_reference.h +9 -0
  352. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_entity_reference.o +0 -0
  353. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_io.c +56 -0
  354. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_io.h +11 -0
  355. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_io.o +0 -0
  356. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  357. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  358. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_libxml2_hacks.o +0 -0
  359. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_namespace.c +84 -0
  360. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_namespace.h +13 -0
  361. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_namespace.o +0 -0
  362. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node.c +1391 -0
  363. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node.h +13 -0
  364. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node.o +0 -0
  365. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node_set.c +418 -0
  366. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node_set.h +9 -0
  367. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_node_set.o +0 -0
  368. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_processing_instruction.c +56 -0
  369. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_processing_instruction.h +9 -0
  370. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_processing_instruction.o +0 -0
  371. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_reader.c +684 -0
  372. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_reader.h +10 -0
  373. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_reader.o +0 -0
  374. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_relax_ng.c +168 -0
  375. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_relax_ng.h +9 -0
  376. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_relax_ng.o +0 -0
  377. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser.c +288 -0
  378. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser.h +39 -0
  379. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser.o +0 -0
  380. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser_context.c +199 -0
  381. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser_context.h +10 -0
  382. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_parser_context.o +0 -0
  383. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_push_parser.c +115 -0
  384. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_push_parser.h +9 -0
  385. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_sax_push_parser.o +0 -0
  386. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_schema.c +205 -0
  387. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_schema.h +9 -0
  388. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_schema.o +0 -0
  389. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_syntax_error.c +58 -0
  390. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_syntax_error.h +13 -0
  391. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_syntax_error.o +0 -0
  392. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_text.c +50 -0
  393. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_text.h +9 -0
  394. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_text.o +0 -0
  395. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_xpath_context.c +309 -0
  396. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_xpath_context.h +9 -0
  397. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xml_xpath_context.o +0 -0
  398. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xslt_stylesheet.c +260 -0
  399. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xslt_stylesheet.h +9 -0
  400. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/ext/nokogiri/xslt_stylesheet.o +0 -0
  401. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri.rb +133 -0
  402. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css.rb +28 -0
  403. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/node.rb +99 -0
  404. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/parser.rb +677 -0
  405. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/parser.y +237 -0
  406. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/parser_extras.rb +91 -0
  407. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/syntax_error.rb +7 -0
  408. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/tokenizer.rb +152 -0
  409. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/tokenizer.rex +55 -0
  410. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/css/xpath_visitor.rb +171 -0
  411. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/decorators/slop.rb +35 -0
  412. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/encoding_handler.rb +42 -0
  413. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/html/document.rb +28 -0
  414. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/html/element_description.rb +81 -0
  415. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/html/entity_lookup.rb +16 -0
  416. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/html/sax/parser_context.rb +38 -0
  417. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/io_callbacks.rb +42 -0
  418. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/libxml.rb +420 -0
  419. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/common_node.rb +38 -0
  420. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/html_elem_desc.rb +24 -0
  421. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/html_entity_desc.rb +13 -0
  422. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_alloc.rb +16 -0
  423. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_attr.rb +20 -0
  424. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_attribute.rb +27 -0
  425. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_buffer.rb +16 -0
  426. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_char_encoding_handler.rb +11 -0
  427. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_document.rb +117 -0
  428. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_dtd.rb +28 -0
  429. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_element.rb +26 -0
  430. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_element_content.rb +17 -0
  431. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_entity.rb +32 -0
  432. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_enumeration.rb +12 -0
  433. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_node.rb +28 -0
  434. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_node_set.rb +53 -0
  435. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_notation.rb +11 -0
  436. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_ns.rb +15 -0
  437. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_parser_context.rb +20 -0
  438. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_parser_input.rb +19 -0
  439. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_relax_ng.rb +14 -0
  440. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_sax_handler.rb +51 -0
  441. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb +124 -0
  442. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_schema.rb +13 -0
  443. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_syntax_error.rb +31 -0
  444. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_text_reader.rb +12 -0
  445. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_xpath_context.rb +38 -0
  446. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_xpath_object.rb +35 -0
  447. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb +20 -0
  448. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/structs/xslt_stylesheet.rb +13 -0
  449. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/weak_bucket.rb +40 -0
  450. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/attr.rb +41 -0
  451. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/attribute_decl.rb +27 -0
  452. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/cdata.rb +19 -0
  453. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/comment.rb +18 -0
  454. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/document.rb +174 -0
  455. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/document_fragment.rb +21 -0
  456. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/dtd.rb +67 -0
  457. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/element_content.rb +43 -0
  458. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/element_decl.rb +19 -0
  459. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/entity_decl.rb +36 -0
  460. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/entity_reference.rb +19 -0
  461. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/namespace.rb +44 -0
  462. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/node.rb +559 -0
  463. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/node_set.rb +150 -0
  464. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/processing_instruction.rb +20 -0
  465. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/reader.rb +236 -0
  466. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/relax_ng.rb +85 -0
  467. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/sax/parser.rb +143 -0
  468. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/sax/parser_context.rb +79 -0
  469. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/sax/push_parser.rb +51 -0
  470. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/schema.rb +109 -0
  471. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/syntax_error.rb +98 -0
  472. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/text.rb +18 -0
  473. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/xpath.rb +9 -0
  474. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xml/xpath_context.rb +153 -0
  475. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/ffi/xslt/stylesheet.rb +77 -0
  476. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html.rb +35 -0
  477. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/builder.rb +35 -0
  478. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/document.rb +209 -0
  479. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/document_fragment.rb +41 -0
  480. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/element_description.rb +23 -0
  481. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/entity_lookup.rb +13 -0
  482. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/sax/parser.rb +52 -0
  483. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/html/sax/parser_context.rb +16 -0
  484. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/nokogiri.so +0 -0
  485. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/syntax_error.rb +4 -0
  486. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/version.rb +43 -0
  487. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/version_warning.rb +14 -0
  488. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml.rb +67 -0
  489. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/attr.rb +14 -0
  490. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/attribute_decl.rb +18 -0
  491. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/builder.rb +418 -0
  492. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/cdata.rb +11 -0
  493. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/character_data.rb +7 -0
  494. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/document.rb +218 -0
  495. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/document_fragment.rb +84 -0
  496. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/dtd.rb +22 -0
  497. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/element_content.rb +36 -0
  498. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/element_decl.rb +13 -0
  499. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/entity_decl.rb +19 -0
  500. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/namespace.rb +13 -0
  501. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/node.rb +891 -0
  502. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/node/save_options.rb +52 -0
  503. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/node_set.rb +350 -0
  504. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/notation.rb +6 -0
  505. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/parse_options.rb +93 -0
  506. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/pp.rb +2 -0
  507. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/pp/character_data.rb +18 -0
  508. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/pp/node.rb +56 -0
  509. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/processing_instruction.rb +8 -0
  510. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/reader.rb +112 -0
  511. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/relax_ng.rb +32 -0
  512. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax.rb +4 -0
  513. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax/document.rb +164 -0
  514. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax/parser.rb +115 -0
  515. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  516. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/sax/push_parser.rb +60 -0
  517. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/schema.rb +63 -0
  518. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/syntax_error.rb +47 -0
  519. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/text.rb +9 -0
  520. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/xpath.rb +10 -0
  521. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
  522. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xml/xpath_context.rb +16 -0
  523. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xslt.rb +52 -0
  524. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/nokogiri/xslt/stylesheet.rb +25 -0
  525. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/lib/xsd/xmlparser/nokogiri.rb +90 -0
  526. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/tasks/cross_compile.rb +173 -0
  527. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/tasks/test.rb +94 -0
  528. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/css/test_nthiness.rb +159 -0
  529. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/css/test_parser.rb +303 -0
  530. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/css/test_tokenizer.rb +198 -0
  531. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/css/test_xpath_visitor.rb +85 -0
  532. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/decorators/test_slop.rb +16 -0
  533. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/ffi/test_document.rb +35 -0
  534. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/2ch.html +108 -0
  535. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/address_book.rlx +12 -0
  536. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/address_book.xml +10 -0
  537. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/bar/bar.xsd +4 -0
  538. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/dont_hurt_em_why.xml +422 -0
  539. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/encoding.html +82 -0
  540. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/encoding.xhtml +84 -0
  541. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/exslt.xml +8 -0
  542. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/exslt.xslt +35 -0
  543. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/foo/foo.xsd +4 -0
  544. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/po.xml +32 -0
  545. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/po.xsd +66 -0
  546. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/shift_jis.html +10 -0
  547. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/shift_jis.xml +5 -0
  548. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/snuggles.xml +3 -0
  549. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/staff.dtd +10 -0
  550. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/staff.xml +59 -0
  551. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/staff.xslt +32 -0
  552. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/tlm.html +850 -0
  553. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/files/valid_bar.xml +2 -0
  554. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/helper.rb +171 -0
  555. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/sax/test_parser.rb +119 -0
  556. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/sax/test_parser_context.rb +48 -0
  557. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_builder.rb +164 -0
  558. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_document.rb +453 -0
  559. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_document_encoding.rb +123 -0
  560. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_document_fragment.rb +253 -0
  561. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_element_description.rb +98 -0
  562. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_named_characters.rb +14 -0
  563. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_node.rb +190 -0
  564. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/html/test_node_encoding.rb +27 -0
  565. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_convert_xpath.rb +135 -0
  566. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_css_cache.rb +45 -0
  567. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_encoding_handler.rb +46 -0
  568. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_memory_leak.rb +107 -0
  569. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_nokogiri.rb +138 -0
  570. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_reader.rb +421 -0
  571. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_soap4r_sax.rb +52 -0
  572. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/test_xslt_transforms.rb +193 -0
  573. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/node/test_save_options.rb +20 -0
  574. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/node/test_subclass.rb +44 -0
  575. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/sax/test_parser.rb +331 -0
  576. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/sax/test_parser_context.rb +113 -0
  577. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/sax/test_push_parser.rb +156 -0
  578. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_attr.rb +65 -0
  579. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_attribute_decl.rb +82 -0
  580. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_builder.rb +210 -0
  581. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_cdata.rb +50 -0
  582. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_comment.rb +29 -0
  583. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_document.rb +670 -0
  584. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_document_encoding.rb +26 -0
  585. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_document_fragment.rb +192 -0
  586. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_dtd.rb +97 -0
  587. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_dtd_encoding.rb +33 -0
  588. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_element_content.rb +56 -0
  589. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_element_decl.rb +73 -0
  590. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_entity_decl.rb +120 -0
  591. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_entity_reference.rb +21 -0
  592. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_namespace.rb +68 -0
  593. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node.rb +906 -0
  594. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node_attributes.rb +34 -0
  595. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node_encoding.rb +107 -0
  596. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node_reparenting.rb +321 -0
  597. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_node_set.rb +708 -0
  598. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_parse_options.rb +52 -0
  599. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_processing_instruction.rb +30 -0
  600. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_reader_encoding.rb +126 -0
  601. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_relax_ng.rb +60 -0
  602. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_schema.rb +94 -0
  603. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_syntax_error.rb +12 -0
  604. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_text.rb +47 -0
  605. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_unparented_node.rb +381 -0
  606. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xml/test_xpath.rb +237 -0
  607. data/search_biomodel/ruby/1.8/gems/nokogiri-1.4.6/test/xslt/test_custom_functions.rb +94 -0
  608. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/.gitignore +7 -0
  609. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/.rspec +1 -0
  610. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/.travis.yml +8 -0
  611. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/CHANGELOG.md +90 -0
  612. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/Gemfile +4 -0
  613. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/LICENSE +20 -0
  614. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/README.md +64 -0
  615. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/Rakefile +16 -0
  616. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/benchmark/benchmark.rb +19 -0
  617. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/benchmark/soap_response.xml +266 -0
  618. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori.rb +59 -0
  619. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/core_ext.rb +3 -0
  620. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/core_ext/hash.rb +70 -0
  621. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/core_ext/object.rb +13 -0
  622. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/core_ext/string.rb +21 -0
  623. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/parser.rb +51 -0
  624. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/parser/nokogiri.rb +45 -0
  625. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/parser/rexml.rb +38 -0
  626. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/string_io_file.rb +7 -0
  627. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/string_with_attributes.rb +7 -0
  628. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/version.rb +5 -0
  629. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/lib/nori/xml_utility_node.rb +230 -0
  630. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/nori.gemspec +24 -0
  631. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/core_ext/hash_spec.rb +60 -0
  632. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/core_ext/object_spec.rb +19 -0
  633. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/core_ext/string_spec.rb +33 -0
  634. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/nori_spec.rb +641 -0
  635. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/nori/parser_spec.rb +37 -0
  636. data/search_biomodel/ruby/1.8/gems/nori-1.0.1/spec/spec_helper.rb +2 -0
  637. data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/README +25 -0
  638. data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/Rakefile +68 -0
  639. data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/examples/http.rb +86 -0
  640. data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/examples/imap.rb +73 -0
  641. data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/examples/smtp.rb +94 -0
  642. data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/lib/net/ntlm.rb +775 -0
  643. data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/lib/net/ntlm_http.rb +87 -0
  644. data/search_biomodel/ruby/1.8/gems/pyu-ntlm-http-0.1.3.1/test/function_test.rb +111 -0
  645. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/COPYING +18 -0
  646. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/KNOWN-ISSUES +21 -0
  647. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/README +425 -0
  648. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/Rakefile +100 -0
  649. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/SPEC +171 -0
  650. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/bin/rackup +4 -0
  651. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/contrib/rack_logo.svg +111 -0
  652. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/example/lobster.ru +4 -0
  653. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/example/protectedlobster.rb +14 -0
  654. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/example/protectedlobster.ru +8 -0
  655. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack.rb +82 -0
  656. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/abstract/handler.rb +37 -0
  657. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/abstract/request.rb +43 -0
  658. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/basic.rb +58 -0
  659. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/digest/md5.rb +129 -0
  660. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/digest/nonce.rb +51 -0
  661. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/digest/params.rb +53 -0
  662. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/auth/digest/request.rb +40 -0
  663. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/backports/uri/common.rb +64 -0
  664. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/builder.rb +137 -0
  665. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/cascade.rb +41 -0
  666. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/chunked.rb +56 -0
  667. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/commonlogger.rb +49 -0
  668. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/conditionalget.rb +66 -0
  669. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/config.rb +15 -0
  670. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/content_length.rb +33 -0
  671. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/content_type.rb +23 -0
  672. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/deflater.rb +99 -0
  673. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/directory.rb +157 -0
  674. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/etag.rb +60 -0
  675. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/file.rb +125 -0
  676. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler.rb +94 -0
  677. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/cgi.rb +61 -0
  678. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/evented_mongrel.rb +8 -0
  679. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/fastcgi.rb +98 -0
  680. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/lsws.rb +61 -0
  681. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/mongrel.rb +100 -0
  682. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/scgi.rb +67 -0
  683. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/swiftiplied_mongrel.rb +8 -0
  684. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/thin.rb +24 -0
  685. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/handler/webrick.rb +80 -0
  686. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/head.rb +19 -0
  687. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/lint.rb +567 -0
  688. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/lobster.rb +65 -0
  689. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/lock.rb +44 -0
  690. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/logger.rb +18 -0
  691. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/methodoverride.rb +27 -0
  692. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/mime.rb +210 -0
  693. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/mock.rb +185 -0
  694. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/multipart.rb +34 -0
  695. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/multipart/generator.rb +93 -0
  696. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/multipart/parser.rb +164 -0
  697. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/multipart/uploaded_file.rb +30 -0
  698. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/nulllogger.rb +18 -0
  699. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/recursive.rb +61 -0
  700. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/reloader.rb +109 -0
  701. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/request.rb +309 -0
  702. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/response.rb +152 -0
  703. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/rewindable_input.rb +104 -0
  704. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/runtime.rb +27 -0
  705. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/sendfile.rb +140 -0
  706. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/server.rb +323 -0
  707. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/session/abstract/id.rb +351 -0
  708. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/session/cookie.rb +152 -0
  709. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/session/memcache.rb +93 -0
  710. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/session/pool.rb +79 -0
  711. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/showexceptions.rb +378 -0
  712. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/showstatus.rb +113 -0
  713. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/static.rb +58 -0
  714. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/urlmap.rb +60 -0
  715. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/lib/rack/utils.rb +480 -0
  716. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/rack.gemspec +37 -0
  717. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/builder/anything.rb +5 -0
  718. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/builder/comment.ru +4 -0
  719. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/builder/end.ru +3 -0
  720. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/builder/options.ru +2 -0
  721. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/lighttpd.conf +25 -0
  722. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/rackup_stub.rb +6 -0
  723. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/sample_rackup.ru +5 -0
  724. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/test +9 -0
  725. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/test.fcgi +8 -0
  726. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/cgi/test.ru +5 -0
  727. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/gemloader.rb +6 -0
  728. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/bad_robots +259 -0
  729. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/binary +0 -0
  730. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/content_type_and_no_filename +6 -0
  731. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/empty +10 -0
  732. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/fail_16384_nofile +814 -0
  733. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/file1.txt +1 -0
  734. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_and_modification_param +7 -0
  735. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_with_escaped_quotes +6 -0
  736. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  737. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_with_percent_escaped_quotes +6 -0
  738. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/filename_with_unescaped_quotes +6 -0
  739. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/ie +6 -0
  740. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/mixed_files +21 -0
  741. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/nested +10 -0
  742. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/none +9 -0
  743. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/semicolon +6 -0
  744. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/text +15 -0
  745. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/multipart/webkit +32 -0
  746. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/rackup/config.ru +31 -0
  747. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  748. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_auth_basic.rb +70 -0
  749. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_auth_digest.rb +244 -0
  750. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_builder.rb +152 -0
  751. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_cascade.rb +45 -0
  752. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_cgi.rb +102 -0
  753. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_chunked.rb +60 -0
  754. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_commonlogger.rb +56 -0
  755. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_conditionalget.rb +86 -0
  756. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_config.rb +23 -0
  757. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_content_length.rb +73 -0
  758. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_content_type.rb +29 -0
  759. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_deflater.rb +169 -0
  760. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_directory.rb +57 -0
  761. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_etag.rb +82 -0
  762. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_fastcgi.rb +107 -0
  763. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_file.rb +122 -0
  764. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_handler.rb +59 -0
  765. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_head.rb +30 -0
  766. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_lint.rb +515 -0
  767. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_lobster.rb +43 -0
  768. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_lock.rb +142 -0
  769. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_logger.rb +28 -0
  770. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_methodoverride.rb +58 -0
  771. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_mock.rb +241 -0
  772. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_mongrel.rb +182 -0
  773. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_multipart.rb +287 -0
  774. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_nulllogger.rb +12 -0
  775. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_recursive.rb +69 -0
  776. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_request.rb +813 -0
  777. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_response.rb +246 -0
  778. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_rewindable_input.rb +118 -0
  779. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_runtime.rb +39 -0
  780. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_sendfile.rb +83 -0
  781. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_server.rb +74 -0
  782. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_session_abstract_id.rb +43 -0
  783. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_session_cookie.rb +210 -0
  784. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_session_memcache.rb +289 -0
  785. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_session_pool.rb +200 -0
  786. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_showexceptions.rb +87 -0
  787. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_showstatus.rb +79 -0
  788. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_static.rb +56 -0
  789. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_thin.rb +86 -0
  790. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_urlmap.rb +213 -0
  791. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_utils.rb +430 -0
  792. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/spec_webrick.rb +141 -0
  793. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/testrequest.rb +78 -0
  794. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  795. data/search_biomodel/ruby/1.8/gems/rack-1.3.0/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  796. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/.gemtest +0 -0
  797. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/CHANGES +509 -0
  798. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/MIT-LICENSE +21 -0
  799. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/README.rdoc +200 -0
  800. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/RRR +9 -0
  801. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/Rakefile +405 -0
  802. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/TODO +20 -0
  803. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/bin/rake +32 -0
  804. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/install.rb +90 -0
  805. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake.rb +65 -0
  806. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/alt_system.rb +109 -0
  807. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/application.rb +589 -0
  808. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/classic_namespace.rb +9 -0
  809. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/clean.rb +31 -0
  810. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/cloneable.rb +25 -0
  811. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/compositepublisher.rb +21 -0
  812. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/ftptools.rb +150 -0
  813. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/publisher.rb +69 -0
  814. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/rubyforgepublisher.rb +16 -0
  815. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/sshpublisher.rb +45 -0
  816. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/contrib/sys.rb +191 -0
  817. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/default_loader.rb +10 -0
  818. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/dsl_definition.rb +167 -0
  819. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/early_time.rb +18 -0
  820. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ext/core.rb +27 -0
  821. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ext/module.rb +39 -0
  822. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ext/string.rb +167 -0
  823. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ext/time.rb +14 -0
  824. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_creation_task.rb +24 -0
  825. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_list.rb +403 -0
  826. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_task.rb +47 -0
  827. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_utils.rb +112 -0
  828. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/file_utils_ext.rb +142 -0
  829. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/gempackagetask.rb +13 -0
  830. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/invocation_chain.rb +51 -0
  831. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/invocation_exception_mixin.rb +16 -0
  832. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/loaders/makefile.rb +40 -0
  833. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/multi_task.rb +16 -0
  834. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/name_space.rb +25 -0
  835. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/packagetask.rb +185 -0
  836. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/pathmap.rb +1 -0
  837. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/pseudo_status.rb +24 -0
  838. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/rake_module.rb +29 -0
  839. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/rake_test_loader.rb +13 -0
  840. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/rdoctask.rb +230 -0
  841. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/ruby182_test_unit_fix.rb +25 -0
  842. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  843. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/runtest.rb +21 -0
  844. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/task.rb +327 -0
  845. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/task_argument_error.rb +7 -0
  846. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/task_arguments.rb +74 -0
  847. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/task_manager.rb +307 -0
  848. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/tasklib.rb +22 -0
  849. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/testtask.rb +191 -0
  850. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/version.rb +10 -0
  851. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/lib/rake/win32.rb +55 -0
  852. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/check_expansion.rb +5 -0
  853. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/check_no_expansion.rb +5 -0
  854. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/access/Rakefile +35 -0
  855. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/chains/Rakefile +15 -0
  856. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/comments/Rakefile +18 -0
  857. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/default/Rakefile +17 -0
  858. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/deprecated_import/Rakefile +1 -0
  859. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/dryrun/Rakefile +22 -0
  860. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/extra/Rakefile +1 -0
  861. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/file_creation_task/Rakefile +31 -0
  862. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/imports/Rakefile +19 -0
  863. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/imports/deps.mf +1 -0
  864. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/multidesc/Rakefile +15 -0
  865. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/namespace/Rakefile +64 -0
  866. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/rakelib/test1.rb +4 -0
  867. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/rbext/rakefile.rb +3 -0
  868. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/sample.mf +14 -0
  869. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/statusreturn/Rakefile +6 -0
  870. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/unittest/Rakefile +1 -0
  871. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/data/verbose/Rakefile +34 -0
  872. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/file_creation.rb +34 -0
  873. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/helper.rb +44 -0
  874. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/in_environment.rb +35 -0
  875. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/reqfile.rb +3 -0
  876. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/reqfile2.rb +3 -0
  877. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/shellcommand.rb +3 -0
  878. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake.rb +38 -0
  879. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_application.rb +364 -0
  880. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_application_options.rb +382 -0
  881. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_clean.rb +12 -0
  882. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_definitions.rb +80 -0
  883. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_directory_task.rb +55 -0
  884. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_dsl.rb +73 -0
  885. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_early_time.rb +31 -0
  886. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_extension.rb +59 -0
  887. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_creation_task.rb +62 -0
  888. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_list.rb +633 -0
  889. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_list_path_map.rb +8 -0
  890. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_task.rb +104 -0
  891. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_file_utils.rb +252 -0
  892. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_ftp_file.rb +59 -0
  893. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_functional.rb +468 -0
  894. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_invocation_chain.rb +52 -0
  895. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_makefile_loader.rb +23 -0
  896. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_multi_task.rb +51 -0
  897. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_name_space.rb +43 -0
  898. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_package_task.rb +78 -0
  899. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_path_map.rb +157 -0
  900. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_path_map_explode.rb +31 -0
  901. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_path_map_partial.rb +18 -0
  902. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_pseudo_status.rb +20 -0
  903. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_rdoc_task.rb +81 -0
  904. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_require.rb +35 -0
  905. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_rules.rb +346 -0
  906. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task.rb +271 -0
  907. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_argument_parsing.rb +116 -0
  908. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_arguments.rb +86 -0
  909. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_lib.rb +9 -0
  910. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_manager.rb +145 -0
  911. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_manager_argument_resolution.rb +36 -0
  912. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_task_with_arguments.rb +162 -0
  913. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_test_task.rb +122 -0
  914. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_top_level_functions.rb +76 -0
  915. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_rake_win32.rb +83 -0
  916. data/search_biomodel/ruby/1.8/gems/rake-0.9.2/test/test_sys.rb +20 -0
  917. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/BLURB +111 -0
  918. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/LICENSE +53 -0
  919. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/Rakefile +103 -0
  920. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/THANKS +110 -0
  921. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/bin/rcov +522 -0
  922. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/editor-extensions/rcov.el +131 -0
  923. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/editor-extensions/rcov.vim +38 -0
  924. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/1.8/callsite.c +216 -0
  925. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/1.8/rcovrt.c +294 -0
  926. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/1.9/callsite.c +234 -0
  927. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/1.9/rcovrt.c +264 -0
  928. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/Makefile +157 -0
  929. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/callsite.o +0 -0
  930. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/extconf.rb +21 -0
  931. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/rcovrt.o +0 -0
  932. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/ext/rcovrt/rcovrt.so +0 -0
  933. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov.rb +33 -0
  934. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/call_site_analyzer.rb +225 -0
  935. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/code_coverage_analyzer.rb +271 -0
  936. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/coverage_info.rb +36 -0
  937. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/differential_analyzer.rb +116 -0
  938. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/file_statistics.rb +355 -0
  939. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters.rb +13 -0
  940. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/base_formatter.rb +174 -0
  941. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/failure_report.rb +15 -0
  942. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/full_text_report.rb +48 -0
  943. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/html_coverage.rb +274 -0
  944. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/html_erb_template.rb +62 -0
  945. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/text_coverage_diff.rb +193 -0
  946. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/text_report.rb +32 -0
  947. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/formatters/text_summary.rb +11 -0
  948. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/lowlevel.rb +146 -0
  949. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/rcovtask.rb +156 -0
  950. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/detail.html.erb +64 -0
  951. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/index.html.erb +93 -0
  952. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/jquery-1.3.2.min.js +19 -0
  953. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/jquery.tablesorter.min.js +15 -0
  954. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/print.css +12 -0
  955. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/rcov.js +42 -0
  956. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/templates/screen.css +270 -0
  957. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcov/version.rb +10 -0
  958. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/lib/rcovrt.so +0 -0
  959. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/setup.rb +1588 -0
  960. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_01.rb +7 -0
  961. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_02.rb +5 -0
  962. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_03.rb +20 -0
  963. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_04.rb +10 -0
  964. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_05-new.rb +17 -0
  965. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_05-old.rb +13 -0
  966. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_05.rb +17 -0
  967. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/assets/sample_06.rb +8 -0
  968. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/call_site_analyzer_test.rb +171 -0
  969. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/code_coverage_analyzer_test.rb +220 -0
  970. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-all.out +7 -0
  971. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-diff.out +11 -0
  972. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff-gcc-original.out +5 -0
  973. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff-no-color.out +12 -0
  974. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/diff.out +12 -0
  975. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/gcc-text.out +10 -0
  976. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/sample_03_rb.html +651 -0
  977. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/sample_03_rb.rb +28 -0
  978. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/expected_coverage/sample_04_rb.html +641 -0
  979. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/file_statistics_test.rb +471 -0
  980. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/functional_test.rb +91 -0
  981. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/test_helper.rb +4 -0
  982. data/search_biomodel/ruby/1.8/gems/rcov-0.9.9/test/turn_off_rcovrt.rb +4 -0
  983. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/.gitignore +9 -0
  984. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/.rspec +1 -0
  985. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/.travis.yml +7 -0
  986. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/.yardopts +2 -0
  987. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/CHANGELOG.md +533 -0
  988. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/Gemfile +4 -0
  989. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/LICENSE +20 -0
  990. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/README.md +39 -0
  991. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/Rakefile +40 -0
  992. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon.rb +14 -0
  993. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/client.rb +161 -0
  994. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/core_ext/hash.rb +70 -0
  995. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/core_ext/object.rb +14 -0
  996. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/core_ext/string.rb +51 -0
  997. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/core_ext/time.rb +22 -0
  998. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/error.rb +6 -0
  999. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/global.rb +83 -0
  1000. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/http/error.rb +42 -0
  1001. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap.rb +24 -0
  1002. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap/fault.rb +59 -0
  1003. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap/request.rb +61 -0
  1004. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap/response.rb +85 -0
  1005. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/soap/xml.rb +184 -0
  1006. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/version.rb +5 -0
  1007. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/wsdl/document.rb +112 -0
  1008. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/wsdl/parser.rb +96 -0
  1009. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/wsdl/request.rb +35 -0
  1010. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/lib/savon/wsse.rb +156 -0
  1011. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/savon.gemspec +30 -0
  1012. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/gzip/message.gz +0 -0
  1013. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/another_soap_fault.xml +14 -0
  1014. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/authentication.xml +14 -0
  1015. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/header.xml +13 -0
  1016. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/list.xml +18 -0
  1017. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/multi_ref.xml +39 -0
  1018. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/soap_fault.xml +8 -0
  1019. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/response/soap_fault12.xml +18 -0
  1020. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/authentication.xml +63 -0
  1021. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/geotrust.xml +156 -0
  1022. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/namespaced_actions.xml +307 -0
  1023. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/no_namespace.xml +115 -0
  1024. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/soap12.xml +11 -0
  1025. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/fixtures/wsdl/two_bindings.xml +25 -0
  1026. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/client_spec.rb +354 -0
  1027. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/core_ext/hash_spec.rb +121 -0
  1028. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/core_ext/object_spec.rb +19 -0
  1029. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/core_ext/string_spec.rb +57 -0
  1030. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/core_ext/time_spec.rb +13 -0
  1031. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/http/error_spec.rb +52 -0
  1032. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/savon_spec.rb +85 -0
  1033. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap/fault_spec.rb +89 -0
  1034. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap/request_spec.rb +45 -0
  1035. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap/response_spec.rb +181 -0
  1036. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap/xml_spec.rb +341 -0
  1037. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/soap_spec.rb +21 -0
  1038. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/wsdl/document_spec.rb +132 -0
  1039. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/wsdl/parser_spec.rb +107 -0
  1040. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/wsdl/request_spec.rb +15 -0
  1041. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/savon/wsse_spec.rb +232 -0
  1042. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/spec_helper.rb +14 -0
  1043. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/support/endpoint.rb +25 -0
  1044. data/search_biomodel/ruby/1.8/gems/savon-0.9.2/spec/support/fixture.rb +37 -0
  1045. data/search_biomodel/ruby/1.8/specifications/builder-3.0.0.gemspec +36 -0
  1046. data/search_biomodel/ruby/1.8/specifications/git-1.2.5.gemspec +30 -0
  1047. data/search_biomodel/ruby/1.8/specifications/gyoku-0.4.4.gemspec +41 -0
  1048. data/search_biomodel/ruby/1.8/specifications/httpi-0.9.4.gemspec +49 -0
  1049. data/search_biomodel/ruby/1.8/specifications/jeweler-1.6.2.gemspec +79 -0
  1050. data/search_biomodel/ruby/1.8/specifications/nokogiri-1.4.6.gemspec +53 -0
  1051. data/search_biomodel/ruby/1.8/specifications/nori-1.0.1.gemspec +38 -0
  1052. data/search_biomodel/ruby/1.8/specifications/pyu-ntlm-http-0.1.3.1.gemspec +31 -0
  1053. data/search_biomodel/ruby/1.8/specifications/rack-1.3.0.gemspec +57 -0
  1054. data/search_biomodel/ruby/1.8/specifications/rake-0.9.2.gemspec +43 -0
  1055. data/search_biomodel/ruby/1.8/specifications/rcov-0.9.9.gemspec +34 -0
  1056. data/search_biomodel/ruby/1.8/specifications/savon-0.9.2.gemspec +55 -0
  1057. data/test/test_search_biomodel.rb +29 -4
  1058. metadata +1071 -36
  1059. data/test.rb +0 -1
@@ -0,0 +1,12 @@
1
+ #ifndef HAVE_XMLFIRSTELEMENTCHILD
2
+
3
+ #ifndef XML_LIBXML2_HACKS
4
+ #define XML_LIBXML2_HACKS
5
+
6
+ xmlNodePtr xmlFirstElementChild(xmlNodePtr parent);
7
+ xmlNodePtr xmlNextElementSibling(xmlNodePtr node);
8
+ xmlNodePtr xmlLastElementChild(xmlNodePtr parent);
9
+
10
+ #endif
11
+
12
+ #endif
@@ -0,0 +1,84 @@
1
+ #include <xml_namespace.h>
2
+
3
+ VALUE cNokogiriXmlNamespace ;
4
+
5
+ /*
6
+ * call-seq:
7
+ * prefix
8
+ *
9
+ * Get the prefix for this namespace. Returns +nil+ if there is no prefix.
10
+ */
11
+ static VALUE prefix(VALUE self)
12
+ {
13
+ xmlNsPtr ns;
14
+ xmlDocPtr doc;
15
+
16
+ Data_Get_Struct(self, xmlNs, ns);
17
+ if(!ns->prefix) return Qnil;
18
+
19
+ Data_Get_Struct(rb_iv_get(self, "@document"), xmlDoc, doc);
20
+
21
+ return NOKOGIRI_STR_NEW2(ns->prefix);
22
+ }
23
+
24
+ /*
25
+ * call-seq:
26
+ * href
27
+ *
28
+ * Get the href for this namespace
29
+ */
30
+ static VALUE href(VALUE self)
31
+ {
32
+ xmlNsPtr ns;
33
+ xmlDocPtr doc;
34
+
35
+ Data_Get_Struct(self, xmlNs, ns);
36
+ if(!ns->href) return Qnil;
37
+
38
+ Data_Get_Struct(rb_iv_get(self, "@document"), xmlDoc, doc);
39
+
40
+ return NOKOGIRI_STR_NEW2(ns->href);
41
+ }
42
+
43
+ VALUE Nokogiri_wrap_xml_namespace(xmlDocPtr doc, xmlNsPtr node)
44
+ {
45
+ VALUE ns, document, node_cache;
46
+
47
+ assert(doc->_private);
48
+
49
+ if(node->_private)
50
+ return (VALUE)node->_private;
51
+
52
+ ns = Data_Wrap_Struct(cNokogiriXmlNamespace, 0, 0, node);
53
+
54
+ document = DOC_RUBY_OBJECT(doc);
55
+
56
+ node_cache = rb_iv_get(document, "@node_cache");
57
+ rb_ary_push(node_cache, ns);
58
+
59
+ rb_iv_set(ns, "@document", DOC_RUBY_OBJECT(doc));
60
+
61
+ node->_private = (void *)ns;
62
+
63
+ return ns;
64
+ }
65
+
66
+ VALUE Nokogiri_wrap_xml_namespace2(VALUE document, xmlNsPtr node)
67
+ {
68
+ xmlDocPtr doc;
69
+ Data_Get_Struct(document, xmlDoc, doc) ;
70
+ return Nokogiri_wrap_xml_namespace(doc, node);
71
+ }
72
+
73
+
74
+ void init_xml_namespace()
75
+ {
76
+ VALUE nokogiri = rb_define_module("Nokogiri");
77
+ VALUE xml = rb_define_module_under(nokogiri, "XML");
78
+ VALUE klass = rb_define_class_under(xml, "Namespace", rb_cObject);
79
+
80
+ cNokogiriXmlNamespace = klass;
81
+
82
+ rb_define_method(klass, "prefix", prefix, 0);
83
+ rb_define_method(klass, "href", href, 0);
84
+ }
@@ -0,0 +1,13 @@
1
+ #ifndef NOKOGIRI_XML_NAMESPACE
2
+ #define NOKOGIRI_XML_NAMESPACE
3
+
4
+ #include <nokogiri.h>
5
+
6
+ void init_xml_namespace();
7
+
8
+ extern VALUE cNokogiriXmlNamespace ;
9
+
10
+ VALUE Nokogiri_wrap_xml_namespace(xmlDocPtr doc, xmlNsPtr node) ;
11
+ VALUE Nokogiri_wrap_xml_namespace2(VALUE document, xmlNsPtr node) ;
12
+
13
+ #endif
@@ -0,0 +1,1391 @@
1
+ #include <xml_node.h>
2
+
3
+ static ID decorate, decorate_bang;
4
+
5
+ #ifdef DEBUG
6
+ static void debug_node_dealloc(xmlNodePtr x)
7
+ {
8
+ NOKOGIRI_DEBUG_START(x)
9
+ NOKOGIRI_DEBUG_END(x)
10
+ }
11
+ #else
12
+ # define debug_node_dealloc 0
13
+ #endif
14
+
15
+ static void mark(xmlNodePtr node)
16
+ {
17
+ rb_gc_mark(DOC_RUBY_OBJECT(node->doc));
18
+ }
19
+
20
+ /* :nodoc: */
21
+ typedef xmlNodePtr (*pivot_reparentee_func)(xmlNodePtr, xmlNodePtr);
22
+
23
+ /* :nodoc: */
24
+ static void relink_namespace(xmlNodePtr reparented)
25
+ {
26
+ xmlNodePtr child;
27
+
28
+ /* Avoid segv when relinking against unlinked nodes. */
29
+ if(!reparented->parent) return;
30
+
31
+ /* Make sure that our reparented node has the correct namespaces */
32
+ if(!reparented->ns && reparented->doc != (xmlDocPtr)reparented->parent)
33
+ xmlSetNs(reparented, reparented->parent->ns);
34
+
35
+ /* Search our parents for an existing definition */
36
+ if(reparented->nsDef) {
37
+ xmlNsPtr curr = reparented->nsDef;
38
+ xmlNsPtr prev = NULL;
39
+
40
+ while(curr) {
41
+ xmlNsPtr ns = xmlSearchNsByHref(
42
+ reparented->doc,
43
+ reparented->parent,
44
+ curr->href
45
+ );
46
+ /* If we find the namespace is already declared, remove it from this
47
+ * definition list. */
48
+ if(ns && ns != curr) {
49
+ if (prev) {
50
+ prev->next = curr->next;
51
+ } else {
52
+ reparented->nsDef = curr->next;
53
+ }
54
+ NOKOGIRI_ROOT_NSDEF(curr, reparented->doc);
55
+ } else {
56
+ prev = curr;
57
+ }
58
+ curr = curr->next;
59
+ }
60
+ }
61
+
62
+ /* Only walk all children if there actually is a namespace we need to */
63
+ /* reparent. */
64
+ if(NULL == reparented->ns) return;
65
+
66
+ /* When a node gets reparented, walk it's children to make sure that */
67
+ /* their namespaces are reparented as well. */
68
+ child = reparented->children;
69
+ while(NULL != child) {
70
+ relink_namespace(child);
71
+ child = child->next;
72
+ }
73
+ }
74
+
75
+ /* :nodoc: */
76
+ static xmlNodePtr xmlReplaceNodeWrapper(xmlNodePtr pivot, xmlNodePtr new_node)
77
+ {
78
+ xmlNodePtr retval ;
79
+
80
+ retval = xmlReplaceNode(pivot, new_node) ;
81
+
82
+ if (retval == pivot) {
83
+ retval = new_node ; /* return semantics for reparent_node_with */
84
+ }
85
+
86
+ /* work around libxml2 issue: https://bugzilla.gnome.org/show_bug.cgi?id=615612 */
87
+ if (retval->type == XML_TEXT_NODE) {
88
+ if (retval->prev && retval->prev->type == XML_TEXT_NODE) {
89
+ retval = xmlTextMerge(retval->prev, retval);
90
+ }
91
+ if (retval->next && retval->next->type == XML_TEXT_NODE) {
92
+ retval = xmlTextMerge(retval, retval->next);
93
+ }
94
+ }
95
+
96
+ return retval ;
97
+ }
98
+
99
+ /* :nodoc: */
100
+ static VALUE reparent_node_with(VALUE pivot_obj, VALUE reparentee_obj, pivot_reparentee_func prf)
101
+ {
102
+ VALUE reparented_obj ;
103
+ xmlNodePtr reparentee, pivot, reparented, next_text, new_next_text ;
104
+
105
+ if(!rb_obj_is_kind_of(reparentee_obj, cNokogiriXmlNode))
106
+ rb_raise(rb_eArgError, "node must be a Nokogiri::XML::Node");
107
+ if(rb_obj_is_kind_of(reparentee_obj, cNokogiriXmlDocument))
108
+ rb_raise(rb_eArgError, "node must be a Nokogiri::XML::Node");
109
+
110
+ Data_Get_Struct(reparentee_obj, xmlNode, reparentee);
111
+ Data_Get_Struct(pivot_obj, xmlNode, pivot);
112
+
113
+ if(XML_DOCUMENT_NODE == reparentee->type || XML_HTML_DOCUMENT_NODE == reparentee->type)
114
+ rb_raise(rb_eArgError, "cannot reparent a document node");
115
+
116
+ xmlUnlinkNode(reparentee);
117
+
118
+ if (reparentee->doc != pivot->doc || reparentee->type == XML_TEXT_NODE) {
119
+ /*
120
+ * if the reparentee is a text node, there's a very good chance it will be
121
+ * merged with an adjacent text node after being reparented, and in that case
122
+ * libxml will free the underlying C struct.
123
+ *
124
+ * since we clearly have a ruby object which references the underlying
125
+ * memory, we can't let the C struct get freed. let's pickle the original
126
+ * reparentee by rooting it; and then we'll reparent a duplicate of the
127
+ * node that we don't care about preserving.
128
+ *
129
+ * alternatively, if the reparentee is from a different document than the
130
+ * pivot node, libxml2 is going to get confused about which document's
131
+ * "dictionary" the node's strings belong to (this is an otherwise
132
+ * uninteresting libxml2 implementation detail). as a result, we cannot
133
+ * reparent the actual reparentee, so we reparent a duplicate.
134
+ */
135
+ NOKOGIRI_ROOT_NODE(reparentee);
136
+ if (!(reparentee = xmlDocCopyNode(reparentee, pivot->doc, 1))) {
137
+ rb_raise(rb_eRuntimeError, "Could not reparent node (xmlDocCopyNode)");
138
+ }
139
+ }
140
+
141
+ if (reparentee->type == XML_TEXT_NODE && pivot->next && pivot->next->type == XML_TEXT_NODE) {
142
+ /*
143
+ * libxml merges text nodes in a right-to-left fashion, meaning that if
144
+ * there are two text nodes who would be adjacent, the right (or following,
145
+ * or next) node will be merged into the left (or preceding, or previous)
146
+ * node.
147
+ *
148
+ * and by "merged" I mean the string contents will be concatenated onto the
149
+ * left node's contents, and then the node will be freed.
150
+ *
151
+ * which means that if we have a ruby object wrapped around the right node,
152
+ * its memory would be freed out from under it.
153
+ *
154
+ * so, we detect this edge case and unlink-and-root the text node before it gets
155
+ * merged. then we dup the node and insert that duplicate back into the
156
+ * document where the real node was.
157
+ *
158
+ * yes, this is totally lame.
159
+ */
160
+ next_text = pivot->next ;
161
+ new_next_text = xmlDocCopyNode(next_text, pivot->doc, 1) ;
162
+
163
+ xmlUnlinkNode(next_text);
164
+ NOKOGIRI_ROOT_NODE(next_text);
165
+
166
+ xmlAddNextSibling(pivot, new_next_text);
167
+ }
168
+
169
+ /* TODO: I really want to remove this. We shouldn't support 2.6.16 anymore */
170
+ if ( reparentee->type == XML_TEXT_NODE && pivot->type == XML_TEXT_NODE && is_2_6_16() ) {
171
+ /* work around a string-handling bug in libxml 2.6.16. we'd rather leak than segfault. */
172
+ pivot->content = xmlStrdup(pivot->content);
173
+ }
174
+
175
+ if(!(reparented = (*prf)(pivot, reparentee))) {
176
+ rb_raise(rb_eRuntimeError, "Could not reparent node");
177
+ }
178
+
179
+ /*
180
+ * make sure the ruby object is pointed at the just-reparented node, which
181
+ * might be a duplicate (see above) or might be the result of merging
182
+ * adjacent text nodes.
183
+ */
184
+ DATA_PTR(reparentee_obj) = reparented ;
185
+
186
+ relink_namespace(reparented);
187
+
188
+ reparented_obj = Nokogiri_wrap_xml_node(Qnil, reparented);
189
+
190
+ rb_funcall(reparented_obj, decorate_bang, 0);
191
+
192
+ return reparented_obj ;
193
+ }
194
+
195
+
196
+ /*
197
+ * call-seq:
198
+ * document
199
+ *
200
+ * Get the document for this Node
201
+ */
202
+ static VALUE document(VALUE self)
203
+ {
204
+ xmlNodePtr node;
205
+ Data_Get_Struct(self, xmlNode, node);
206
+ return DOC_RUBY_OBJECT(node->doc);
207
+ }
208
+
209
+ /*
210
+ * call-seq:
211
+ * pointer_id
212
+ *
213
+ * Get the internal pointer number
214
+ */
215
+ static VALUE pointer_id(VALUE self)
216
+ {
217
+ xmlNodePtr node;
218
+ Data_Get_Struct(self, xmlNode, node);
219
+
220
+ return INT2NUM((long)(node));
221
+ }
222
+
223
+ /*
224
+ * call-seq:
225
+ * encode_special_chars(string)
226
+ *
227
+ * Encode any special characters in +string+
228
+ */
229
+ static VALUE encode_special_chars(VALUE self, VALUE string)
230
+ {
231
+ xmlNodePtr node;
232
+ xmlChar *encoded;
233
+ VALUE encoded_str;
234
+
235
+ Data_Get_Struct(self, xmlNode, node);
236
+ encoded = xmlEncodeSpecialChars(
237
+ node->doc,
238
+ (const xmlChar *)StringValuePtr(string)
239
+ );
240
+
241
+ encoded_str = NOKOGIRI_STR_NEW2(encoded);
242
+ xmlFree(encoded);
243
+
244
+ return encoded_str;
245
+ }
246
+
247
+ /*
248
+ * call-seq:
249
+ * create_internal_subset(name, external_id, system_id)
250
+ *
251
+ * Create the internal subset of a document.
252
+ *
253
+ * doc.create_internal_subset("chapter", "-//OASIS//DTD DocBook XML//EN", "chapter.dtd")
254
+ * # => <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML//EN" "chapter.dtd">
255
+ *
256
+ * doc.create_internal_subset("chapter", nil, "chapter.dtd")
257
+ * # => <!DOCTYPE chapter SYSTEM "chapter.dtd">
258
+ */
259
+ static VALUE create_internal_subset(VALUE self, VALUE name, VALUE external_id, VALUE system_id)
260
+ {
261
+ xmlNodePtr node;
262
+ xmlDocPtr doc;
263
+ xmlDtdPtr dtd;
264
+
265
+ Data_Get_Struct(self, xmlNode, node);
266
+
267
+ doc = node->doc;
268
+
269
+ if(xmlGetIntSubset(doc))
270
+ rb_raise(rb_eRuntimeError, "Document already has an internal subset");
271
+
272
+ dtd = xmlCreateIntSubset(
273
+ doc,
274
+ NIL_P(name) ? NULL : (const xmlChar *)StringValuePtr(name),
275
+ NIL_P(external_id) ? NULL : (const xmlChar *)StringValuePtr(external_id),
276
+ NIL_P(system_id) ? NULL : (const xmlChar *)StringValuePtr(system_id)
277
+ );
278
+
279
+ if(!dtd) return Qnil;
280
+
281
+ return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)dtd);
282
+ }
283
+
284
+ /*
285
+ * call-seq:
286
+ * create_external_subset(name, external_id, system_id)
287
+ *
288
+ * Create an external subset
289
+ */
290
+ static VALUE create_external_subset(VALUE self, VALUE name, VALUE external_id, VALUE system_id)
291
+ {
292
+ xmlNodePtr node;
293
+ xmlDocPtr doc;
294
+ xmlDtdPtr dtd;
295
+
296
+ Data_Get_Struct(self, xmlNode, node);
297
+
298
+ doc = node->doc;
299
+
300
+ if(doc->extSubset)
301
+ rb_raise(rb_eRuntimeError, "Document already has an external subset");
302
+
303
+ dtd = xmlNewDtd(
304
+ doc,
305
+ NIL_P(name) ? NULL : (const xmlChar *)StringValuePtr(name),
306
+ NIL_P(external_id) ? NULL : (const xmlChar *)StringValuePtr(external_id),
307
+ NIL_P(system_id) ? NULL : (const xmlChar *)StringValuePtr(system_id)
308
+ );
309
+
310
+ if(!dtd) return Qnil;
311
+
312
+ return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)dtd);
313
+ }
314
+
315
+ /*
316
+ * call-seq:
317
+ * external_subset
318
+ *
319
+ * Get the external subset
320
+ */
321
+ static VALUE external_subset(VALUE self)
322
+ {
323
+ xmlNodePtr node;
324
+ xmlDocPtr doc;
325
+ xmlDtdPtr dtd;
326
+
327
+ Data_Get_Struct(self, xmlNode, node);
328
+
329
+ if(!node->doc) return Qnil;
330
+
331
+ doc = node->doc;
332
+ dtd = doc->extSubset;
333
+
334
+ if(!dtd) return Qnil;
335
+
336
+ return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)dtd);
337
+ }
338
+
339
+ /*
340
+ * call-seq:
341
+ * internal_subset
342
+ *
343
+ * Get the internal subset
344
+ */
345
+ static VALUE internal_subset(VALUE self)
346
+ {
347
+ xmlNodePtr node;
348
+ xmlDocPtr doc;
349
+ xmlDtdPtr dtd;
350
+
351
+ Data_Get_Struct(self, xmlNode, node);
352
+
353
+ if(!node->doc) return Qnil;
354
+
355
+ doc = node->doc;
356
+ dtd = xmlGetIntSubset(doc);
357
+
358
+ if(!dtd) return Qnil;
359
+
360
+ return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)dtd);
361
+ }
362
+
363
+ /*
364
+ * call-seq:
365
+ * dup
366
+ *
367
+ * Copy this node. An optional depth may be passed in, but it defaults
368
+ * to a deep copy. 0 is a shallow copy, 1 is a deep copy.
369
+ */
370
+ static VALUE duplicate_node(int argc, VALUE *argv, VALUE self)
371
+ {
372
+ VALUE level;
373
+ xmlNodePtr node, dup;
374
+
375
+ if(rb_scan_args(argc, argv, "01", &level) == 0)
376
+ level = INT2NUM((long)1);
377
+
378
+ Data_Get_Struct(self, xmlNode, node);
379
+
380
+ dup = xmlDocCopyNode(node, node->doc, (int)NUM2INT(level));
381
+ if(dup == NULL) return Qnil;
382
+
383
+ NOKOGIRI_ROOT_NODE(dup);
384
+
385
+ return Nokogiri_wrap_xml_node(rb_obj_class(self), dup);
386
+ }
387
+
388
+ /*
389
+ * call-seq:
390
+ * unlink
391
+ *
392
+ * Unlink this node from its current context.
393
+ */
394
+ static VALUE unlink_node(VALUE self)
395
+ {
396
+ xmlNodePtr node;
397
+ Data_Get_Struct(self, xmlNode, node);
398
+ xmlUnlinkNode(node);
399
+ NOKOGIRI_ROOT_NODE(node);
400
+ return self;
401
+ }
402
+
403
+ /*
404
+ * call-seq:
405
+ * blank?
406
+ *
407
+ * Is this node blank?
408
+ */
409
+ static VALUE blank_eh(VALUE self)
410
+ {
411
+ xmlNodePtr node;
412
+ Data_Get_Struct(self, xmlNode, node);
413
+ return (1 == xmlIsBlankNode(node)) ? Qtrue : Qfalse ;
414
+ }
415
+
416
+ /*
417
+ * call-seq:
418
+ * next_sibling
419
+ *
420
+ * Returns the next sibling node
421
+ */
422
+ static VALUE next_sibling(VALUE self)
423
+ {
424
+ xmlNodePtr node, sibling;
425
+ Data_Get_Struct(self, xmlNode, node);
426
+
427
+ sibling = node->next;
428
+ if(!sibling) return Qnil;
429
+
430
+ return Nokogiri_wrap_xml_node(Qnil, sibling) ;
431
+ }
432
+
433
+ /*
434
+ * call-seq:
435
+ * previous_sibling
436
+ *
437
+ * Returns the previous sibling node
438
+ */
439
+ static VALUE previous_sibling(VALUE self)
440
+ {
441
+ xmlNodePtr node, sibling;
442
+ Data_Get_Struct(self, xmlNode, node);
443
+
444
+ sibling = node->prev;
445
+ if(!sibling) return Qnil;
446
+
447
+ return Nokogiri_wrap_xml_node(Qnil, sibling);
448
+ }
449
+
450
+ /*
451
+ * call-seq:
452
+ * next_element
453
+ *
454
+ * Returns the next Nokogiri::XML::Element type sibling node.
455
+ */
456
+ static VALUE next_element(VALUE self)
457
+ {
458
+ xmlNodePtr node, sibling;
459
+ Data_Get_Struct(self, xmlNode, node);
460
+
461
+ sibling = xmlNextElementSibling(node);
462
+ if(!sibling) return Qnil;
463
+
464
+ return Nokogiri_wrap_xml_node(Qnil, sibling);
465
+ }
466
+
467
+ /*
468
+ * call-seq:
469
+ * previous_element
470
+ *
471
+ * Returns the previous Nokogiri::XML::Element type sibling node.
472
+ */
473
+ static VALUE previous_element(VALUE self)
474
+ {
475
+ xmlNodePtr node, sibling;
476
+ Data_Get_Struct(self, xmlNode, node);
477
+
478
+ /*
479
+ * note that we don't use xmlPreviousElementSibling here because it's buggy pre-2.7.7.
480
+ */
481
+ sibling = node->prev;
482
+ if(!sibling) return Qnil;
483
+
484
+ while(sibling && sibling->type != XML_ELEMENT_NODE)
485
+ sibling = sibling->prev;
486
+
487
+ return sibling ? Nokogiri_wrap_xml_node(Qnil, sibling) : Qnil ;
488
+ }
489
+
490
+ /* :nodoc: */
491
+ static VALUE replace(VALUE self, VALUE new_node)
492
+ {
493
+ return reparent_node_with(self, new_node, xmlReplaceNodeWrapper) ;
494
+ }
495
+
496
+ /*
497
+ * call-seq:
498
+ * children
499
+ *
500
+ * Get the list of children for this node as a NodeSet
501
+ */
502
+ static VALUE children(VALUE self)
503
+ {
504
+ xmlNodePtr node;
505
+ xmlNodePtr child;
506
+ xmlNodeSetPtr set;
507
+ VALUE document;
508
+ VALUE node_set;
509
+
510
+ Data_Get_Struct(self, xmlNode, node);
511
+
512
+ child = node->children;
513
+ set = xmlXPathNodeSetCreate(child);
514
+
515
+ document = DOC_RUBY_OBJECT(node->doc);
516
+
517
+ if(!child) return Nokogiri_wrap_xml_node_set(set, document);
518
+
519
+ child = child->next;
520
+ while(NULL != child) {
521
+ xmlXPathNodeSetAddUnique(set, child);
522
+ child = child->next;
523
+ }
524
+
525
+ node_set = Nokogiri_wrap_xml_node_set(set, document);
526
+
527
+ return node_set;
528
+ }
529
+
530
+ /*
531
+ * call-seq:
532
+ * element_children
533
+ *
534
+ * Get the list of children for this node as a NodeSet. All nodes will be
535
+ * element nodes.
536
+ *
537
+ * Example:
538
+ *
539
+ * @doc.root.element_children.all? { |x| x.element? } # => true
540
+ */
541
+ static VALUE element_children(VALUE self)
542
+ {
543
+ xmlNodePtr node;
544
+ xmlNodePtr child;
545
+ xmlNodeSetPtr set;
546
+ VALUE document;
547
+ VALUE node_set;
548
+
549
+ Data_Get_Struct(self, xmlNode, node);
550
+
551
+ child = xmlFirstElementChild(node);
552
+ set = xmlXPathNodeSetCreate(child);
553
+
554
+ document = DOC_RUBY_OBJECT(node->doc);
555
+
556
+ if(!child) return Nokogiri_wrap_xml_node_set(set, document);
557
+
558
+ child = xmlNextElementSibling(child);
559
+ while(NULL != child) {
560
+ xmlXPathNodeSetAddUnique(set, child);
561
+ child = xmlNextElementSibling(child);
562
+ }
563
+
564
+ node_set = Nokogiri_wrap_xml_node_set(set, document);
565
+
566
+ return node_set;
567
+ }
568
+
569
+ /*
570
+ * call-seq:
571
+ * child
572
+ *
573
+ * Returns the child node
574
+ */
575
+ static VALUE child(VALUE self)
576
+ {
577
+ xmlNodePtr node, child;
578
+ Data_Get_Struct(self, xmlNode, node);
579
+
580
+ child = node->children;
581
+ if(!child) return Qnil;
582
+
583
+ return Nokogiri_wrap_xml_node(Qnil, child);
584
+ }
585
+
586
+ /*
587
+ * call-seq:
588
+ * first_element_child
589
+ *
590
+ * Returns the first child node of this node that is an element.
591
+ *
592
+ * Example:
593
+ *
594
+ * @doc.root.first_element_child.element? # => true
595
+ */
596
+ static VALUE first_element_child(VALUE self)
597
+ {
598
+ xmlNodePtr node, child;
599
+ Data_Get_Struct(self, xmlNode, node);
600
+
601
+ child = xmlFirstElementChild(node);
602
+ if(!child) return Qnil;
603
+
604
+ return Nokogiri_wrap_xml_node(Qnil, child);
605
+ }
606
+
607
+ /*
608
+ * call-seq:
609
+ * last_element_child
610
+ *
611
+ * Returns the last child node of this node that is an element.
612
+ *
613
+ * Example:
614
+ *
615
+ * @doc.root.last_element_child.element? # => true
616
+ */
617
+ static VALUE last_element_child(VALUE self)
618
+ {
619
+ xmlNodePtr node, child;
620
+ Data_Get_Struct(self, xmlNode, node);
621
+
622
+ child = xmlLastElementChild(node);
623
+ if(!child) return Qnil;
624
+
625
+ return Nokogiri_wrap_xml_node(Qnil, child);
626
+ }
627
+
628
+ /*
629
+ * call-seq:
630
+ * key?(attribute)
631
+ *
632
+ * Returns true if +attribute+ is set
633
+ */
634
+ static VALUE key_eh(VALUE self, VALUE attribute)
635
+ {
636
+ xmlNodePtr node;
637
+ Data_Get_Struct(self, xmlNode, node);
638
+ if(xmlHasProp(node, (xmlChar *)StringValuePtr(attribute)))
639
+ return Qtrue;
640
+ return Qfalse;
641
+ }
642
+
643
+ /*
644
+ * call-seq:
645
+ * namespaced_key?(attribute, namespace)
646
+ *
647
+ * Returns true if +attribute+ is set with +namespace+
648
+ */
649
+ static VALUE namespaced_key_eh(VALUE self, VALUE attribute, VALUE namespace)
650
+ {
651
+ xmlNodePtr node;
652
+ Data_Get_Struct(self, xmlNode, node);
653
+ if(xmlHasNsProp(node, (xmlChar *)StringValuePtr(attribute),
654
+ NIL_P(namespace) ? NULL : (xmlChar *)StringValuePtr(namespace)))
655
+ return Qtrue;
656
+ return Qfalse;
657
+ }
658
+
659
+ /*
660
+ * call-seq:
661
+ * []=(property, value)
662
+ *
663
+ * Set the +property+ to +value+
664
+ */
665
+ static VALUE set(VALUE self, VALUE property, VALUE value)
666
+ {
667
+ xmlNodePtr node;
668
+ Data_Get_Struct(self, xmlNode, node);
669
+
670
+ xmlSetProp(node, (xmlChar *)StringValuePtr(property),
671
+ (xmlChar *)StringValuePtr(value));
672
+
673
+ return value;
674
+ }
675
+
676
+ /*
677
+ * call-seq:
678
+ * get(attribute)
679
+ *
680
+ * Get the value for +attribute+
681
+ */
682
+ static VALUE get(VALUE self, VALUE attribute)
683
+ {
684
+ xmlNodePtr node;
685
+ xmlChar* propstr ;
686
+ VALUE rval ;
687
+ Data_Get_Struct(self, xmlNode, node);
688
+
689
+ if(NIL_P(attribute)) return Qnil;
690
+
691
+ propstr = xmlGetProp(node, (xmlChar *)StringValuePtr(attribute));
692
+
693
+ if(!propstr) return Qnil;
694
+
695
+ rval = NOKOGIRI_STR_NEW2(propstr);
696
+
697
+ xmlFree(propstr);
698
+ return rval ;
699
+ }
700
+
701
+ /*
702
+ * call-seq:
703
+ * set_namespace(namespace)
704
+ *
705
+ * Set the namespace to +namespace+
706
+ */
707
+ static VALUE set_namespace(VALUE self, VALUE namespace)
708
+ {
709
+ xmlNodePtr node;
710
+ xmlNsPtr ns = NULL;
711
+
712
+ Data_Get_Struct(self, xmlNode, node);
713
+
714
+ if(!NIL_P(namespace))
715
+ Data_Get_Struct(namespace, xmlNs, ns);
716
+
717
+ xmlSetNs(node, ns);
718
+
719
+ return self;
720
+ }
721
+
722
+ /*
723
+ * call-seq:
724
+ * attribute(name)
725
+ *
726
+ * Get the attribute node with +name+
727
+ */
728
+ static VALUE attr(VALUE self, VALUE name)
729
+ {
730
+ xmlNodePtr node;
731
+ xmlAttrPtr prop;
732
+ Data_Get_Struct(self, xmlNode, node);
733
+ prop = xmlHasProp(node, (xmlChar *)StringValuePtr(name));
734
+
735
+ if(! prop) return Qnil;
736
+ return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)prop);
737
+ }
738
+
739
+ /*
740
+ * call-seq:
741
+ * attribute_with_ns(name, namespace)
742
+ *
743
+ * Get the attribute node with +name+ and +namespace+
744
+ */
745
+ static VALUE attribute_with_ns(VALUE self, VALUE name, VALUE namespace)
746
+ {
747
+ xmlNodePtr node;
748
+ xmlAttrPtr prop;
749
+ Data_Get_Struct(self, xmlNode, node);
750
+ prop = xmlHasNsProp(node, (xmlChar *)StringValuePtr(name),
751
+ NIL_P(namespace) ? NULL : (xmlChar *)StringValuePtr(namespace));
752
+
753
+ if(! prop) return Qnil;
754
+ return Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)prop);
755
+ }
756
+
757
+ /*
758
+ * call-seq:
759
+ * attribute_nodes()
760
+ *
761
+ * returns a list containing the Node attributes.
762
+ */
763
+ static VALUE attribute_nodes(VALUE self)
764
+ {
765
+ /* this code in the mode of xmlHasProp() */
766
+ xmlNodePtr node;
767
+ VALUE attr;
768
+
769
+ Data_Get_Struct(self, xmlNode, node);
770
+
771
+ attr = rb_ary_new();
772
+ Nokogiri_xml_node_properties(node, attr);
773
+
774
+ return attr ;
775
+ }
776
+
777
+
778
+ /*
779
+ * call-seq:
780
+ * namespace()
781
+ *
782
+ * returns the default namespace set on this node (as with an "xmlns="
783
+ * attribute), as a Namespace object.
784
+ */
785
+ static VALUE namespace(VALUE self)
786
+ {
787
+ xmlNodePtr node ;
788
+ Data_Get_Struct(self, xmlNode, node);
789
+
790
+ if (node->ns)
791
+ return Nokogiri_wrap_xml_namespace(node->doc, node->ns);
792
+
793
+ return Qnil ;
794
+ }
795
+
796
+ /*
797
+ * call-seq:
798
+ * namespace_definitions()
799
+ *
800
+ * returns namespaces defined on self element directly, as an array of Namespace objects. Includes both a default namespace (as in"xmlns="), and prefixed namespaces (as in "xmlns:prefix=").
801
+ */
802
+ static VALUE namespace_definitions(VALUE self)
803
+ {
804
+ /* this code in the mode of xmlHasProp() */
805
+ xmlNodePtr node ;
806
+ VALUE list;
807
+ xmlNsPtr ns;
808
+
809
+ Data_Get_Struct(self, xmlNode, node);
810
+
811
+ list = rb_ary_new();
812
+
813
+ ns = node->nsDef;
814
+
815
+ if(!ns) return list;
816
+
817
+ while(NULL != ns) {
818
+ rb_ary_push(list, Nokogiri_wrap_xml_namespace(node->doc, ns));
819
+ ns = ns->next;
820
+ }
821
+
822
+ return list;
823
+ }
824
+
825
+ /*
826
+ * call-seq:
827
+ * namespace_scopes()
828
+ *
829
+ * returns namespaces in scope for self -- those defined on self element
830
+ * directly or any ancestor node -- as an array of Namespace objects. Default
831
+ * namespaces ("xmlns=" style) for self are included in this array; Default
832
+ * namespaces for ancestors, however, are not. See also #namespaces
833
+ */
834
+ static VALUE namespace_scopes(VALUE self)
835
+ {
836
+ xmlNodePtr node ;
837
+ VALUE list;
838
+ xmlNsPtr *ns_list;
839
+ int j;
840
+
841
+ Data_Get_Struct(self, xmlNode, node);
842
+
843
+ list = rb_ary_new();
844
+ ns_list = xmlGetNsList(node->doc, node);
845
+
846
+ if(!ns_list) return list;
847
+
848
+ for (j = 0 ; ns_list[j] != NULL ; ++j) {
849
+ rb_ary_push(list, Nokogiri_wrap_xml_namespace(node->doc, ns_list[j]));
850
+ }
851
+
852
+ xmlFree(ns_list);
853
+ return list;
854
+ }
855
+
856
+ /*
857
+ * call-seq:
858
+ * node_type
859
+ *
860
+ * Get the type for this Node
861
+ */
862
+ static VALUE node_type(VALUE self)
863
+ {
864
+ xmlNodePtr node;
865
+ Data_Get_Struct(self, xmlNode, node);
866
+ return INT2NUM((long)node->type);
867
+ }
868
+
869
+ /*
870
+ * call-seq:
871
+ * content=
872
+ *
873
+ * Set the content for this Node
874
+ */
875
+ static VALUE set_content(VALUE self, VALUE content)
876
+ {
877
+ xmlNodePtr node, child, next ;
878
+ Data_Get_Struct(self, xmlNode, node);
879
+
880
+ child = node->children;
881
+ while (NULL != child) {
882
+ next = child->next ;
883
+ xmlUnlinkNode(child) ;
884
+ NOKOGIRI_ROOT_NODE(child) ;
885
+ child = next ;
886
+ }
887
+
888
+ xmlNodeSetContent(node, (xmlChar *)StringValuePtr(content));
889
+ return content;
890
+ }
891
+
892
+ /*
893
+ * call-seq:
894
+ * content
895
+ *
896
+ * Returns the content for this Node
897
+ */
898
+ static VALUE get_content(VALUE self)
899
+ {
900
+ xmlNodePtr node;
901
+ xmlChar * content;
902
+
903
+ Data_Get_Struct(self, xmlNode, node);
904
+
905
+ content = xmlNodeGetContent(node);
906
+ if(content) {
907
+ VALUE rval = NOKOGIRI_STR_NEW2(content);
908
+ xmlFree(content);
909
+ return rval;
910
+ }
911
+ return Qnil;
912
+ }
913
+
914
+ /* :nodoc: */
915
+ static VALUE add_child(VALUE self, VALUE new_child)
916
+ {
917
+ return reparent_node_with(self, new_child, xmlAddChild);
918
+ }
919
+
920
+ /*
921
+ * call-seq:
922
+ * parent
923
+ *
924
+ * Get the parent Node for this Node
925
+ */
926
+ static VALUE get_parent(VALUE self)
927
+ {
928
+ xmlNodePtr node, parent;
929
+ Data_Get_Struct(self, xmlNode, node);
930
+
931
+ parent = node->parent;
932
+ if(!parent) return Qnil;
933
+
934
+ return Nokogiri_wrap_xml_node(Qnil, parent) ;
935
+ }
936
+
937
+ /*
938
+ * call-seq:
939
+ * name=(new_name)
940
+ *
941
+ * Set the name for this Node
942
+ */
943
+ static VALUE set_name(VALUE self, VALUE new_name)
944
+ {
945
+ xmlNodePtr node;
946
+ Data_Get_Struct(self, xmlNode, node);
947
+ xmlNodeSetName(node, (xmlChar*)StringValuePtr(new_name));
948
+ return new_name;
949
+ }
950
+
951
+ /*
952
+ * call-seq:
953
+ * name
954
+ *
955
+ * Returns the name for this Node
956
+ */
957
+ static VALUE get_name(VALUE self)
958
+ {
959
+ xmlNodePtr node;
960
+ Data_Get_Struct(self, xmlNode, node);
961
+ if(node->name)
962
+ return NOKOGIRI_STR_NEW2(node->name);
963
+ return Qnil;
964
+ }
965
+
966
+ /*
967
+ * call-seq:
968
+ * path
969
+ *
970
+ * Returns the path associated with this Node
971
+ */
972
+ static VALUE path(VALUE self)
973
+ {
974
+ xmlNodePtr node;
975
+ xmlChar *path ;
976
+ VALUE rval;
977
+
978
+ Data_Get_Struct(self, xmlNode, node);
979
+
980
+ path = xmlGetNodePath(node);
981
+ rval = NOKOGIRI_STR_NEW2(path);
982
+ xmlFree(path);
983
+ return rval ;
984
+ }
985
+
986
+ /* :nodoc: */
987
+ static VALUE add_next_sibling(VALUE self, VALUE new_sibling)
988
+ {
989
+ return reparent_node_with(self, new_sibling, xmlAddNextSibling) ;
990
+ }
991
+
992
+ /* :nodoc: */
993
+ static VALUE add_previous_sibling(VALUE self, VALUE new_sibling)
994
+ {
995
+ return reparent_node_with(self, new_sibling, xmlAddPrevSibling) ;
996
+ }
997
+
998
+ /*
999
+ * call-seq:
1000
+ * native_write_to(io, encoding, options)
1001
+ *
1002
+ * Write this Node to +io+ with +encoding+ and +options+
1003
+ */
1004
+ static VALUE native_write_to(
1005
+ VALUE self,
1006
+ VALUE io,
1007
+ VALUE encoding,
1008
+ VALUE indent_string,
1009
+ VALUE options
1010
+ ) {
1011
+ xmlNodePtr node;
1012
+ const char * before_indent;
1013
+ xmlSaveCtxtPtr savectx;
1014
+
1015
+ Data_Get_Struct(self, xmlNode, node);
1016
+
1017
+ xmlIndentTreeOutput = 1;
1018
+
1019
+ before_indent = xmlTreeIndentString;
1020
+
1021
+ xmlTreeIndentString = StringValuePtr(indent_string);
1022
+
1023
+ savectx = xmlSaveToIO(
1024
+ (xmlOutputWriteCallback)io_write_callback,
1025
+ (xmlOutputCloseCallback)io_close_callback,
1026
+ (void *)io,
1027
+ RTEST(encoding) ? StringValuePtr(encoding) : NULL,
1028
+ (int)NUM2INT(options)
1029
+ );
1030
+
1031
+ xmlSaveTree(savectx, node);
1032
+ xmlSaveClose(savectx);
1033
+
1034
+ xmlTreeIndentString = before_indent;
1035
+ return io;
1036
+ }
1037
+
1038
+ /*
1039
+ * call-seq:
1040
+ * line
1041
+ *
1042
+ * Returns the line for this Node
1043
+ */
1044
+ static VALUE line(VALUE self)
1045
+ {
1046
+ xmlNodePtr node;
1047
+ Data_Get_Struct(self, xmlNode, node);
1048
+
1049
+ return INT2NUM(xmlGetLineNo(node));
1050
+ }
1051
+
1052
+ /*
1053
+ * call-seq:
1054
+ * add_namespace_definition(prefix, href)
1055
+ *
1056
+ * Adds a namespace definition with +prefix+ using +href+ value. The result is
1057
+ * as if parsed XML for this node had included an attribute
1058
+ * 'xmlns:prefix=value'. A default namespace for this node ("xmlns=") can be
1059
+ * added by passing 'nil' for prefix. Namespaces added this way will not
1060
+ * show up in #attributes, but they will be included as an xmlns attribute
1061
+ * when the node is serialized to XML.
1062
+ */
1063
+ static VALUE add_namespace_definition(VALUE self, VALUE prefix, VALUE href)
1064
+ {
1065
+ xmlNodePtr node, namespacee;
1066
+ xmlNsPtr ns;
1067
+
1068
+ Data_Get_Struct(self, xmlNode, node);
1069
+ namespacee = node ;
1070
+
1071
+ ns = xmlSearchNs(
1072
+ node->doc,
1073
+ node,
1074
+ (const xmlChar *)(NIL_P(prefix) ? NULL : StringValuePtr(prefix))
1075
+ );
1076
+
1077
+ if(!ns) {
1078
+ if (node->type != XML_ELEMENT_NODE) {
1079
+ namespacee = node->parent;
1080
+ }
1081
+ ns = xmlNewNs(
1082
+ namespacee,
1083
+ (const xmlChar *)StringValuePtr(href),
1084
+ (const xmlChar *)(NIL_P(prefix) ? NULL : StringValuePtr(prefix))
1085
+ );
1086
+ }
1087
+
1088
+ if (!ns) return Qnil ;
1089
+
1090
+ if(NIL_P(prefix) || node != namespacee) xmlSetNs(node, ns);
1091
+
1092
+ return Nokogiri_wrap_xml_namespace(node->doc, ns);
1093
+ }
1094
+
1095
+ /*
1096
+ * call-seq:
1097
+ * new(name, document)
1098
+ *
1099
+ * Create a new node with +name+ sharing GC lifecycle with +document+
1100
+ */
1101
+ static VALUE new(int argc, VALUE *argv, VALUE klass)
1102
+ {
1103
+ xmlDocPtr doc;
1104
+ xmlNodePtr node;
1105
+ VALUE name;
1106
+ VALUE document;
1107
+ VALUE rest;
1108
+ VALUE rb_node;
1109
+
1110
+ rb_scan_args(argc, argv, "2*", &name, &document, &rest);
1111
+
1112
+ Data_Get_Struct(document, xmlDoc, doc);
1113
+
1114
+ node = xmlNewNode(NULL, (xmlChar *)StringValuePtr(name));
1115
+ node->doc = doc->doc;
1116
+ NOKOGIRI_ROOT_NODE(node);
1117
+
1118
+ rb_node = Nokogiri_wrap_xml_node(
1119
+ klass == cNokogiriXmlNode ? (VALUE)NULL : klass,
1120
+ node
1121
+ );
1122
+ rb_obj_call_init(rb_node, argc, argv);
1123
+
1124
+ if(rb_block_given_p()) rb_yield(rb_node);
1125
+
1126
+ return rb_node;
1127
+ }
1128
+
1129
+ /*
1130
+ * call-seq:
1131
+ * dump_html
1132
+ *
1133
+ * Returns the Node as html.
1134
+ */
1135
+ static VALUE dump_html(VALUE self)
1136
+ {
1137
+ xmlBufferPtr buf ;
1138
+ xmlNodePtr node ;
1139
+ VALUE html;
1140
+
1141
+ Data_Get_Struct(self, xmlNode, node);
1142
+
1143
+ buf = xmlBufferCreate() ;
1144
+ htmlNodeDump(buf, node->doc, node);
1145
+ html = NOKOGIRI_STR_NEW2(buf->content);
1146
+ xmlBufferFree(buf);
1147
+ return html ;
1148
+ }
1149
+
1150
+ /*
1151
+ * call-seq:
1152
+ * compare(other)
1153
+ *
1154
+ * Compare this Node to +other+ with respect to their Document
1155
+ */
1156
+ static VALUE compare(VALUE self, VALUE _other)
1157
+ {
1158
+ xmlNodePtr node, other;
1159
+ Data_Get_Struct(self, xmlNode, node);
1160
+ Data_Get_Struct(_other, xmlNode, other);
1161
+
1162
+ return INT2NUM((long)xmlXPathCmpNodes(other, node));
1163
+ }
1164
+
1165
+
1166
+ /* TODO: DOCUMENT ME */
1167
+ static VALUE in_context(VALUE self, VALUE _str, VALUE _options)
1168
+ {
1169
+ xmlNodePtr node;
1170
+ xmlNodePtr list;
1171
+ xmlNodePtr child_iter;
1172
+ xmlNodeSetPtr set;
1173
+ xmlParserErrors error;
1174
+ VALUE doc, err;
1175
+
1176
+ Data_Get_Struct(self, xmlNode, node);
1177
+
1178
+ doc = DOC_RUBY_OBJECT(node->doc);
1179
+ err = rb_iv_get(doc, "@errors");
1180
+
1181
+ xmlSetStructuredErrorFunc((void *)err, Nokogiri_error_array_pusher);
1182
+
1183
+ /* Twiddle global variable because of a bug in libxml2.
1184
+ * http://git.gnome.org/browse/libxml2/commit/?id=e20fb5a72c83cbfc8e4a8aa3943c6be8febadab7
1185
+ */
1186
+ #ifndef HTML_PARSE_NOIMPLIED
1187
+ htmlHandleOmittedElem(0);
1188
+ #endif
1189
+
1190
+ error = xmlParseInNodeContext(
1191
+ node,
1192
+ StringValuePtr(_str),
1193
+ (int)RSTRING_LEN(_str),
1194
+ (int)NUM2INT(_options),
1195
+ &list);
1196
+
1197
+ /* make sure parent/child pointers are coherent so an unlink will work properly (#331) */
1198
+ child_iter = node->doc->children ;
1199
+ while (child_iter) {
1200
+ if (child_iter->parent != (xmlNodePtr)node->doc)
1201
+ child_iter->parent = (xmlNodePtr)node->doc ;
1202
+ child_iter = child_iter->next ;
1203
+ }
1204
+
1205
+ #ifndef HTML_PARSE_NOIMPLIED
1206
+ htmlHandleOmittedElem(1);
1207
+ #endif
1208
+
1209
+ xmlSetStructuredErrorFunc(NULL, NULL);
1210
+
1211
+ /* FIXME: This probably needs to handle more constants... */
1212
+ switch(error) {
1213
+ case XML_ERR_OK:
1214
+ break;
1215
+
1216
+ case XML_ERR_INTERNAL_ERROR:
1217
+ case XML_ERR_NO_MEMORY:
1218
+ rb_raise(rb_eRuntimeError, "error parsing fragment (%d)", error);
1219
+ break;
1220
+
1221
+ default:
1222
+ break;
1223
+ }
1224
+
1225
+ set = xmlXPathNodeSetCreate(NULL);
1226
+
1227
+ while(list) {
1228
+ xmlXPathNodeSetAddUnique(set, list);
1229
+ list = list->next;
1230
+ }
1231
+
1232
+ return Nokogiri_wrap_xml_node_set(set, doc);
1233
+ }
1234
+
1235
+
1236
+ VALUE Nokogiri_wrap_xml_node(VALUE klass, xmlNodePtr node)
1237
+ {
1238
+ VALUE document = Qnil ;
1239
+ VALUE node_cache = Qnil ;
1240
+ VALUE rb_node = Qnil ;
1241
+ int node_has_a_document = 0 ;
1242
+ void (*mark_method)(xmlNodePtr) = NULL ;
1243
+
1244
+ assert(node);
1245
+
1246
+ if(node->type == XML_DOCUMENT_NODE || node->type == XML_HTML_DOCUMENT_NODE)
1247
+ return DOC_RUBY_OBJECT(node->doc);
1248
+
1249
+ if(NULL != node->_private) return (VALUE)node->_private;
1250
+
1251
+ if(!RTEST(klass)) {
1252
+ switch(node->type)
1253
+ {
1254
+ case XML_ELEMENT_NODE:
1255
+ klass = cNokogiriXmlElement;
1256
+ break;
1257
+ case XML_TEXT_NODE:
1258
+ klass = cNokogiriXmlText;
1259
+ break;
1260
+ case XML_ATTRIBUTE_NODE:
1261
+ klass = cNokogiriXmlAttr;
1262
+ break;
1263
+ case XML_ENTITY_REF_NODE:
1264
+ klass = cNokogiriXmlEntityReference;
1265
+ break;
1266
+ case XML_COMMENT_NODE:
1267
+ klass = cNokogiriXmlComment;
1268
+ break;
1269
+ case XML_DOCUMENT_FRAG_NODE:
1270
+ klass = cNokogiriXmlDocumentFragment;
1271
+ break;
1272
+ case XML_PI_NODE:
1273
+ klass = cNokogiriXmlProcessingInstruction;
1274
+ break;
1275
+ case XML_ENTITY_DECL:
1276
+ klass = cNokogiriXmlEntityDecl;
1277
+ break;
1278
+ case XML_CDATA_SECTION_NODE:
1279
+ klass = cNokogiriXmlCData;
1280
+ break;
1281
+ case XML_DTD_NODE:
1282
+ klass = cNokogiriXmlDtd;
1283
+ break;
1284
+ case XML_ATTRIBUTE_DECL:
1285
+ klass = cNokogiriXmlAttributeDecl;
1286
+ break;
1287
+ case XML_ELEMENT_DECL:
1288
+ klass = cNokogiriXmlElementDecl;
1289
+ break;
1290
+ default:
1291
+ klass = cNokogiriXmlNode;
1292
+ }
1293
+ }
1294
+
1295
+ /* It's OK if the node doesn't have a fully-realized document (as in XML::Reader). */
1296
+ /* see https://github.com/tenderlove/nokogiri/issues/95 */
1297
+ /* and https://github.com/tenderlove/nokogiri/issues/439 */
1298
+ node_has_a_document = (DOC_RUBY_OBJECT_TEST(node->doc) && DOC_RUBY_OBJECT(node->doc)) ? 1 : 0 ;
1299
+ mark_method = node_has_a_document ? mark : NULL ;
1300
+
1301
+ rb_node = Data_Wrap_Struct(klass, mark_method, debug_node_dealloc, node) ;
1302
+ node->_private = (void *)rb_node;
1303
+
1304
+ if (node_has_a_document) {
1305
+ document = DOC_RUBY_OBJECT(node->doc);
1306
+ node_cache = DOC_NODE_CACHE(node->doc);
1307
+ rb_ary_push(node_cache, rb_node);
1308
+ rb_funcall(document, decorate, 1, rb_node);
1309
+ }
1310
+
1311
+ return rb_node ;
1312
+ }
1313
+
1314
+
1315
+ void Nokogiri_xml_node_properties(xmlNodePtr node, VALUE attr_list)
1316
+ {
1317
+ xmlAttrPtr prop;
1318
+ prop = node->properties ;
1319
+ while (prop != NULL) {
1320
+ rb_ary_push(attr_list, Nokogiri_wrap_xml_node(Qnil, (xmlNodePtr)prop));
1321
+ prop = prop->next ;
1322
+ }
1323
+ }
1324
+
1325
+ VALUE cNokogiriXmlNode ;
1326
+ VALUE cNokogiriXmlElement ;
1327
+
1328
+ void init_xml_node()
1329
+ {
1330
+ VALUE nokogiri = rb_define_module("Nokogiri");
1331
+ VALUE xml = rb_define_module_under(nokogiri, "XML");
1332
+ VALUE klass = rb_define_class_under(xml, "Node", rb_cObject);
1333
+
1334
+ cNokogiriXmlNode = klass;
1335
+
1336
+ cNokogiriXmlElement = rb_define_class_under(xml, "Element", klass);
1337
+
1338
+ rb_define_singleton_method(klass, "new", new, -1);
1339
+
1340
+ rb_define_method(klass, "add_namespace_definition", add_namespace_definition, 2);
1341
+ rb_define_method(klass, "node_name", get_name, 0);
1342
+ rb_define_method(klass, "document", document, 0);
1343
+ rb_define_method(klass, "node_name=", set_name, 1);
1344
+ rb_define_method(klass, "parent", get_parent, 0);
1345
+ rb_define_method(klass, "child", child, 0);
1346
+ rb_define_method(klass, "first_element_child", first_element_child, 0);
1347
+ rb_define_method(klass, "last_element_child", last_element_child, 0);
1348
+ rb_define_method(klass, "children", children, 0);
1349
+ rb_define_method(klass, "element_children", element_children, 0);
1350
+ rb_define_method(klass, "next_sibling", next_sibling, 0);
1351
+ rb_define_method(klass, "previous_sibling", previous_sibling, 0);
1352
+ rb_define_method(klass, "next_element", next_element, 0);
1353
+ rb_define_method(klass, "previous_element", previous_element, 0);
1354
+ rb_define_method(klass, "node_type", node_type, 0);
1355
+ rb_define_method(klass, "content", get_content, 0);
1356
+ rb_define_method(klass, "path", path, 0);
1357
+ rb_define_method(klass, "key?", key_eh, 1);
1358
+ rb_define_method(klass, "namespaced_key?", namespaced_key_eh, 2);
1359
+ rb_define_method(klass, "blank?", blank_eh, 0);
1360
+ rb_define_method(klass, "[]=", set, 2);
1361
+ rb_define_method(klass, "attribute_nodes", attribute_nodes, 0);
1362
+ rb_define_method(klass, "attribute", attr, 1);
1363
+ rb_define_method(klass, "attribute_with_ns", attribute_with_ns, 2);
1364
+ rb_define_method(klass, "namespace", namespace, 0);
1365
+ rb_define_method(klass, "namespace_definitions", namespace_definitions, 0);
1366
+ rb_define_method(klass, "namespace_scopes", namespace_scopes, 0);
1367
+ rb_define_method(klass, "encode_special_chars", encode_special_chars, 1);
1368
+ rb_define_method(klass, "dup", duplicate_node, -1);
1369
+ rb_define_method(klass, "unlink", unlink_node, 0);
1370
+ rb_define_method(klass, "internal_subset", internal_subset, 0);
1371
+ rb_define_method(klass, "external_subset", external_subset, 0);
1372
+ rb_define_method(klass, "create_internal_subset", create_internal_subset, 3);
1373
+ rb_define_method(klass, "create_external_subset", create_external_subset, 3);
1374
+ rb_define_method(klass, "pointer_id", pointer_id, 0);
1375
+ rb_define_method(klass, "line", line, 0);
1376
+
1377
+ rb_define_private_method(klass, "in_context", in_context, 2);
1378
+ rb_define_private_method(klass, "add_child_node", add_child, 1);
1379
+ rb_define_private_method(klass, "add_previous_sibling_node", add_previous_sibling, 1);
1380
+ rb_define_private_method(klass, "add_next_sibling_node", add_next_sibling, 1);
1381
+ rb_define_private_method(klass, "replace_node", replace, 1);
1382
+ rb_define_private_method(klass, "dump_html", dump_html, 0);
1383
+ rb_define_private_method(klass, "native_write_to", native_write_to, 4);
1384
+ rb_define_private_method(klass, "native_content=", set_content, 1);
1385
+ rb_define_private_method(klass, "get", get, 1);
1386
+ rb_define_private_method(klass, "set_namespace", set_namespace, 1);
1387
+ rb_define_private_method(klass, "compare", compare, 1);
1388
+
1389
+ decorate = rb_intern("decorate");
1390
+ decorate_bang = rb_intern("decorate!");
1391
+ }