dirwatch 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (534) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dirwatch/templates/mac/latex.yml +1 -1
  3. data/lib/dirwatch/version.rb +1 -1
  4. data/vendor/bundle/ruby/2.5.0/cache/ast-2.4.0.gem +0 -0
  5. data/vendor/bundle/ruby/2.5.0/cache/parser-2.5.1.2.gem +0 -0
  6. data/vendor/bundle/ruby/2.5.0/cache/powerpack-0.1.2.gem +0 -0
  7. data/vendor/bundle/ruby/2.5.0/cache/rake-12.3.1.gem +0 -0
  8. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.8.0.gem +0 -0
  9. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.8.0.gem +0 -0
  10. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.8.1.gem +0 -0
  11. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.8.0.gem +0 -0
  12. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.8.0.gem +0 -0
  13. data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.10.0.gem +0 -0
  14. data/vendor/bundle/ruby/2.5.0/cache/unicode-display_width-1.4.0.gem +0 -0
  15. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/CHANGELOG.md +9 -0
  16. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/Gemfile +4 -0
  17. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/LICENSE.MIT +20 -0
  18. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/README.YARD.md +12 -0
  19. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/README.md +23 -0
  20. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/Rakefile +19 -0
  21. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/ast.gemspec +29 -0
  22. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/lib/ast.rb +17 -0
  23. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/lib/ast/node.rb +258 -0
  24. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/lib/ast/processor.rb +12 -0
  25. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/lib/ast/processor/mixin.rb +288 -0
  26. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/lib/ast/sexp.rb +30 -0
  27. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/test/helper.rb +17 -0
  28. data/vendor/bundle/ruby/2.5.0/gems/ast-2.4.0/test/test_ast.rb +271 -0
  29. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/CHANGELOG.md +927 -0
  30. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/CONTRIBUTING.md +17 -0
  31. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/Gemfile +10 -0
  32. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/LICENSE.txt +25 -0
  33. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/README.md +301 -0
  34. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/Rakefile +165 -0
  35. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/bin/ruby-parse +7 -0
  36. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/bin/ruby-rewrite +7 -0
  37. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/doc/AST_FORMAT.md +1735 -0
  38. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/doc/CUSTOMIZATION.md +37 -0
  39. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/doc/INTERNALS.md +21 -0
  40. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/doc/css/common.css +68 -0
  41. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/gauntlet_parser.rb +123 -0
  42. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser.rb +81 -0
  43. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/all.rb +11 -0
  44. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ast/node.rb +40 -0
  45. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ast/processor.rb +241 -0
  46. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/base.rb +267 -0
  47. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/builders/default.rb +1677 -0
  48. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/clobbering_error.rb +13 -0
  49. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/color.rb +32 -0
  50. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/context.rb +51 -0
  51. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/current.rb +83 -0
  52. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/deprecation.rb +13 -0
  53. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/diagnostic.rb +163 -0
  54. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/diagnostic/engine.rb +105 -0
  55. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/lexer.rb +23093 -0
  56. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/lexer.rl +2382 -0
  57. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/lexer/dedenter.rb +79 -0
  58. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/lexer/explanation.rb +55 -0
  59. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/lexer/literal.rb +265 -0
  60. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/lexer/stack_state.rb +49 -0
  61. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/macruby.rb +6122 -0
  62. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/macruby.y +2198 -0
  63. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/messages.rb +84 -0
  64. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/meta.rb +29 -0
  65. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/rewriter.rb +105 -0
  66. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby18.rb +5654 -0
  67. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby18.y +1934 -0
  68. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby19.rb +6077 -0
  69. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby19.y +2175 -0
  70. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby20.rb +6512 -0
  71. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby20.y +2353 -0
  72. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby21.rb +6572 -0
  73. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby21.y +2357 -0
  74. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby22.rb +6600 -0
  75. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby22.y +2364 -0
  76. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby23.rb +6628 -0
  77. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby23.y +2370 -0
  78. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby24.rb +6695 -0
  79. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby24.y +2408 -0
  80. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby25.rb +6661 -0
  81. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby25.y +2405 -0
  82. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby26.rb +6674 -0
  83. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/ruby26.y +2413 -0
  84. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/rubymotion.rb +6083 -0
  85. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/rubymotion.y +2182 -0
  86. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/runner.rb +248 -0
  87. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/runner/ruby_parse.rb +157 -0
  88. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/runner/ruby_rewrite.rb +101 -0
  89. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/buffer.rb +330 -0
  90. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/comment.rb +121 -0
  91. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/comment/associator.rb +210 -0
  92. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map.rb +186 -0
  93. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/collection.rb +18 -0
  94. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/condition.rb +21 -0
  95. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/constant.rb +32 -0
  96. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/definition.rb +23 -0
  97. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/for.rb +19 -0
  98. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/heredoc.rb +19 -0
  99. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/index.rb +33 -0
  100. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/keyword.rb +20 -0
  101. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/objc_kwarg.rb +19 -0
  102. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/operator.rb +17 -0
  103. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/rescue_body.rb +21 -0
  104. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/send.rb +36 -0
  105. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/ternary.rb +18 -0
  106. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/variable.rb +31 -0
  107. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/range.rb +310 -0
  108. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/rewriter.rb +513 -0
  109. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/rewriter/action.rb +44 -0
  110. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/tree_rewriter.rb +301 -0
  111. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/tree_rewriter/action.rb +133 -0
  112. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/static_environment.rb +46 -0
  113. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/syntax_error.rb +21 -0
  114. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/tree_rewriter.rb +133 -0
  115. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/version.rb +5 -0
  116. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/parser.gemspec +51 -0
  117. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/bug_163/fixtures/input.rb +5 -0
  118. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/bug_163/fixtures/output.rb +5 -0
  119. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/bug_163/rewriter.rb +20 -0
  120. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/helper.rb +52 -0
  121. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/parse_helper.rb +315 -0
  122. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/racc_coverage_helper.rb +133 -0
  123. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_base.rb +31 -0
  124. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_current.rb +27 -0
  125. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_diagnostic.rb +96 -0
  126. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_diagnostic_engine.rb +62 -0
  127. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_encoding.rb +99 -0
  128. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_lexer.rb +3537 -0
  129. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_lexer_stack_state.rb +78 -0
  130. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_parse_helper.rb +80 -0
  131. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_parser.rb +7038 -0
  132. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_runner_rewrite.rb +47 -0
  133. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_source_buffer.rb +162 -0
  134. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_source_comment.rb +36 -0
  135. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_source_comment_associator.rb +367 -0
  136. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_source_map.rb +15 -0
  137. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_source_range.rb +172 -0
  138. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_source_rewriter.rb +541 -0
  139. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_source_rewriter_action.rb +46 -0
  140. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_source_tree_rewriter.rb +173 -0
  141. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/test_static_environment.rb +45 -0
  142. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/using_tree_rewriter/fixtures/input.rb +3 -0
  143. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/using_tree_rewriter/fixtures/output.rb +3 -0
  144. data/vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/test/using_tree_rewriter/using_tree_rewriter.rb +9 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/CHANGELOG.md +46 -0
  146. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/CONTRIBUTING.md +62 -0
  147. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/Gemfile +4 -0
  148. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/LICENSE.txt +22 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/README.md +99 -0
  150. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/Rakefile +12 -0
  151. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack.rb +11 -0
  152. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/array.rb +2 -0
  153. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/array/butfirst.rb +15 -0
  154. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/array/butlast.rb +15 -0
  155. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable.rb +9 -0
  156. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/average.rb +20 -0
  157. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/drop_last.rb +20 -0
  158. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/drop_last_while.rb +21 -0
  159. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/exactly.rb +43 -0
  160. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/frequencies.rb +17 -0
  161. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/several.rb +37 -0
  162. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/sum.rb +25 -0
  163. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/take_last.rb +20 -0
  164. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/enumerable/take_last_while.rb +17 -0
  165. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/hash.rb +1 -0
  166. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/hash/symbolize_keys.rb +14 -0
  167. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/numeric.rb +3 -0
  168. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/numeric/neg.rb +19 -0
  169. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/numeric/pos.rb +19 -0
  170. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/numeric/scale.rb +44 -0
  171. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string.rb +9 -0
  172. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/ascii_only.rb +42 -0
  173. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/blank.rb +20 -0
  174. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/format.rb +20 -0
  175. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/remove.rb +17 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/remove_prefix.rb +24 -0
  177. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/remove_suffix.rb +24 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/squish.rb +27 -0
  179. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/strip_indent.rb +22 -0
  180. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/string/strip_margin.rb +21 -0
  181. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/lib/powerpack/version.rb +3 -0
  182. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/powerpack.gemspec +24 -0
  183. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/array/butfirst_spec.rb +11 -0
  184. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/array/butlast_spec.rb +11 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/average_spec.rb +19 -0
  186. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/drop_last_spec.rb +15 -0
  187. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/drop_last_while_spec.rb +7 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/exactly_spec.rb +39 -0
  189. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/frequencies_spec.rb +20 -0
  190. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/several_spec.rb +27 -0
  191. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/sum_spec.rb +29 -0
  192. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/take_last_spec.rb +15 -0
  193. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/enumerable/take_last_while_spec.rb +7 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/hash/symbolize_keys_spec.rb +15 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/numeric/neg_spec.rb +24 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/numeric/pos_spec.rb +24 -0
  197. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/numeric/scale_spec.rb +139 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/ascii_only_spec.rb +45 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/blank_spec.rb +15 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/format_spec.rb +12 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/remove_prefix_spec.rb +21 -0
  202. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/remove_spec.rb +13 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/remove_suffix_spec.rb +21 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/squish_spec.rb +21 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/strip_indent_spec.rb +13 -0
  206. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/powerpack/string/strip_margin_spec.rb +26 -0
  207. data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.2/spec/spec_helper.rb +15 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/CONTRIBUTING.rdoc +36 -0
  209. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/Gemfile +3 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/History.rdoc +2317 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/MIT-LICENSE +21 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/README.rdoc +156 -0
  213. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/Rakefile +41 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/bin/console +7 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/bin/setup +6 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/command_line_usage.rdoc +158 -0
  217. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/example/Rakefile1 +38 -0
  218. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/example/Rakefile2 +35 -0
  219. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/example/a.c +6 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/example/b.c +6 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/example/main.c +11 -0
  222. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/glossary.rdoc +42 -0
  223. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/jamis.rb +592 -0
  224. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/proto_rake.rdoc +127 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/rake.1 +156 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/rakefile.rdoc +622 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/doc/rational.rdoc +151 -0
  228. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake +27 -0
  229. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake.rb +71 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/application.rb +824 -0
  231. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/backtrace.rb +24 -0
  232. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/clean.rb +78 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/cloneable.rb +17 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/cpu_counter.rb +107 -0
  235. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/default_loader.rb +15 -0
  236. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/dsl_definition.rb +195 -0
  237. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/early_time.rb +22 -0
  238. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/ext/core.rb +26 -0
  239. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/ext/string.rb +176 -0
  240. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/file_creation_task.rb +25 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/file_list.rb +435 -0
  242. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/file_task.rb +54 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/file_utils.rb +137 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/file_utils_ext.rb +145 -0
  245. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/invocation_chain.rb +57 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/invocation_exception_mixin.rb +17 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/late_time.rb +18 -0
  248. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/linked_list.rb +112 -0
  249. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/loaders/makefile.rb +54 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/multi_task.rb +14 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/name_space.rb +38 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/packagetask.rb +211 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/phony.rb +16 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/private_reader.rb +21 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/promise.rb +100 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/pseudo_status.rb +30 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/rake_module.rb +67 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb +27 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/scope.rb +43 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/task.rb +411 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/task_argument_error.rb +8 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/task_arguments.rb +109 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/task_manager.rb +323 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/tasklib.rb +12 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/testtask.rb +224 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/thread_history_display.rb +49 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/thread_pool.rb +163 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/trace_output.rb +23 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/version.rb +10 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/win32.rb +51 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/rake.gemspec +42 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.8.0/LICENSE.md +27 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.8.0/README.md +43 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.8.0/lib/rspec.rb +3 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.8.0/lib/rspec/version.rb +5 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/Changelog.md +2221 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/LICENSE.md +26 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/README.md +384 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/exe/rspec +4 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/autorun.rb +3 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core.rb +185 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/backtrace_formatter.rb +65 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/coordinator.rb +62 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/fork_runner.rb +134 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/server.rb +61 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/shell_command.rb +126 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/bisect/utilities.rb +58 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration.rb +2289 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/configuration_options.rb +233 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/drb.rb +113 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/dsl.rb +98 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/example.rb +653 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/example_group.rb +885 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/example_status_persister.rb +235 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/filter_manager.rb +231 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/flat_map.rb +20 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters.rb +269 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/console_codes.rb +68 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/exception_presenter.rb +497 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/helpers.rb +110 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/html_printer.rb +414 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/protocol.rb +182 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/hooks.rb +624 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/invocations.rb +87 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/memoized_helpers.rb +535 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/metadata.rb +499 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/metadata_filter.rb +255 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/notifications.rb +521 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/option_parser.rb +309 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/ordering.rb +158 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/output_wrapper.rb +29 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/pending.rb +165 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/profiler.rb +34 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/project_initializer.rb +48 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/rake_task.rb +168 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/reporter.rb +257 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/ruby_project.rb +53 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/runner.rb +199 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/sandbox.rb +37 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/set.rb +54 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/shared_context.rb +55 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/shared_example_group.rb +269 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/shell_escape.rb +49 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/version.rb +9 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/warnings.rb +40 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.8.0/lib/rspec/core/world.rb +275 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/Changelog.md +1110 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/LICENSE.md +25 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/README.md +305 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations.rb +82 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/configuration.rb +215 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/expectation_target.rb +127 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/fail_with.rb +39 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/failure_aggregator.rb +194 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/handler.rb +170 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/minitest_integration.rb +58 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/syntax.rb +132 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/expectations/version.rb +8 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers.rb +1034 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/aliased_matcher.rb +116 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in.rb +52 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/all.rb +85 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be.rb +288 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/be_within.rb +72 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/change.rb +426 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/compound.rb +271 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
  379. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/cover.rb +24 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/eq.rb +40 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/eql.rb +34 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/equal.rb +81 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/exist.rb +90 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/has.rb +103 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/include.rb +149 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/match.rb +106 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/operators.rb +128 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/output.rb +200 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/raise_error.rb +230 -0
  391. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/respond_to.rb +165 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/built_in/yield.rb +432 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/composable.rb +171 -0
  397. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/dsl.rb +527 -0
  398. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/english_phrasing.rb +58 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
  400. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/fail_matchers.rb +42 -0
  401. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/generated_descriptions.rb +41 -0
  402. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/matcher_delegator.rb +35 -0
  403. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.8.1/lib/rspec/matchers/matcher_protocol.rb +99 -0
  404. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/Changelog.md +1100 -0
  405. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/LICENSE.md +25 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/README.md +460 -0
  407. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks.rb +130 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance.rb +11 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  413. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  414. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  415. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
  419. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/argument_matchers.rb +320 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/configuration.rb +212 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/error_generator.rb +369 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/example_methods.rb +434 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  424. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/marshal_extension.rb +41 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/have_received.rb +134 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/receive.rb +132 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  430. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/message_chain.rb +87 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/message_expectation.rb +741 -0
  432. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/method_double.rb +287 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/method_reference.rb +202 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/minitest_integration.rb +68 -0
  435. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/mutate_const.rb +339 -0
  436. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/object_reference.rb +149 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/order_group.rb +81 -0
  438. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/proxy.rb +485 -0
  439. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/space.rb +238 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/standalone.rb +3 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/syntax.rb +325 -0
  442. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/targets.rb +124 -0
  443. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/test_double.rb +171 -0
  444. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/verifying_double.rb +129 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.8.0/lib/rspec/mocks/version.rb +9 -0
  448. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/Changelog.md +242 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/LICENSE.md +23 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/README.md +40 -0
  451. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support.rb +149 -0
  452. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/caller_filter.rb +83 -0
  453. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/comparable_version.rb +46 -0
  454. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/differ.rb +215 -0
  455. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/directory_maker.rb +63 -0
  456. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/encoded_string.rb +165 -0
  457. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
  458. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/hunk_generator.rb +47 -0
  459. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/matcher_definition.rb +42 -0
  460. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/method_signature_verifier.rb +426 -0
  461. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/mutex.rb +73 -0
  462. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/object_formatter.rb +275 -0
  463. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/recursive_const_methods.rb +76 -0
  464. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/reentrant_mutex.rb +53 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/ruby_features.rb +176 -0
  466. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/source.rb +75 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/source/location.rb +21 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/source/node.rb +110 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/source/token.rb +87 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec.rb +81 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/formatting_support.rb +9 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/shell_out.rb +84 -0
  476. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
  477. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/string_matcher.rb +46 -0
  478. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  479. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/version.rb +7 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.8.0/lib/rspec/support/warnings.rb +39 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/LICENSE.txt +19 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/README.md +38 -0
  484. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/Rakefile +2 -0
  485. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar.rb +18 -0
  486. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/base.rb +183 -0
  487. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/calculators/length.rb +100 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
  489. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components.rb +5 -0
  490. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/bar.rb +102 -0
  491. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/percentage.rb +29 -0
  492. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/rate.rb +43 -0
  493. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/time.rb +107 -0
  494. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/components/title.rb +13 -0
  495. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/format.rb +3 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/format/formatter.rb +27 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/format/molecule.rb +60 -0
  499. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/format/string.rb +36 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/output.rb +68 -0
  501. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
  502. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/outputs/null.rb +33 -0
  503. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
  504. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/progress.rb +118 -0
  505. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/refinements.rb +1 -0
  506. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/refinements/enumerator.rb +23 -0
  507. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/throttle.rb +25 -0
  508. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/time.rb +32 -0
  509. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/timer.rb +72 -0
  510. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.10.0/lib/ruby-progressbar/version.rb +3 -0
  511. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/CHANGELOG.md +113 -0
  512. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/MIT-LICENSE.txt +22 -0
  513. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/README.md +124 -0
  514. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/Rakefile +64 -0
  515. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/data/display_width.marshal.gz +0 -0
  516. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width.rb +51 -0
  517. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width/constants.rb +8 -0
  518. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width/index.rb +12 -0
  519. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width/no_string_ext.rb +7 -0
  520. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/lib/unicode/display_width/string_ext.rb +17 -0
  521. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/spec/display_width_spec.rb +156 -0
  522. data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.4.0/unicode-display_width.gemspec +18 -0
  523. data/vendor/bundle/ruby/2.5.0/specifications/ast-2.4.0.gemspec +59 -0
  524. data/vendor/bundle/ruby/2.5.0/specifications/parser-2.5.1.2.gemspec +62 -0
  525. data/vendor/bundle/ruby/2.5.0/specifications/powerpack-0.1.2.gemspec +41 -0
  526. data/vendor/bundle/ruby/2.5.0/specifications/rake-12.3.1.gemspec +49 -0
  527. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.8.0.gemspec +42 -0
  528. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.8.0.gemspec +62 -0
  529. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.8.1.gemspec +50 -0
  530. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.8.0.gemspec +50 -0
  531. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.8.0.gemspec +41 -0
  532. data/vendor/bundle/ruby/2.5.0/specifications/ruby-progressbar-1.10.0.gemspec +46 -0
  533. data/vendor/bundle/ruby/2.5.0/specifications/unicode-display_width-1.4.0.gemspec +38 -0
  534. metadata +532 -2
