gemrage 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (891) hide show
  1. data/.document +5 -0
  2. data/.gitignore +21 -0
  3. data/Gemfile +9 -0
  4. data/Gemfile.lock +35 -0
  5. data/LICENSE +20 -0
  6. data/README.rdoc +17 -0
  7. data/Rakefile +55 -0
  8. data/VERSION +1 -0
  9. data/gemrage.gemspec +923 -0
  10. data/lib/gemrage.rb +0 -0
  11. data/lib/rubygems/commands/scan_command.rb +25 -0
  12. data/lib/rubygems_plugin.rb +4 -0
  13. data/spec/gemrage_spec.rb +7 -0
  14. data/spec/spec.opts +1 -0
  15. data/spec/spec_helper.rb +9 -0
  16. data/vendor/ruby/1.8/bin/bundle +19 -0
  17. data/vendor/ruby/1.8/bin/edit_json.rb +19 -0
  18. data/vendor/ruby/1.8/bin/htmldiff +19 -0
  19. data/vendor/ruby/1.8/bin/jeweler +19 -0
  20. data/vendor/ruby/1.8/bin/ldiff +19 -0
  21. data/vendor/ruby/1.8/bin/prettify_json.rb +19 -0
  22. data/vendor/ruby/1.8/bin/restclient +19 -0
  23. data/vendor/ruby/1.8/bin/rspec +19 -0
  24. data/vendor/ruby/1.8/bin/rubyforge +19 -0
  25. data/vendor/ruby/1.8/cache/bundler-1.0.3.gem +0 -0
  26. data/vendor/ruby/1.8/cache/diff-lcs-1.1.2.gem +0 -0
  27. data/vendor/ruby/1.8/cache/gemcutter-0.6.1.gem +0 -0
  28. data/vendor/ruby/1.8/cache/git-1.2.5.gem +0 -0
  29. data/vendor/ruby/1.8/cache/jeweler-1.4.0.gem +0 -0
  30. data/vendor/ruby/1.8/cache/json_pure-1.4.6.gem +0 -0
  31. data/vendor/ruby/1.8/cache/mime-types-1.16.gem +0 -0
  32. data/vendor/ruby/1.8/cache/rest-client-1.6.1.gem +0 -0
  33. data/vendor/ruby/1.8/cache/rspec-2.0.0.gem +0 -0
  34. data/vendor/ruby/1.8/cache/rspec-core-2.0.0.gem +0 -0
  35. data/vendor/ruby/1.8/cache/rspec-expectations-2.0.0.gem +0 -0
  36. data/vendor/ruby/1.8/cache/rspec-mocks-2.0.0.gem +0 -0
  37. data/vendor/ruby/1.8/cache/rubyforge-2.0.4.gem +0 -0
  38. data/vendor/ruby/1.8/gems/bundler-1.0.3/.gitignore +12 -0
  39. data/vendor/ruby/1.8/gems/bundler-1.0.3/CHANGELOG.md +547 -0
  40. data/vendor/ruby/1.8/gems/bundler-1.0.3/ISSUES.md +32 -0
  41. data/vendor/ruby/1.8/gems/bundler-1.0.3/LICENSE +20 -0
  42. data/vendor/ruby/1.8/gems/bundler-1.0.3/README.md +29 -0
  43. data/vendor/ruby/1.8/gems/bundler-1.0.3/Rakefile +139 -0
  44. data/vendor/ruby/1.8/gems/bundler-1.0.3/UPGRADING.md +103 -0
  45. data/vendor/ruby/1.8/gems/bundler-1.0.3/bin/bundle +21 -0
  46. data/vendor/ruby/1.8/gems/bundler-1.0.3/bundler.gemspec +30 -0
  47. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/capistrano.rb +11 -0
  48. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/cli.rb +515 -0
  49. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/definition.rb +421 -0
  50. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/dependency.rb +114 -0
  51. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/deployment.rb +37 -0
  52. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/dsl.rb +245 -0
  53. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/environment.rb +47 -0
  54. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/gem_helper.rb +148 -0
  55. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/graph.rb +130 -0
  56. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/index.rb +114 -0
  57. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/installer.rb +84 -0
  58. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/lazy_specification.rb +71 -0
  59. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/lockfile_parser.rb +108 -0
  60. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/remote_specification.rb +59 -0
  61. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/resolver.rb +455 -0
  62. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/rubygems_ext.rb +203 -0
  63. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/runtime.rb +148 -0
  64. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/settings.rb +117 -0
  65. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/setup.rb +15 -0
  66. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/shared_helpers.rb +151 -0
  67. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/source.rb +662 -0
  68. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/spec_set.rb +134 -0
  69. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/Executable +16 -0
  70. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/Gemfile +4 -0
  71. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/Gemfile.tt +4 -0
  72. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/Rakefile.tt +2 -0
  73. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/bin/newgem.tt +3 -0
  74. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/gitignore.tt +3 -0
  75. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +7 -0
  76. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/lib/newgem.rb.tt +7 -0
  77. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/templates/newgem/newgem.gemspec.tt +21 -0
  78. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/ui.rb +60 -0
  79. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/create_file.rb +105 -0
  80. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/directory.rb +93 -0
  81. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/empty_directory.rb +134 -0
  82. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/file_manipulation.rb +229 -0
  83. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions/inject_into_file.rb +104 -0
  84. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/actions.rb +297 -0
  85. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/base.rb +556 -0
  86. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/core_ext/file_binary_read.rb +9 -0
  87. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/core_ext/hash_with_indifferent_access.rb +75 -0
  88. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/core_ext/ordered_hash.rb +100 -0
  89. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/error.rb +30 -0
  90. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/invocation.rb +168 -0
  91. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser/argument.rb +67 -0
  92. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser/arguments.rb +161 -0
  93. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser/option.rb +120 -0
  94. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser/options.rb +174 -0
  95. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/parser.rb +4 -0
  96. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/shell/basic.rb +275 -0
  97. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/shell/color.rb +108 -0
  98. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/shell/html.rb +121 -0
  99. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/shell.rb +88 -0
  100. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb +114 -0
  101. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/util.rb +229 -0
  102. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/version.rb +3 -0
  103. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor.rb +319 -0
  104. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/version.rb +6 -0
  105. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler/vlad.rb +9 -0
  106. data/vendor/ruby/1.8/gems/bundler-1.0.3/lib/bundler.rb +284 -0
  107. data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-config.ronn +90 -0
  108. data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-exec.ronn +98 -0
  109. data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-install.ronn +310 -0
  110. data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-package.ronn +59 -0
  111. data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle-update.ronn +176 -0
  112. data/vendor/ruby/1.8/gems/bundler-1.0.3/man/bundle.ronn +77 -0
  113. data/vendor/ruby/1.8/gems/bundler-1.0.3/man/gemfile.5.ronn +273 -0
  114. data/vendor/ruby/1.8/gems/bundler-1.0.3/man/index.txt +6 -0
  115. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/cache/gems_spec.rb +205 -0
  116. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/cache/git_spec.rb +9 -0
  117. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/cache/path_spec.rb +27 -0
  118. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/cache/platform_spec.rb +57 -0
  119. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/deploy_spec.rb +178 -0
  120. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/deprecated_spec.rb +43 -0
  121. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/c_ext_spec.rb +48 -0
  122. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/env_spec.rb +107 -0
  123. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/flex_spec.rb +272 -0
  124. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/groups_spec.rb +228 -0
  125. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/packed_spec.rb +72 -0
  126. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/platform_spec.rb +195 -0
  127. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/resolving_spec.rb +72 -0
  128. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/simple_case_spec.rb +742 -0
  129. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/sudo_spec.rb +77 -0
  130. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gems/win32_spec.rb +26 -0
  131. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/gemspec_spec.rb +96 -0
  132. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/git_spec.rb +553 -0
  133. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/invalid_spec.rb +17 -0
  134. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/path_spec.rb +329 -0
  135. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/install/upgrade_spec.rb +26 -0
  136. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/lock/flex_spec.rb +650 -0
  137. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/lock/git_spec.rb +35 -0
  138. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/check_spec.rb +221 -0
  139. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/config_spec.rb +40 -0
  140. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/console_spec.rb +54 -0
  141. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/exec_spec.rb +241 -0
  142. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/ext_spec.rb +16 -0
  143. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/gem_helper_spec.rb +116 -0
  144. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/help_spec.rb +36 -0
  145. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/init_spec.rb +40 -0
  146. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/newgem_spec.rb +24 -0
  147. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/open_spec.rb +35 -0
  148. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/other/show_spec.rb +82 -0
  149. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/pack/gems_spec.rb +22 -0
  150. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/quality_spec.rb +55 -0
  151. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/resolver/basic_spec.rb +20 -0
  152. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/resolver/platform_spec.rb +57 -0
  153. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/environment_rb_spec.rb +162 -0
  154. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/executable_spec.rb +110 -0
  155. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/load_spec.rb +102 -0
  156. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/platform_spec.rb +90 -0
  157. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/require_spec.rb +231 -0
  158. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/setup_spec.rb +412 -0
  159. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/runtime/with_clean_env_spec.rb +15 -0
  160. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/spec_helper.rb +82 -0
  161. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/builders.rb +566 -0
  162. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/helpers.rb +243 -0
  163. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/indexes.rb +113 -0
  164. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/matchers.rb +89 -0
  165. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/path.rb +71 -0
  166. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/platforms.rb +49 -0
  167. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/ruby_ext.rb +19 -0
  168. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/rubygems_ext.rb +30 -0
  169. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/rubygems_hax/rubygems_plugin.rb +9 -0
  170. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/support/sudo.rb +21 -0
  171. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/update/gems_spec.rb +86 -0
  172. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/update/git_spec.rb +159 -0
  173. data/vendor/ruby/1.8/gems/bundler-1.0.3/spec/update/source_spec.rb +50 -0
  174. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/ChangeLog +46 -0
  175. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/Install +6 -0
  176. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/README +76 -0
  177. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/Rakefile +116 -0
  178. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/bin/htmldiff +112 -0
  179. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/bin/ldiff +45 -0
  180. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/array.rb +21 -0
  181. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/block.rb +51 -0
  182. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/callbacks.rb +322 -0
  183. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/change.rb +169 -0
  184. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb +257 -0
  185. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/ldiff.rb +226 -0
  186. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs/string.rb +19 -0
  187. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/lib/diff/lcs.rb +1105 -0
  188. data/vendor/ruby/1.8/gems/diff-lcs-1.1.2/tests/00test.rb +626 -0
  189. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/MIT-LICENSE +22 -0
  190. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/Rakefile +51 -0
  191. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems/commands/migrate_command.rb +14 -0
  192. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems/commands/tumble_command.rb +13 -0
  193. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems/commands/webhook_command.rb +117 -0
  194. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems/commands/yank_command.rb +72 -0
  195. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/lib/rubygems_plugin.rb +7 -0
  196. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/test/helper.rb +42 -0
  197. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/test/webhook_command_test.rb +241 -0
  198. data/vendor/ruby/1.8/gems/gemcutter-0.6.1/test/yank_command_test.rb +85 -0
  199. data/vendor/ruby/1.8/gems/git-1.2.5/README +240 -0
  200. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/author.rb +14 -0
  201. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/base.rb +479 -0
  202. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/branch.rb +104 -0
  203. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/branches.rb +48 -0
  204. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/diff.rb +146 -0
  205. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/index.rb +5 -0
  206. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/lib.rb +719 -0
  207. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/log.rb +117 -0
  208. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/object.rb +273 -0
  209. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/path.rb +27 -0
  210. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/remote.rb +40 -0
  211. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/repository.rb +4 -0
  212. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/stash.rb +27 -0
  213. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/stashes.rb +44 -0
  214. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/status.rb +110 -0
  215. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git/working_directory.rb +4 -0
  216. data/vendor/ruby/1.8/gems/git-1.2.5/lib/git.rb +156 -0
  217. data/vendor/ruby/1.8/gems/jeweler-1.4.0/.gitignore +10 -0
  218. data/vendor/ruby/1.8/gems/jeweler-1.4.0/ChangeLog.markdown +141 -0
  219. data/vendor/ruby/1.8/gems/jeweler-1.4.0/LICENSE +20 -0
  220. data/vendor/ruby/1.8/gems/jeweler-1.4.0/README.markdown +208 -0
  221. data/vendor/ruby/1.8/gems/jeweler-1.4.0/Rakefile +93 -0
  222. data/vendor/ruby/1.8/gems/jeweler-1.4.0/VERSION.yml +5 -0
  223. data/vendor/ruby/1.8/gems/jeweler-1.4.0/bin/jeweler +5 -0
  224. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/cucumber.feature +83 -0
  225. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/directory_layout.feature +76 -0
  226. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/dotdocument.feature +14 -0
  227. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/env_options.feature +9 -0
  228. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/git.feature +94 -0
  229. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/license.feature +11 -0
  230. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/rakefile.feature +151 -0
  231. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/readme.feature +12 -0
  232. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/test.feature +48 -0
  233. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/generator/test_helper.feature +56 -0
  234. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/placeholder.feature +5 -0
  235. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/step_definitions/debug_steps.rb +6 -0
  236. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/step_definitions/filesystem_steps.rb +68 -0
  237. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/step_definitions/generator_steps.rb +291 -0
  238. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/step_definitions/task_steps.rb +6 -0
  239. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/support/env.rb +29 -0
  240. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/tasks/build_gem.feature +9 -0
  241. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/tasks/version.feature +31 -0
  242. data/vendor/ruby/1.8/gems/jeweler-1.4.0/features/tasks/version_bumping.feature +49 -0
  243. data/vendor/ruby/1.8/gems/jeweler-1.4.0/jeweler.gemspec +264 -0
  244. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/build_gem.rb +36 -0
  245. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/check_dependencies.rb +52 -0
  246. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/install_gem.rb +30 -0
  247. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/release_to_gemcutter.rb +27 -0
  248. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/release_to_git.rb +57 -0
  249. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/release_to_github.rb +66 -0
  250. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/release_to_rubyforge.rb +52 -0
  251. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/setup_rubyforge.rb +63 -0
  252. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/validate_gemspec.rb +30 -0
  253. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/base.rb +41 -0
  254. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/bump_major.rb +13 -0
  255. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/bump_minor.rb +12 -0
  256. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/bump_patch.rb +14 -0
  257. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/version/write.rb +12 -0
  258. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands/write_gemspec.rb +41 -0
  259. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/commands.rb +22 -0
  260. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/errors.rb +20 -0
  261. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/gemcutter_tasks.rb +36 -0
  262. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/gemspec_helper.rb +92 -0
  263. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/application.rb +52 -0
  264. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/bacon_mixin.rb +43 -0
  265. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/github_mixin.rb +29 -0
  266. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/micronaut_mixin.rb +41 -0
  267. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/minitest_mixin.rb +42 -0
  268. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/options.rb +159 -0
  269. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/rdoc_mixin.rb +9 -0
  270. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/riot_mixin.rb +42 -0
  271. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/rspec_mixin.rb +42 -0
  272. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/shoulda_mixin.rb +42 -0
  273. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/testspec_mixin.rb +42 -0
  274. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/testunit_mixin.rb +39 -0
  275. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/yard_mixin.rb +14 -0
  276. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator.rb +270 -0
  277. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/rubyforge_tasks.rb +118 -0
  278. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/specification.rb +94 -0
  279. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/tasks.rb +178 -0
  280. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/.document +5 -0
  281. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/.gitignore +21 -0
  282. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/LICENSE +20 -0
  283. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/README.rdoc +17 -0
  284. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/Rakefile +6 -0
  285. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/bacon/flunking.rb +7 -0
  286. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/bacon/helper.rb +8 -0
  287. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/features/default.feature +9 -0
  288. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/features/support/env.rb +8 -0
  289. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/jeweler_tasks.erb +29 -0
  290. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/micronaut/flunking.rb +7 -0
  291. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/micronaut/helper.rb +17 -0
  292. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/minitest/flunking.rb +7 -0
  293. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/minitest/helper.rb +11 -0
  294. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/other_tasks.erb +117 -0
  295. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/riot/flunking.rb +11 -0
  296. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/riot/helper.rb +3 -0
  297. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/rspec/flunking.rb +7 -0
  298. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/rspec/helper.rb +10 -0
  299. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/rspec/spec.opts +1 -0
  300. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/shoulda/flunking.rb +7 -0
  301. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/shoulda/helper.rb +10 -0
  302. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/testspec/flunking.rb +7 -0
  303. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/testspec/helper.rb +7 -0
  304. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/testunit/flunking.rb +7 -0
  305. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/templates/testunit/helper.rb +9 -0
  306. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/version_helper.rb +137 -0
  307. data/vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler.rb +175 -0
  308. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/bar/VERSION.yml +4 -0
  309. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/bar/bin/foo_the_ultimate_bin +1 -0
  310. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/bar/hey_include_me_in_gemspec +0 -0
  311. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/bar/lib/foo_the_ultimate_lib.rb +1 -0
  312. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/.document +5 -0
  313. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/.gitignore +5 -0
  314. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/LICENSE +20 -0
  315. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/README.rdoc +7 -0
  316. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/Rakefile +83 -0
  317. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec +29 -0
  318. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb +0 -0
  319. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb +7 -0
  320. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-constant/test/test_helper.rb +10 -0
  321. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/.document +5 -0
  322. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/.gitignore +5 -0
  323. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/LICENSE +20 -0
  324. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/README.rdoc +7 -0
  325. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/Rakefile +82 -0
  326. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/VERSION +1 -0
  327. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/existing-project-with-version.gemspec +29 -0
  328. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/lib/existing_project_with_version.rb +0 -0
  329. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/test/existing_project_with_version_test.rb +7 -0
  330. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb +10 -0
  331. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/.document +5 -0
  332. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/.gitignore +5 -0
  333. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/LICENSE +20 -0
  334. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/README.rdoc +7 -0
  335. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/Rakefile +82 -0
  336. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/VERSION.yml +4 -0
  337. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/bin/foo_the_ultimate_bin +0 -0
  338. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/existing-project-with-version.gemspec +29 -0
  339. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/lib/existing_project_with_version.rb +0 -0
  340. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/test/existing_project_with_version_test.rb +7 -0
  341. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/fixtures/existing-project-with-version-yaml/test/test_helper.rb +10 -0
  342. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/geminstaller.yml +12 -0
  343. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_build_gem.rb +103 -0
  344. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_install_gem.rb +35 -0
  345. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_release_to_gemcutter.rb +39 -0
  346. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_release_to_git.rb +201 -0
  347. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_release_to_github.rb +323 -0
  348. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_release_to_rubyforge.rb +153 -0
  349. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_setup_rubyforge.rb +178 -0
  350. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_validate_gemspec.rb +27 -0
  351. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/test_write_gemspec.rb +101 -0
  352. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_base.rb +32 -0
  353. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_bump_major.rb +22 -0
  354. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_bump_minor.rb +19 -0
  355. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_bump_patch.rb +20 -0
  356. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/commands/version/test_write.rb +22 -0
  357. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/generator/test_application.rb +112 -0
  358. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/generator/test_options.rb +231 -0
  359. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_gemspec_helper.rb +44 -0
  360. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_generator.rb +122 -0
  361. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_generator_initialization.rb +164 -0
  362. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_generator_mixins.rb +23 -0
  363. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_specification.rb +231 -0
  364. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_tasks.rb +50 -0
  365. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/jeweler/test_version_helper.rb +214 -0
  366. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/shoulda_macros/jeweler_macros.rb +35 -0
  367. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/test_helper.rb +180 -0
  368. data/vendor/ruby/1.8/gems/jeweler-1.4.0/test/test_jeweler.rb +187 -0
  369. data/vendor/ruby/1.8/gems/json_pure-1.4.6/CHANGES +179 -0
  370. data/vendor/ruby/1.8/gems/json_pure-1.4.6/COPYING +58 -0
  371. data/vendor/ruby/1.8/gems/json_pure-1.4.6/GPL +340 -0
  372. data/vendor/ruby/1.8/gems/json_pure-1.4.6/README +356 -0
  373. data/vendor/ruby/1.8/gems/json_pure-1.4.6/Rakefile +292 -0
  374. data/vendor/ruby/1.8/gems/json_pure-1.4.6/TODO +1 -0
  375. data/vendor/ruby/1.8/gems/json_pure-1.4.6/VERSION +1 -0
  376. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
  377. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
  378. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
  379. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
  380. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
  381. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
  382. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
  383. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
  384. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
  385. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
  386. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
  387. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
  388. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
  389. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
  390. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
  391. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
  392. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
  393. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
  394. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
  395. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
  396. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
  397. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
  398. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
  399. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
  400. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
  401. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
  402. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
  403. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
  404. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
  405. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
  406. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
  407. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/generator2_benchmark.rb +222 -0
  408. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/generator_benchmark.rb +224 -0
  409. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/ohai.json +1216 -0
  410. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/ohai.ruby +1 -0
  411. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/parser2_benchmark.rb +251 -0
  412. data/vendor/ruby/1.8/gems/json_pure-1.4.6/benchmarks/parser_benchmark.rb +259 -0
  413. data/vendor/ruby/1.8/gems/json_pure-1.4.6/bin/edit_json.rb +9 -0
  414. data/vendor/ruby/1.8/gems/json_pure-1.4.6/bin/prettify_json.rb +75 -0
  415. data/vendor/ruby/1.8/gems/json_pure-1.4.6/data/example.json +1 -0
  416. data/vendor/ruby/1.8/gems/json_pure-1.4.6/data/index.html +38 -0
  417. data/vendor/ruby/1.8/gems/json_pure-1.4.6/data/prototype.js +4184 -0
  418. data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/generator/extconf.rb +20 -0
  419. data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/generator/generator.c +1417 -0
  420. data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/generator/generator.h +197 -0
  421. data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/parser/extconf.rb +15 -0
  422. data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/parser/parser.c +1935 -0
  423. data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/parser/parser.h +71 -0
  424. data/vendor/ruby/1.8/gems/json_pure-1.4.6/ext/json/ext/parser/parser.rl +792 -0
  425. data/vendor/ruby/1.8/gems/json_pure-1.4.6/install.rb +26 -0
  426. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/Array.xpm +21 -0
  427. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/FalseClass.xpm +21 -0
  428. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/Hash.xpm +21 -0
  429. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/Key.xpm +73 -0
  430. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/NilClass.xpm +21 -0
  431. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/Numeric.xpm +28 -0
  432. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/String.xpm +96 -0
  433. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/TrueClass.xpm +21 -0
  434. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/add/core.rb +148 -0
  435. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/add/rails.rb +58 -0
  436. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/common.rb +391 -0
  437. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/editor.rb +1371 -0
  438. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/ext.rb +15 -0
  439. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/json.xpm +1499 -0
  440. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/pure/generator.rb +439 -0
  441. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/pure/parser.rb +309 -0
  442. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/pure.rb +77 -0
  443. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json/version.rb +8 -0
  444. data/vendor/ruby/1.8/gems/json_pure-1.4.6/lib/json.rb +10 -0
  445. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail1.json +1 -0
  446. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail10.json +1 -0
  447. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail11.json +1 -0
  448. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail12.json +1 -0
  449. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail13.json +1 -0
  450. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail14.json +1 -0
  451. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail18.json +1 -0
  452. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail19.json +1 -0
  453. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail2.json +1 -0
  454. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail20.json +1 -0
  455. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail21.json +1 -0
  456. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail22.json +1 -0
  457. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail23.json +1 -0
  458. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail24.json +1 -0
  459. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail25.json +1 -0
  460. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail27.json +2 -0
  461. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail28.json +2 -0
  462. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail3.json +1 -0
  463. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail4.json +1 -0
  464. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail5.json +1 -0
  465. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail6.json +1 -0
  466. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail7.json +1 -0
  467. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail8.json +1 -0
  468. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/fail9.json +1 -0
  469. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass1.json +56 -0
  470. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass15.json +1 -0
  471. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass16.json +1 -0
  472. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass17.json +1 -0
  473. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass2.json +1 -0
  474. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass26.json +1 -0
  475. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/fixtures/pass3.json +6 -0
  476. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json.rb +394 -0
  477. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_addition.rb +162 -0
  478. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_encoding.rb +68 -0
  479. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_fixtures.rb +34 -0
  480. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_generate.rb +181 -0
  481. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_rails.rb +144 -0
  482. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tests/test_json_unicode.rb +76 -0
  483. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tools/fuzz.rb +139 -0
  484. data/vendor/ruby/1.8/gems/json_pure-1.4.6/tools/server.rb +61 -0
  485. data/vendor/ruby/1.8/gems/mime-types-1.16/History.txt +107 -0
  486. data/vendor/ruby/1.8/gems/mime-types-1.16/Install.txt +17 -0
  487. data/vendor/ruby/1.8/gems/mime-types-1.16/Licence.txt +15 -0
  488. data/vendor/ruby/1.8/gems/mime-types-1.16/Manifest.txt +12 -0
  489. data/vendor/ruby/1.8/gems/mime-types-1.16/README.txt +28 -0
  490. data/vendor/ruby/1.8/gems/mime-types-1.16/Rakefile +316 -0
  491. data/vendor/ruby/1.8/gems/mime-types-1.16/lib/mime/types.rb +751 -0
  492. data/vendor/ruby/1.8/gems/mime-types-1.16/lib/mime/types.rb.data +1324 -0
  493. data/vendor/ruby/1.8/gems/mime-types-1.16/mime-types.gemspec +43 -0
  494. data/vendor/ruby/1.8/gems/mime-types-1.16/setup.rb +1585 -0
  495. data/vendor/ruby/1.8/gems/mime-types-1.16/test/test_mime_type.rb +356 -0
  496. data/vendor/ruby/1.8/gems/mime-types-1.16/test/test_mime_types.rb +122 -0
  497. data/vendor/ruby/1.8/gems/rest-client-1.6.1/README.rdoc +269 -0
  498. data/vendor/ruby/1.8/gems/rest-client-1.6.1/Rakefile +69 -0
  499. data/vendor/ruby/1.8/gems/rest-client-1.6.1/VERSION +1 -0
  500. data/vendor/ruby/1.8/gems/rest-client-1.6.1/bin/restclient +87 -0
  501. data/vendor/ruby/1.8/gems/rest-client-1.6.1/history.md +94 -0
  502. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/rest-client.rb +2 -0
  503. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/rest_client.rb +2 -0
  504. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb +102 -0
  505. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/exceptions.rb +181 -0
  506. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/net_http_ext.rb +21 -0
  507. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/payload.rb +220 -0
  508. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/raw_response.rb +34 -0
  509. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb +300 -0
  510. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/resource.rb +152 -0
  511. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient/response.rb +24 -0
  512. data/vendor/ruby/1.8/gems/rest-client-1.6.1/lib/restclient.rb +165 -0
  513. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/abstract_response_spec.rb +67 -0
  514. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/base.rb +16 -0
  515. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/exceptions_spec.rb +79 -0
  516. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/integration/certs/equifax.crt +19 -0
  517. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/integration/certs/verisign.crt +14 -0
  518. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/integration/request_spec.rb +25 -0
  519. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/integration_spec.rb +38 -0
  520. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/master_shake.jpg +0 -0
  521. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/payload_spec.rb +219 -0
  522. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/raw_response_spec.rb +17 -0
  523. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/request2_spec.rb +17 -0
  524. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/request_spec.rb +529 -0
  525. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/resource_spec.rb +124 -0
  526. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/response_spec.rb +157 -0
  527. data/vendor/ruby/1.8/gems/rest-client-1.6.1/spec/restclient_spec.rb +68 -0
  528. data/vendor/ruby/1.8/gems/rspec-2.0.0/.document +2 -0
  529. data/vendor/ruby/1.8/gems/rspec-2.0.0/.gitignore +7 -0
  530. data/vendor/ruby/1.8/gems/rspec-2.0.0/Gemfile +6 -0
  531. data/vendor/ruby/1.8/gems/rspec-2.0.0/License.txt +22 -0
  532. data/vendor/ruby/1.8/gems/rspec-2.0.0/README.markdown +30 -0
  533. data/vendor/ruby/1.8/gems/rspec-2.0.0/Rakefile +16 -0
  534. data/vendor/ruby/1.8/gems/rspec-2.0.0/lib/rspec/version.rb +5 -0
  535. data/vendor/ruby/1.8/gems/rspec-2.0.0/lib/rspec.rb +4 -0
  536. data/vendor/ruby/1.8/gems/rspec-2.0.0/rspec.gemspec +29 -0
  537. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/.document +5 -0
  538. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/.gitignore +11 -0
  539. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/.treasure_map.rb +23 -0
  540. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/Gemfile +26 -0
  541. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/History.markdown +63 -0
  542. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/License.txt +22 -0
  543. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/README.markdown +88 -0
  544. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/Rakefile +72 -0
  545. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/Upgrade.markdown +235 -0
  546. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/autotest/discover.rb +2 -0
  547. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/bin/rspec +2 -0
  548. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/cucumber.yml +2 -0
  549. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/README.markdown +19 -0
  550. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/configure.feature +20 -0
  551. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/example_name_option.feature +86 -0
  552. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/exit_status.feature +52 -0
  553. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/line_number_appended_to_path.feature +104 -0
  554. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/line_number_option.feature +43 -0
  555. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/command_line/rake_task.feature +68 -0
  556. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/configuration/custom_settings.feature +84 -0
  557. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/configuration/fail_fast.feature +77 -0
  558. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/configuration/read_options_from_file.feature +74 -0
  559. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/example_groups/basic_structure.feature +54 -0
  560. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/example_groups/shared_example_group.feature +177 -0
  561. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/filtering/exclusion_filters.feature +115 -0
  562. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/filtering/inclusion_filters.feature +83 -0
  563. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/filtering/run_all_when_everything_filtered.feature +46 -0
  564. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/formatters/custom_formatter.feature +32 -0
  565. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/hooks/around_hooks.feature +313 -0
  566. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/hooks/before_and_after_hooks.feature +432 -0
  567. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/hooks/halt.feature +26 -0
  568. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/metadata/described_class.feature +14 -0
  569. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_flexmock.feature +23 -0
  570. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_mocha.feature +23 -0
  571. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature +23 -0
  572. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rspec.feature +23 -0
  573. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/pending/pending_examples.feature +97 -0
  574. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/spec_files/arbitrary_file_suffix.feature +13 -0
  575. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/subject/attribute_of_subject.feature +44 -0
  576. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/subject/explicit_subject.feature +67 -0
  577. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/subject/implicit_subject.feature +31 -0
  578. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/features/support/env.rb +1 -0
  579. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/autotest/rspec2.rb +66 -0
  580. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/autorun.rb +2 -0
  581. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/backward_compatibility.rb +29 -0
  582. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/command_line.rb +34 -0
  583. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/command_line_configuration.rb +62 -0
  584. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/configuration.rb +373 -0
  585. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/configuration_options.rb +99 -0
  586. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/deprecation.rb +45 -0
  587. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/drb_command_line.rb +29 -0
  588. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/errors.rb +14 -0
  589. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/example.rb +144 -0
  590. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/example_group.rb +312 -0
  591. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions/instance_eval_with_args.rb +39 -0
  592. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions/kernel.rb +5 -0
  593. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions/module_eval_with_args.rb +34 -0
  594. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions/object.rb +15 -0
  595. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/extensions.rb +4 -0
  596. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_formatter.rb +167 -0
  597. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_text_formatter.rb +151 -0
  598. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/documentation_formatter.rb +71 -0
  599. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/helpers.rb +28 -0
  600. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/html_formatter.rb +351 -0
  601. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/progress_formatter.rb +32 -0
  602. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/snippet_extractor.rb +52 -0
  603. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/text_mate_formatter.rb +18 -0
  604. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/hooks.rb +134 -0
  605. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/let.rb +101 -0
  606. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/load_path.rb +3 -0
  607. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/metadata.rb +183 -0
  608. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
  609. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_flexmock.rb +25 -0
  610. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_mocha.rb +21 -0
  611. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_rr.rb +25 -0
  612. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/mocking/with_rspec.rb +21 -0
  613. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/option_parser.rb +105 -0
  614. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/pending.rb +19 -0
  615. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/rake_task.rb +174 -0
  616. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/reporter.rb +78 -0
  617. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/ruby_project.rb +44 -0
  618. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/runner.rb +61 -0
  619. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/shared_example_group.rb +52 -0
  620. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/subject.rb +171 -0
  621. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/version.rb +7 -0
  622. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core/world.rb +97 -0
  623. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/core.rb +80 -0
  624. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/monkey/spork/test_framework/rspec.rb +7 -0
  625. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/lib/rspec/monkey.rb +1 -0
  626. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/rspec-core.gemspec +45 -0
  627. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/script/console +8 -0
  628. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/autotest/failed_results_re_spec.rb +20 -0
  629. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/autotest/rspec_spec.rb +123 -0
  630. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/command_line_configuration_spec.rb +26 -0
  631. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/command_line_spec.rb +123 -0
  632. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/command_line_spec_output.txt +0 -0
  633. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/configuration_options_spec.rb +305 -0
  634. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/configuration_spec.rb +579 -0
  635. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/deprecations_spec.rb +29 -0
  636. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/drb_command_line_spec.rb +159 -0
  637. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/example_group_spec.rb +778 -0
  638. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/example_spec.rb +167 -0
  639. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/base_formatter_spec.rb +36 -0
  640. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/base_text_formatter_spec.rb +160 -0
  641. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/documentation_formatter_spec.rb +66 -0
  642. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/helpers_spec.rb +46 -0
  643. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.8.6.html +280 -0
  644. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +285 -0
  645. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.8.7.html +283 -0
  646. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.9.1.html +283 -0
  647. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatted-1.9.2.html +283 -0
  648. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/html_formatter_spec.rb +81 -0
  649. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/progress_formatter_spec.rb +31 -0
  650. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/snippet_extractor_spec.rb +18 -0
  651. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.8.6.html +280 -0
  652. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +280 -0
  653. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +280 -0
  654. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.9.1.html +280 -0
  655. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +280 -0
  656. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/formatters/text_mate_formatter_spec.rb +70 -0
  657. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/hooks_filtering_spec.rb +124 -0
  658. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/hooks_spec.rb +57 -0
  659. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/kernel_extensions_spec.rb +9 -0
  660. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/let_spec.rb +42 -0
  661. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/metadata_spec.rb +305 -0
  662. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/option_parser_spec.rb +39 -0
  663. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/pending_example_spec.rb +85 -0
  664. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/rake_task_spec.rb +148 -0
  665. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/reporter_spec.rb +70 -0
  666. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/a_bar.rb +0 -0
  667. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/a_foo.rb +0 -0
  668. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/a_spec.rb +1 -0
  669. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
  670. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/formatter_specs.rb +36 -0
  671. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/resources/utf8_encoded.rb +8 -0
  672. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/ruby_project_spec.rb +24 -0
  673. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/runner_spec.rb +47 -0
  674. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/shared_example_group_spec.rb +152 -0
  675. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/subject_spec.rb +63 -0
  676. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core/world_spec.rb +163 -0
  677. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/rspec/core_spec.rb +31 -0
  678. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/ruby_forker.rb +13 -0
  679. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/spec_helper.rb +84 -0
  680. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/spec/support/matchers.rb +44 -0
  681. data/vendor/ruby/1.8/gems/rspec-core-2.0.0/specs.watchr +58 -0
  682. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/.document +5 -0
  683. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/.gitignore +10 -0
  684. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/Gemfile +20 -0
  685. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/History.markdown +37 -0
  686. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/License.txt +22 -0
  687. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/README.markdown +23 -0
  688. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/Rakefile +70 -0
  689. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/Upgrade.markdown +53 -0
  690. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/cucumber.yml +3 -0
  691. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/README.markdown +18 -0
  692. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/expectations/attribute_of_subject.feature +19 -0
  693. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/expectations/customized_message.feature +54 -0
  694. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/expectations/diffing.feature +85 -0
  695. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/expectations/implicit_docstrings.feature +52 -0
  696. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/access_running_example.feature +53 -0
  697. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/define_diffable_matcher.feature +27 -0
  698. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/define_matcher.feature +311 -0
  699. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/define_matcher_outside_rspec.feature +38 -0
  700. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/define_matcher_with_fluent_interface.feature +24 -0
  701. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/equality.feature +142 -0
  702. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/expect_change.feature +65 -0
  703. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/expect_error.feature +44 -0
  704. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/have.feature +103 -0
  705. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/include.feature +136 -0
  706. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/operators.feature +280 -0
  707. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/predicates.feature +128 -0
  708. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/matchers/respond_to.feature +78 -0
  709. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/step_definitions/additional_cli_steps.rb +13 -0
  710. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/support/env.rb +1 -0
  711. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/features/test_frameworks/test_unit.feature +29 -0
  712. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/backward_compatibility.rb +16 -0
  713. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/differ.rb +62 -0
  714. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/errors.rb +12 -0
  715. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions/array.rb +7 -0
  716. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions/kernel.rb +52 -0
  717. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions/rspec/core/example_group.rb +19 -0
  718. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions.rb +3 -0
  719. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/fail_with.rb +51 -0
  720. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/handler.rb +50 -0
  721. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/version.rb +7 -0
  722. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations.rb +38 -0
  723. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/be.rb +222 -0
  724. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/be_close.rb +32 -0
  725. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/be_instance_of.rb +26 -0
  726. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/be_kind_of.rb +26 -0
  727. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/change.rb +184 -0
  728. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/compatibility.rb +14 -0
  729. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/dsl.rb +21 -0
  730. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/eq.rb +50 -0
  731. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/eql.rb +45 -0
  732. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/equal.rb +53 -0
  733. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/errors.rb +5 -0
  734. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/exist.rb +16 -0
  735. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/extensions/instance_exec.rb +31 -0
  736. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/generated_descriptions.rb +36 -0
  737. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/has.rb +35 -0
  738. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/have.rb +151 -0
  739. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/include.rb +51 -0
  740. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/match.rb +21 -0
  741. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/match_array.rb +71 -0
  742. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/matcher.rb +161 -0
  743. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/method_missing.rb +9 -0
  744. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/operator_matcher.rb +78 -0
  745. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/pretty.rb +37 -0
  746. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/raise_error.rb +130 -0
  747. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/respond_to.rb +85 -0
  748. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/satisfy.rb +51 -0
  749. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers/throw_symbol.rb +104 -0
  750. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/matchers.rb +198 -0
  751. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec-expectations.rb +1 -0
  752. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/rspec-expectations.gemspec +31 -0
  753. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/expectations/differ_spec.rb +96 -0
  754. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/expectations/extensions/kernel_spec.rb +45 -0
  755. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/expectations/fail_with_spec.rb +70 -0
  756. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/expectations/handler_spec.rb +206 -0
  757. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/be_close_spec.rb +50 -0
  758. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/be_instance_of_spec.rb +36 -0
  759. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/be_kind_of_spec.rb +33 -0
  760. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/be_spec.rb +452 -0
  761. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/change_spec.rb +409 -0
  762. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/compatibility_spec.rb +28 -0
  763. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/description_generation_spec.rb +160 -0
  764. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/dsl_spec.rb +25 -0
  765. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/eq_spec.rb +38 -0
  766. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/eql_spec.rb +37 -0
  767. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/equal_spec.rb +57 -0
  768. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/exist_spec.rb +65 -0
  769. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/has_spec.rb +81 -0
  770. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/have_spec.rb +401 -0
  771. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/include_spec.rb +341 -0
  772. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/match_array_spec.rb +111 -0
  773. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/match_spec.rb +57 -0
  774. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/matcher_spec.rb +366 -0
  775. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/matchers_spec.rb +51 -0
  776. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/operator_matcher_spec.rb +189 -0
  777. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/raise_error_spec.rb +339 -0
  778. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/respond_to_spec.rb +292 -0
  779. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/satisfy_spec.rb +40 -0
  780. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/rspec/matchers/throw_symbol_spec.rb +96 -0
  781. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/spec_helper.rb +53 -0
  782. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/suite.rb +1 -0
  783. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/spec/support/classes.rb +45 -0
  784. data/vendor/ruby/1.8/gems/rspec-expectations-2.0.0/specs.watchr +57 -0
  785. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/.autotest +7 -0
  786. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/.document +5 -0
  787. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/.gitignore +10 -0
  788. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/Gemfile +17 -0
  789. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/History.markdown +26 -0
  790. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/License.txt +22 -0
  791. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/README.markdown +45 -0
  792. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/Rakefile +70 -0
  793. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/autotest/discover.rb +1 -0
  794. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/cucumber.yml +2 -0
  795. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/README.markdown +30 -0
  796. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/message_expectations/block_local_expectations.feature.pending +55 -0
  797. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/message_expectations/expect_message.feature +94 -0
  798. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
  799. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/outside_rspec/configuration.feature +82 -0
  800. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/stubs/simple_return_value.feature +55 -0
  801. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/stubs/stub_chain.feature +44 -0
  802. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/stubs/stub_implementation.feature +26 -0
  803. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/features/support/env.rb +2 -0
  804. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/argument_expectation.rb +48 -0
  805. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/argument_matchers.rb +233 -0
  806. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/error_generator.rb +97 -0
  807. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/errors.rb +10 -0
  808. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/extensions/instance_exec.rb +31 -0
  809. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/extensions/object.rb +3 -0
  810. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/framework.rb +17 -0
  811. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/message_expectation.rb +341 -0
  812. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/method_double.rb +165 -0
  813. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/methods.rb +100 -0
  814. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/mock.rb +79 -0
  815. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/order_group.rb +29 -0
  816. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/proxy.rb +157 -0
  817. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/serialization.rb +24 -0
  818. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/space.rb +28 -0
  819. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/spec_methods.rb +53 -0
  820. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks/version.rb +7 -0
  821. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/rspec/mocks.rb +196 -0
  822. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/lib/spec/mocks.rb +2 -0
  823. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/rspec-mocks.gemspec +28 -0
  824. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/and_yield_spec.rb +114 -0
  825. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/any_number_of_times_spec.rb +36 -0
  826. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/argument_expectation_spec.rb +23 -0
  827. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/at_least_spec.rb +97 -0
  828. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/at_most_spec.rb +93 -0
  829. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/block_return_value_spec.rb +45 -0
  830. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
  831. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
  832. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
  833. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_15719_spec.rb +29 -0
  834. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
  835. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
  836. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_7611_spec.rb +18 -0
  837. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_7805_spec.rb +22 -0
  838. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
  839. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_8302_spec.rb +26 -0
  840. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
  841. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
  842. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/double_spec.rb +12 -0
  843. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/failing_argument_matchers_spec.rb +96 -0
  844. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
  845. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/hash_not_including_matcher_spec.rb +67 -0
  846. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/mock_ordering_spec.rb +94 -0
  847. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/mock_space_spec.rb +54 -0
  848. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/mock_spec.rb +661 -0
  849. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/multiple_return_value_spec.rb +133 -0
  850. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/nil_expectation_warning_spec.rb +63 -0
  851. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/null_object_mock_spec.rb +73 -0
  852. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/once_counts_spec.rb +53 -0
  853. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/options_hash_spec.rb +35 -0
  854. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/partial_mock_spec.rb +155 -0
  855. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +94 -0
  856. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/passing_argument_matchers_spec.rb +145 -0
  857. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/precise_counts_spec.rb +52 -0
  858. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/record_messages_spec.rb +26 -0
  859. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/serialization_spec.rb +69 -0
  860. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stash_spec.rb +27 -0
  861. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stub_chain_spec.rb +114 -0
  862. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stub_implementation_spec.rb +68 -0
  863. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stub_spec.rb +232 -0
  864. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/stubbed_message_expectations_spec.rb +26 -0
  865. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks/twice_counts_spec.rb +67 -0
  866. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/rspec/mocks_spec.rb +51 -0
  867. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/spec/spec_helper.rb +52 -0
  868. data/vendor/ruby/1.8/gems/rspec-mocks-2.0.0/specs.watchr +57 -0
  869. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/History.txt +128 -0
  870. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/Manifest.txt +9 -0
  871. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/README.txt +55 -0
  872. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/Rakefile +40 -0
  873. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/bin/rubyforge +222 -0
  874. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/lib/rubyforge/client.rb +124 -0
  875. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/lib/rubyforge.rb +389 -0
  876. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/test/test_rubyforge.rb +329 -0
  877. data/vendor/ruby/1.8/gems/rubyforge-2.0.4/test/test_rubyforge_client.rb +57 -0
  878. data/vendor/ruby/1.8/specifications/bundler-1.0.3.gemspec +37 -0
  879. data/vendor/ruby/1.8/specifications/diff-lcs-1.1.2.gemspec +34 -0
  880. data/vendor/ruby/1.8/specifications/gemcutter-0.6.1.gemspec +56 -0
  881. data/vendor/ruby/1.8/specifications/git-1.2.5.gemspec +30 -0
  882. data/vendor/ruby/1.8/specifications/jeweler-1.4.0.gemspec +66 -0
  883. data/vendor/ruby/1.8/specifications/json_pure-1.4.6.gemspec +33 -0
  884. data/vendor/ruby/1.8/specifications/mime-types-1.16.gemspec +44 -0
  885. data/vendor/ruby/1.8/specifications/rest-client-1.6.1.gemspec +36 -0
  886. data/vendor/ruby/1.8/specifications/rspec-2.0.0.gemspec +39 -0
  887. data/vendor/ruby/1.8/specifications/rspec-core-2.0.0.gemspec +66 -0
  888. data/vendor/ruby/1.8/specifications/rspec-expectations-2.0.0.gemspec +46 -0
  889. data/vendor/ruby/1.8/specifications/rspec-mocks-2.0.0.gemspec +37 -0
  890. data/vendor/ruby/1.8/specifications/rubyforge-2.0.4.gemspec +43 -0
  891. metadata +956 -0
