guesswhat 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (446) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/CODE_OF_CONDUCT.md +49 -0
  4. data/Gemfile +4 -0
  5. data/README.md +36 -0
  6. data/Rakefile +4 -0
  7. data/bin/console +14 -0
  8. data/bin/setup +8 -0
  9. data/guesswhat.gemspec +25 -0
  10. data/lib/guesswhat/version.rb +3 -0
  11. data/lib/guesswhat.rb +5 -0
  12. data/tasks/rspec.rake +3 -0
  13. data/vendor/bundle/bin/console +23 -0
  14. data/vendor/bundle/bin/htmldiff +25 -0
  15. data/vendor/bundle/bin/ldiff +25 -0
  16. data/vendor/bundle/bin/rake +23 -0
  17. data/vendor/bundle/bin/rspec +23 -0
  18. data/vendor/bundle/bin/setup +23 -0
  19. data/vendor/bundle/cache/diff-lcs-1.2.5.gem +0 -0
  20. data/vendor/bundle/cache/rake-10.5.0.gem +0 -0
  21. data/vendor/bundle/cache/rspec-3.4.0.gem +0 -0
  22. data/vendor/bundle/cache/rspec-core-3.4.4.gem +0 -0
  23. data/vendor/bundle/cache/rspec-expectations-3.4.0.gem +0 -0
  24. data/vendor/bundle/cache/rspec-mocks-3.4.1.gem +0 -0
  25. data/vendor/bundle/cache/rspec-support-3.4.1.gem +0 -0
  26. data/vendor/bundle/gems/diff-lcs-1.2.5/.autotest +3 -0
  27. data/vendor/bundle/gems/diff-lcs-1.2.5/.gemtest +0 -0
  28. data/vendor/bundle/gems/diff-lcs-1.2.5/.hoerc +2 -0
  29. data/vendor/bundle/gems/diff-lcs-1.2.5/.rspec +2 -0
  30. data/vendor/bundle/gems/diff-lcs-1.2.5/.travis.yml +22 -0
  31. data/vendor/bundle/gems/diff-lcs-1.2.5/Contributing.rdoc +64 -0
  32. data/vendor/bundle/gems/diff-lcs-1.2.5/Gemfile +20 -0
  33. data/vendor/bundle/gems/diff-lcs-1.2.5/History.rdoc +152 -0
  34. data/vendor/bundle/gems/diff-lcs-1.2.5/License.rdoc +39 -0
  35. data/vendor/bundle/gems/diff-lcs-1.2.5/Manifest.txt +38 -0
  36. data/vendor/bundle/gems/diff-lcs-1.2.5/README.rdoc +85 -0
  37. data/vendor/bundle/gems/diff-lcs-1.2.5/Rakefile +41 -0
  38. data/vendor/bundle/gems/diff-lcs-1.2.5/autotest/discover.rb +1 -0
  39. data/vendor/bundle/gems/diff-lcs-1.2.5/bin/htmldiff +32 -0
  40. data/vendor/bundle/gems/diff-lcs-1.2.5/bin/ldiff +6 -0
  41. data/vendor/bundle/gems/diff-lcs-1.2.5/docs/COPYING.txt +339 -0
  42. data/vendor/bundle/gems/diff-lcs-1.2.5/docs/artistic.txt +127 -0
  43. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/array.rb +7 -0
  44. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/block.rb +37 -0
  45. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/callbacks.rb +322 -0
  46. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/change.rb +177 -0
  47. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/htmldiff.rb +149 -0
  48. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/hunk.rb +276 -0
  49. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/internals.rb +301 -0
  50. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/ldiff.rb +195 -0
  51. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs/string.rb +5 -0
  52. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff/lcs.rb +805 -0
  53. data/vendor/bundle/gems/diff-lcs-1.2.5/lib/diff-lcs.rb +3 -0
  54. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/change_spec.rb +65 -0
  55. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/diff_spec.rb +47 -0
  56. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/hunk_spec.rb +72 -0
  57. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/issues_spec.rb +24 -0
  58. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/lcs_spec.rb +54 -0
  59. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/patch_spec.rb +414 -0
  60. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/sdiff_spec.rb +214 -0
  61. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/spec_helper.rb +290 -0
  62. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/traverse_balanced_spec.rb +310 -0
  63. data/vendor/bundle/gems/diff-lcs-1.2.5/spec/traverse_sequences_spec.rb +139 -0
  64. data/vendor/bundle/gems/rake-10.5.0/.autotest +7 -0
  65. data/vendor/bundle/gems/rake-10.5.0/.rubocop.yml +27 -0
  66. data/vendor/bundle/gems/rake-10.5.0/.togglerc +7 -0
  67. data/vendor/bundle/gems/rake-10.5.0/CONTRIBUTING.rdoc +38 -0
  68. data/vendor/bundle/gems/rake-10.5.0/History.rdoc +659 -0
  69. data/vendor/bundle/gems/rake-10.5.0/MIT-LICENSE +21 -0
  70. data/vendor/bundle/gems/rake-10.5.0/Manifest.txt +166 -0
  71. data/vendor/bundle/gems/rake-10.5.0/README.rdoc +139 -0
  72. data/vendor/bundle/gems/rake-10.5.0/Rakefile +81 -0
  73. data/vendor/bundle/gems/rake-10.5.0/bin/rake +33 -0
  74. data/vendor/bundle/gems/rake-10.5.0/doc/command_line_usage.rdoc +158 -0
  75. data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile1 +38 -0
  76. data/vendor/bundle/gems/rake-10.5.0/doc/example/Rakefile2 +35 -0
  77. data/vendor/bundle/gems/rake-10.5.0/doc/example/a.c +6 -0
  78. data/vendor/bundle/gems/rake-10.5.0/doc/example/b.c +6 -0
  79. data/vendor/bundle/gems/rake-10.5.0/doc/example/main.c +11 -0
  80. data/vendor/bundle/gems/rake-10.5.0/doc/glossary.rdoc +42 -0
  81. data/vendor/bundle/gems/rake-10.5.0/doc/jamis.rb +591 -0
  82. data/vendor/bundle/gems/rake-10.5.0/doc/proto_rake.rdoc +127 -0
  83. data/vendor/bundle/gems/rake-10.5.0/doc/rake.1 +141 -0
  84. data/vendor/bundle/gems/rake-10.5.0/doc/rakefile.rdoc +624 -0
  85. data/vendor/bundle/gems/rake-10.5.0/doc/rational.rdoc +151 -0
  86. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.14.rdoc +23 -0
  87. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.4.15.rdoc +35 -0
  88. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.0.rdoc +53 -0
  89. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.3.rdoc +78 -0
  90. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.5.4.rdoc +46 -0
  91. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.6.0.rdoc +141 -0
  92. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.0.rdoc +119 -0
  93. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.1.rdoc +59 -0
  94. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.2.rdoc +121 -0
  95. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.7.3.rdoc +47 -0
  96. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.0.rdoc +114 -0
  97. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.2.rdoc +165 -0
  98. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.3.rdoc +112 -0
  99. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.4.rdoc +147 -0
  100. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.5.rdoc +53 -0
  101. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.6.rdoc +37 -0
  102. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.8.7.rdoc +55 -0
  103. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.0.rdoc +112 -0
  104. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.1.rdoc +52 -0
  105. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
  106. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.2.rdoc +49 -0
  107. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.3.rdoc +102 -0
  108. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.4.rdoc +60 -0
  109. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.5.rdoc +55 -0
  110. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-0.9.6.rdoc +64 -0
  111. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.0.rdoc +178 -0
  112. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.1.rdoc +58 -0
  113. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.2.rdoc +53 -0
  114. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.0.3.rdoc +191 -0
  115. data/vendor/bundle/gems/rake-10.5.0/doc/release_notes/rake-10.1.0.rdoc +61 -0
  116. data/vendor/bundle/gems/rake-10.5.0/lib/rake/alt_system.rb +110 -0
  117. data/vendor/bundle/gems/rake-10.5.0/lib/rake/application.rb +790 -0
  118. data/vendor/bundle/gems/rake-10.5.0/lib/rake/backtrace.rb +23 -0
  119. data/vendor/bundle/gems/rake-10.5.0/lib/rake/clean.rb +76 -0
  120. data/vendor/bundle/gems/rake-10.5.0/lib/rake/cloneable.rb +16 -0
  121. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/.document +1 -0
  122. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/compositepublisher.rb +21 -0
  123. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/ftptools.rb +137 -0
  124. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/publisher.rb +81 -0
  125. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/rubyforgepublisher.rb +18 -0
  126. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sshpublisher.rb +61 -0
  127. data/vendor/bundle/gems/rake-10.5.0/lib/rake/contrib/sys.rb +4 -0
  128. data/vendor/bundle/gems/rake-10.5.0/lib/rake/cpu_counter.rb +125 -0
  129. data/vendor/bundle/gems/rake-10.5.0/lib/rake/default_loader.rb +14 -0
  130. data/vendor/bundle/gems/rake-10.5.0/lib/rake/dsl_definition.rb +201 -0
  131. data/vendor/bundle/gems/rake-10.5.0/lib/rake/early_time.rb +21 -0
  132. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/core.rb +25 -0
  133. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/module.rb +2 -0
  134. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/pathname.rb +25 -0
  135. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/string.rb +175 -0
  136. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ext/time.rb +18 -0
  137. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_creation_task.rb +24 -0
  138. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_list.rb +428 -0
  139. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_task.rb +46 -0
  140. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils.rb +128 -0
  141. data/vendor/bundle/gems/rake-10.5.0/lib/rake/file_utils_ext.rb +144 -0
  142. data/vendor/bundle/gems/rake-10.5.0/lib/rake/gempackagetask.rb +4 -0
  143. data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_chain.rb +56 -0
  144. data/vendor/bundle/gems/rake-10.5.0/lib/rake/invocation_exception_mixin.rb +16 -0
  145. data/vendor/bundle/gems/rake-10.5.0/lib/rake/late_time.rb +17 -0
  146. data/vendor/bundle/gems/rake-10.5.0/lib/rake/linked_list.rb +103 -0
  147. data/vendor/bundle/gems/rake-10.5.0/lib/rake/loaders/makefile.rb +53 -0
  148. data/vendor/bundle/gems/rake-10.5.0/lib/rake/multi_task.rb +13 -0
  149. data/vendor/bundle/gems/rake-10.5.0/lib/rake/name_space.rb +38 -0
  150. data/vendor/bundle/gems/rake-10.5.0/lib/rake/packagetask.rb +199 -0
  151. data/vendor/bundle/gems/rake-10.5.0/lib/rake/pathmap.rb +3 -0
  152. data/vendor/bundle/gems/rake-10.5.0/lib/rake/phony.rb +15 -0
  153. data/vendor/bundle/gems/rake-10.5.0/lib/rake/private_reader.rb +20 -0
  154. data/vendor/bundle/gems/rake-10.5.0/lib/rake/promise.rb +99 -0
  155. data/vendor/bundle/gems/rake-10.5.0/lib/rake/pseudo_status.rb +29 -0
  156. data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_module.rb +38 -0
  157. data/vendor/bundle/gems/rake-10.5.0/lib/rake/rake_test_loader.rb +22 -0
  158. data/vendor/bundle/gems/rake-10.5.0/lib/rake/rdoctask.rb +4 -0
  159. data/vendor/bundle/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb +29 -0
  160. data/vendor/bundle/gems/rake-10.5.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
  161. data/vendor/bundle/gems/rake-10.5.0/lib/rake/runtest.rb +27 -0
  162. data/vendor/bundle/gems/rake-10.5.0/lib/rake/scope.rb +42 -0
  163. data/vendor/bundle/gems/rake-10.5.0/lib/rake/task.rb +383 -0
  164. data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_argument_error.rb +7 -0
  165. data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_arguments.rb +98 -0
  166. data/vendor/bundle/gems/rake-10.5.0/lib/rake/task_manager.rb +307 -0
  167. data/vendor/bundle/gems/rake-10.5.0/lib/rake/tasklib.rb +24 -0
  168. data/vendor/bundle/gems/rake-10.5.0/lib/rake/testtask.rb +213 -0
  169. data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_history_display.rb +48 -0
  170. data/vendor/bundle/gems/rake-10.5.0/lib/rake/thread_pool.rb +164 -0
  171. data/vendor/bundle/gems/rake-10.5.0/lib/rake/trace_output.rb +22 -0
  172. data/vendor/bundle/gems/rake-10.5.0/lib/rake/version.rb +7 -0
  173. data/vendor/bundle/gems/rake-10.5.0/lib/rake/win32.rb +56 -0
  174. data/vendor/bundle/gems/rake-10.5.0/lib/rake.rb +79 -0
  175. data/vendor/bundle/gems/rake-10.5.0/rakelib/publish.rake +20 -0
  176. data/vendor/bundle/gems/rake-10.5.0/rakelib/test_times.rake +25 -0
  177. data/vendor/bundle/gems/rake-10.5.0/test/file_creation.rb +34 -0
  178. data/vendor/bundle/gems/rake-10.5.0/test/helper.rb +129 -0
  179. data/vendor/bundle/gems/rake-10.5.0/test/support/rakefile_definitions.rb +478 -0
  180. data/vendor/bundle/gems/rake-10.5.0/test/support/ruby_runner.rb +34 -0
  181. data/vendor/bundle/gems/rake-10.5.0/test/test_private_reader.rb +42 -0
  182. data/vendor/bundle/gems/rake-10.5.0/test/test_rake.rb +40 -0
  183. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application.rb +643 -0
  184. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_application_options.rb +468 -0
  185. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_backtrace.rb +119 -0
  186. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_clean.rb +61 -0
  187. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_cpu_counter.rb +68 -0
  188. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_definitions.rb +84 -0
  189. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_directory_task.rb +76 -0
  190. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_dsl.rb +40 -0
  191. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_early_time.rb +31 -0
  192. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_extension.rb +59 -0
  193. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_creation_task.rb +56 -0
  194. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list.rb +670 -0
  195. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_list_path_map.rb +8 -0
  196. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_task.rb +197 -0
  197. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_file_utils.rb +314 -0
  198. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_ftp_file.rb +74 -0
  199. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_functional.rb +482 -0
  200. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_invocation_chain.rb +64 -0
  201. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_late_time.rb +18 -0
  202. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_linked_list.rb +84 -0
  203. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_makefile_loader.rb +46 -0
  204. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_multi_task.rb +64 -0
  205. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_name_space.rb +57 -0
  206. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_package_task.rb +79 -0
  207. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map.rb +168 -0
  208. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_explode.rb +34 -0
  209. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_path_map_partial.rb +18 -0
  210. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pathname_extensions.rb +15 -0
  211. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_pseudo_status.rb +21 -0
  212. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rake_test_loader.rb +20 -0
  213. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_reduce_compat.rb +26 -0
  214. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_require.rb +40 -0
  215. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_rules.rb +388 -0
  216. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_scope.rb +44 -0
  217. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task.rb +393 -0
  218. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_argument_parsing.rb +119 -0
  219. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_arguments.rb +127 -0
  220. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_lib.rb +9 -0
  221. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager.rb +178 -0
  222. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
  223. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_task_with_arguments.rb +172 -0
  224. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_test_task.rb +146 -0
  225. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_thread_pool.rb +145 -0
  226. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_top_level_functions.rb +71 -0
  227. data/vendor/bundle/gems/rake-10.5.0/test/test_rake_win32.rb +72 -0
  228. data/vendor/bundle/gems/rake-10.5.0/test/test_thread_history_display.rb +101 -0
  229. data/vendor/bundle/gems/rake-10.5.0/test/test_trace_output.rb +52 -0
  230. data/vendor/bundle/gems/rspec-3.4.0/LICENSE.md +27 -0
  231. data/vendor/bundle/gems/rspec-3.4.0/README.md +39 -0
  232. data/vendor/bundle/gems/rspec-3.4.0/lib/rspec/version.rb +5 -0
  233. data/vendor/bundle/gems/rspec-3.4.0/lib/rspec.rb +3 -0
  234. data/vendor/bundle/gems/rspec-core-3.4.4/.document +5 -0
  235. data/vendor/bundle/gems/rspec-core-3.4.4/.yardopts +8 -0
  236. data/vendor/bundle/gems/rspec-core-3.4.4/Changelog.md +1972 -0
  237. data/vendor/bundle/gems/rspec-core-3.4.4/LICENSE.md +26 -0
  238. data/vendor/bundle/gems/rspec-core-3.4.4/README.md +384 -0
  239. data/vendor/bundle/gems/rspec-core-3.4.4/exe/rspec +4 -0
  240. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/autorun.rb +3 -0
  241. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/backtrace_formatter.rb +65 -0
  242. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/bisect/coordinator.rb +66 -0
  243. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/bisect/example_minimizer.rb +169 -0
  244. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/bisect/runner.rb +139 -0
  245. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/bisect/server.rb +61 -0
  246. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb +1869 -0
  247. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/configuration_options.rb +191 -0
  248. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/drb.rb +111 -0
  249. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/dsl.rb +96 -0
  250. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/example.rb +631 -0
  251. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/example_group.rb +816 -0
  252. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/example_status_persister.rb +235 -0
  253. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/filter_manager.rb +231 -0
  254. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/flat_map.rb +20 -0
  255. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/base_formatter.rb +70 -0
  256. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/base_text_formatter.rb +77 -0
  257. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/bisect_formatter.rb +68 -0
  258. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
  259. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/console_codes.rb +65 -0
  260. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  261. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
  262. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb +482 -0
  263. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  264. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/helpers.rb +109 -0
  265. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/html_formatter.rb +151 -0
  266. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/html_printer.rb +414 -0
  267. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/html_snippet_extractor.rb +116 -0
  268. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/json_formatter.rb +96 -0
  269. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  270. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/progress_formatter.rb +28 -0
  271. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/protocol.rb +181 -0
  272. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters/snippet_extractor.rb +136 -0
  273. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/formatters.rb +255 -0
  274. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/hooks.rb +638 -0
  275. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/memoized_helpers.rb +532 -0
  276. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/metadata.rb +498 -0
  277. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/metadata_filter.rb +231 -0
  278. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  279. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  280. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  281. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/mocking_adapters/null.rb +14 -0
  282. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  283. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  284. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb +499 -0
  285. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/option_parser.rb +319 -0
  286. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/ordering.rb +158 -0
  287. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/pending.rb +165 -0
  288. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/profiler.rb +32 -0
  289. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/project_initializer/.rspec +2 -0
  290. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/project_initializer/spec/spec_helper.rb +96 -0
  291. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/project_initializer.rb +48 -0
  292. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/rake_task.rb +167 -0
  293. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb +236 -0
  294. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/ruby_project.rb +53 -0
  295. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb +183 -0
  296. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/sandbox.rb +37 -0
  297. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/set.rb +49 -0
  298. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/shared_context.rb +55 -0
  299. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/shared_example_group.rb +212 -0
  300. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/shell_escape.rb +49 -0
  301. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/location.rb +13 -0
  302. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/node.rb +93 -0
  303. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/syntax_highlighter.rb +71 -0
  304. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/token.rb +86 -0
  305. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source.rb +76 -0
  306. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  307. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/version.rb +9 -0
  308. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/warnings.rb +40 -0
  309. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/world.rb +213 -0
  310. data/vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core.rb +181 -0
  311. data/vendor/bundle/gems/rspec-expectations-3.4.0/.document +5 -0
  312. data/vendor/bundle/gems/rspec-expectations-3.4.0/.yardopts +6 -0
  313. data/vendor/bundle/gems/rspec-expectations-3.4.0/Changelog.md +979 -0
  314. data/vendor/bundle/gems/rspec-expectations-3.4.0/LICENSE.md +25 -0
  315. data/vendor/bundle/gems/rspec-expectations-3.4.0/README.md +303 -0
  316. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations/configuration.rb +164 -0
  317. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations/expectation_target.rb +113 -0
  318. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations/fail_with.rb +31 -0
  319. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
  320. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb +170 -0
  321. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations/minitest_integration.rb +31 -0
  322. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations/syntax.rb +132 -0
  323. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations/version.rb +8 -0
  324. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/expectations.rb +81 -0
  325. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
  326. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/all.rb +85 -0
  327. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/base_matcher.rb +181 -0
  328. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/be.rb +285 -0
  329. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
  330. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
  331. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
  332. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
  333. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/change.rb +354 -0
  334. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/compound.rb +272 -0
  335. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/contain_exactly.rb +286 -0
  336. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/cover.rb +24 -0
  337. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/eq.rb +40 -0
  338. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/eql.rb +34 -0
  339. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/equal.rb +81 -0
  340. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/exist.rb +86 -0
  341. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/has.rb +103 -0
  342. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  343. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/include.rb +130 -0
  344. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/match.rb +106 -0
  345. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/operators.rb +128 -0
  346. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/output.rb +200 -0
  347. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/raise_error.rb +228 -0
  348. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/respond_to.rb +90 -0
  349. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/satisfy.rb +37 -0
  350. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  351. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
  352. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in/yield.rb +419 -0
  353. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/built_in.rb +52 -0
  354. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/composable.rb +185 -0
  355. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/dsl.rb +453 -0
  356. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/english_phrasing.rb +42 -0
  357. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
  358. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/fail_matchers.rb +42 -0
  359. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
  360. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
  361. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
  362. data/vendor/bundle/gems/rspec-expectations-3.4.0/lib/rspec/matchers.rb +1037 -0
  363. data/vendor/bundle/gems/rspec-mocks-3.4.1/.document +5 -0
  364. data/vendor/bundle/gems/rspec-mocks-3.4.1/.yardopts +6 -0
  365. data/vendor/bundle/gems/rspec-mocks-3.4.1/Changelog.md +991 -0
  366. data/vendor/bundle/gems/rspec-mocks-3.4.1/LICENSE.md +25 -0
  367. data/vendor/bundle/gems/rspec-mocks-3.4.1/README.md +445 -0
  368. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/chain.rb +110 -0
  369. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  370. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +35 -0
  371. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/expectation_chain.rb +48 -0
  372. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  373. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  374. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/recorder.rb +268 -0
  375. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/stub_chain.rb +46 -0
  376. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +27 -0
  377. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/any_instance.rb +11 -0
  378. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/argument_list_matcher.rb +100 -0
  379. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/argument_matchers.rb +320 -0
  380. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/configuration.rb +205 -0
  381. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/error_generator.rb +367 -0
  382. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/example_methods.rb +422 -0
  383. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/instance_method_stasher.rb +135 -0
  384. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/marshal_extension.rb +41 -0
  385. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  386. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/matchers/have_received.rb +128 -0
  387. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/matchers/receive.rb +130 -0
  388. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/matchers/receive_message_chain.rb +80 -0
  389. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/matchers/receive_messages.rb +75 -0
  390. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/message_chain.rb +87 -0
  391. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/message_expectation.rb +717 -0
  392. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/method_double.rb +287 -0
  393. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/method_reference.rb +192 -0
  394. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/mutate_const.rb +335 -0
  395. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/object_reference.rb +149 -0
  396. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/order_group.rb +81 -0
  397. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/proxy.rb +484 -0
  398. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/space.rb +238 -0
  399. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/standalone.rb +3 -0
  400. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/syntax.rb +325 -0
  401. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/targets.rb +97 -0
  402. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/test_double.rb +170 -0
  403. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/verifying_double.rb +129 -0
  404. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  405. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/verifying_proxy.rb +213 -0
  406. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks/version.rb +9 -0
  407. data/vendor/bundle/gems/rspec-mocks-3.4.1/lib/rspec/mocks.rb +126 -0
  408. data/vendor/bundle/gems/rspec-support-3.4.1/Changelog.md +151 -0
  409. data/vendor/bundle/gems/rspec-support-3.4.1/LICENSE.md +23 -0
  410. data/vendor/bundle/gems/rspec-support-3.4.1/README.md +40 -0
  411. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/caller_filter.rb +83 -0
  412. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/comparable_version.rb +46 -0
  413. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/differ.rb +215 -0
  414. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/directory_maker.rb +63 -0
  415. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/encoded_string.rb +155 -0
  416. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/fuzzy_matcher.rb +48 -0
  417. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/hunk_generator.rb +47 -0
  418. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/matcher_definition.rb +42 -0
  419. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/method_signature_verifier.rb +290 -0
  420. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/mutex.rb +73 -0
  421. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/object_formatter.rb +108 -0
  422. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/recursive_const_methods.rb +76 -0
  423. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/reentrant_mutex.rb +53 -0
  424. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/ruby_features.rb +149 -0
  425. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
  426. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/formatting_support.rb +9 -0
  427. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/in_sub_process.rb +52 -0
  428. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/library_wide_checks.rb +152 -0
  429. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/shell_out.rb +71 -0
  430. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/stderr_splitter.rb +63 -0
  431. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/string_matcher.rb +46 -0
  432. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/with_isolated_directory.rb +9 -0
  433. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  434. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/spec.rb +81 -0
  435. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/version.rb +7 -0
  436. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/version_checker.rb +53 -0
  437. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support/warnings.rb +39 -0
  438. data/vendor/bundle/gems/rspec-support-3.4.1/lib/rspec/support.rb +139 -0
  439. data/vendor/bundle/specifications/diff-lcs-1.2.5.gemspec +68 -0
  440. data/vendor/bundle/specifications/rake-10.5.0.gemspec +43 -0
  441. data/vendor/bundle/specifications/rspec-3.4.0.gemspec +42 -0
  442. data/vendor/bundle/specifications/rspec-core-3.4.4.gemspec +65 -0
  443. data/vendor/bundle/specifications/rspec-expectations-3.4.0.gemspec +50 -0
  444. data/vendor/bundle/specifications/rspec-mocks-3.4.1.gemspec +50 -0
  445. data/vendor/bundle/specifications/rspec-support-3.4.1.gemspec +41 -0
  446. metadata +532 -0