@@ -0,0 +1,58 @@
1
+ module RSpec
2
+ module Matchers
3
+ # Facilitates converting ruby objects to English phrases.
4
+ module EnglishPhrasing
5
+ # Converts a symbol into an English expression.
6
+ #
7
+ # split_words(:banana_creme_pie) #=> "banana creme pie"
8
+ #
9
+ def self.split_words(sym)
10
+ sym.to_s.tr('_', ' ')
11
+ end
12
+
13
+ # @note The returned string has a leading space except
14
+ # when given an empty list.
15
+ #
16
+ # Converts an object (often a collection of objects)
17
+ # into an English list.
18
+ #
19
+ # list(['banana', 'kiwi', 'mango'])
20
+ # #=> " \"banana\", \"kiwi\", and \"mango\""
21
+ #
22
+ # Given an empty collection, returns the empty string.
23
+ #
24
+ # list([]) #=> ""
25
+ #
26
+ def self.list(obj)
27
+ return " #{RSpec::Support::ObjectFormatter.format(obj)}" if !obj || Struct === obj
28
+ items = Array(obj).map { |w| RSpec::Support::ObjectFormatter.format(w) }
29
+ case items.length
30
+ when 0
31
+ ""
32
+ when 1
33
+ " #{items[0]}"
34
+ when 2
35
+ " #{items[0]} and #{items[1]}"
36
+ else
37
+ " #{items[0...-1].join(', ')}, and #{items[-1]}"
38
+ end
39
+ end
40
+
41
+ if RUBY_VERSION == '1.8.7'
42
+ # Not sure why, but on travis on 1.8.7 we have gotten these warnings:
43
+ # lib/rspec/matchers/english_phrasing.rb:28: warning: default `to_a' will be obsolete
44
+ # So it appears that `Array` can trigger that (e.g. by calling `to_a` on the passed object?)
45
+ # So here we replace `Kernel#Array` with our own warning-free implementation for 1.8.7.
46
+ # @private
47
+ # rubocop:disable Naming/MethodName
48
+ def self.Array(obj)
49
+ case obj
50
+ when Array then obj
51
+ else [obj]
52
+ end
53
+ end
54
+ # rubocop:enable Naming/MethodName
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,73 @@
1
+ module RSpec
2
+ module Matchers
3
+ # @api private
4
+ # Handles list of expected values when there is a need to render
5
+ # multiple diffs. Also can handle one value.
6
+ class ExpectedsForMultipleDiffs
7
+ # @private
8
+ # Default diff label when there is only one matcher in diff
9
+ # output
10
+ DEFAULT_DIFF_LABEL = "Diff:".freeze
11
+
12
+ # @private
13
+ # Maximum readable matcher description length
14
+ DESCRIPTION_MAX_LENGTH = 65
15
+
16
+ def initialize(expected_list)
17
+ @expected_list = expected_list
18
+ end
19
+
20
+ # @api private
21
+ # Wraps provided expected value in instance of
22
+ # ExpectedForMultipleDiffs. If provided value is already an
23
+ # ExpectedForMultipleDiffs then it just returns it.
24
+ # @param [Any] expected value to be wrapped
25
+ # @return [RSpec::Matchers::ExpectedsForMultipleDiffs]
26
+ def self.from(expected)
27
+ return expected if self === expected
28
+ new([[expected, DEFAULT_DIFF_LABEL]])
29
+ end
30
+
31
+ # @api private
32
+ # Wraps provided matcher list in instance of
33
+ # ExpectedForMultipleDiffs.
34
+ # @param [Array<Any>] matchers list of matchers to wrap
35
+ # @return [RSpec::Matchers::ExpectedsForMultipleDiffs]
36
+ def self.for_many_matchers(matchers)
37
+ new(matchers.map { |m| [m.expected, diff_label_for(m)] })
38
+ end
39
+
40
+ # @api private
41
+ # Returns message with diff(s) appended for provided differ
42
+ # factory and actual value if there are any
43
+ # @param [String] message original failure message
44
+ # @param [Proc] differ
45
+ # @param [Any] actual value
46
+ # @return [String]
47
+ def message_with_diff(message, differ, actual)
48
+ diff = diffs(differ, actual)
49
+ message = "#{message}\n#{diff}" unless diff.empty?
50
+ message
51
+ end
52
+
53
+ private
54
+
55
+ def self.diff_label_for(matcher)
56
+ "Diff for (#{truncated(RSpec::Support::ObjectFormatter.format(matcher))}):"
57
+ end
58
+
59
+ def self.truncated(description)
60
+ return description if description.length <= DESCRIPTION_MAX_LENGTH
61
+ description[0...DESCRIPTION_MAX_LENGTH - 3] << "..."
62
+ end
63
+
64
+ def diffs(differ, actual)
65
+ @expected_list.map do |(expected, diff_label)|
66
+ diff = differ.diff(actual, expected)
67
+ next if diff.strip.empty?
68
+ "#{diff_label}#{diff}"
69
+ end.compact.join("\n")
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,42 @@
1
+ require 'rspec/expectations'
2
+
3
+ module RSpec
4
+ module Matchers
5
+ # Matchers for testing RSpec matchers. Include them with:
6
+ #
7
+ # require 'rspec/matchers/fail_matchers'
8
+ # RSpec.configure do |config|
9
+ # config.include RSpec::Matchers::FailMatchers
10
+ # end
11
+ #
12
+ module FailMatchers
13
+ # Matches if an expectation fails
14
+ #
15
+ # @example
16
+ # expect { some_expectation }.to fail
17
+ def fail(&block)
18
+ raise_error(RSpec::Expectations::ExpectationNotMetError, &block)
19
+ end
20
+
21
+ # Matches if an expectation fails with the provided message
22
+ #
23
+ # @example
24
+ # expect { some_expectation }.to fail_with("some failure message")
25
+ # expect { some_expectation }.to fail_with(/some failure message/)
26
+ def fail_with(message)
27
+ raise_error(RSpec::Expectations::ExpectationNotMetError, message)
28
+ end
29
+
30
+ # Matches if an expectation fails including the provided message
31
+ #
32
+ # @example
33
+ # expect { some_expectation }.to fail_including("portion of some failure message")
34
+ def fail_including(*snippets)
35
+ raise_error(
36
+ RSpec::Expectations::ExpectationNotMetError,
37
+ a_string_including(*snippets)
38
+ )
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,41 @@
1
+ module RSpec
2
+ module Matchers
3
+ class << self
4
+ # @private
5
+ attr_accessor :last_matcher, :last_expectation_handler
6
+ end
7
+
8
+ # @api private
9
+ # Used by rspec-core to clear the state used to generate
10
+ # descriptions after an example.
11
+ def self.clear_generated_description
12
+ self.last_matcher = nil
13
+ self.last_expectation_handler = nil
14
+ end
15
+
16
+ # @api private
17
+ # Generates an an example description based on the last expectation.
18
+ # Used by rspec-core's one-liner syntax.
19
+ def self.generated_description
20
+ return nil if last_expectation_handler.nil?
21
+ "#{last_expectation_handler.verb} #{last_description}"
22
+ end
23
+
24
+ # @private
25
+ def self.last_description
26
+ last_matcher.respond_to?(:description) ? last_matcher.description : <<-MESSAGE
27
+ When you call a matcher in an example without a String, like this:
28
+
29
+ specify { expect(object).to matcher }
30
+
31
+ or this:
32
+
33
+ it { is_expected.to matcher }
34
+
35
+ RSpec expects the matcher to have a #description method. You should either
36
+ add a String to the example this matcher is being used in, or give it a
37
+ description method. Then you won't have to suffer this lengthy warning again.
38
+ MESSAGE
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,35 @@
1
+ module RSpec
2
+ module Matchers
3
+ # Provides the necessary plumbing to wrap a matcher with a decorator.
4
+ # @private
5
+ class MatcherDelegator
6
+ include Composable
7
+ attr_reader :base_matcher
8
+
9
+ def initialize(base_matcher)
10
+ @base_matcher = base_matcher
11
+ end
12
+
13
+ def method_missing(*args, &block)
14
+ base_matcher.__send__(*args, &block)
15
+ end
16
+
17
+ if ::RUBY_VERSION.to_f > 1.8
18
+ def respond_to_missing?(name, include_all=false)
19
+ super || base_matcher.respond_to?(name, include_all)
20
+ end
21
+ else
22
+ # :nocov:
23
+ def respond_to?(name, include_all=false)
24
+ super || base_matcher.respond_to?(name, include_all)
25
+ end
26
+ # :nocov:
27
+ end
28
+
29
+ def initialize_copy(other)
30
+ @base_matcher = @base_matcher.clone
31
+ super
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,99 @@
1
+ module RSpec
2
+ module Matchers
3
+ # rspec-expectations can work with any matcher object that implements this protocol.
4
+ #
5
+ # @note This class is not loaded at runtime by rspec-expectations. It exists
6
+ # purely to provide documentation for the matcher protocol.
7
+ class MatcherProtocol
8
+ # @!group Required Methods
9
+
10
+ # @!method matches?(actual)
11
+ # @param actual [Object] The object being matched against.
12
+ # @yield For an expression like `expect(x).to matcher do...end`, the `do/end`
13
+ # block binds to `to`. It passes that block, if there is one, on to this method.
14
+ # @return [Boolean] true if this matcher matches the provided object.
15
+
16
+ # @!method failure_message
17
+ # This will only be called if {#matches?} returns false.
18
+ # @return [String] Explanation for the failure.
19
+
20
+ # @!endgroup
21
+
22
+ # @!group Optional Methods
23
+
24
+ # @!method does_not_match?(actual)
25
+ # In a negative expectation such as `expect(x).not_to foo`, RSpec will
26
+ # call `foo.does_not_match?(x)` if this method is defined. If it's not
27
+ # defined it will fall back to using `!foo.matches?(x)`. This allows you
28
+ # to provide custom logic for the negative case.
29
+ #
30
+ # @param actual [Object] The object being matched against.
31
+ # @yield For an expression like `expect(x).not_to matcher do...end`, the `do/end`
32
+ # block binds to `not_to`. It passes that block, if there is one, on to this method.
33
+ # @return [Boolean] true if this matcher does not match the provided object.
34
+
35
+ # @!method failure_message_when_negated
36
+ # This will only be called when a negative match fails.
37
+ # @return [String] Explanation for the failure.
38
+ # @note This method is listed as optional because matchers do not have to
39
+ # support negation. But if your matcher does support negation, this is a
40
+ # required method -- otherwise, you'll get a `NoMethodError`.
41
+
42
+ # @!method description
43
+ # The description is used for two things:
44
+ #
45
+ # * When using RSpec's one-liner syntax
46
+ # (e.g. `it { is_expected.to matcher }`), the description
47
+ # is used to generate the example's doc string since you
48
+ # have not provided one.
49
+ # * In a composed matcher expression, the description is used
50
+ # as part of the failure message (and description) of the outer
51
+ # matcher.
52
+ #
53
+ # @return [String] Description of the matcher.
54
+
55
+ # @!method supports_block_expectations?
56
+ # Indicates that this matcher can be used in a block expectation expression,
57
+ # such as `expect { foo }.to raise_error`. Generally speaking, this is
58
+ # only needed for matchers which operate on a side effect of a block, rather
59
+ # than on a particular object.
60
+ # @return [Boolean] true if this matcher can be used in block expressions.
61
+ # @note If not defined, RSpec assumes a value of `false` for this method.
62
+
63
+ # @!method expects_call_stack_jump?
64
+ # Indicates that when this matcher is used in a block expectation
65
+ # expression, it expects the block to use a ruby construct that causes
66
+ # a call stack jump (such as raising an error or throwing a symbol).
67
+ #
68
+ # This is used internally for compound block expressions, as matchers
69
+ # which expect call stack jumps must be treated with care to work properly.
70
+ #
71
+ # @return [Boolean] true if the matcher expects a call stack jump
72
+ #
73
+ # @note This method is very rarely used or needed.
74
+ # @note If not defined, RSpec assumes a value of `false` for this method.
75
+
76
+ # @!method diffable?
77
+ # @return [Boolean] true if `actual` and `expected` can be diffed.
78
+ # Indicates that this matcher provides `actual` and `expected` attributes,
79
+ # and that the values returned by these can be usefully diffed, which can
80
+ # be included in the output.
81
+
82
+ # @!method actual
83
+ # @return [String, Object] If an object (rather than a string) is provided,
84
+ # RSpec will use the `pp` library to convert it to multi-line output in
85
+ # order to diff.
86
+ # The actual value for the purposes of a diff.
87
+ # @note This method is required if `diffable?` returns true.
88
+
89
+ # @!method expected
90
+ # @return [String, Object] If an object (rather than a string) is provided,
91
+ # RSpec will use the `pp` library to convert it to multi-line output in
92
+ # order to diff.
93
+ # The expected value for the purposes of a diff.
94
+ # @note This method is required if `diffable?` returns true.
95
+
96
+ # @!endgroup
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,1100 @@
1
+ ### 3.8.0 / 2018-08-04
2
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.7.0...v3.8.0)
3
+
4
+ Bug Fixes:
5
+
6
+ * Issue error when encountering invalid "counted" negative message expectations.
7
+ (Sergiy Yarinovskiy, #1212)
8
+ * Ensure `allow_any_instance_of` and `expect_any_instance_of` can be temporarily
9
+ supressed. (Jon Rowe, #1228)
10
+ * Ensure `expect_any_instance_of(double).to_not have_received(:some_method)`
11
+ fails gracefully (as its not supported) rather than issuing a `NoMethodError`.
12
+ (Maxim Krizhanovsky, #1231)
13
+
14
+ ### 3.7.0 / 2017-10-17
15
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.6.0...v3.7.0)
16
+
17
+ Enhancements:
18
+
19
+ * Improve compatibility with `--enable-frozen-string-literal` option
20
+ on Ruby 2.3+. (Pat Allan, #1165)
21
+
22
+ Bug Fixes:
23
+
24
+ * Fix `hash_including` and `hash_excluding` so that they work against
25
+ subclasses of `Hash`. (Aaron Rosenberg, #1167)
26
+
27
+ ### 3.6.0 / 2017-05-04
28
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.6.0.beta2...v3.6.0)
29
+
30
+ Bug Fixes:
31
+
32
+ * Fix "instance variable @color not initialized" warning when using
33
+ rspec-mocks without rspec-core. (Myron Marston, #1142)
34
+ * Restore aliased module methods properly when stubbing on 1.8.7.
35
+ (Samuel Giddins, #1144)
36
+ * Allow a message chain expectation to be constrained by argument(s).
37
+ (Jon Rowe, #1156)
38
+
39
+ ### 3.6.0.beta2 / 2016-12-12
40
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.6.0.beta1...v3.6.0.beta2)
41
+
42
+ Enhancements:
43
+
44
+ * Add new `without_partial_double_verification { }` API that lets you
45
+ temporarily turn off partial double verification for an example.
46
+ (Jon Rowe, #1104)
47
+
48
+ ### 3.6.0.beta1 / 2016-10-09
49
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0...v3.6.0.beta1)
50
+
51
+ Bug Fixes:
52
+
53
+ * Return the test double instance form `#freeze` (Alessandro Berardi, #1109)
54
+ * Allow the special logic for stubbing `new` to work when `<Class>.method` has
55
+ been redefined. (Proby, #1119)
56
+
57
+ ### 3.5.0 / 2016-07-01
58
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta4...v3.5.0)
59
+
60
+ Enhancements:
61
+
62
+ * Provides a nice string representation of
63
+ `RSpec::Mocks::MessageExpectation` (Myron Marston, #1095)
64
+
65
+ ### 3.5.0.beta4 / 2016-06-05
66
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta3...v3.5.0.beta4)
67
+
68
+ Enhancements:
69
+
70
+ * Add `and_throw` to any instance handling. (Tobias Bühlmann, #1068)
71
+
72
+ ### 3.5.0.beta3 / 2016-04-02
73
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta2...v3.5.0.beta3)
74
+
75
+ Enhancements:
76
+
77
+ * Issue warning when attempting to use unsupported
78
+ `allow(...).to receive(...).ordered`. (Jon Rowe, #1000)
79
+ * Add `rspec/mocks/minitest_integration`, to properly integrate rspec-mocks
80
+ with minitest. (Myron Marston, #1065)
81
+
82
+ ### 3.5.0.beta2 / 2016-03-10
83
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta1...v3.5.0.beta2)
84
+
85
+ Enhancements:
86
+
87
+ * Improve error message displayed when using `and_wrap_original` on pure test
88
+ doubles. (betesh, #1063)
89
+
90
+ Bug Fixes:
91
+
92
+ * Fix issue that prevented `receive_message_chain(...).with(...)` working
93
+ correctly on "any instance" mocks. (Jon Rowe, #1061)
94
+
95
+ ### 3.5.0.beta1 / 2016-02-06
96
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.4.1...v3.5.0.beta1)
97
+
98
+ Bug Fixes:
99
+
100
+ * Allow `any_instance_of(...).to receive(...)` to use `and_yield` multiple
101
+ times. (Kilian Cirera Sant, #1054)
102
+ * Allow matchers which inherit from `rspec-mocks` matchers to be used for
103
+ `allow`. (Andrew Kozin, #1056)
104
+ * Prevent stubbing `respond_to?` on partial doubles from causing infinite
105
+ recursion. (Jon Rowe, #1013)
106
+ * Prevent aliased methods from disapearing after being mocked with
107
+ `any_instance` (regression from #1043). (Joe Rafaniello, #1060)
108
+
109
+ ### 3.4.1 / 2016-01-10
110
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.4.0...v3.4.1)
111
+
112
+ Bug Fixes:
113
+
114
+ * Fix `any_instance` to work properly on Ruby 2.3. (Joe Rafaniello, #1043)
115
+
116
+ ### 3.4.0 / 2015-11-11
117
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.2...v3.4.0)
118
+
119
+ Enhancements:
120
+
121
+ * Make `expect(...).to have_received` work without relying upon
122
+ rspec-expectations. (Myron Marston, #978)
123
+ * Add option for failing tests when expectations are set on `nil`.
124
+ (Liz Rush, #983)
125
+
126
+ Bug Fixes:
127
+
128
+ * Fix `have_received { ... }` so that any block passed when the message
129
+ was received is forwarded to the `have_received` block. (Myron Marston, #1006)
130
+ * Fix infinite loop in error generator when stubbing `respond_to?`.
131
+ (Alex Dowad, #1022)
132
+ * Fix issue with using `receive` on subclasses (at a class level) with 1.8.7.
133
+ (Alex Dowad, #1026)
134
+
135
+ ### 3.3.2 / 2015-07-15
136
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.1...v3.3.2)
137
+
138
+ Bug Fixes:
139
+
140
+ * Prevent thread deadlock errors during proxy creation (e.g. when using
141
+ `before_verifying_doubles` callbacks). (Jon Rowe, #980, #979)
142
+
143
+ ### 3.3.1 / 2015-06-19
144
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.0...v3.3.1)
145
+
146
+ Bug Fixes:
147
+
148
+ * Fix bug in `before_verifying_double` callback logic that caused it to be called
149
+ once for each class in the ancestor list when mocking or stubbing a class. Now
150
+ it is only called for the mocked or stubbed class, as you would expect. (Sam
151
+ Phippen, #974)
152
+
153
+ ### 3.3.0 / 2015-06-12
154
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.2.1...v3.3.0)
155
+
156
+ Enhancements:
157
+
158
+ * When stubbing `new` on `MyClass` or `class_double(MyClass)`, use the
159
+ method signature from `MyClass#initialize` to verify arguments.
160
+ (Myron Marston, #886)
161
+ * Use matcher descriptions when generating description of received arguments
162
+ for mock expectation failures. (Tim Wade, #891)
163
+ * Avoid loading `stringio` unnecessarily. (Myron Marston, #894)
164
+ * Verifying doubles failure messages now distinguish between class and instance
165
+ level methods. (Tim Wade, #896, #908)
166
+ * Improve mock expectation failure messages so that it combines both
167
+ number of times and the received arguments in the output. (John Ceh, #918)
168
+ * Improve how test doubles are represented in failure messages.
169
+ (Siva Gollapalli, Myron Marston, #932)
170
+ * Rename `RSpec::Mocks::Configuration#when_declaring_verifying_double` to
171
+ `RSpec::Mocks::Configuration#before_verifying_doubles` and utilise when
172
+ verifying partial doubles. (Jon Rowe, #940)
173
+ * Use rspec-support's `ObjectFormatter` for improved formatting of
174
+ arguments in failure messages so that, for example, full time
175
+ precisions is displayed for time objects. (Gavin Miller, Myron Marston, #955)
176
+
177
+ Bug Fixes:
178
+
179
+ * Ensure expectations that raise eagerly also raise during RSpec verification.
180
+ This means that if exceptions are caught inside test execution the test will
181
+ still fail. (Sam Phippen, #884)
182
+ * Fix `have_received(msg).with(args).exactly(n).times` and
183
+ `receive(msg).with(args).exactly(n).times` failure messages
184
+ for when the message was received the wrong number of times with
185
+ the specified args, and also received additional times with other
186
+ arguments. Previously it confusingly listed the arguments as being
187
+ mis-matched (even when the double was allowed to receive with any
188
+ args) rather than listing the count. (John Ceh, #918)
189
+ * Fix `any_args`/`anything` support so that we avoid calling `obj == anything`
190
+ on user objects that may have improperly implemented `==` in a way that
191
+ raises errors. (Myron Marston, #924)
192
+ * Fix edge case involving stubbing the same method on a class and a subclass
193
+ which previously hit a `NoMethodError` internally in RSpec. (Myron Marston #954)
194
+ * Fix edge case where the message received count would be incremented multiple
195
+ times for one failure. (Myron Marston, #957)
196
+ * Fix failure messages for when spies received the expected message with
197
+ different arguments and also received another message. (Maurício Linhares, #960)
198
+ * Silence whitespace-only diffs. (Myron Marston, #969)
199
+
200
+ ### 3.2.1 / 2015-02-23
201
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.2.0...v3.2.1)
202
+
203
+ Bug Fixes:
204
+
205
+ * Add missing `rspec/support/differ` require so that rspec-mocks can be
206
+ used w/o rspec-expectations (which also loads the differ and hided the
207
+ fact we forgot to require it). (Myron Marston, #893)
208
+ * Revert tracking of received arg mutation (added in 3.2.0 to provide an
209
+ error in a situation we can't support) as our implementation has side
210
+ effects on non-standard objects and there's no solution we could come
211
+ up with that always works. (Myron Marston, #900)
212
+
213
+ ### 3.2.0 / 2015-02-03
214
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.3...v3.2.0)
215
+
216
+ Enhancements:
217
+
218
+ * Treat `any_args` as an arg splat, allowing it to match an arbitrary
219
+ number of args at any point in an arg list. (Myron Marston, #786)
220
+ * Print diffs when arguments in mock expectations are mismatched.
221
+ (Sam Phippen, #751)
222
+ * Support names for verified doubles (`instance_double`, `instance_spy`,
223
+ `class_double`, `class_spy`, `object_double`, `object_spy`). (Cezary
224
+ Baginski, #826)
225
+ * Make `array_including` and `hash_including` argument matchers composable.
226
+ (Sam Phippen, #819)
227
+ * Make `allow_any_instance_of(...).to receive(...).and_wrap_original`
228
+ work. (Ryan Fitzgerald, #869)
229
+
230
+ Bug Fixes:
231
+
232
+ * Provide a clear error when users wrongly combine `no_args` with
233
+ additional arguments (e.g. `expect().to receive().with(no_args, 1)`).
234
+ (Myron Marston, #786)
235
+ * Provide a clear error when users wrongly use `any_args` multiple times in the
236
+ same argument list (e.g. `expect().to receive().with(any_args, 1, any_args)`.
237
+ (Myron Marston, #786)
238
+ * Prevent the error generator from using user object #description methods.
239
+ See [#685](https://github.com/rspec/rspec-mocks/issues/685).
240
+ (Sam Phippen, #751)
241
+ * Make verified doubles declared as `(instance|class)_double(SomeConst)`
242
+ work properly when `SomeConst` has previously been stubbed.
243
+ `(instance|class)_double("SomeClass")` already worked properly.
244
+ (Myron Marston, #824)
245
+ * Add a matcher description for `receive`, `receive_messages` and
246
+ `receive_message_chain`. (Myron Marston, #828)
247
+ * Validate invocation args for null object verified doubles.
248
+ (Myron Marston, #829)
249
+ * Fix `RSpec::Mocks::Constant.original` when called with an invalid
250
+ constant to return an object indicating the constant name is invalid,
251
+ rather than blowing up. (Myron Marston, #833)
252
+ * Make `extend RSpec::Mocks::ExampleMethods` on any object work properly
253
+ to add the rspec-mocks API to that object. Previously, `expect` would
254
+ be undefined. (Myron Marston, #846)
255
+ * Fix `require 'rspec/mocks/standalone'` so that it only affects `main`
256
+ and not every object. It's really only intended to be used in a REPL
257
+ like IRB, but some gems have loaded it, thinking it needs to be loaded
258
+ when using rspec-mocks outside the context of rspec-core.
259
+ (Myron Marston, #846)
260
+ * Prevent message expectations from being modified by customization methods
261
+ (e.g. `with`) after they have been invoked. (Sam Phippen and Melanie Gilman, #837)
262
+ * Handle cases where a method stub cannot be removed due to something
263
+ external to RSpec monkeying with the method definition. This can
264
+ happen, for example, when you `file.reopen(io)` after previously
265
+ stubbing a method on the `file` object. (Myron Marston, #853)
266
+ * Provide a clear error when received message args are mutated before
267
+ a `have_received(...).with(...)` expectation. (Myron Marston, #868)
268
+
269
+ ### 3.1.3 / 2014-10-08
270
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.2...v3.1.3)
271
+
272
+ Bug Fixes:
273
+
274
+ * Correct received messages count when used with `have_received` matcher.
275
+ (Jon Rowe, #793)
276
+ * Provide a clear error message when you use `allow_any_instance_of(...)` or
277
+ `expect_any_instance_of(...)` with the `have_received` matcher (they are
278
+ not intended to be used together and previously caused an odd internal
279
+ failure in rspec-mocks). (Jon Rowe, #799).
280
+ * Fix verified double `with` verification so that it applies to method
281
+ stubs. (Myron Marston, #790)
282
+
283
+ ### 3.1.2 / 2014-09-26
284
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.1...v3.1.2)
285
+
286
+ Bug Fixes:
287
+
288
+ * Provide a clear error message when you use `allow(...)` with the
289
+ `have_received` matcher (they are not intended to be used together
290
+ and previously caused an odd internal failure in rspec-mocks). (Jon Rowe, #788).
291
+
292
+ ### 3.1.1 / 2014-09-18
293
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.0...v3.1.1)
294
+
295
+ Bug Fixes:
296
+
297
+ * Prevent included modules being detected as prepended modules on Ruby 2.0
298
+ when using `any_instance_of(...)`. (Tony Novak, #781)
299
+
300
+ ### 3.1.0 / 2014-09-04
301
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.4...v3.1.0)
302
+
303
+ Enhancements:
304
+
305
+ * Add spying methods (`spy`, `ìnstance_spy`, `class_spy` and `object_spy`)
306
+ which create doubles as null objects for use with spying in testing. (Sam
307
+ Phippen, #671)
308
+ * `have_received` matcher will raise "does not implement" errors correctly when
309
+ used with verifying doubles and partial doubles. (Xavier Shay, #722)
310
+ * Allow matchers to be used in place of keyword arguments in `with`
311
+ expectations. (Xavier Shay, #726)
312
+ * Add `thrice` modifier to message expectation interface as a synonym
313
+ for `exactly(3).times`. (Dennis Taylor, #753)
314
+ * Add more `thrice` synonyms e.g. `.at_least(:thrice)`, `.at_most(:thrice)`,
315
+ `receive(...).thrice` and `have_received(...).thrice`. (Jon Rowe, #754)
316
+ * Add `and_wrap_original` modifier for partial doubles to mutate the
317
+ response from a method. (Jon Rowe, #762)
318
+
319
+ Bug Fixes:
320
+
321
+ * Remove `any_number_of_times` from `any_instance` recorders that were
322
+ erroneously causing mention of the method in documentation. (Jon Rowe, #760)
323
+ * Prevent included modules being detected as prepended modules on Ruby 2.0.
324
+ (Eugene Kenny, #771)
325
+
326
+ ### 3.0.4 / 2014-08-14
327
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.3...v3.0.4)
328
+
329
+ Bug Fixes:
330
+
331
+ * Restore `kind_of(x)` to match using `arg.kind_of?(x)` (like RSpec 2)
332
+ rather than `x === arg`. (Jon Rowe, #750)
333
+
334
+ ### 3.0.3 / 2014-07-21
335
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.2...v3.0.3)
336
+
337
+ Bug Fixes:
338
+
339
+ * `have_received` matcher will raise "does not implement" errors correctly when
340
+ used with verifying doubles and partial doubles. (Xavier Shay, #722)
341
+ * Make `double.as_null_object.dup` and `double.as_null_object.clone`
342
+ make the copies be null objects. (Myron Marston, #732)
343
+ * Don't inadvertently define `BasicObject` in 1.8.7. (Chris Griego, #739)
344
+
345
+ ### 3.0.2 / 2014-06-19
346
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.1...v3.0.2)
347
+
348
+ Bug Fixes:
349
+
350
+ * Fix edge case that triggered "can't add a new key into hash during
351
+ iteration" during mock verification. (Sam Phippen, Myron Marston, #711)
352
+ * Fix verifying doubles so that when they accidentally leak into another
353
+ example, they provide the same clear error message that normal doubles
354
+ do. (Myron Marston, #718)
355
+ * Make `ordered` work with exact receive counts. (Sam Phippen, #713)
356
+
357
+ ### 3.0.1 / 2014-06-07
358
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.0...v3.0.1)
359
+
360
+ Bug Fixes:
361
+
362
+ * Fix `receive_message_chain(...)` so that it supports `with` just like
363
+ `stub_chain` did. (Jon Rowe, #697)
364
+ * Fix regression in `expect_any_instance_of` so that it expects the
365
+ message on _any_ instance rather than on _every_ instance.
366
+ (Myron Marston, #699)
367
+
368
+ ### 3.0.0 / 2014-06-01
369
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.0.rc1...v3.0.0)
370
+
371
+ Bug Fixes:
372
+
373
+ * Fix module prepend detection to work properly on ruby 2.0 for a case
374
+ where a module is extended onto itself. (Myron Marston)
375
+ * Fix `transfer_nested_constants` option so that transferred constants
376
+ get properly reset at the end of the example. (Myron Marston)
377
+ * Fix `config.transfer_nested_constants = true` so that you don't
378
+ erroneously get errors when stubbing a constant that is not a module
379
+ or a class. (Myron Marston)
380
+ * Fix regression that caused `double(:class => SomeClass)` to later
381
+ trigger infinite recursion. (Myron Marston)
382
+ * Fix bug in `have_received(...).with(...).ordered` where it was not
383
+ taking the args into account when checking the order. (Myron Marston)
384
+ * Fix bug in `have_received(...).ordered` where it was wrongly
385
+ considering stubs when checking the order. (Myron Marston)
386
+ * Message expectation matchers now show descriptions from argument
387
+ matchers when their expectations aren't met. (Jon Rowe)
388
+ * Display warning when encountering `TypeError` during instance method
389
+ staging on 2.0.0-p195, suffers from https://bugs.ruby-lang.org/issues/8686
390
+ too. (Cezar Halmagean).
391
+
392
+ ### 3.0.0.rc1 / 2014-05-18
393
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.0.beta2...v3.0.0.rc1)
394
+
395
+ Breaking Changes for 3.0.0:
396
+
397
+ * Remove `RSpec::Mocks::TestDouble.extend_onto`. (Myron Marston)
398
+ * Remove `RSpec::Mocks::ConstantStubber`. (Jon Rowe)
399
+ * Make monkey-patch of Marshal to support dumping of stubbed objects opt-in.
400
+ (Xavier Shay)
401
+
402
+ Enhancements:
403
+
404
+ * Instead of crashing when cleaning up stub methods on a frozen object, it now
405
+ issues a warning explaining that it's impossible to clean up the stubs.
406
+ (Justin Coyne and Sam Phippen)
407
+ * Add meaningful descriptions to `anything`, `duck_type` and `instance_of` argument
408
+ matchers. (Jon Rowe)
409
+
410
+ Bug Fixes:
411
+
412
+ * Fix regression introduced in 3.0.0.beta2 that caused
413
+ `double.as_null_object.to_str` to return the double rather
414
+ than a string. (Myron Marston)
415
+ * Fix bug in `expect(dbl).to receive_message_chain(:foo, :bar)` where it was
416
+ not setting an expectation for the last message in the chain.
417
+ (Jonathan del Strother)
418
+ * Allow verifying partial doubles to have private methods stubbed. (Xavier Shay)
419
+ * Fix bug with allowing/expecting messages on Class objects which have had
420
+ their singleton class prepended to. (Jon Rowe)
421
+ * Fix an issue with 1.8.7 not running implementation blocks on partial doubles.
422
+ (Maurício Linhares)
423
+ * Prevent `StackLevelTooDeep` errors when stubbing an `any_instance` method that's
424
+ accessed in `inspect` by providing our own inspect output. (Jon Rowe)
425
+ * Fix bug in `any_instance` logic that did not allow you to mock or stub
426
+ private methods if `verify_partial_doubles` was configured. (Oren Dobzinski)
427
+ * Include useful error message when trying to observe an unimplemented method
428
+ on an any instance. (Xavier Shay)
429
+ * Fix `and_call_original` to work properly when multiple classes in an
430
+ inheritance hierarchy have been stubbed with the same method. (Myron Marston)
431
+ * Fix `any_instance` so that it updates existing instances that have
432
+ already been stubbed. (Myron Marston)
433
+ * Fix verified doubles so that their class name is included in failure
434
+ messages. (Myron Marston)
435
+ * Fix `expect_any_instance_of` so that when the message is received
436
+ on an individual instance that has been directly stubbed, it still
437
+ satisfies the expectation. (Sam Phippen, Myron Marston)
438
+ * Explicitly disallow using `any_instance` to mock or stub a method
439
+ that is defined on a module prepended onto the class. This triggered
440
+ `SystemStackError` before and is very hard to support so we are not
441
+ supporting it at this time. (Myron Marston)
442
+
443
+ ### 3.0.0.beta2 / 2014-02-17
444
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.0.0.beta1...v3.0.0.beta2)
445
+
446
+ Breaking Changes for 3.0.0:
447
+
448
+ * Rename `RSpec::Mocks::Mock` to `RSpec::Mocks::Double`. (Myron Marston)
449
+ * Change how to integrate rspec-mocks in other test frameworks. You now
450
+ need to include `RSpec::Mocks::ExampleMethods` in your test context.
451
+ (Myron Marston)
452
+ * Prevent RSpec mocks' doubles and partial doubles from being used outside of
453
+ the per-test lifecycle (e.g. from a `before(:all)` hook). (Sam Phippen)
454
+ * Remove the `host` argument of `RSpec::Mocks.setup`. Instead
455
+ `RSpec::Mocks::ExampleMethods` should be included directly in the scope where
456
+ RSpec's mocking capabilities are used. (Sam Phippen)
457
+ * Make test doubles raise errors if you attempt to use them after they
458
+ get reset, to help surface issues when you accidentally retain
459
+ references to test doubles and attempt to reuse them in another
460
+ example. (Myron Marston)
461
+ * Remove support for `and_return { value }` and `and_return` without arguments. (Yuji Nakayama)
462
+
463
+ Enhancements:
464
+
465
+ * Add `receive_message_chain` which provides the functionality of the old
466
+ `stub_chain` for the new allow/expect syntax. Use it like so: `allow(...).to
467
+ receive_message_chain(:foo, :bar, :bazz)`. (Sam Phippen).
468
+ * Change argument matchers to use `===` as their primary matching
469
+ protocol, since their semantics mirror that of a case or rescue statement
470
+ (which uses `===` for matching). (Myron Marston)
471
+ * Add `RSpec::Mocks.with_temporary_scope`, which allows you to create
472
+ temporary rspec-mocks scopes in arbitrary places (such as a
473
+ `before(:all)` hook). (Myron Marston)
474
+ * Support keyword arguments when checking arity with verifying doubles.
475
+ (Xavier Shay)
476
+
477
+ Bug Fixes:
478
+
479
+ * Fix regression in 3.0.0.beta1 that caused `double("string_name" => :value)`
480
+ to stop working. (Xavier Shay)
481
+ * Fix the way rspec-mocks and rspec-core interact so that if users
482
+ define a `let` with the same name as one of the methods
483
+ from `RSpec::Mocks::ArgumentMatchers`, the user's `let` takes
484
+ precedence. (Michi Huber, Myron Marston)
485
+ * Fix verified doubles so that their methods match the visibility
486
+ (public, protected or private) of the interface they verify
487
+ against. (Myron Marston)
488
+ * Fix verified null object doubles so that they do not wrongly
489
+ report that they respond to anything. They only respond to methods
490
+ available on the interface they verify against. (Myron Marston)
491
+ * Fix deprecation warning for use of old `:should` syntax w/o explicit
492
+ config so that it no longer is silenced by an extension gem such
493
+ as rspec-rails when it calls `config.add_stub_and_should_receive_to`.
494
+ (Sam Phippen)
495
+ * Fix `expect` syntax so that it does not wrongly emit a "You're
496
+ overriding a previous implementation for this stub" warning when
497
+ you are not actually doing that. (Myron Marston)
498
+ * Fix `any_instance.unstub` when used on sub classes for whom the super
499
+ class has had `any_instance.stub` invoked on. (Jon Rowe)
500
+ * Fix regression in `stub_chain`/`receive_message_chain` that caused
501
+ it to raise an `ArgumentError` when passing args to the stubbed
502
+ methods. (Sam Phippen)
503
+ * Correct stub of undefined parent modules all the way down when stubbing a
504
+ nested constant. (Xavier Shay)
505
+ * Raise `VerifyingDoubleNotDefinedError` when a constant is not defined for
506
+ a verifying class double. (Maurício Linhares)
507
+ * Remove `Double#to_str`, which caused confusing `raise some_double`
508
+ behavior. (Maurício Linhares)
509
+
510
+ ### 3.0.0.beta1 / 2013-11-07
511
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.4...v3.0.0.beta1)
512
+
513
+ Breaking Changes for 3.0.0:
514
+
515
+ * Raise an explicit error if `should_not_receive(...).and_return` is used. (Sam
516
+ Phippen)
517
+ * Remove 1.8.6 workarounds. (Jon Rowe)
518
+ * Remove `stub!` and `unstub!`. (Sam Phippen)
519
+ * Remove `mock(name, methods)` and `stub(name, methods)`, leaving
520
+ `double(name, methods)` for creating test doubles. (Sam Phippen, Michi Huber)
521
+ * Remove `any_number_of_times` since `should_receive(:msg).any_number_of_times`
522
+ is really a stub in a mock's clothing. (Sam Phippen)
523
+ * Remove support for re-using the same null-object test double in multiple
524
+ examples. Test doubles are designed to only live for one example.
525
+ (Myron Marston)
526
+ * Make `at_least(0)` raise an error. (Sam Phippen)
527
+ * Remove support for `require 'spec/mocks'` which had been kept
528
+ in place for backwards compatibility with RSpec 1. (Myron Marston)
529
+ * Blocks provided to `with` are always used as implementation. (Xavier Shay)
530
+ * The config option (added in 2.99) to yield the receiver to
531
+ `any_instance` implementation blocks now defaults to "on". (Sam Phippen)
532
+
533
+ Enhancements:
534
+
535
+ * Allow the `have_received` matcher to use a block to set further expectations
536
+ on arguments. (Tim Cowlishaw)
537
+ * Provide `instance_double` and `class_double` to create verifying doubles,
538
+ ported from `rspec-fire`. (Xavier Shay)
539
+ * `as_null_object` on a verifying double only responds to defined methods.
540
+ (Xavier Shay)
541
+ * Provide `object_double` to create verified doubles of specific object
542
+ instances. (Xavier Shay)
543
+ * Provide `verify_partial_doubles` configuration that provides `object_double`
544
+ like verification behaviour on partial doubles. (Xavier Shay)
545
+ * Improved performance of double creation, particularly those with many
546
+ attributes. (Xavier Shay)
547
+ * Default value of `transfer_nested_constants` option for constant stubbing can
548
+ be configured. (Xavier Shay)
549
+ * Messages can be allowed or expected on in bulk via
550
+ `receive_messages(:message => :value)`. (Jon Rowe)
551
+ * `allow(Klass.any_instance)` and `expect(Klass.any_instance)` now print a
552
+ warning. This is usually a mistake, and users usually want
553
+ `allow_any_instance_of` or `expect_any_instance_of` instead. (Sam Phippen)
554
+ * `instance_double` and `class_double` raise `ArgumentError` if the underlying
555
+ module is loaded and the arity of the method being invoked does not match the
556
+ arity of the method as it is actually implemented. (Andy Lindeman)
557
+ * Spies can now check their invocation ordering is correct. (Jon Rowe)
558
+
559
+ Deprecations:
560
+
561
+ * Using the old `:should` syntax without explicitly configuring it
562
+ is deprecated. It will continue to work but will emit a deprecation
563
+ warning in RSpec 3 if you do not explicitly enable it. (Sam Phippen)
564
+
565
+ Bug Fixes:
566
+
567
+ * Fix `and_call_original` to handle a complex edge case involving
568
+ singleton class ancestors. (Marc-André Lafortune, Myron Marston)
569
+ * When generating an error message for unexpected arguments,
570
+ use `#inspect` rather than `#description` if `#description`
571
+ returns `nil` or `''` so that you still get a useful message.
572
+ (Nick DeLuca)
573
+
574
+ ### 2.99.4 / 2015-06-19
575
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.3...v2.99.4)
576
+
577
+ Bug Fixes:
578
+
579
+ * Add missing deprecation for using `with` with no arguments e.g. `with()`. (Yousuke, #970)
580
+
581
+ ### 2.99.3 / 2015-01-09
582
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.2...v2.99.3)
583
+
584
+ Bug Fixes:
585
+
586
+ * Fix regression that caused an error when a test double was deserialized from YAML. (Yuji Nakayama, #777)
587
+
588
+ ### 2.99.2 / 2014-07-21
589
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.1...v2.99.2)
590
+
591
+ Enhancements:
592
+
593
+ * Warn about upcoming change to `#===` matching and `DateTime#===` behaviour.
594
+ (Jon Rowe, #735)
595
+
596
+ ### 2.99.1 / 2014-06-12
597
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.0...v2.99.1)
598
+
599
+ Bug Fixes:
600
+
601
+ * Fix bug that caused errors at the end of each example
602
+ when a `double.as_null_object` had been frozen. (Yuji Nakayama, #698)
603
+
604
+ Deprecations:
605
+
606
+ * Deprecate freezing a test double. (Yuji Nakayama, #698)
607
+
608
+ ### 2.99.0 / 2014-06-01
609
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.0.rc1...v2.99.0)
610
+
611
+ No changes. Just taking it out of pre-release.
612
+
613
+ ### 2.99.0.rc1 / 2014-05-18
614
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.0.beta2...v2.99.0.rc1)
615
+
616
+ Deprecations:
617
+
618
+ * Deprecate `RSpec::Mocks::TestDouble.extend_onto`. (Myron Marston)
619
+ * Deprecate `RSpec::Mocks::ConstantStubber`. (Jon Rowe)
620
+ * Deprecate `Marshal.dump` monkey-patch without opt-in. (Xavier Shay)
621
+
622
+ ### 2.99.0.beta2 / 2014-02-17
623
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.99.0.beta1...v2.99.0.beta2)
624
+
625
+ Deprecations:
626
+
627
+ * Deprecate `RSpec::Mocks::Mock` in favor of `RSpec::Mocks::Double`.
628
+ (Myron Marston)
629
+ * Deprecate the `host` argument of `RSpec::Mocks.setup`. Instead
630
+ `RSpec::Mocks::ExampleMethods` should be included directly in the scope where
631
+ RSpec's mocking capabilities are used. (Sam Phippen)
632
+ * Deprecate using any of rspec-mocks' features outside the per-test
633
+ lifecycle (e.g. from a `before(:all)` hook). (Myron Marston)
634
+ * Deprecate re-using a test double in another example. (Myron Marston)
635
+ * Deprecate `and_return { value }` and `and_return` without arguments. (Yuji Nakayama)
636
+
637
+ ### 2.99.0.beta1 / 2013-11-07
638
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.4...v2.99.0.beta1)
639
+
640
+ Deprecations
641
+
642
+ * Expecting to use lambdas or other strong arity implementations for stub
643
+ methods with mis-matched arity is deprecated and support for them will be
644
+ removed in 3.0. Either provide the right amount of arguments or use a weak
645
+ arity implementation (methods with splats or procs). (Jon Rowe)
646
+ * Using the same test double instance in multiple examples is deprecated. Test
647
+ doubles are only meant to live for one example. The mocks and stubs have
648
+ always been reset between examples; however, in 2.x the `as_null_object`
649
+ state was not reset and some users relied on this to have a null object
650
+ double that is used for many examples. This behavior will be removed in 3.0.
651
+ (Myron Marston)
652
+ * Print a detailed warning when an `any_instance` implementation block is used
653
+ when the new `yield_receiver_to_any_instance_implementation_blocks` config
654
+ option is not explicitly set, as RSpec 3.0 will default to enabling this new
655
+ feature. (Sam Phippen)
656
+
657
+ Enhancements:
658
+
659
+ * Add a config option to yield the receiver to `any_instance` implementation
660
+ blocks. (Sam Phippen)
661
+
662
+ ### 2.14.6 / 2014-02-20
663
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.5...v2.14.6)
664
+
665
+ Bug Fixes:
666
+
667
+ * Ensure `any_instance` method stubs and expectations are torn down regardless of
668
+ expectation failures. (Sam Phippen)
669
+
670
+ ### 2.14.5 / 2014-02-01
671
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.4...v2.14.5)
672
+
673
+ Bug Fixes:
674
+
675
+ * Fix regression that caused block implementations to not receive all
676
+ args on 1.8.7 if the block also receives a block, due to Proc#arity
677
+ reporting `1` no matter how many args the block receives if it
678
+ receives a block, too. (Myron Marston)
679
+
680
+ ### 2.14.4 / 2013-10-15
681
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.3...v2.14.4)
682
+
683
+ Bug Fixes:
684
+
685
+ * Fix issue where unstubing methods on "any instances" would not
686
+ remove stubs on existing instances (Jon Rowe)
687
+ * Fix issue with receive(:message) do ... end precedence preventing
688
+ the usage of modifications (`and_return` etc) (Jon Rowe)
689
+
690
+ ### 2.14.3 / 2013-08-08
691
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.2...v2.14.3)
692
+
693
+ Bug Fixes:
694
+
695
+ * Fix stubbing some instance methods for classes whose hierarchy includes
696
+ a prepended Module (Bradley Schaefer)
697
+
698
+ ### 2.14.2 / 2013-07-30
699
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.1...v2.14.2)
700
+
701
+ Bug Fixes:
702
+
703
+ * Fix `as_null_object` doubles so that they return `nil` from `to_ary`
704
+ (Jon Rowe).
705
+ * Fix regression in 2.14 that made `stub!` (with an implicit receiver)
706
+ return a test double rather than stub a method (Myron Marston).
707
+
708
+ ### 2.14.1 / 2013-07-07
709
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.0...v2.14.1)
710
+
711
+ Bug Fixes:
712
+
713
+ * Restore `double.as_null_object` behavior from 2.13 and earlier: a
714
+ double's nullness persisted between examples in earlier examples.
715
+ While this is not an intended use case (test doubles are meant to live
716
+ for only one example), we don't want to break behavior users rely
717
+ on in a minor relase. This will be deprecated in 2.99 and removed
718
+ in 3.0. (Myron Marston)
719
+
720
+ ### 2.14.0 / 2013-07-06
721
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.14.0.rc1...v2.14.0)
722
+
723
+ Enhancements:
724
+
725
+ * Document test spies in the readme. (Adarsh Pandit)
726
+ * Add an `array_including` matcher. (Sam Phippen)
727
+ * Add a syntax-agnostic API for mocking or stubbing a method. This is
728
+ intended for use by libraries such as rspec-rails that need to mock
729
+ or stub a method, and work regardless of the syntax the user has
730
+ configured (Paul Annesley, Myron Marston and Sam Phippen).
731
+
732
+ Bug Fixes:
733
+
734
+ * Fix `double` so that it sets up passed stubs correctly regardless of
735
+ the configured syntax (Paul Annesley).
736
+ * Allow a block implementation to be used in combination with
737
+ `and_yield`, `and_raise`, `and_return` or `and_throw`. This got fixed
738
+ in 2.13.1 but failed to get merged into master for the 2.14.0.rc1
739
+ release (Myron Marston).
740
+ * `Marshal.dump` does not unnecessarily duplicate objects when rspec-mocks has
741
+ not been fully initialized. This could cause errors when using `spork` or
742
+ similar preloading gems (Andy Lindeman).
743
+
744
+ ### 2.14.0.rc1 / 2013-05-27
745
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.13.0...v2.14.0.rc1)
746
+
747
+ Enhancements:
748
+
749
+ * Refactor internals so that the mock proxy methods and state are held
750
+ outside of the mocked object rather than inside it. This paves the way
751
+ for future syntax enhancements and removes the need for some hacky
752
+ work arounds for `any_instance` dup'ing and `YAML` serialization,
753
+ among other things. Note that the code now relies upon `__id__`
754
+ returning a unique, consistent value for any object you want to
755
+ mock or stub (Myron Marston).
756
+ * Add support for test spies. This allows you to verify a message
757
+ was received afterwards using the `have_received` matcher.
758
+ Note that you must first stub the method or use a null double.
759
+ (Joe Ferris and Joël Quenneville)
760
+ * Make `at_least` and `at_most` style receive expectations print that they were
761
+ expecting at least or at most some number of calls, rather than just the
762
+ number of calls given in the expectation (Sam Phippen)
763
+ * Make `with` style receive expectations print the args they were expecting, and
764
+ the args that they got (Sam Phippen)
765
+ * Fix some warnings seen under ruby 2.0.0p0 (Sam Phippen).
766
+ * Add a new `:expect` syntax for message expectations
767
+ (Myron Marston and Sam Phippen).
768
+
769
+ Bug fixes
770
+
771
+ * Fix `any_instance` so that a frozen object can be `dup`'d when methods
772
+ have been stubbed on that type using `any_instance` (Jon Rowe).
773
+ * Fix `and_call_original` so that it properly raises an `ArgumentError`
774
+ when the wrong number of args are passed (Jon Rowe).
775
+ * Fix `double` on 1.9.2 so you can wrap them in an Array
776
+ using `Array(my_double)` (Jon Rowe).
777
+ * Fix `stub_const` and `hide_const` to handle constants that redefine `send`
778
+ (Sam Phippen).
779
+ * Fix `Marshal.dump` extension so that it correctly handles nil.
780
+ (Luke Imhoff, Jon Rowe)
781
+ * Fix isolation of `allow_message_expectations_on_nil` (Jon Rowe)
782
+ * Use inspect to format actual arguments on expectations in failure messages (#280, Ben Langfeld)
783
+ * Protect against improperly initialised test doubles (#293) (Joseph Shraibman and Jon Rowe)
784
+
785
+ Deprecations
786
+
787
+ * Deprecate `stub` and `mock` as aliases for `double`. `double` is the
788
+ best term for creating a test double, and it reduces confusion to
789
+ have only one term (Michi Huber).
790
+ * Deprecate `stub!` and `unstub!` in favor of `stub` and `unstub`
791
+ (Jon Rowe).
792
+ * Deprecate `at_least(0).times` and `any_number_of_times` (Michi Huber).
793
+
794
+ ### 2.13.1 / 2013-04-06
795
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.13.0...v2.13.1)
796
+
797
+ Bug fixes
798
+
799
+ * Allow a block implementation to be used in combination with
800
+ `and_yield`, `and_raise`, `and_return` or `and_throw` (Myron Marston).
801
+
802
+ ### 2.13.0 / 2013-02-23
803
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.2...v2.13.0)
804
+
805
+ Bug fixes
806
+
807
+ * Fix bug that caused weird behavior when a method that had
808
+ previously been stubbed with multiple return values (e.g.
809
+ `obj.stub(:foo).and_return(1, 2)`) was later mocked with a
810
+ single return value (e.g. `obj.should_receive(:foo).once.and_return(1)`).
811
+ (Myron Marston)
812
+ * Fix bug related to a mock expectation for a method that already had
813
+ multiple stubs with different `with` constraints. Previously, the
814
+ first stub was used, even though it may not have matched the passed
815
+ args. The fix defers this decision until the message is received so
816
+ that the proper stub response can be chosen based on the passed
817
+ arguments (Myron Marston).
818
+ * Do not call `nil?` extra times on a mocked object, in case `nil?`
819
+ itself is expected a set number of times (Myron Marston).
820
+ * Fix `missing_default_stub_error` message so array args are handled
821
+ properly (Myron Marston).
822
+ * Explicitly disallow `any_instance.unstub!` (Ryan Jones).
823
+ * Fix `any_instance` stubbing so that it works with `Delegator`
824
+ subclasses (Myron Marston).
825
+ * Fix `and_call_original` so that it works with `Delegator` subclasses
826
+ (Myron Marston).
827
+ * Fix `any_instance.should_not_receive` when `any_instance.should_receive`
828
+ is used on the same class in the same example. Previously it would
829
+ wrongly report a failure even when the message was not received
830
+ (Myron Marston).
831
+
832
+ ### 2.12.2 / 2013-01-27
833
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.1...v.2.12.2)
834
+
835
+ Bug fixes
836
+
837
+ * Fix `and_call_original` to work properly for methods defined
838
+ on a module extended onto an object instance (Myron Marston).
839
+ * Fix `stub_const` with an undefined constnat name to work properly
840
+ with constant strings that are prefixed with `::` -- and edge case
841
+ I missed in the bug fix in the 2.12.1 release (Myron Marston).
842
+ * Ensure method visibility on a partial mock is restored after reseting
843
+ method stubs, even on a singleton module (created via `extend self`)
844
+ when the method visibility differs between the instance and singleton
845
+ versions (Andy Lindeman).
846
+
847
+ ### 2.12.1 / 2012-12-21
848
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.0...v2.12.1)
849
+
850
+ Bug fixes
851
+
852
+ * Fix `any_instance` to support `and_call_original`.
853
+ (Myron Marston)
854
+ * Properly restore stubbed aliased methods on rubies
855
+ that report the incorrect owner (Myron Marston and Andy Lindeman).
856
+ * Fix `hide_const` and `stub_const` with a defined constnat name to
857
+ work properly with constant strings that are prefixed with `::` (Myron Marston).
858
+
859
+ ### 2.12.0 / 2012-11-12
860
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.3...v2.12.0)
861
+
862
+ Enhancements
863
+
864
+ * `and_raise` can accept an exception class and message, more closely
865
+ matching `Kernel#raise` (e.g., `foo.stub(:bar).and_raise(RuntimeError, "message")`)
866
+ (Bas Vodde)
867
+ * Add `and_call_original`, which will delegate the message to the
868
+ original method (Myron Marston).
869
+
870
+ Deprecations:
871
+
872
+ * Add deprecation warning when using `and_return` with `should_not_receive`
873
+ (Neha Kumari)
874
+
875
+ ### 2.11.3 / 2012-09-19
876
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.2...v2.11.3)
877
+
878
+ Bug fixes
879
+
880
+ * Fix `:transfer_nested_constants` option of `stub_const` so that it
881
+ doesn't blow up when there are inherited constants. (Myron Marston)
882
+ * `any_instance` stubs can be used on classes that override `Object#method`.
883
+ (Andy Lindeman)
884
+ * Methods stubbed with `any_instance` are unstubbed after the test finishes.
885
+ (Andy Lindeman)
886
+ * Fix confusing error message when calling a mocked class method an
887
+ extra time with the wrong arguments (Myron Marston).
888
+
889
+ ### 2.11.2 / 2012-08-11
890
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.1...v2.11.2)
891
+
892
+ Bug fixes
893
+
894
+ * Don't modify `dup` on classes that don't support `dup` (David Chelimsky)
895
+ * Fix `any_instance` so that it works properly with methods defined on
896
+ a superclass. (Daniel Eguzkiza)
897
+ * Fix `stub_const` so that it works properly for nested constants that
898
+ share a name with a top-level constant (e.g. "MyGem::Hash"). (Myron
899
+ Marston)
900
+
901
+ ### 2.11.1 / 2012-07-09
902
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.0...v2.11.1)
903
+
904
+ Bug fixes
905
+
906
+ * Fix `should_receive` so that when it is called on an `as_null_object`
907
+ double with no implementation, and there is a previous explicit stub
908
+ for the same method, the explicit stub remains (rather than being
909
+ overridden with the null object implementation--`return self`). (Myron
910
+ Marston)
911
+
912
+ ### 2.11.0 / 2012-07-07
913
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.10.1...v2.11.0)
914
+
915
+ Enhancements
916
+
917
+ * Expose ArgumentListMatcher as a formal API
918
+ * supports use by 3rd party mock frameworks like Surrogate
919
+ * Add `stub_const` API to stub constants for the duration of an
920
+ example (Myron Marston).
921
+
922
+ Bug fixes
923
+
924
+ * Fix regression of edge case behavior. `double.should_receive(:foo) { a }`
925
+ was causing a NoMethodError when `double.stub(:foo).and_return(a, b)`
926
+ had been setup before (Myron Marston).
927
+ * Infinite loop generated by using `any_instance` and `dup`. (Sidu Ponnappa @kaiwren)
928
+ * `double.should_receive(:foo).at_least(:once).and_return(a)` always returns a
929
+ even if `:foo` is already stubbed.
930
+ * Prevent infinite loop when interpolating a null double into a string
931
+ as an integer (`"%i" % double.as_null_object`). (Myron Marston)
932
+ * Fix `should_receive` so that null object behavior (e.g. returning
933
+ self) is preserved if no implementation is given (Myron Marston).
934
+ * Fix `and_raise` so that it raises `RuntimeError` rather than
935
+ `Exception` by default, just like ruby does. (Andrew Marshall)
936
+
937
+ ### 2.10.1 / 2012-05-05
938
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.10.0...v2.10.1)
939
+
940
+ Bug fixes
941
+
942
+ * fix regression of edge case behavior
943
+ (https://github.com/rspec/rspec-mocks/issues/132)
944
+ * fixed failure of `object.should_receive(:message).at_least(0).times.and_return value`
945
+ * fixed failure of `object.should_not_receive(:message).and_return value`
946
+
947
+ ### 2.10.0 / 2012-05-03
948
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.9.0...v2.10.0)
949
+
950
+ Bug fixes
951
+
952
+ * fail fast when an `exactly` or `at_most` expectation is exceeded
953
+
954
+ ### 2.9.0 / 2012-03-17
955
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0...v2.9.0)
956
+
957
+ Enhancements
958
+
959
+ * Support order constraints across objects (preethiramdev)
960
+
961
+ Bug fixes
962
+
963
+ * Allow a `as_null_object` to be passed to `with`
964
+ * Pass proc to block passed to stub (Aubrey Rhodes)
965
+ * Initialize child message expectation args to match any args (#109 -
966
+ preethiramdev)
967
+
968
+ ### 2.8.0 / 2012-01-04
969
+
970
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc2...v2.8.0)
971
+
972
+ No changes for this release. Just releasing with the other rspec gems.
973
+
974
+ ### 2.8.0.rc2 / 2011-12-19
975
+
976
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
977
+
978
+ No changes for this release. Just releasing with the other rspec gems.
979
+
980
+ ### 2.8.0.rc1 / 2011-11-06
981
+
982
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.7.0...v2.8.0.rc1)
983
+
984
+ Enhancements
985
+
986
+ * Eliminate Ruby warnings (Matijs van Zuijlen)
987
+
988
+ ### 2.7.0 / 2011-10-16
989
+
990
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.6.0...v2.7.0)
991
+
992
+ Enhancements
993
+
994
+ * Use `__send__` rather than `send` (alextk)
995
+ * Add support for `any_instance.stub_chain` (Sidu Ponnappa)
996
+ * Add support for `any_instance` argument matching based on `with` (Sidu
997
+ Ponnappa and Andy Lindeman)
998
+
999
+ Changes
1000
+
1001
+ * Check for `failure_message_for_should` or `failure_message` instead of
1002
+ `description` to detect a matcher (Tibor Claassen)
1003
+
1004
+ Bug fixes
1005
+
1006
+ * pass a hash to `any_instance.stub`. (Justin Ko)
1007
+ * allow `to_ary` to be called without raising `NoMethodError` (Mikhail
1008
+ Dieterle)
1009
+ * `any_instance` properly restores private methods (Sidu Ponnappa)
1010
+
1011
+ ### 2.6.0 / 2011-05-12
1012
+
1013
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.5.0...v2.6.0)
1014
+
1015
+ Enhancements
1016
+
1017
+ * Add support for `any_instance.stub` and `any_instance.should_receive` (Sidu
1018
+ Ponnappa and Andy Lindeman)
1019
+
1020
+ Bug fixes
1021
+
1022
+ * fix bug in which multiple chains with shared messages ending in hashes failed
1023
+ to return the correct value
1024
+
1025
+ ### 2.5.0 / 2011-02-05
1026
+
1027
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.4.0...v2.5.0)
1028
+
1029
+ Bug fixes
1030
+
1031
+ * message expectation counts now work in combination with a stub (Damian
1032
+ Nurzynski)
1033
+ * fix failure message when message received with incorrect args (Josep M.
1034
+ Bach)
1035
+
1036
+ ### 2.4.0 / 2011-01-02
1037
+
1038
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.3.0...v2.4.0)
1039
+
1040
+ No functional changes in this release, which was made to align with the
1041
+ rspec-core-2.4.0 release.
1042
+
1043
+ ### 2.3.0 / 2010-12-12
1044
+
1045
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.2.0...v2.3.0)
1046
+
1047
+ Bug fixes
1048
+
1049
+ * Fix our Marshal extension so that it does not interfere with objects that
1050
+ have their own `@mock_proxy` instance variable. (Myron Marston)
1051
+
1052
+ ### 2.2.0 / 2010-11-28
1053
+
1054
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.1.0...v2.2.0)
1055
+
1056
+ Enhancements
1057
+
1058
+ * Added "rspec/mocks/standalone" for exploring the rspec-mocks in irb.
1059
+
1060
+ Bug fix
1061
+
1062
+ * Eliminate warning on splat args without parens (Gioele Barabucci)
1063
+ * Fix bug where `obj.should_receive(:foo).with(stub.as_null_object)` would pass
1064
+ with a false positive.
1065
+
1066
+ ### 2.1.0 / 2010-11-07
1067
+
1068
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.1...v2.1.0)
1069
+
1070
+ Bug fixes
1071
+
1072
+ * Fix serialization of stubbed object (Josep M Bach)
1073
+
1074
+ ### 2.0.0 / 2010-10-10
1075
+
1076
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.22...v2.0.0)
1077
+
1078
+ ### 2.0.0.rc / 2010-10-05
1079
+
1080
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.22...v2.0.0.rc)
1081
+
1082
+ Enhancements
1083
+
1084
+ * support passing a block to an expectation block (Nicolas Braem)
1085
+ * `obj.should_receive(:msg) {|&block| ... }`
1086
+
1087
+ Bug fixes
1088
+
1089
+ * Fix YAML serialization of stub (Myron Marston)
1090
+ * Fix rdoc rake task (Hans de Graaff)
1091
+
1092
+ ### 2.0.0.beta.22 / 2010-09-12
1093
+
1094
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v2.0.0.beta.20...v2.0.0.beta.22)
1095
+
1096
+ Bug fixes
1097
+
1098
+ * fixed regression that broke `obj.stub_chain(:a, :b => :c)`
1099
+ * fixed regression that broke `obj.stub_chain(:a, :b) { :c }`
1100
+ * `respond_to?` always returns true when using `as_null_object`