gemrage 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
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,103 @@
1
+ Feature: have(n).items matcher
2
+
3
+ RSpec provides several matchers that make it easy to set expectations about the
4
+ size of a collection. There are three basic forms:
5
+
6
+ * collection.should have(x).items
7
+ * collection.should have_at_least(x).items
8
+ * collection.should have_at_most(x).items
9
+
10
+ In addition, #have_exactly is provided as an alias to #have.
11
+
12
+ These work on any collection-like object--the object just needs to respond to #size
13
+ or #length (or both). When the matcher is called directly on a collection object,
14
+ the #items call is pure syntactic sugar. You can use anything you want here. These
15
+ are equivalent:
16
+
17
+ * collection.should have(x).items
18
+ * collection.should have(x).things
19
+
20
+ You can also use this matcher on a non-collection object that returns a collection
21
+ from one of its methods. For example, Dir#entries returns an array, so you could
22
+ set an expectation using the following:
23
+
24
+ Dir.new("my/directory").should have(7).entries
25
+
26
+ Scenario: have(x).items on a collection
27
+ Given a file named "have_items_spec.rb" with:
28
+ """
29
+ describe [1, 2, 3] do
30
+ it { should have(3).items }
31
+ it { should_not have(2).items }
32
+ it { should_not have(4).items }
33
+
34
+ it { should have_exactly(3).items }
35
+ it { should_not have_exactly(2).items }
36
+ it { should_not have_exactly(4).items }
37
+
38
+ it { should have_at_least(2).items }
39
+ it { should have_at_most(4).items }
40
+
41
+ # deliberate failures
42
+ it { should_not have(3).items }
43
+ it { should have(2).items }
44
+ it { should have(4).items }
45
+
46
+ it { should_not have_exactly(3).items }
47
+ it { should have_exactly(2).items }
48
+ it { should have_exactly(4).items }
49
+
50
+ it { should have_at_least(4).items }
51
+ it { should have_at_most(2).items }
52
+ end
53
+ """
54
+ When I run "rspec have_items_spec.rb"
55
+ Then the output should contain "16 examples, 8 failures"
56
+ And the output should contain "expected target not to have 3 items, got 3"
57
+ And the output should contain "expected 2 items, got 3"
58
+ And the output should contain "expected 4 items, got 3"
59
+ And the output should contain "expected at least 4 items, got 3"
60
+ And the output should contain "expected at most 2 items, got 3"
61
+
62
+ Scenario: have(x).words on a String when String#words is defined
63
+ Given a file named "have_words_spec.rb" with:
64
+ """
65
+ class String
66
+ def words
67
+ split(' ')
68
+ end
69
+ end
70
+
71
+ describe "a sentence with some words" do
72
+ it { should have(5).words }
73
+ it { should_not have(4).words }
74
+ it { should_not have(6).words }
75
+
76
+ it { should have_exactly(5).words }
77
+ it { should_not have_exactly(4).words }
78
+ it { should_not have_exactly(6).words }
79
+
80
+ it { should have_at_least(4).words }
81
+ it { should have_at_most(6).words }
82
+
83
+ # deliberate failures
84
+ it { should_not have(5).words }
85
+ it { should have(4).words }
86
+ it { should have(6).words }
87
+
88
+ it { should_not have_exactly(5).words }
89
+ it { should have_exactly(4).words }
90
+ it { should have_exactly(6).words }
91
+
92
+ it { should have_at_least(6).words }
93
+ it { should have_at_most(4).words }
94
+ end
95
+ """
96
+ When I run "rspec have_words_spec.rb"
97
+ Then the output should contain "16 examples, 8 failures"
98
+ And the output should contain "expected target not to have 5 words, got 5"
99
+ And the output should contain "expected 4 words, got 5"
100
+ And the output should contain "expected 6 words, got 5"
101
+ And the output should contain "expected at least 6 words, got 5"
102
+ And the output should contain "expected at most 4 words, got 5"
103
+
@@ -0,0 +1,136 @@
1
+ Feature: include matcher
2
+
3
+ Use the include matcher to specify than a collection includes one or more
4
+ expected objects. This works on any object that responds to #include? (such
5
+ as a string or array):
6
+
7
+ "a string".should include("a")
8
+ "a string".should include("str")
9
+ "a string".should include("str", "g")
10
+ "a string".should_not include("foo")
11
+
12
+ [1, 2].should include(1)
13
+ [1, 2].should include(1, 2)
14
+ [1, 2].should_not include(17)
15
+
16
+ The matcher also provides flexible handling for hashes:
17
+
18
+ {:a => 1, :b => 2}.should include(:a)
19
+ {:a => 1, :b => 2}.should include(:a, :b)
20
+ {:a => 1, :b => 2}.should include(:a => 1)
21
+ {:a => 1, :b => 2}.should include(:b => 2, :a => 1)
22
+ {:a => 1, :b => 2}.should_not include(:c)
23
+ {:a => 1, :b => 2}.should_not include(:a => 2)
24
+ {:a => 1, :b => 2}.should_not include(:c => 3)
25
+
26
+ Scenario: array usage
27
+ Given a file named "array_include_matcher_spec.rb" with:
28
+ """
29
+ describe [1, 3, 7] do
30
+ it { should include(1) }
31
+ it { should include(3) }
32
+ it { should include(7) }
33
+ it { should include(1, 7) }
34
+ it { should include(1, 3, 7) }
35
+ it { should_not include(17) }
36
+ it { should_not include(43, 100) }
37
+
38
+ # deliberate failures
39
+ it { should include(4) }
40
+ it { should_not include(1) }
41
+ it { should_not include(3) }
42
+ it { should_not include(7) }
43
+ it { should_not include(1, 3, 7) }
44
+
45
+ # both of these should fail since it includes 1 but not 9
46
+ it { should include(1, 9) }
47
+ it { should_not include(1, 9) }
48
+ end
49
+ """
50
+ When I run "rspec array_include_matcher_spec.rb"
51
+ Then the output should contain all of these:
52
+ | 14 examples, 7 failures |
53
+ | expected [1, 3, 7] to include 4 |
54
+ | expected [1, 3, 7] not to include 1 |
55
+ | expected [1, 3, 7] not to include 3 |
56
+ | expected [1, 3, 7] not to include 7 |
57
+ | expected [1, 3, 7] not to include 1, 3, and 7 |
58
+ | expected [1, 3, 7] to include 1 and 9 |
59
+ | expected [1, 3, 7] not to include 1 and 9 |
60
+
61
+ Scenario: string usage
62
+ Given a file named "string_include_matcher_spec.rb" with:
63
+ """
64
+ describe "a string" do
65
+ it { should include("str") }
66
+ it { should include("a", "str", "ng") }
67
+ it { should_not include("foo") }
68
+ it { should_not include("foo", "bar") }
69
+
70
+ # deliberate failures
71
+ it { should include("foo") }
72
+ it { should_not include("str") }
73
+ it { should include("str", "foo") }
74
+ it { should_not include("str", "foo") }
75
+ end
76
+ """
77
+ When I run "rspec string_include_matcher_spec.rb"
78
+ Then the output should contain all of these:
79
+ | 8 examples, 4 failures |
80
+ | expected "a string" to include "foo" |
81
+ | expected "a string" not to include "str" |
82
+ | expected "a string" to include "str" and "foo" |
83
+ | expected "a string" not to include "str" and "foo" |
84
+
85
+ Scenario: hash usage
86
+ Given a file named "hash_include_matcher_spec.rb" with:
87
+ """
88
+ describe Hash do
89
+ subject { { :a => 7, :b => 5 } }
90
+
91
+ it { should include(:a) }
92
+ it { should include(:b, :a) }
93
+ it { should include(:a => 7) }
94
+ it { should include(:b => 5, :a => 7) }
95
+ it { should_not include(:c) }
96
+ it { should_not include(:c, :d) }
97
+ it { should_not include(:d => 2) }
98
+ it { should_not include(:a => 5) }
99
+ it { should_not include(:b => 7, :a => 5) }
100
+
101
+ # deliberate failures
102
+ it { should_not include(:a) }
103
+ it { should_not include(:b, :a) }
104
+ it { should_not include(:a => 7) }
105
+ it { should_not include(:a => 7, :b => 5) }
106
+ it { should include(:c) }
107
+ it { should include(:c, :d) }
108
+ it { should include(:d => 2) }
109
+ it { should include(:a => 5) }
110
+ it { should include(:a => 5, :b => 7) }
111
+
112
+ # Mixed cases--the hash includes one but not the other.
113
+ # All 4 of these cases should fail.
114
+ it { should include(:a, :d) }
115
+ it { should_not include(:a, :d) }
116
+ it { should include(:a => 7, :d => 3) }
117
+ it { should_not include(:a => 7, :d => 3) }
118
+ end
119
+ """
120
+ When I run "rspec hash_include_matcher_spec.rb"
121
+ Then the output should contain all of these:
122
+ | 22 examples, 13 failures |
123
+ | expected {:a=>7, :b=>5} not to include :a |
124
+ | expected {:a=>7, :b=>5} not to include :b and :a |
125
+ | expected {:a=>7, :b=>5} not to include {:a=>7} |
126
+ | expected {:a=>7, :b=>5} not to include {:a=>7, :b=>5} |
127
+ | expected {:a=>7, :b=>5} to include :c |
128
+ | expected {:a=>7, :b=>5} to include :c and :d |
129
+ | expected {:a=>7, :b=>5} to include {:d=>2} |
130
+ | expected {:a=>7, :b=>5} to include {:a=>5} |
131
+ | expected {:a=>7, :b=>5} to include {:a=>5, :b=>7} |
132
+ | expected {:a=>7, :b=>5} to include :a and :d |
133
+ | expected {:a=>7, :b=>5} not to include :a and :d |
134
+ | expected {:a=>7, :b=>5} to include {:a=>7, :d=>3} |
135
+ | expected {:a=>7, :b=>5} not to include {:a=>7, :d=>3} |
136
+
@@ -0,0 +1,280 @@
1
+ Feature: Operator matchers
2
+
3
+ RSpec provides a number of matchers that are based on Ruby's built-in
4
+ operators. These mostly work like you expect. For example, each of these pass:
5
+
6
+ * 7.should == 7
7
+ * 25.2.should < 100
8
+ * 8.should > 7
9
+ * 17.should <= 17
10
+ * 3.should >= 2
11
+ * [1, 2, 3].should == [1, 2, 3]
12
+ * "this is a string".should =~ /^this/
13
+ * "this is a string".should_not =~ /^that/
14
+ * String.should === "this is a string"
15
+
16
+ RSpec also provides a `=~` matcher for arrays that disregards differences in
17
+ the ording between the actual and expected array. For example:
18
+
19
+ * [1, 2, 3].should =~ [2, 3, 1] # pass
20
+ * [:a, :c, :b].should =~ [:a, :c] # fail
21
+
22
+ Scenario: numeric operator matchers
23
+ Given a file named "numeric_operator_matchers_spec.rb" with:
24
+ """
25
+ describe 18 do
26
+ it { should == 18 }
27
+ it { should < 20 }
28
+ it { should > 15 }
29
+ it { should <= 19 }
30
+ it { should >= 17 }
31
+
32
+ it { should_not == 28 }
33
+ it { should_not < 15 }
34
+ it { should_not > 20 }
35
+ it { should_not <= 17 }
36
+ it { should_not >= 19 }
37
+
38
+ # deliberate failures
39
+ it { should == 28 }
40
+ it { should < 15 }
41
+ it { should > 20 }
42
+ it { should <= 17 }
43
+ it { should >= 19 }
44
+
45
+ it { should_not == 18 }
46
+ it { should_not < 20 }
47
+ it { should_not > 15 }
48
+ it { should_not <= 19 }
49
+ it { should_not >= 17 }
50
+ end
51
+ """
52
+ When I run "rspec numeric_operator_matchers_spec.rb"
53
+ Then the output should contain "20 examples, 10 failures"
54
+ And the output should contain:
55
+ """
56
+ Failure/Error: it { should == 28 }
57
+ expected: 28,
58
+ got: 18 (using ==)
59
+ """
60
+ And the output should contain:
61
+ """
62
+ Failure/Error: it { should < 15 }
63
+ expected: < 15,
64
+ got: 18
65
+ """
66
+ And the output should contain:
67
+ """
68
+ Failure/Error: it { should > 20 }
69
+ expected: > 20,
70
+ got: 18
71
+ """
72
+ And the output should contain:
73
+ """
74
+ Failure/Error: it { should <= 17 }
75
+ expected: <= 17,
76
+ got: 18
77
+ """
78
+ And the output should contain:
79
+ """
80
+ Failure/Error: it { should >= 19 }
81
+ expected: >= 19,
82
+ got: 18
83
+ """
84
+ And the output should contain:
85
+ """
86
+ Failure/Error: it { should_not == 18 }
87
+ expected not: == 18,
88
+ got: 18
89
+ """
90
+ And the output should contain:
91
+ """
92
+ Failure/Error: it { should_not < 20 }
93
+ expected not: < 20,
94
+ got: 18
95
+ """
96
+ And the output should contain:
97
+ """
98
+ Failure/Error: it { should_not > 15 }
99
+ expected not: > 15,
100
+ got: 18
101
+ """
102
+ And the output should contain:
103
+ """
104
+ Failure/Error: it { should_not <= 19 }
105
+ expected not: <= 19,
106
+ got: 18
107
+ """
108
+ And the output should contain:
109
+ """
110
+ Failure/Error: it { should_not >= 17 }
111
+ expected not: >= 17,
112
+ got: 18
113
+ """
114
+
115
+ Scenario: string operator matchers
116
+ Given a file named "string_operator_matchers_spec.rb" with:
117
+ """
118
+ describe "Strawberry" do
119
+ it { should == "Strawberry" }
120
+ it { should < "Tomato" }
121
+ it { should > "Apple" }
122
+ it { should <= "Turnip" }
123
+ it { should >= "Banana" }
124
+ it { should =~ /berry/ }
125
+
126
+ it { should_not == "Peach" }
127
+ it { should_not < "Cranberry" }
128
+ it { should_not > "Zuchini" }
129
+ it { should_not <= "Potato" }
130
+ it { should_not >= "Tomato" }
131
+ it { should_not =~ /apple/ }
132
+
133
+ it "reports that it is a string using ===" do
134
+ String.should === subject
135
+ end
136
+
137
+ # deliberate failures
138
+ it { should == "Peach" }
139
+ it { should < "Cranberry" }
140
+ it { should > "Zuchini" }
141
+ it { should <= "Potato" }
142
+ it { should >= "Tomato" }
143
+ it { should =~ /apple/ }
144
+
145
+ it { should_not == "Strawberry" }
146
+ it { should_not < "Tomato" }
147
+ it { should_not > "Apple" }
148
+ it { should_not <= "Turnip" }
149
+ it { should_not >= "Banana" }
150
+ it { should_not =~ /berry/ }
151
+
152
+ it "fails a spec asserting that it is a symbol" do
153
+ Symbol.should === subject
154
+ end
155
+ end
156
+ """
157
+ When I run "rspec string_operator_matchers_spec.rb"
158
+ Then the output should contain "26 examples, 13 failures"
159
+ And the output should contain:
160
+ """
161
+ Failure/Error: it { should == "Peach" }
162
+ expected: "Peach",
163
+ got: "Strawberry" (using ==)
164
+ """
165
+ And the output should contain:
166
+ """
167
+ Failure/Error: it { should < "Cranberry" }
168
+ expected: < "Cranberry",
169
+ got: "Strawberry"
170
+ """
171
+ And the output should contain:
172
+ """
173
+ Failure/Error: it { should > "Zuchini" }
174
+ expected: > "Zuchini",
175
+ got: "Strawberry"
176
+ """
177
+ And the output should contain:
178
+ """
179
+ Failure/Error: it { should <= "Potato" }
180
+ expected: <= "Potato",
181
+ got: "Strawberry"
182
+ """
183
+ And the output should contain:
184
+ """
185
+ Failure/Error: it { should >= "Tomato" }
186
+ expected: >= "Tomato",
187
+ got: "Strawberry"
188
+ """
189
+ And the output should contain:
190
+ """
191
+ Failure/Error: it { should =~ /apple/ }
192
+ expected: /apple/,
193
+ got: "Strawberry" (using =~)
194
+ """
195
+ And the output should contain:
196
+ """
197
+ Failure/Error: it { should_not == "Strawberry" }
198
+ expected not: == "Strawberry",
199
+ got: "Strawberry"
200
+ """
201
+ And the output should contain:
202
+ """
203
+ Failure/Error: it { should_not < "Tomato" }
204
+ expected not: < "Tomato",
205
+ got: "Strawberry"
206
+ """
207
+ And the output should contain:
208
+ """
209
+ Failure/Error: it { should_not > "Apple" }
210
+ expected not: > "Apple",
211
+ got: "Strawberry"
212
+ """
213
+ And the output should contain:
214
+ """
215
+ Failure/Error: it { should_not <= "Turnip" }
216
+ expected not: <= "Turnip",
217
+ got: "Strawberry"
218
+ """
219
+ And the output should contain:
220
+ """
221
+ Failure/Error: it { should_not >= "Banana" }
222
+ expected not: >= "Banana",
223
+ got: "Strawberry"
224
+ """
225
+ And the output should contain:
226
+ """
227
+ Failure/Error: it { should_not =~ /berry/ }
228
+ expected not: =~ /berry/,
229
+ got: "Strawberry"
230
+ """
231
+ And the output should contain:
232
+ """
233
+ Failure/Error: Symbol.should === subject
234
+ expected: "Strawberry",
235
+ got: Symbol (using ===)
236
+ """
237
+
238
+ Scenario: array operator matchers
239
+ Given a file named "array_operator_matchers_spec.rb" with:
240
+ """
241
+ describe [1, 2, 3] do
242
+ it { should == [1, 2, 3] }
243
+ it { should_not == [1, 3, 2] }
244
+
245
+ it { should =~ [1, 2, 3] }
246
+ it { should =~ [1, 3, 2] }
247
+ it { should =~ [2, 1, 3] }
248
+ it { should =~ [2, 3, 1] }
249
+ it { should =~ [3, 1, 2] }
250
+ it { should =~ [3, 2, 1] }
251
+
252
+ # deliberate failures
253
+ it { should_not == [1, 2, 3] }
254
+ it { should == [1, 3, 2] }
255
+ it { should =~ [1, 2, 1] }
256
+ end
257
+ """
258
+ When I run "rspec array_operator_matchers_spec.rb"
259
+ Then the output should contain "11 examples, 3 failures"
260
+ And the output should contain:
261
+ """
262
+ Failure/Error: it { should_not == [1, 2, 3] }
263
+ expected not: == [1, 2, 3],
264
+ got: [1, 2, 3]
265
+ """
266
+ And the output should contain:
267
+ """
268
+ Failure/Error: it { should == [1, 3, 2] }
269
+ expected: [1, 3, 2],
270
+ got: [1, 2, 3] (using ==)
271
+ """
272
+ And the output should contain:
273
+ """
274
+ Failure/Error: it { should =~ [1, 2, 1] }
275
+ expected collection contained: [1, 1, 2]
276
+ actual collection contained: [1, 2, 3]
277
+ the missing elements were: [1]
278
+ the extra elements were: [3]
279
+ """
280
+
@@ -0,0 +1,128 @@
1
+ Feature: Predicate matchers
2
+
3
+ Ruby objects commonly provide predicate methods:
4
+
5
+ * 7.zero? # => false
6
+ * 0.zero? # => true
7
+ * [1].empty? # => false
8
+ * [].empty? # => true
9
+ * { :a => 5 }.has_key?(:b) # => false
10
+ * { :b => 5 }.has_key?(:b) # => true
11
+
12
+ You could use a basic equality matcher to set expectations on these:
13
+
14
+ 7.zero?.should == true # fails with "expected true, got false (using ==)"
15
+
16
+ ...but RSpec provides dynamic predicate matchers that are more readable and
17
+ provide better failure output.
18
+
19
+ For any predicate method, RSpec gives you a corresponding matcher. Simply
20
+ prefix the method with "be_" and remove the question mark. Examples:
21
+
22
+ * 7.should_not be_zero # calls 7.zero?
23
+ * [].should be_empty # calls [].empty?
24
+ * x.should be_multiple_of(3) # calls x.multiple_of?(3)
25
+
26
+ Alternately, for a predicate method that begins with "has_" like Hash#has_key?,
27
+ RSpec allows you to use an alternate form since "be_has_key" makes no sense.
28
+
29
+ * hash.should have_key(:foo) # calls hash.has_key?(:foo)
30
+ * array.should_not have_odd_values # calls array.has_odd_values?
31
+
32
+ In either case, RSpec provides nice, clear error messages, such as:
33
+
34
+ expected zero? to return true, got false
35
+
36
+ Any arguments passed to the matcher will be passed on to the predicate method.
37
+
38
+ Scenario: should be_zero (based on Fixnum#zero?)
39
+ Given a file named "should_be_zero_spec.rb" with:
40
+ """
41
+ describe 0 do
42
+ it { should be_zero }
43
+ end
44
+
45
+ describe 7 do
46
+ it { should be_zero } # deliberate failure
47
+ end
48
+ """
49
+ When I run "rspec should_be_zero_spec.rb"
50
+ Then the output should contain "2 examples, 1 failure"
51
+ And the output should contain "expected zero? to return true, got false"
52
+
53
+ Scenario: should_not be_empty (based on Array#empty?)
54
+ Given a file named "should_not_be_empty_spec.rb" with:
55
+ """
56
+ describe [1, 2, 3] do
57
+ it { should_not be_empty }
58
+ end
59
+
60
+ describe [] do
61
+ it { should_not be_empty } # deliberate failure
62
+ end
63
+ """
64
+ When I run "rspec should_not_be_empty_spec.rb"
65
+ Then the output should contain "2 examples, 1 failure"
66
+ And the output should contain "expected empty? to return false, got true"
67
+
68
+ Scenario: should have_key (based on Hash#has_key?)
69
+ Given a file named "should_have_key_spec.rb" with:
70
+ """
71
+ describe Hash do
72
+ subject { { :foo => 7 } }
73
+ it { should have_key(:foo) }
74
+ it { should have_key(:bar) } # deliberate failure
75
+ end
76
+ """
77
+ When I run "rspec should_have_key_spec.rb"
78
+ Then the output should contain "2 examples, 1 failure"
79
+ And the output should contain "expected #has_key?(:bar) to return true, got false"
80
+
81
+ Scenario: should_not have_all_string_keys (based on custom #has_all_string_keys? method)
82
+ Given a file named "should_not_have_all_string_keys_spec.rb" with:
83
+ """
84
+ class Hash
85
+ def has_all_string_keys?
86
+ keys.all? { |k| String === k }
87
+ end
88
+ end
89
+
90
+ describe Hash do
91
+ context 'with symbol keys' do
92
+ subject { { :foo => 7, :bar => 5 } }
93
+ it { should_not have_all_string_keys }
94
+ end
95
+
96
+ context 'with string keys' do
97
+ subject { { 'foo' => 7, 'bar' => 5 } }
98
+ it { should_not have_all_string_keys } # deliberate failure
99
+ end
100
+ end
101
+ """
102
+ When I run "rspec should_not_have_all_string_keys_spec.rb"
103
+ Then the output should contain "2 examples, 1 failure"
104
+ And the output should contain "expected #has_all_string_keys?(nil) to return false, got true"
105
+
106
+ Scenario: matcher arguments are passed on to the predicate method
107
+ Given a file named "predicate_matcher_argument_spec.rb" with:
108
+ """
109
+ class Fixnum
110
+ def multiple_of?(x)
111
+ (self % x).zero?
112
+ end
113
+ end
114
+
115
+ describe 12 do
116
+ it { should be_multiple_of(3) }
117
+ it { should_not be_multiple_of(7) }
118
+
119
+ # deliberate failures
120
+ it { should_not be_multiple_of(4) }
121
+ it { should be_multiple_of(5) }
122
+ end
123
+ """
124
+ When I run "rspec predicate_matcher_argument_spec.rb"
125
+ Then the output should contain "4 examples, 2 failures"
126
+ And the output should contain "expected multiple_of?(4) to return false, got true"
127
+ And the output should contain "expected multiple_of?(5) to return true, got false"
128
+