@@ -0,0 +1,991 @@
1
+ ### 3.4.1 / 2016-01-10
2
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.4.0...v3.4.1)
3
+
4
+ Bug Fixes:
5
+
6
+ * Fix `any_instance` to work properly on Ruby 2.3. (Joe Rafaniello, #1043)
7
+
8
+ ### 3.4.0 / 2015-11-11
9
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.2...v3.4.0)
10
+
11
+ Enhancements:
12
+
13
+ * Make `expect(...).to have_received` work without relying upon
14
+ rspec-expectations. (Myron Marston, #978)
15
+ * Add option for failing tests when expectations are set on `nil`.
16
+ (Liz Rush, #983)
17
+
18
+ Bug Fixes:
19
+
20
+ * Fix `have_received { ... }` so that any block passed when the message
21
+ was received is forwarded to the `have_received` block. (Myron Marston, #1006)
22
+ * Fix infinite loop in error generator when stubbing `respond_to?`.
23
+ (Alex Dowad, #1022)
24
+ * Fix issue with using `receive` on subclasses (at a class level) with 1.8.7.
25
+ (Alex Dowad, #1026)
26
+
27
+ ### 3.3.2 / 2015-07-15
28
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.1...v3.3.2)
29
+
30
+ Bug Fixes:
31
+
32
+ * Prevent thread deadlock errors during proxy creation (e.g. when using
33
+ `before_verifying_doubles` callbacks). (Jon Rowe, #980, #979)
34
+
35
+ ### 3.3.1 / 2015-06-19
36
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.0...v3.3.1)
37
+
38
+ Bug Fixes:
39
+
40
+ * Fix bug in `before_verifying_double` callback logic that caused it to be called
41
+ once for each class in the ancestor list when mocking or stubbing a class. Now
42
+ it is only called for the mocked or stubbed class, as you would expect. (Sam
43
+ Phippen, #974)
44
+
45
+ ### 3.3.0 / 2015-06-12
46
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.2.1...v3.3.0)
47
+
48
+ Enhancements:
49
+
50
+ * When stubbing `new` on `MyClass` or `class_double(MyClass)`, use the
51
+ method signature from `MyClass#initialize` to verify arguments.
52
+ (Myron Marston, #886)
53
+ * Use matcher descriptions when generating description of received arguments
54
+ for mock expectation failures. (Tim Wade, #891)
55
+ * Avoid loading `stringio` unnecessarily. (Myron Marston, #894)
56
+ * Verifying doubles failure messages now distinguish between class and instance
57
+ level methods. (Tim Wade, #896, #908)
58
+ * Improve mock expectation failure messages so that it combines both
59
+ number of times and the received arguments in the output. (John Ceh, #918)
60
+ * Improve how test doubles are represented in failure messages.
61
+ (Siva Gollapalli, Myron Marston, #932)
62
+ * Rename `RSpec::Mocks::Configuration#when_declaring_verifying_double` to
63
+ `RSpec::Mocks::Configuration#before_verifying_doubles` and utilise when
64
+ verifying partial doubles. (Jon Rowe, #940)
65
+ * Use rspec-support's `ObjectFormatter` for improved formatting of
66
+ arguments in failure messages so that, for example, full time
67
+ precisions is displayed for time objects. (Gavin Miller, Myron Marston, #955)
68
+
69
+ Bug Fixes:
70
+
71
+ * Ensure expectations that raise eagerly also raise during RSpec verification.
72
+ This means that if exceptions are caught inside test execution the test will
73
+ still fail. (Sam Phippen, #884)
74
+ * Fix `have_received(msg).with(args).exactly(n).times` and
75
+ `receive(msg).with(args).exactly(n).times` failure messages
76
+ for when the message was received the wrong number of times with
77
+ the specified args, and also received additional times with other
78
+ arguments. Previously it confusingly listed the arguments as being
79
+ mis-matched (even when the double was allowed to receive with any
80
+ args) rather than listing the count. (John Ceh, #918)
81
+ * Fix `any_args`/`anything` support so that we avoid calling `obj == anything`
82
+ on user objects that may have improperly implemented `==` in a way that
83
+ raises errors. (Myron Marston, #924)
84
+ * Fix edge case involving stubbing the same method on a class and a subclass
85
+ which previously hit a `NoMethodError` internally in RSpec. (Myron Marston #954)
86
+ * Fix edge case where the message received count would be incremented multiple
87
+ times for one failure. (Myron Marston, #957)
88
+ * Fix failure messages for when spies received the expected message with
89
+ different arguments and also received another message. (Maurício Linhares, #960)
90
+ * Silence whitespace-only diffs. (Myron Marston, #969)
91
+
92
+ ### 3.2.1 / 2015-02-23
93
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.2.0...v3.2.1)
94
+
95
+ Bug Fixes:
96
+
97
+ * Add missing `rspec/support/differ` require so that rspec-mocks can be
98
+ used w/o rspec-expectations (which also loads the differ and hided the
99
+ fact we forgot to require it). (Myron Marston, #893)
100
+ * Revert tracking of received arg mutation (added in 3.2.0 to provide an
101
+ error in a situation we can't support) as our implementation has side
102
+ effects on non-standard objects and there's no solution we could come
103
+ up with that always works. (Myron Marston, #900)
104
+
105
+ ### 3.2.0 / 2015-02-03
106
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.3...v3.2.0)
107
+
108
+ Enhancements:
109
+
110
+ * Treat `any_args` as an arg splat, allowing it to match an arbitrary
111
+ number of args at any point in an arg list. (Myron Marston, #786)
112
+ * Print diffs when arguments in mock expectations are mismatched.
113
+ (Sam Phippen, #751)
114
+ * Support names for verified doubles (`instance_double`, `instance_spy`,
115
+ `class_double`, `class_spy`, `object_double`, `object_spy`). (Cezary
116
+ Baginski, #826)
117
+ * Make `array_including` and `hash_including` argument matchers composable.
118
+ (Sam Phippen, #819)
119
+ * Make `allow_any_instance_of(...).to receive(...).and_wrap_original`
120
+ work. (Ryan Fitzgerald, #869)
121
+
122
+ Bug Fixes:
123
+
124
+ * Provide a clear error when users wrongly combine `no_args` with
125
+ additional arguments (e.g. `expect().to receive().with(no_args, 1)`).
126
+ (Myron Marston, #786)
127
+ * Provide a clear error when users wrongly use `any_args` multiple times in the
128
+ same argument list (e.g. `expect().to receive().with(any_args, 1, any_args)`.
129
+ (Myron Marston, #786)
130
+ * Prevent the error generator from using user object #description methods.
131
+ See [#685](https://github.com/rspec/rspec-mocks/issues/685).
132
+ (Sam Phippen, #751)
133
+ * Make verified doubles declared as `(instance|class)_double(SomeConst)`
134
+ work properly when `SomeConst` has previously been stubbed.
135
+ `(instance|class)_double("SomeClass")` already worked properly.
136
+ (Myron Marston, #824)
137
+ * Add a matcher description for `receive`, `receive_messages` and
138
+ `receive_message_chain`. (Myron Marston, #828)
139
+ * Validate invocation args for null object verified doubles.
140
+ (Myron Marston, #829)
141
+ * Fix `RSpec::Mocks::Constant.original` when called with an invalid
142
+ constant to return an object indicating the constant name is invalid,
143
+ rather than blowing up. (Myron Marston, #833)
144
+ * Make `extend RSpec::Mocks::ExampleMethods` on any object work properly
145
+ to add the rspec-mocks API to that object. Previously, `expect` would
146
+ be undefined. (Myron Marston, #846)
147
+ * Fix `require 'rspec/mocks/standalone'` so that it only affects `main`
148
+ and not every object. It's really only intended to be used in a REPL
149
+ like IRB, but some gems have loaded it, thinking it needs to be loaded
150
+ when using rspec-mocks outside the context of rspec-core.
151
+ (Myron Marston, #846)
152
+ * Prevent message expectations from being modified by customization methods
153
+ (e.g. `with`) after they have been invoked. (Sam Phippen and Melanie Gilman, #837)
154
+ * Handle cases where a method stub cannot be removed due to something
155
+ external to RSpec monkeying with the method definition. This can
156
+ happen, for example, when you `file.reopen(io)` after previously
157
+ stubbing a method on the `file` object. (Myron Marston, #853)
158
+ * Provide a clear error when received message args are mutated before
159
+ a `have_received(...).with(...)` expectation. (Myron Marston, #868)
160
+
161
+ ### 3.1.3 / 2014-10-08
162
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.2...v3.1.3)
163
+
164
+ Bug Fixes:
165
+
166
+ * Correct received messages count when used with `have_received` matcher.
167
+ (Jon Rowe, #793)
168
+ * Provide a clear error message when you use `allow_any_instance_of(...)` or
169
+ `expect_any_instance_of(...)` with the `have_received` matcher (they are
170
+ not intended to be used together and previously caused an odd internal
171
+ failure in rspec-mocks). (Jon Rowe, #799).
172
+ * Fix verified double `with` verification so that it applies to method
173
+ stubs. (Myron Marston, #790)
174
+
175
+ ### 3.1.2 / 2014-09-26
176
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.1...v3.1.2)
177
+
178
+ Bug Fixes:
179
+
180
+ * Provide a clear error message when you use `allow(...)` with the
181
+ `have_received` matcher (they are not intended to be used together
182
+ and previously caused an odd internal failure in rspec-mocks). (Jon Rowe, #788).
183
+
184
+ ### 3.1.1 / 2014-09-18
185
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.0...v3.1.1)
186
+
187
+ Bug Fixes:
188
+
189
+ * Prevent included modules being detected as prepended modules on Ruby 2.0
190
+ when using `any_instance_of(...)`. (Tony Novak, #781)
191
+
192
+ ### 3.1.0 / 2014-09-04
193
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.4...v3.1.0)
194
+
195
+ Enhancements:
196
+
197
+ * Add spying methods (`spy`, `ìnstance_spy`, `class_spy` and `object_spy`)
198
+ which create doubles as null objects for use with spying in testing. (Sam
199
+ Phippen, #671)
200
+ * `have_received` matcher will raise "does not implement" errors correctly when
201
+ used with verifying doubles and partial doubles. (Xavier Shay, #722)
202
+ * Allow matchers to be used in place of keyword arguments in `with`
203
+ expectations. (Xavier Shay, #726)
204
+ * Add `thrice` modifier to message expectation interface as a synonym
205
+ for `exactly(3).times`. (Dennis Taylor, #753)
206
+ * Add more `thrice` synonyms e.g. `.at_least(:thrice)`, `.at_most(:thrice)`,
207
+ `receive(...).thrice` and `have_received(...).thrice`. (Jon Rowe, #754)
208
+ * Add `and_wrap_original` modifier for partial doubles to mutate the
209
+ response from a method. (Jon Rowe, #762)
210
+
211
+ Bug Fixes:
212
+
213
+ * Remove `any_number_of_times` from `any_instance` recorders that were
214
+ erroneously causing mention of the method in documentation. (Jon Rowe, #760)
215
+ * Prevent included modules being detected as prepended modules on Ruby 2.0.
216
+ (Eugene Kenny, #771)
217
+
218
+ ### 3.0.4 / 2014-08-14
219
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.3...v3.0.4)
220
+
221
+ Bug Fixes:
222
+
223
+ * Restore `kind_of(x)` to match using `arg.kind_of?(x)` (like RSpec 2)
224
+ rather than `x === arg`. (Jon Rowe, #750)
225
+
226
+ ### 3.0.3 / 2014-07-21
227
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.2...v3.0.3)
228
+
229
+ Bug Fixes:
230
+
231
+ * `have_received` matcher will raise "does not implement" errors correctly when
232
+ used with verifying doubles and partial doubles. (Xavier Shay, #722)
233
+ * Make `double.as_null_object.dup` and `double.as_null_object.clone`
234
+ make the copies be null objects. (Myron Marston, #732)
235
+ * Don't inadvertently define `BasicObject` in 1.8.7. (Chris Griego, #739)
236
+
237
+ ### 3.0.2 / 2014-06-19
238
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.1...v3.0.2)
239
+
240
+ Bug Fixes:
241
+
242
+ * Fix edge case that triggered "can't add a new key into hash during
243
+ iteration" during mock verification. (Sam Phippen, Myron Marston, #711)
244
+ * Fix verifying doubles so that when they accidentally leak into another
245
+ example, they provide the same clear error message that normal doubles
246
+ do. (Myron Marston, #718)
247
+ * Make `ordered` work with exact receive counts. (Sam Phippen, #713)
248
+
249
+ ### 3.0.1 / 2014-06-07
250
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.0...v3.0.1)
251
+
252
+ Bug Fixes:
253
+
254
+ * Fix `receive_message_chain(...)` so that it supports `with` just like
255
+ `stub_chain` did. (Jon Rowe, #697)
256
+ * Fix regression in `expect_any_instance_of` so that it expects the
257
+ message on _any_ instance rather than on _every_ instance.
258
+ (Myron Marston, #699)
259
+
260
+ ### 3.0.0 / 2014-06-01
261
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.0.rc1...v3.0.0)
262
+
263
+ Bug Fixes:
264
+
265
+ * Fix module prepend detection to work properly on ruby 2.0 for a case
266
+ where a module is extended onto itself. (Myron Marston)
267
+ * Fix `transfer_nested_constants` option so that transferred constants
268
+ get properly reset at the end of the example. (Myron Marston)
269
+ * Fix `config.transfer_nested_constants = true` so that you don't
270
+ erroneously get errors when stubbing a constant that is not a module
271
+ or a class. (Myron Marston)
272
+ * Fix regression that caused `double(:class => SomeClass)` to later
273
+ trigger infinite recursion. (Myron Marston)
274
+ * Fix bug in `have_received(...).with(...).ordered` where it was not
275
+ taking the args into account when checking the order. (Myron Marston)
276
+ * Fix bug in `have_received(...).ordered` where it was wrongly
277
+ considering stubs when checking the order. (Myron Marston)
278
+ * Message expectation matchers now show descriptions from argument
279
+ matchers when their expectations aren't met. (Jon Rowe)
280
+ * Display warning when encountering `TypeError` during instance method
281
+ staging on 2.0.0-p195, suffers from https://bugs.ruby-lang.org/issues/8686
282
+ too. (Cezar Halmagean).
283
+
284
+ ### 3.0.0.rc1 / 2014-05-18
285
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.0.beta2...v3.0.0.rc1)
286
+
287
+ Breaking Changes for 3.0.0:
288
+
289
+ * Remove `RSpec::Mocks::TestDouble.extend_onto`. (Myron Marston)
290
+ * Remove `RSpec::Mocks::ConstantStubber`. (Jon Rowe)
291
+ * Make monkey-patch of Marshal to support dumping of stubbed objects opt-in.
292
+ (Xavier Shay)
293
+
294
+ Enhancements:
295
+
296
+ * Instead of crashing when cleaning up stub methods on a frozen object, it now
297
+ issues a warning explaining that it's impossible to clean up the stubs.
298
+ (Justin Coyne and Sam Phippen)
299
+ * Add meaningful descriptions to `anything`, `duck_type` and `instance_of` argument
300
+ matchers. (Jon Rowe)
301
+
302
+ Bug Fixes:
303
+
304
+ * Fix regression introduced in 3.0.0.beta2 that caused
305
+ `double.as_null_object.to_str` to return the double rather
306
+ than a string. (Myron Marston)
307
+ * Fix bug in `expect(dbl).to receive_message_chain(:foo, :bar)` where it was
308
+ not setting an expectation for the last message in the chain.
309
+ (Jonathan del Strother)
310
+ * Allow verifying partial doubles to have private methods stubbed. (Xavier Shay)
311
+ * Fix bug with allowing/expecting messages on Class objects which have had
312
+ their singleton class prepended to. (Jon Rowe)
313
+ * Fix an issue with 1.8.7 not running implementation blocks on partial doubles.
314
+ (Maurício Linhares)
315
+ * Prevent `StackLevelTooDeep` errors when stubbing an `any_instance` method that's
316
+ accessed in `inspect` by providing our own inspect output. (Jon Rowe)
317
+ * Fix bug in `any_instance` logic that did not allow you to mock or stub
318
+ private methods if `verify_partial_doubles` was configured. (Oren Dobzinski)
319
+ * Include useful error message when trying to observe an unimplemented method
320
+ on an any instance. (Xavier Shay)
321
+ * Fix `and_call_original` to work properly when multiple classes in an
322
+ inheritance hierarchy have been stubbed with the same method. (Myron Marston)
323
+ * Fix `any_instance` so that it updates existing instances that have
324
+ already been stubbed. (Myron Marston)
325
+ * Fix verified doubles so that their class name is included in failure
326
+ messages. (Myron Marston)
327
+ * Fix `expect_any_instance_of` so that when the message is received
328
+ on an individual instance that has been directly stubbed, it still
329
+ satisfies the expectation. (Sam Phippen, Myron Marston)
330
+ * Explicitly disallow using `any_instance` to mock or stub a method
331
+ that is defined on a module prepended onto the class. This triggered
332
+ `SystemStackError` before and is very hard to support so we are not
333
+ supporting it at this time. (Myron Marston)
334
+
335
+ ### 3.0.0.beta2 / 2014-02-17
336
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.0.beta1...v3.0.0.beta2)
337
+
338
+ Breaking Changes for 3.0.0:
339
+
340
+ * Rename `RSpec::Mocks::Mock` to `RSpec::Mocks::Double`. (Myron Marston)
341
+ * Change how to integrate rspec-mocks in other test frameworks. You now
342
+ need to include `RSpec::Mocks::ExampleMethods` in your test context.
343
+ (Myron Marston)
344
+ * Prevent RSpec mocks' doubles and partial doubles from being used outside of
345
+ the per-test lifecycle (e.g. from a `before(:all)` hook). (Sam Phippen)
346
+ * Remove the `host` argument of `RSpec::Mocks.setup`. Instead
347
+ `RSpec::Mocks::ExampleMethods` should be included directly in the scope where
348
+ RSpec's mocking capabilities are used. (Sam Phippen)
349
+ * Make test doubles raise errors if you attempt to use them after they
350
+ get reset, to help surface issues when you accidentally retain
351
+ references to test doubles and attempt to reuse them in another
352
+ example. (Myron Marston)
353
+ * Remove support for `and_return { value }` and `and_return` without arguments. (Yuji Nakayama)
354
+
355
+ Enhancements:
356
+
357
+ * Add `receive_message_chain` which provides the functionality of the old
358
+ `stub_chain` for the new allow/expect syntax. Use it like so: `allow(...).to
359
+ receive_message_chain(:foo, :bar, :bazz)`. (Sam Phippen).
360
+ * Change argument matchers to use `===` as their primary matching
361
+ protocol, since their semantics mirror that of a case or rescue statement
362
+ (which uses `===` for matching). (Myron Marston)
363
+ * Add `RSpec::Mocks.with_temporary_scope`, which allows you to create
364
+ temporary rspec-mocks scopes in arbitrary places (such as a
365
+ `before(:all)` hook). (Myron Marston)
366
+ * Support keyword arguments when checking arity with verifying doubles.
367
+ (Xavier Shay)
368
+
369
+ Bug Fixes:
370
+
371
+ * Fix regression in 3.0.0.beta1 that caused `double("string_name" => :value)`
372
+ to stop working. (Xavier Shay)
373
+ * Fix the way rspec-mocks and rspec-core interact so that if users
374
+ define a `let` with the same name as one of the methods
375
+ from `RSpec::Mocks::ArgumentMatchers`, the user's `let` takes
376
+ precedence. (Michi Huber, Myron Marston)
377
+ * Fix verified doubles so that their methods match the visibility
378
+ (public, protected or private) of the interface they verify
379
+ against. (Myron Marston)
380
+ * Fix verified null object doubles so that they do not wrongly
381
+ report that they respond to anything. They only respond to methods
382
+ available on the interface they verify against. (Myron Marston)
383
+ * Fix deprecation warning for use of old `:should` syntax w/o explicit
384
+ config so that it no longer is silenced by an extension gem such
385
+ as rspec-rails when it calls `config.add_stub_and_should_receive_to`.
386
+ (Sam Phippen)
387
+ * Fix `expect` syntax so that it does not wrongly emit a "You're
388
+ overriding a previous implementation for this stub" warning when
389
+ you are not actually doing that. (Myron Marston)
390
+ * Fix `any_instance.unstub` when used on sub classes for whom the super
391
+ class has had `any_instance.stub` invoked on. (Jon Rowe)
392
+ * Fix regression in `stub_chain`/`receive_message_chain` that caused
393
+ it to raise an `ArgumentError` when passing args to the stubbed
394
+ methods. (Sam Phippen)
395
+ * Correct stub of undefined parent modules all the way down when stubbing a
396
+ nested constant. (Xavier Shay)
397
+ * Raise `VerifyingDoubleNotDefinedError` when a constant is not defined for
398
+ a verifying class double. (Maurício Linhares)
399
+ * Remove `Double#to_str`, which caused confusing `raise some_double`
400
+ behavior. (Maurício Linhares)
401
+
402
+ ### 3.0.0.beta1 / 2013-11-07
403
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.4...v3.0.0.beta1)
404
+
405
+ Breaking Changes for 3.0.0:
406
+
407
+ * Raise an explicit error if `should_not_receive(...).and_return` is used. (Sam
408
+ Phippen)
409
+ * Remove 1.8.6 workarounds. (Jon Rowe)
410
+ * Remove `stub!` and `unstub!`. (Sam Phippen)
411
+ * Remove `mock(name, methods)` and `stub(name, methods)`, leaving
412
+ `double(name, methods)` for creating test doubles. (Sam Phippen, Michi Huber)
413
+ * Remove `any_number_of_times` since `should_receive(:msg).any_number_of_times`
414
+ is really a stub in a mock's clothing. (Sam Phippen)
415
+ * Remove support for re-using the same null-object test double in multiple
416
+ examples. Test doubles are designed to only live for one example.
417
+ (Myron Marston)
418
+ * Make `at_least(0)` raise an error. (Sam Phippen)
419
+ * Remove support for `require 'spec/mocks'` which had been kept
420
+ in place for backwards compatibility with RSpec 1. (Myron Marston)
421
+ * Blocks provided to `with` are always used as implementation. (Xavier Shay)
422
+ * The config option (added in 2.99) to yield the receiver to
423
+ `any_instance` implementation blocks now defaults to "on". (Sam Phippen)
424
+
425
+ Enhancements:
426
+
427
+ * Allow the `have_received` matcher to use a block to set further expectations
428
+ on arguments. (Tim Cowlishaw)
429
+ * Provide `instance_double` and `class_double` to create verifying doubles,
430
+ ported from `rspec-fire`. (Xavier Shay)
431
+ * `as_null_object` on a verifying double only responds to defined methods.
432
+ (Xavier Shay)
433
+ * Provide `object_double` to create verified doubles of specific object
434
+ instances. (Xavier Shay)
435
+ * Provide `verify_partial_doubles` configuration that provides `object_double`
436
+ like verification behaviour on partial doubles. (Xavier Shay)
437
+ * Improved performance of double creation, particularly those with many
438
+ attributes. (Xavier Shay)
439
+ * Default value of `transfer_nested_constants` option for constant stubbing can
440
+ be configured. (Xavier Shay)
441
+ * Messages can be allowed or expected on in bulk via
442
+ `receive_messages(:message => :value)`. (Jon Rowe)
443
+ * `allow(Klass.any_instance)` and `expect(Klass.any_instance)` now print a
444
+ warning. This is usually a mistake, and users usually want
445
+ `allow_any_instance_of` or `expect_any_instance_of` instead. (Sam Phippen)
446
+ * `instance_double` and `class_double` raise `ArgumentError` if the underlying
447
+ module is loaded and the arity of the method being invoked does not match the
448
+ arity of the method as it is actually implemented. (Andy Lindeman)
449
+ * Spies can now check their invocation ordering is correct. (Jon Rowe)
450
+
451
+ Deprecations:
452
+
453
+ * Using the old `:should` syntax without explicitly configuring it
454
+ is deprecated. It will continue to work but will emit a deprecation
455
+ warning in RSpec 3 if you do not explicitly enable it. (Sam Phippen)
456
+
457
+ Bug Fixes:
458
+
459
+ * Fix `and_call_original` to handle a complex edge case involving
460
+ singleton class ancestors. (Marc-André Lafortune, Myron Marston)
461
+ * When generating an error message for unexpected arguments,
462
+ use `#inspect` rather than `#description` if `#description`
463
+ returns `nil` or `''` so that you still get a useful message.
464
+ (Nick DeLuca)
465
+
466
+ ### 2.99.4 / 2015-06-19
467
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.3...v2.99.4)
468
+
469
+ Bug Fixes:
470
+
471
+ * Add missing deprecation for using `with` with no arguments e.g. `with()`. (Yousuke, #970)
472
+
473
+ ### 2.99.3 / 2015-01-09
474
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.2...v2.99.3)
475
+
476
+ Bug Fixes:
477
+
478
+ * Fix regression that caused an error when a test double was deserialized from YAML. (Yuji Nakayama, #777)
479
+
480
+ ### 2.99.2 / 2014-07-21
481
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.1...v2.99.2)
482
+
483
+ Enhancements:
484
+
485
+ * Warn about upcoming change to `#===` matching and `DateTime#===` behaviour.
486
+ (Jon Rowe, #735)
487
+
488
+ ### 2.99.1 / 2014-06-12
489
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.0...v2.99.1)
490
+
491
+ Bug Fixes:
492
+
493
+ * Fix bug that caused errors at the end of each example
494
+ when a `double.as_null_object` had been frozen. (Yuji Nakayama, #698)
495
+
496
+ Deprecations:
497
+
498
+ * Deprecate freezing a test double. (Yuji Nakayama, #698)
499
+
500
+ ### 2.99.0 / 2014-06-01
501
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.0.rc1...v2.99.0)
502
+
503
+ No changes. Just taking it out of pre-release.
504
+
505
+ ### 2.99.0.rc1 / 2014-05-18
506
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.0.beta2...v2.99.0.rc1)
507
+
508
+ Deprecations:
509
+
510
+ * Deprecate `RSpec::Mocks::TestDouble.extend_onto`. (Myron Marston)
511
+ * Deprecate `RSpec::Mocks::ConstantStubber`. (Jon Rowe)
512
+ * Deprecate `Marshal.dump` monkey-patch without opt-in. (Xavier Shay)
513
+
514
+ ### 2.99.0.beta2 / 2014-02-17
515
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.0.beta1...v2.99.0.beta2)
516
+
517
+ Deprecations:
518
+
519
+ * Deprecate `RSpec::Mocks::Mock` in favor of `RSpec::Mocks::Double`.
520
+ (Myron Marston)
521
+ * Deprecate the `host` argument of `RSpec::Mocks.setup`. Instead
522
+ `RSpec::Mocks::ExampleMethods` should be included directly in the scope where
523
+ RSpec's mocking capabilities are used. (Sam Phippen)
524
+ * Deprecate using any of rspec-mocks' features outside the per-test
525
+ lifecycle (e.g. from a `before(:all)` hook). (Myron Marston)
526
+ * Deprecate re-using a test double in another example. (Myron Marston)
527
+ * Deprecate `and_return { value }` and `and_return` without arguments. (Yuji Nakayama)
528
+
529
+ ### 2.99.0.beta1 / 2013-11-07
530
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.4...v2.99.0.beta1)
531
+
532
+ Deprecations
533
+
534
+ * Expecting to use lambdas or other strong arity implementations for stub
535
+ methods with mis-matched arity is deprecated and support for them will be
536
+ removed in 3.0. Either provide the right amount of arguments or use a weak
537
+ arity implementation (methods with splats or procs). (Jon Rowe)
538
+ * Using the same test double instance in multiple examples is deprecated. Test
539
+ doubles are only meant to live for one example. The mocks and stubs have
540
+ always been reset between examples; however, in 2.x the `as_null_object`
541
+ state was not reset and some users relied on this to have a null object
542
+ double that is used for many examples. This behavior will be removed in 3.0.
543
+ (Myron Marston)
544
+ * Print a detailed warning when an `any_instance` implementation block is used
545
+ when the new `yield_receiver_to_any_instance_implementation_blocks` config
546
+ option is not explicitly set, as RSpec 3.0 will default to enabling this new
547
+ feature. (Sam Phippen)
548
+
549
+ Enhancements:
550
+
551
+ * Add a config option to yield the receiver to `any_instance` implementation
552
+ blocks. (Sam Phippen)
553
+
554
+ ### 2.14.6 / 2014-02-20
555
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.5...v2.14.6)
556
+
557
+ Bug Fixes:
558
+
559
+ * Ensure `any_instance` method stubs and expectations are torn down regardless of
560
+ expectation failures. (Sam Phippen)
561
+
562
+ ### 2.14.5 / 2014-02-01
563
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.4...v2.14.5)
564
+
565
+ Bug Fixes:
566
+
567
+ * Fix regression that caused block implementations to not receive all
568
+ args on 1.8.7 if the block also receives a block, due to Proc#arity
569
+ reporting `1` no matter how many args the block receives if it
570
+ receives a block, too. (Myron Marston)
571
+
572
+ ### 2.14.4 / 2013-10-15
573
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.3...v2.14.4)
574
+
575
+ Bug Fixes:
576
+
577
+ * Fix issue where unstubing methods on "any instances" would not
578
+ remove stubs on existing instances (Jon Rowe)
579
+ * Fix issue with receive(:message) do ... end precedence preventing
580
+ the usage of modifications (`and_return` etc) (Jon Rowe)
581
+
582
+ ### 2.14.3 / 2013-08-08
583
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.2...v2.14.3)
584
+
585
+ Bug Fixes:
586
+
587
+ * Fix stubbing some instance methods for classes whose hierarchy includes
588
+ a prepended Module (Bradley Schaefer)
589
+
590
+ ### 2.14.2 / 2013-07-30
591
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.1...v2.14.2)
592
+
593
+ Bug Fixes:
594
+
595
+ * Fix `as_null_object` doubles so that they return `nil` from `to_ary`
596
+ (Jon Rowe).
597
+ * Fix regression in 2.14 that made `stub!` (with an implicit receiver)
598
+ return a test double rather than stub a method (Myron Marston).
599
+
600
+ ### 2.14.1 / 2013-07-07
601
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.0...v2.14.1)
602
+
603
+ Bug Fixes:
604
+
605
+ * Restore `double.as_null_object` behavior from 2.13 and earlier: a
606
+ double's nullness persisted between examples in earlier examples.
607
+ While this is not an intended use case (test doubles are meant to live
608
+ for only one example), we don't want to break behavior users rely
609
+ on in a minor relase. This will be deprecated in 2.99 and removed
610
+ in 3.0. (Myron Marston)
611
+
612
+ ### 2.14.0 / 2013-07-06
613
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.0.rc1...v2.14.0)
614
+
615
+ Enhancements:
616
+
617
+ * Document test spies in the readme. (Adarsh Pandit)
618
+ * Add an `array_including` matcher. (Sam Phippen)
619
+ * Add a syntax-agnostic API for mocking or stubbing a method. This is
620
+ intended for use by libraries such as rspec-rails that need to mock
621
+ or stub a method, and work regardless of the syntax the user has
622
+ configured (Paul Annesley, Myron Marston and Sam Phippen).
623
+
624
+ Bug Fixes:
625
+
626
+ * Fix `double` so that it sets up passed stubs correctly regardless of
627
+ the configured syntax (Paul Annesley).
628
+ * Allow a block implementation to be used in combination with
629
+ `and_yield`, `and_raise`, `and_return` or `and_throw`. This got fixed
630
+ in 2.13.1 but failed to get merged into master for the 2.14.0.rc1
631
+ release (Myron Marston).
632
+ * `Marshal.dump` does not unnecessarily duplicate objects when rspec-mocks has
633
+ not been fully initialized. This could cause errors when using `spork` or
634
+ similar preloading gems (Andy Lindeman).
635
+
636
+ ### 2.14.0.rc1 / 2013-05-27
637
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.13.0...v2.14.0.rc1)
638
+
639
+ Enhancements:
640
+
641
+ * Refactor internals so that the mock proxy methods and state are held
642
+ outside of the mocked object rather than inside it. This paves the way
643
+ for future syntax enhancements and removes the need for some hacky
644
+ work arounds for `any_instance` dup'ing and `YAML` serialization,
645
+ among other things. Note that the code now relies upon `__id__`
646
+ returning a unique, consistent value for any object you want to
647
+ mock or stub (Myron Marston).
648
+ * Add support for test spies. This allows you to verify a message
649
+ was received afterwards using the `have_received` matcher.
650
+ Note that you must first stub the method or use a null double.
651
+ (Joe Ferris and Joël Quenneville)
652
+ * Make `at_least` and `at_most` style receive expectations print that they were
653
+ expecting at least or at most some number of calls, rather than just the
654
+ number of calls given in the expectation (Sam Phippen)
655
+ * Make `with` style receive expectations print the args they were expecting, and
656
+ the args that they got (Sam Phippen)
657
+ * Fix some warnings seen under ruby 2.0.0p0 (Sam Phippen).
658
+ * Add a new `:expect` syntax for message expectations
659
+ (Myron Marston and Sam Phippen).
660
+
661
+ Bug fixes
662
+
663
+ * Fix `any_instance` so that a frozen object can be `dup`'d when methods
664
+ have been stubbed on that type using `any_instance` (Jon Rowe).
665
+ * Fix `and_call_original` so that it properly raises an `ArgumentError`
666
+ when the wrong number of args are passed (Jon Rowe).
667
+ * Fix `double` on 1.9.2 so you can wrap them in an Array
668
+ using `Array(my_double)` (Jon Rowe).
669
+ * Fix `stub_const` and `hide_const` to handle constants that redefine `send`
670
+ (Sam Phippen).
671
+ * Fix `Marshal.dump` extension so that it correctly handles nil.
672
+ (Luke Imhoff, Jon Rowe)
673
+ * Fix isolation of `allow_message_expectations_on_nil` (Jon Rowe)
674
+ * Use inspect to format actual arguments on expectations in failure messages (#280, Ben Langfeld)
675
+ * Protect against improperly initialised test doubles (#293) (Joseph Shraibman and Jon Rowe)
676
+
677
+ Deprecations
678
+
679
+ * Deprecate `stub` and `mock` as aliases for `double`. `double` is the
680
+ best term for creating a test double, and it reduces confusion to
681
+ have only one term (Michi Huber).
682
+ * Deprecate `stub!` and `unstub!` in favor of `stub` and `unstub`
683
+ (Jon Rowe).
684
+ * Deprecate `at_least(0).times` and `any_number_of_times` (Michi Huber).
685
+
686
+ ### 2.13.1 / 2013-04-06
687
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.13.0...v2.13.1)
688
+
689
+ Bug fixes
690
+
691
+ * Allow a block implementation to be used in combination with
692
+ `and_yield`, `and_raise`, `and_return` or `and_throw` (Myron Marston).
693
+
694
+ ### 2.13.0 / 2013-02-23
695
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.2...v2.13.0)
696
+
697
+ Bug fixes
698
+
699
+ * Fix bug that caused weird behavior when a method that had
700
+ previously been stubbed with multiple return values (e.g.
701
+ `obj.stub(:foo).and_return(1, 2)`) was later mocked with a
702
+ single return value (e.g. `obj.should_receive(:foo).once.and_return(1)`).
703
+ (Myron Marston)
704
+ * Fix bug related to a mock expectation for a method that already had
705
+ multiple stubs with different `with` constraints. Previously, the
706
+ first stub was used, even though it may not have matched the passed
707
+ args. The fix defers this decision until the message is received so
708
+ that the proper stub response can be chosen based on the passed
709
+ arguments (Myron Marston).
710
+ * Do not call `nil?` extra times on a mocked object, in case `nil?`
711
+ itself is expected a set number of times (Myron Marston).
712
+ * Fix `missing_default_stub_error` message so array args are handled
713
+ properly (Myron Marston).
714
+ * Explicitly disallow `any_instance.unstub!` (Ryan Jones).
715
+ * Fix `any_instance` stubbing so that it works with `Delegator`
716
+ subclasses (Myron Marston).
717
+ * Fix `and_call_original` so that it works with `Delegator` subclasses
718
+ (Myron Marston).
719
+ * Fix `any_instance.should_not_receive` when `any_instance.should_receive`
720
+ is used on the same class in the same example. Previously it would
721
+ wrongly report a failure even when the message was not received
722
+ (Myron Marston).
723
+
724
+ ### 2.12.2 / 2013-01-27
725
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.1...v.2.12.2)
726
+
727
+ Bug fixes
728
+
729
+ * Fix `and_call_original` to work properly for methods defined
730
+ on a module extended onto an object instance (Myron Marston).
731
+ * Fix `stub_const` with an undefined constnat name to work properly
732
+ with constant strings that are prefixed with `::` -- and edge case
733
+ I missed in the bug fix in the 2.12.1 release (Myron Marston).
734
+ * Ensure method visibility on a partial mock is restored after reseting
735
+ method stubs, even on a singleton module (created via `extend self`)
736
+ when the method visibility differs between the instance and singleton
737
+ versions (Andy Lindeman).
738
+
739
+ ### 2.12.1 / 2012-12-21
740
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.0...v2.12.1)
741
+
742
+ Bug fixes
743
+
744
+ * Fix `any_instance` to support `and_call_original`.
745
+ (Myron Marston)
746
+ * Properly restore stubbed aliased methods on rubies
747
+ that report the incorrect owner (Myron Marston and Andy Lindeman).
748
+ * Fix `hide_const` and `stub_const` with a defined constnat name to
749
+ work properly with constant strings that are prefixed with `::` (Myron Marston).
750
+
751
+ ### 2.12.0 / 2012-11-12
752
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.3...v2.12.0)
753
+
754
+ Enhancements
755
+
756
+ * `and_raise` can accept an exception class and message, more closely
757
+ matching `Kernel#raise` (e.g., `foo.stub(:bar).and_raise(RuntimeError, "message")`)
758
+ (Bas Vodde)
759
+ * Add `and_call_original`, which will delegate the message to the
760
+ original method (Myron Marston).
761
+
762
+ Deprecations:
763
+
764
+ * Add deprecation warning when using `and_return` with `should_not_receive`
765
+ (Neha Kumari)
766
+
767
+ ### 2.11.3 / 2012-09-19
768
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.2...v2.11.3)
769
+
770
+ Bug fixes
771
+
772
+ * Fix `:transfer_nested_constants` option of `stub_const` so that it
773
+ doesn't blow up when there are inherited constants. (Myron Marston)
774
+ * `any_instance` stubs can be used on classes that override `Object#method`.
775
+ (Andy Lindeman)
776
+ * Methods stubbed with `any_instance` are unstubbed after the test finishes.
777
+ (Andy Lindeman)
778
+ * Fix confusing error message when calling a mocked class method an
779
+ extra time with the wrong arguments (Myron Marston).
780
+
781
+ ### 2.11.2 / 2012-08-11
782
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.1...v2.11.2)
783
+
784
+ Bug fixes
785
+
786
+ * Don't modify `dup` on classes that don't support `dup` (David Chelimsky)
787
+ * Fix `any_instance` so that it works properly with methods defined on
788
+ a superclass. (Daniel Eguzkiza)
789
+ * Fix `stub_const` so that it works properly for nested constants that
790
+ share a name with a top-level constant (e.g. "MyGem::Hash"). (Myron
791
+ Marston)
792
+
793
+ ### 2.11.1 / 2012-07-09
794
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.0...v2.11.1)
795
+
796
+ Bug fixes
797
+
798
+ * Fix `should_receive` so that when it is called on an `as_null_object`
799
+ double with no implementation, and there is a previous explicit stub
800
+ for the same method, the explicit stub remains (rather than being
801
+ overriden with the null object implementation--`return self`). (Myron Marston)
802
+
803
+ ### 2.11.0 / 2012-07-07
804
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.10.1...v2.11.0)
805
+
806
+ Enhancements
807
+
808
+ * Expose ArgumentListMatcher as a formal API
809
+ * supports use by 3rd party mock frameworks like Surrogate
810
+ * Add `stub_const` API to stub constants for the duration of an
811
+ example (Myron Marston).
812
+
813
+ Bug fixes
814
+
815
+ * Fix regression of edge case behavior. `double.should_receive(:foo) { a }`
816
+ was causing a NoMethodError when `double.stub(:foo).and_return(a, b)`
817
+ had been setup before (Myron Marston).
818
+ * Infinite loop generated by using `any_instance` and `dup`. (Sidu Ponnappa @kaiwren)
819
+ * `double.should_receive(:foo).at_least(:once).and_return(a)` always returns a
820
+ even if `:foo` is already stubbed.
821
+ * Prevent infinite loop when interpolating a null double into a string
822
+ as an integer (`"%i" % double.as_null_object`). (Myron Marston)
823
+ * Fix `should_receive` so that null object behavior (e.g. returning
824
+ self) is preserved if no implementation is given (Myron Marston).
825
+ * Fix `and_raise` so that it raises `RuntimeError` rather than
826
+ `Exception` by default, just like ruby does. (Andrew Marshall)
827
+
828
+ ### 2.10.1 / 2012-05-05
829
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.10.0...v2.10.1)
830
+
831
+ Bug fixes
832
+
833
+ * fix regression of edge case behavior
834
+ (https://github.com/rspec/rspec-mocks/issues/132)
835
+ * fixed failure of `object.should_receive(:message).at_least(0).times.and_return value`
836
+ * fixed failure of `object.should_not_receive(:message).and_return value`
837
+
838
+ ### 2.10.0 / 2012-05-03
839
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.9.0...v2.10.0)
840
+
841
+ Bug fixes
842
+
843
+ * fail fast when an `exactly` or `at_most` expectation is exceeded
844
+
845
+ ### 2.9.0 / 2012-03-17
846
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0...v2.9.0)
847
+
848
+ Enhancements
849
+
850
+ * Support order constraints across objects (preethiramdev)
851
+
852
+ Bug fixes
853
+
854
+ * Allow a `as_null_object` to be passed to `with`
855
+ * Pass proc to block passed to stub (Aubrey Rhodes)
856
+ * Initialize child message expectation args to match any args (#109 -
857
+ preethiramdev)
858
+
859
+ ### 2.8.0 / 2012-01-04
860
+
861
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc2...v2.8.0)
862
+
863
+ No changes for this release. Just releasing with the other rspec gems.
864
+
865
+ ### 2.8.0.rc2 / 2011-12-19
866
+
867
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
868
+
869
+ No changes for this release. Just releasing with the other rspec gems.
870
+
871
+ ### 2.8.0.rc1 / 2011-11-06
872
+
873
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.7.0...v2.8.0.rc1)
874
+
875
+ Enhancements
876
+
877
+ * Eliminate Ruby warnings (Matijs van Zuijlen)
878
+
879
+ ### 2.7.0 / 2011-10-16
880
+
881
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.6.0...v2.7.0)
882
+
883
+ Enhancements
884
+
885
+ * Use `__send__` rather than `send` (alextk)
886
+ * Add support for `any_instance.stub_chain` (Sidu Ponnappa)
887
+ * Add support for `any_instance` argument matching based on `with` (Sidu
888
+ Ponnappa and Andy Lindeman)
889
+
890
+ Changes
891
+
892
+ * Check for `failure_message_for_should` or `failure_message` instead of
893
+ `description` to detect a matcher (Tibor Claassen)
894
+
895
+ Bug fixes
896
+
897
+ * pass a hash to `any_instance.stub`. (Justin Ko)
898
+ * allow `to_ary` to be called without raising `NoMethodError` (Mikhail
899
+ Dieterle)
900
+ * `any_instance` properly restores private methods (Sidu Ponnappa)
901
+
902
+ ### 2.6.0 / 2011-05-12
903
+
904
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.5.0...v2.6.0)
905
+
906
+ Enhancements
907
+
908
+ * Add support for `any_instance.stub` and `any_instance.should_receive` (Sidu
909
+ Ponnappa and Andy Lindeman)
910
+
911
+ Bug fixes
912
+
913
+ * fix bug in which multiple chains with shared messages ending in hashes failed
914
+ to return the correct value
915
+
916
+ ### 2.5.0 / 2011-02-05
917
+
918
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.4.0...v2.5.0)
919
+
920
+ Bug fixes
921
+
922
+ * message expectation counts now work in combination with a stub (Damian
923
+ Nurzynski)
924
+ * fix failure message when message received with incorrect args (Josep M.
925
+ Bach)
926
+
927
+ ### 2.4.0 / 2011-01-02
928
+
929
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.3.0...v2.4.0)
930
+
931
+ No functional changes in this release, which was made to align with the
932
+ rspec-core-2.4.0 release.
933
+
934
+ ### 2.3.0 / 2010-12-12
935
+
936
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.2.0...v2.3.0)
937
+
938
+ Bug fixes
939
+
940
+ * Fix our Marshal extension so that it does not interfere with objects that
941
+ have their own `@mock_proxy` instance variable. (Myron Marston)
942
+
943
+ ### 2.2.0 / 2010-11-28
944
+
945
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.1.0...v2.2.0)
946
+
947
+ Enhancements
948
+
949
+ * Added "rspec/mocks/standalone" for exploring the rspec-mocks in irb.
950
+
951
+ Bug fix
952
+
953
+ * Eliminate warning on splat args without parens (Gioele Barabucci)
954
+ * Fix bug where `obj.should_receive(:foo).with(stub.as_null_object)` would pass
955
+ with a false positive.
956
+
957
+ ### 2.1.0 / 2010-11-07
958
+
959
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.1...v2.1.0)
960
+
961
+ Bug fixes
962
+
963
+ * Fix serialization of stubbed object (Josep M Bach)
964
+
965
+ ### 2.0.0 / 2010-10-10
966
+
967
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.22...v2.0.0)
968
+
969
+ ### 2.0.0.rc / 2010-10-05
970
+
971
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.22...v2.0.0.rc)
972
+
973
+ Enhancements
974
+
975
+ * support passing a block to an expectation block (Nicolas Braem)
976
+ * `obj.should_receive(:msg) {|&block| ... }`
977
+
978
+ Bug fixes
979
+
980
+ * Fix YAML serialization of stub (Myron Marston)
981
+ * Fix rdoc rake task (Hans de Graaff)
982
+
983
+ ### 2.0.0.beta.22 / 2010-09-12
984
+
985
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.20...v2.0.0.beta.22)
986
+
987
+ Bug fixes
988
+
989
+ * fixed regression that broke `obj.stub_chain(:a, :b => :c)`
990
+ * fixed regression that broke `obj.stub_chain(:a, :b) { :c }`
991
+ * `respond_to?` always returns true when using `as_null_object`