@@ -0,0 +1,67 @@
1
+ require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
2
+
3
+ describe RestClient::AbstractResponse do
4
+
5
+ class MyAbstractResponse
6
+
7
+ include RestClient::AbstractResponse
8
+
9
+ attr_accessor :size
10
+
11
+ def initialize net_http_res, args
12
+ @net_http_res = net_http_res
13
+ @args = args
14
+ end
15
+
16
+ end
17
+
18
+ before do
19
+ @net_http_res = mock('net http response')
20
+ @response = MyAbstractResponse.new(@net_http_res, {})
21
+ end
22
+
23
+ it "fetches the numeric response code" do
24
+ @net_http_res.should_receive(:code).and_return('200')
25
+ @response.code.should == 200
26
+ end
27
+
28
+ it "has a nice description" do
29
+ @net_http_res.should_receive(:to_hash).and_return({'Content-Type' => ['application/pdf']})
30
+ @net_http_res.should_receive(:code).and_return('200')
31
+ @response.description == '200 OK | application/pdf bytes\n'
32
+ end
33
+
34
+ it "beautifies the headers by turning the keys to symbols" do
35
+ h = RestClient::AbstractResponse.beautify_headers('content-type' => [ 'x' ])
36
+ h.keys.first.should == :content_type
37
+ end
38
+
39
+ it "beautifies the headers by turning the values to strings instead of one-element arrays" do
40
+ h = RestClient::AbstractResponse.beautify_headers('x' => [ 'text/html' ] )
41
+ h.values.first.should == 'text/html'
42
+ end
43
+
44
+ it "fetches the headers" do
45
+ @net_http_res.should_receive(:to_hash).and_return('content-type' => [ 'text/html' ])
46
+ @response.headers.should == { :content_type => 'text/html' }
47
+ end
48
+
49
+ it "extracts cookies from response headers" do
50
+ @net_http_res.should_receive(:to_hash).and_return('set-cookie' => ['session_id=1; path=/'])
51
+ @response.cookies.should == { 'session_id' => '1' }
52
+ end
53
+
54
+ it "extract strange cookies" do
55
+ @net_http_res.should_receive(:to_hash).and_return('set-cookie' => ['session_id=ZJ/HQVH6YE+rVkTpn0zvTQ==; path=/'])
56
+ @response.cookies.should == { 'session_id' => 'ZJ%2FHQVH6YE+rVkTpn0zvTQ%3D%3D' }
57
+ end
58
+
59
+ it "doesn't escape cookies" do
60
+ @net_http_res.should_receive(:to_hash).and_return('set-cookie' => ['session_id=BAh7BzoNYXBwX25hbWUiEGFwcGxpY2F0aW9uOgpsb2dpbiIKYWRtaW4%3D%0A--08114ba654f17c04d20dcc5228ec672508f738ca; path=/'])
61
+ @response.cookies.should == { 'session_id' => 'BAh7BzoNYXBwX25hbWUiEGFwcGxpY2F0aW9uOgpsb2dpbiIKYWRtaW4%3D%0A--08114ba654f17c04d20dcc5228ec672508f738ca' }
62
+ end
63
+
64
+ it "can access the net http result directly" do
65
+ @response.net_http_res.should == @net_http_res
66
+ end
67
+ end
@@ -0,0 +1,16 @@
1
+ def is_ruby_19?
2
+ RUBY_VERSION == '1.9.1' or RUBY_VERSION == '1.9.2'
3
+ end
4
+
5
+ Encoding.default_internal = Encoding.default_external = "ASCII-8BIT" if is_ruby_19?
6
+
7
+ require 'rubygems'
8
+ require 'spec'
9
+
10
+ begin
11
+ require "ruby-debug"
12
+ rescue LoadError
13
+ # NOP, ignore
14
+ end
15
+
16
+ require File.dirname(__FILE__) + '/../lib/restclient'
@@ -0,0 +1,79 @@
1
+ require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
2
+
3
+ require 'webmock/rspec'
4
+ include WebMock
5
+
6
+ describe RestClient::Exception do
7
+ it "sets the exception message to ErrorMessage" do
8
+ RestClient::ResourceNotFound.new.message.should == 'Resource Not Found'
9
+ end
10
+
11
+ it "contains exceptions in RestClient" do
12
+ RestClient::Unauthorized.new.should be_a_kind_of(RestClient::Exception)
13
+ RestClient::ServerBrokeConnection.new.should be_a_kind_of(RestClient::Exception)
14
+ end
15
+ end
16
+
17
+ describe RestClient::RequestFailed do
18
+ before do
19
+ @response = mock('HTTP Response', :code => '502')
20
+ end
21
+
22
+ it "stores the http response on the exception" do
23
+ response = "response"
24
+ begin
25
+ raise RestClient::RequestFailed, response
26
+ rescue RestClient::RequestFailed => e
27
+ e.response.should == response
28
+ end
29
+ end
30
+
31
+ it "http_code convenience method for fetching the code as an integer" do
32
+ RestClient::RequestFailed.new(@response).http_code.should == 502
33
+ end
34
+
35
+ it "http_body convenience method for fetching the body (decoding when necessary)" do
36
+ RestClient::RequestFailed.new(@response).http_code.should == 502
37
+ RestClient::RequestFailed.new(@response).message.should == 'HTTP status code 502'
38
+ end
39
+
40
+ it "shows the status code in the message" do
41
+ RestClient::RequestFailed.new(@response).to_s.should match(/502/)
42
+ end
43
+ end
44
+
45
+ describe RestClient::ResourceNotFound do
46
+ it "also has the http response attached" do
47
+ response = "response"
48
+ begin
49
+ raise RestClient::ResourceNotFound, response
50
+ rescue RestClient::ResourceNotFound => e
51
+ e.response.should == response
52
+ end
53
+ end
54
+ end
55
+
56
+ describe "backwards compatibility" do
57
+ it "alias RestClient::Request::Redirect to RestClient::Redirect" do
58
+ RestClient::Request::Redirect.should == RestClient::Redirect
59
+ end
60
+
61
+ it "alias RestClient::Request::Unauthorized to RestClient::Unauthorized" do
62
+ RestClient::Request::Unauthorized.should == RestClient::Unauthorized
63
+ end
64
+
65
+ it "alias RestClient::Request::RequestFailed to RestClient::RequestFailed" do
66
+ RestClient::Request::RequestFailed.should == RestClient::RequestFailed
67
+ end
68
+
69
+ it "make the exception's response act like an Net::HTTPResponse" do
70
+ body = "body"
71
+ stub_request(:get, "www.example.com").to_return(:body => body, :status => 404)
72
+ begin
73
+ RestClient.get "www.example.com"
74
+ raise
75
+ rescue RestClient::ResourceNotFound => e
76
+ e.response.body.should == body
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,19 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDIDCCAomgAwIBAgIENd70zzANBgkqhkiG9w0BAQUFADBOMQswCQYDVQQGEwJV
3
+ UzEQMA4GA1UEChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2Vy
4
+ dGlmaWNhdGUgQXV0aG9yaXR5MB4XDTk4MDgyMjE2NDE1MVoXDTE4MDgyMjE2NDE1
5
+ MVowTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoTB0VxdWlmYXgxLTArBgNVBAsTJEVx
6
+ dWlmYXggU2VjdXJlIENlcnRpZmljYXRlIEF1dGhvcml0eTCBnzANBgkqhkiG9w0B
7
+ AQEFAAOBjQAwgYkCgYEAwV2xWGcIYu6gmi0fCG2RFGiYCh7+2gRvE4RiIcPRfM6f
8
+ BeC4AfBONOziipUEZKzxa1NfBbPLZ4C/QgKO/t0BCezhABRP/PvwDN1Dulsr4R+A
9
+ cJkVV5MW8Q+XarfCaCMczE1ZMKxRHjuvK9buY0V7xdlfUNLjUA86iOe/FP3gx7kC
10
+ AwEAAaOCAQkwggEFMHAGA1UdHwRpMGcwZaBjoGGkXzBdMQswCQYDVQQGEwJVUzEQ
11
+ MA4GA1UEChMHRXF1aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlm
12
+ aWNhdGUgQXV0aG9yaXR5MQ0wCwYDVQQDEwRDUkwxMBoGA1UdEAQTMBGBDzIwMTgw
13
+ ODIyMTY0MTUxWjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUSOZo+SvSspXXR9gj
14
+ IBBPM5iQn9QwHQYDVR0OBBYEFEjmaPkr0rKV10fYIyAQTzOYkJ/UMAwGA1UdEwQF
15
+ MAMBAf8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUA
16
+ A4GBAFjOKer89961zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJXRmm/kEd5jhW6Y
17
+ 7qj/WsjTVbJmcVfewCHrPSqnI0kBBIZCe/zuf6IWUrVnZ9NA2zsmWLIodz2uFHdh
18
+ 1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee9570+sB3c4
19
+ -----END CERTIFICATE-----
@@ -0,0 +1,14 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkG
3
+ A1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFz
4
+ cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2
5
+ MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVowXzELMAkGA1UEBhMCVVMxFzAVBgNV
6
+ BAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmlt
7
+ YXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUAA4GN
8
+ ADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhE
9
+ BarsAx94f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/is
10
+ I19wKTakyYbnsZogy1Olhec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0G
11
+ CSqGSIb3DQEBAgUAA4GBALtMEivPLCYATxQT3ab7/AoRhIzzKBxnki98tsX63/Do
12
+ lbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59AhWM1pF+NEHJwZRDmJXNyc
13
+ AA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2OmufTqj/ZA1k
14
+ -----END CERTIFICATE-----
@@ -0,0 +1,25 @@
1
+ require File.join( File.dirname(File.expand_path(__FILE__)), '../base')
2
+
3
+ describe RestClient::Request do
4
+ describe "ssl verification" do
5
+ it "is successful with the correct ca_file" do
6
+ request = RestClient::Request.new(
7
+ :method => :get,
8
+ :url => 'https://www.google.com',
9
+ :verify_ssl => OpenSSL::SSL::VERIFY_PEER,
10
+ :ssl_ca_file => File.join(File.dirname(__FILE__), "certs", "verisign.crt")
11
+ )
12
+ expect { request.execute }.to_not raise_error
13
+ end
14
+
15
+ it "is unsuccessful with an incorrect ca_file" do
16
+ request = RestClient::Request.new(
17
+ :method => :get,
18
+ :url => 'https://www.google.com',
19
+ :verify_ssl => OpenSSL::SSL::VERIFY_PEER,
20
+ :ssl_ca_file => File.join(File.dirname(__FILE__), "certs", "equifax.crt")
21
+ )
22
+ expect { request.execute }.to raise_error(RestClient::SSLCertificateNotVerified)
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,38 @@
1
+ require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
2
+
3
+ require 'webmock/rspec'
4
+ include WebMock
5
+
6
+ describe RestClient do
7
+
8
+ it "a simple request" do
9
+ body = 'abc'
10
+ stub_request(:get, "www.example.com").to_return(:body => body, :status => 200)
11
+ response = RestClient.get "www.example.com"
12
+ response.code.should == 200
13
+ response.body.should == body
14
+ end
15
+
16
+ it "a simple request with gzipped content" do
17
+ stub_request(:get, "www.example.com").with(:headers => { 'Accept-Encoding' => 'gzip, deflate' }).to_return(:body => "\037\213\b\b\006'\252H\000\003t\000\313T\317UH\257\312,HM\341\002\000G\242(\r\v\000\000\000", :status => 200, :headers => { 'Content-Encoding' => 'gzip' } )
18
+ response = RestClient.get "www.example.com"
19
+ response.code.should == 200
20
+ response.body.should == "i'm gziped\n"
21
+ end
22
+
23
+ it "a 404" do
24
+ body = "Ho hai ! I'm not here !"
25
+ stub_request(:get, "www.example.com").to_return(:body => body, :status => 404)
26
+ begin
27
+ RestClient.get "www.example.com"
28
+ raise
29
+ rescue RestClient::ResourceNotFound => e
30
+ e.http_code.should == 404
31
+ e.response.code.should == 404
32
+ e.response.body.should == body
33
+ e.http_body.should == body
34
+ end
35
+ end
36
+
37
+
38
+ end
@@ -0,0 +1,219 @@
1
+ require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
2
+
3
+ describe RestClient::Payload do
4
+ context "A regular Payload" do
5
+ it "should use standard enctype as default content-type" do
6
+ RestClient::Payload::UrlEncoded.new({}).headers['Content-Type'].
7
+ should == 'application/x-www-form-urlencoded'
8
+ end
9
+
10
+ it "should form properly encoded params" do
11
+ RestClient::Payload::UrlEncoded.new({:foo => 'bar'}).to_s.
12
+ should == "foo=bar"
13
+ ["foo=bar&baz=qux", "baz=qux&foo=bar"].should include(
14
+ RestClient::Payload::UrlEncoded.new({:foo => 'bar', :baz => 'qux'}).to_s)
15
+ end
16
+
17
+ it "should escape parameters" do
18
+ RestClient::Payload::UrlEncoded.new({'foo ' => 'bar'}).to_s.
19
+ should == "foo%20=bar"
20
+ end
21
+
22
+ it "should properly handle hashes as parameter" do
23
+ RestClient::Payload::UrlEncoded.new({:foo => {:bar => 'baz' }}).to_s.
24
+ should == "foo[bar]=baz"
25
+ RestClient::Payload::UrlEncoded.new({:foo => {:bar => {:baz => 'qux' }}}).to_s.
26
+ should == "foo[bar][baz]=qux"
27
+ end
28
+
29
+ it "should handle many attributes inside a hash" do
30
+ parameters = RestClient::Payload::UrlEncoded.new({:foo => {:bar => 'baz', :baz => 'qux'}}).to_s
31
+ parameters.should include("foo[bar]=baz", "foo[baz]=qux")
32
+ end
33
+
34
+ it "should handle attributes inside a an array inside an hash" do
35
+ parameters = RestClient::Payload::UrlEncoded.new({"foo" => [{"bar" => 'baz'}, {"bar" => 'qux'}]}).to_s
36
+ parameters.should include("foo[bar]=baz", "foo[bar]=qux")
37
+ end
38
+
39
+ it "should handle attributes inside a an array inside an array inside an hash" do
40
+ parameters = RestClient::Payload::UrlEncoded.new({"foo" => [ [{"bar" => 'baz'}, {"bar" => 'qux'}]]}).to_s
41
+ parameters.should include("foo[bar]=baz", "foo[bar]=qux")
42
+ end
43
+
44
+ it "should form properly use symbols as parameters" do
45
+ RestClient::Payload::UrlEncoded.new({:foo => :bar}).to_s.
46
+ should == "foo=bar"
47
+ RestClient::Payload::UrlEncoded.new({:foo => {:bar => :baz }}).to_s.
48
+ should == "foo[bar]=baz"
49
+ end
50
+
51
+ it "should properly handle arrays as repeated parameters" do
52
+ RestClient::Payload::UrlEncoded.new({:foo => ['bar']}).to_s.
53
+ should == "foo[]=bar"
54
+ RestClient::Payload::UrlEncoded.new({:foo => ['bar', 'baz']}).to_s.
55
+ should == "foo[]=bar&foo[]=baz"
56
+ end
57
+
58
+ end
59
+
60
+ context "A multipart Payload" do
61
+ it "should use standard enctype as default content-type" do
62
+ m = RestClient::Payload::Multipart.new({})
63
+ m.stub!(:boundary).and_return(123)
64
+ m.headers['Content-Type'].should == 'multipart/form-data; boundary=123'
65
+ end
66
+
67
+ it "should form properly separated multipart data" do
68
+ m = RestClient::Payload::Multipart.new([[:bar, "baz"], [:foo, "bar"]])
69
+ m.to_s.should == <<-EOS
70
+ --#{m.boundary}\r
71
+ Content-Disposition: form-data; name="bar"\r
72
+ \r
73
+ baz\r
74
+ --#{m.boundary}\r
75
+ Content-Disposition: form-data; name="foo"\r
76
+ \r
77
+ bar\r
78
+ --#{m.boundary}--\r
79
+ EOS
80
+ end
81
+
82
+ it "should not escape parameters names" do
83
+ m = RestClient::Payload::Multipart.new([["bar ", "baz"]])
84
+ m.to_s.should == <<-EOS
85
+ --#{m.boundary}\r
86
+ Content-Disposition: form-data; name="bar "\r
87
+ \r
88
+ baz\r
89
+ --#{m.boundary}--\r
90
+ EOS
91
+ end
92
+
93
+ it "should form properly separated multipart data" do
94
+ f = File.new(File.dirname(__FILE__) + "/master_shake.jpg")
95
+ m = RestClient::Payload::Multipart.new({:foo => f})
96
+ m.to_s.should == <<-EOS
97
+ --#{m.boundary}\r
98
+ Content-Disposition: form-data; name="foo"; filename="master_shake.jpg"\r
99
+ Content-Type: image/jpeg\r
100
+ \r
101
+ #{IO.read(f.path)}\r
102
+ --#{m.boundary}--\r
103
+ EOS
104
+ end
105
+
106
+ it "should ignore the name attribute when it's not set" do
107
+ f = File.new(File.dirname(__FILE__) + "/master_shake.jpg")
108
+ m = RestClient::Payload::Multipart.new({nil => f})
109
+ m.to_s.should == <<-EOS
110
+ --#{m.boundary}\r
111
+ Content-Disposition: form-data; filename="master_shake.jpg"\r
112
+ Content-Type: image/jpeg\r
113
+ \r
114
+ #{IO.read(f.path)}\r
115
+ --#{m.boundary}--\r
116
+ EOS
117
+ end
118
+
119
+ it "should detect optional (original) content type and filename" do
120
+ f = File.new(File.dirname(__FILE__) + "/master_shake.jpg")
121
+ f.instance_eval "def content_type; 'text/plain'; end"
122
+ f.instance_eval "def original_filename; 'foo.txt'; end"
123
+ m = RestClient::Payload::Multipart.new({:foo => f})
124
+ m.to_s.should == <<-EOS
125
+ --#{m.boundary}\r
126
+ Content-Disposition: form-data; name="foo"; filename="foo.txt"\r
127
+ Content-Type: text/plain\r
128
+ \r
129
+ #{IO.read(f.path)}\r
130
+ --#{m.boundary}--\r
131
+ EOS
132
+ end
133
+
134
+ it "should handle hash in hash parameters" do
135
+ m = RestClient::Payload::Multipart.new({:bar => {:baz => "foo"}})
136
+ m.to_s.should == <<-EOS
137
+ --#{m.boundary}\r
138
+ Content-Disposition: form-data; name="bar[baz]"\r
139
+ \r
140
+ foo\r
141
+ --#{m.boundary}--\r
142
+ EOS
143
+
144
+ f = File.new(File.dirname(__FILE__) + "/master_shake.jpg")
145
+ f.instance_eval "def content_type; 'text/plain'; end"
146
+ f.instance_eval "def original_filename; 'foo.txt'; end"
147
+ m = RestClient::Payload::Multipart.new({:foo => {:bar => f}})
148
+ m.to_s.should == <<-EOS
149
+ --#{m.boundary}\r
150
+ Content-Disposition: form-data; name="foo[bar]"; filename="foo.txt"\r
151
+ Content-Type: text/plain\r
152
+ \r
153
+ #{IO.read(f.path)}\r
154
+ --#{m.boundary}--\r
155
+ EOS
156
+ end
157
+
158
+ end
159
+
160
+ context "streamed payloads" do
161
+ it "should properly determine the size of file payloads" do
162
+ f = File.new(File.dirname(__FILE__) + "/master_shake.jpg")
163
+ payload = RestClient::Payload.generate(f)
164
+ payload.size.should == 22_545
165
+ payload.length.should == 22_545
166
+ end
167
+
168
+ it "should properly determine the size of other kinds of streaming payloads" do
169
+ s = StringIO.new 'foo'
170
+ payload = RestClient::Payload.generate(s)
171
+ payload.size.should == 3
172
+ payload.length.should == 3
173
+
174
+ begin
175
+ f = Tempfile.new "rest-client"
176
+ f.write 'foo bar'
177
+
178
+ payload = RestClient::Payload.generate(f)
179
+ payload.size.should == 7
180
+ payload.length.should == 7
181
+ ensure
182
+ f.close
183
+ end
184
+ end
185
+ end
186
+
187
+ context "Payload generation" do
188
+ it "should recognize standard urlencoded params" do
189
+ RestClient::Payload.generate({"foo" => 'bar'}).should be_kind_of(RestClient::Payload::UrlEncoded)
190
+ end
191
+
192
+ it "should recognize multipart params" do
193
+ f = File.new(File.dirname(__FILE__) + "/master_shake.jpg")
194
+ RestClient::Payload.generate({"foo" => f}).should be_kind_of(RestClient::Payload::Multipart)
195
+ end
196
+
197
+ it "should be multipart if forced" do
198
+ RestClient::Payload.generate({"foo" => "bar", :multipart => true}).should be_kind_of(RestClient::Payload::Multipart)
199
+ end
200
+
201
+ it "should return data if no of the above" do
202
+ RestClient::Payload.generate("data").should be_kind_of(RestClient::Payload::Base)
203
+ end
204
+
205
+ it "should recognize nested multipart payloads" do
206
+ f = File.new(File.dirname(__FILE__) + "/master_shake.jpg")
207
+ RestClient::Payload.generate({"foo" => {"file" => f}}).should be_kind_of(RestClient::Payload::Multipart)
208
+ end
209
+
210
+ it "should recognize file payloads that can be streamed" do
211
+ f = File.new(File.dirname(__FILE__) + "/master_shake.jpg")
212
+ RestClient::Payload.generate(f).should be_kind_of(RestClient::Payload::Streamed)
213
+ end
214
+
215
+ it "should recognize other payloads that can be streamed" do
216
+ RestClient::Payload.generate(StringIO.new('foo')).should be_kind_of(RestClient::Payload::Streamed)
217
+ end
218
+ end
219
+ end
@@ -0,0 +1,17 @@
1
+ require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
2
+
3
+ describe RestClient::RawResponse do
4
+ before do
5
+ @tf = mock("Tempfile", :read => "the answer is 42", :open => true)
6
+ @net_http_res = mock('net http response')
7
+ @response = RestClient::RawResponse.new(@tf, @net_http_res, {})
8
+ end
9
+
10
+ it "behaves like string" do
11
+ @response.to_s.should == 'the answer is 42'
12
+ end
13
+
14
+ it "exposes a Tempfile" do
15
+ @response.file.should == @tf
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ require File.join( File.dirname(File.expand_path(__FILE__)), 'base')
2
+
3
+ require 'webmock/rspec'
4
+ include WebMock
5
+
6
+ describe RestClient::Request do
7
+
8
+ it "manage params for get requests" do
9
+ stub_request(:get, 'http://some/resource?a=b&c=d').with(:headers => {'Accept'=>'*/*; q=0.5, application/xml', 'Accept-Encoding'=>'gzip, deflate', 'Foo'=>'bar'}).to_return(:body => 'foo', :status => 200)
10
+ RestClient::Request.execute(:url => 'http://some/resource', :method => :get, :headers => {:foo => :bar, :params => {:a => :b, 'c' => 'd'}}).body.should == 'foo'
11
+
12
+ stub_request(:get, 'http://some/resource').with(:headers => {'Accept'=>'*/*; q=0.5, application/xml', 'Accept-Encoding'=>'gzip, deflate', 'Foo'=>'bar', 'params' => 'a'}).to_return(:body => 'foo', :status => 200)
13
+ RestClient::Request.execute(:url => 'http://some/resource', :method => :get, :headers => {:foo => :bar, :params => :a}).body.should == 'foo'
14
+ end
15
+
16
+ end
17
+