takuya-lvm-snapshot 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (380) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +4 -0
  4. data/Gemfile +10 -0
  5. data/LICENSE +674 -0
  6. data/README.md +80 -0
  7. data/Rakefile +4 -0
  8. data/bin/console +15 -0
  9. data/bin/setup +8 -0
  10. data/bundle/ruby/2.7.0/bin/htmldiff +29 -0
  11. data/bundle/ruby/2.7.0/bin/ldiff +29 -0
  12. data/bundle/ruby/2.7.0/bin/rake +27 -0
  13. data/bundle/ruby/2.7.0/bin/rspec +27 -0
  14. data/bundle/ruby/2.7.0/cache/diff-lcs-1.5.0.gem +0 -0
  15. data/bundle/ruby/2.7.0/cache/rake-13.0.3.gem +0 -0
  16. data/bundle/ruby/2.7.0/cache/rspec-3.12.0.gem +0 -0
  17. data/bundle/ruby/2.7.0/cache/rspec-core-3.12.0.gem +0 -0
  18. data/bundle/ruby/2.7.0/cache/rspec-expectations-3.12.1.gem +0 -0
  19. data/bundle/ruby/2.7.0/cache/rspec-mocks-3.12.1.gem +0 -0
  20. data/bundle/ruby/2.7.0/cache/rspec-support-3.12.0.gem +0 -0
  21. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/.rspec +1 -0
  22. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/Code-of-Conduct.md +74 -0
  23. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/Contributing.md +119 -0
  24. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/History.md +400 -0
  25. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/License.md +39 -0
  26. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/Manifest.txt +59 -0
  27. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/README.rdoc +84 -0
  28. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/Rakefile +121 -0
  29. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/bin/htmldiff +35 -0
  30. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/bin/ldiff +9 -0
  31. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/docs/COPYING.txt +339 -0
  32. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/docs/artistic.txt +127 -0
  33. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/array.rb +7 -0
  34. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +9 -0
  35. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/block.rb +37 -0
  36. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/callbacks.rb +325 -0
  37. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/change.rb +174 -0
  38. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/htmldiff.rb +150 -0
  39. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/hunk.rb +358 -0
  40. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/internals.rb +308 -0
  41. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/ldiff.rb +171 -0
  42. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs/string.rb +5 -0
  43. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff/lcs.rb +739 -0
  44. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/lib/diff-lcs.rb +3 -0
  45. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +89 -0
  46. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/diff_spec.rb +51 -0
  47. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/aX +1 -0
  48. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/bXaX +1 -0
  49. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ds1.csv +50 -0
  50. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ds2.csv +51 -0
  51. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff +4 -0
  52. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-c +7 -0
  53. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-e +3 -0
  54. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-f +3 -0
  55. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-u +5 -0
  56. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef +4 -0
  57. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-c +15 -0
  58. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-e +3 -0
  59. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-f +3 -0
  60. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-u +9 -0
  61. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2 +7 -0
  62. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
  63. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
  64. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
  65. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
  66. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
  67. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef +4 -0
  68. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef2 +17 -0
  69. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef +4 -0
  70. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef2 +14 -0
  71. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/hunk_spec.rb +83 -0
  72. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +154 -0
  73. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/lcs_spec.rb +56 -0
  74. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/ldiff_spec.rb +87 -0
  75. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/patch_spec.rb +416 -0
  76. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +214 -0
  77. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/spec_helper.rb +374 -0
  78. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +310 -0
  79. data/bundle/ruby/2.7.0/gems/diff-lcs-1.5.0/spec/traverse_sequences_spec.rb +137 -0
  80. data/bundle/ruby/2.7.0/gems/rake-13.0.3/CONTRIBUTING.rdoc +43 -0
  81. data/bundle/ruby/2.7.0/gems/rake-13.0.3/Gemfile +10 -0
  82. data/bundle/ruby/2.7.0/gems/rake-13.0.3/History.rdoc +2386 -0
  83. data/bundle/ruby/2.7.0/gems/rake-13.0.3/MIT-LICENSE +21 -0
  84. data/bundle/ruby/2.7.0/gems/rake-13.0.3/README.rdoc +155 -0
  85. data/bundle/ruby/2.7.0/gems/rake-13.0.3/Rakefile +41 -0
  86. data/bundle/ruby/2.7.0/gems/rake-13.0.3/bin/bundle +105 -0
  87. data/bundle/ruby/2.7.0/gems/rake-13.0.3/bin/console +7 -0
  88. data/bundle/ruby/2.7.0/gems/rake-13.0.3/bin/rake +29 -0
  89. data/bundle/ruby/2.7.0/gems/rake-13.0.3/bin/rdoc +29 -0
  90. data/bundle/ruby/2.7.0/gems/rake-13.0.3/bin/rubocop +29 -0
  91. data/bundle/ruby/2.7.0/gems/rake-13.0.3/bin/setup +6 -0
  92. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/command_line_usage.rdoc +158 -0
  93. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/example/Rakefile1 +38 -0
  94. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/example/Rakefile2 +35 -0
  95. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/example/a.c +6 -0
  96. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/example/b.c +6 -0
  97. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/example/main.c +11 -0
  98. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/glossary.rdoc +42 -0
  99. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/jamis.rb +592 -0
  100. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/proto_rake.rdoc +127 -0
  101. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/rake.1 +156 -0
  102. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/rakefile.rdoc +622 -0
  103. data/bundle/ruby/2.7.0/gems/rake-13.0.3/doc/rational.rdoc +151 -0
  104. data/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake +27 -0
  105. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/application.rb +824 -0
  106. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/backtrace.rb +24 -0
  107. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/clean.rb +78 -0
  108. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/cloneable.rb +17 -0
  109. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/cpu_counter.rb +107 -0
  110. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/default_loader.rb +15 -0
  111. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/dsl_definition.rb +195 -0
  112. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/early_time.rb +22 -0
  113. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/ext/core.rb +26 -0
  114. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/ext/string.rb +176 -0
  115. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/file_creation_task.rb +25 -0
  116. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/file_list.rb +435 -0
  117. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/file_task.rb +54 -0
  118. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/file_utils.rb +134 -0
  119. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/file_utils_ext.rb +134 -0
  120. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/invocation_chain.rb +57 -0
  121. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/invocation_exception_mixin.rb +17 -0
  122. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/late_time.rb +18 -0
  123. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/linked_list.rb +112 -0
  124. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/loaders/makefile.rb +54 -0
  125. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/multi_task.rb +14 -0
  126. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/name_space.rb +38 -0
  127. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/packagetask.rb +222 -0
  128. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/phony.rb +16 -0
  129. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/private_reader.rb +21 -0
  130. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/promise.rb +100 -0
  131. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/pseudo_status.rb +30 -0
  132. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/rake_module.rb +67 -0
  133. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb +27 -0
  134. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
  135. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/scope.rb +43 -0
  136. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task.rb +434 -0
  137. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task_argument_error.rb +8 -0
  138. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task_arguments.rb +109 -0
  139. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/task_manager.rb +331 -0
  140. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/tasklib.rb +12 -0
  141. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/testtask.rb +189 -0
  142. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/thread_history_display.rb +49 -0
  143. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/thread_pool.rb +163 -0
  144. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/trace_output.rb +23 -0
  145. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/version.rb +10 -0
  146. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake/win32.rb +51 -0
  147. data/bundle/ruby/2.7.0/gems/rake-13.0.3/lib/rake.rb +71 -0
  148. data/bundle/ruby/2.7.0/gems/rake-13.0.3/rake.gemspec +43 -0
  149. data/bundle/ruby/2.7.0/gems/rspec-3.12.0/LICENSE.md +27 -0
  150. data/bundle/ruby/2.7.0/gems/rspec-3.12.0/README.md +47 -0
  151. data/bundle/ruby/2.7.0/gems/rspec-3.12.0/lib/rspec/version.rb +5 -0
  152. data/bundle/ruby/2.7.0/gems/rspec-3.12.0/lib/rspec.rb +3 -0
  153. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/.document +5 -0
  154. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/.yardopts +8 -0
  155. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/Changelog.md +2360 -0
  156. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/LICENSE.md +26 -0
  157. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/README.md +384 -0
  158. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/exe/rspec +4 -0
  159. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/autorun.rb +3 -0
  160. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/backtrace_formatter.rb +65 -0
  161. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/coordinator.rb +62 -0
  162. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
  163. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/fork_runner.rb +138 -0
  164. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/server.rb +61 -0
  165. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/shell_command.rb +126 -0
  166. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
  167. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/bisect/utilities.rb +69 -0
  168. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb +2385 -0
  169. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/configuration_options.rb +233 -0
  170. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/did_you_mean.rb +46 -0
  171. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/drb.rb +120 -0
  172. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/dsl.rb +98 -0
  173. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/example.rb +666 -0
  174. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb +905 -0
  175. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/example_status_persister.rb +235 -0
  176. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/filter_manager.rb +231 -0
  177. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/flat_map.rb +20 -0
  178. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
  179. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
  180. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  181. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
  182. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
  183. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/console_codes.rb +76 -0
  184. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  185. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
  186. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb +525 -0
  187. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
  188. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  189. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/helpers.rb +118 -0
  190. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
  191. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/html_printer.rb +412 -0
  192. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
  193. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
  194. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  195. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  196. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/protocol.rb +182 -0
  197. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  198. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  199. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters.rb +279 -0
  200. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb +646 -0
  201. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/invocations.rb +87 -0
  202. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/memoized_helpers.rb +580 -0
  203. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/metadata.rb +498 -0
  204. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/metadata_filter.rb +255 -0
  205. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  206. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  207. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  208. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
  209. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  210. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  211. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/notifications.rb +521 -0
  212. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/option_parser.rb +323 -0
  213. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/ordering.rb +169 -0
  214. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/output_wrapper.rb +29 -0
  215. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/pending.rb +157 -0
  216. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/profiler.rb +34 -0
  217. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/project_initializer/.rspec +1 -0
  218. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
  219. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/project_initializer.rb +48 -0
  220. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/rake_task.rb +188 -0
  221. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb +265 -0
  222. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/ruby_project.rb +53 -0
  223. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb +212 -0
  224. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/sandbox.rb +37 -0
  225. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/set.rb +54 -0
  226. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/shared_context.rb +55 -0
  227. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/shared_example_group.rb +271 -0
  228. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/shell_escape.rb +49 -0
  229. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  230. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/version.rb +9 -0
  231. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/warnings.rb +40 -0
  232. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core/world.rb +287 -0
  233. data/bundle/ruby/2.7.0/gems/rspec-core-3.12.0/lib/rspec/core.rb +212 -0
  234. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/.document +5 -0
  235. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/.yardopts +6 -0
  236. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/Changelog.md +1294 -0
  237. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/LICENSE.md +25 -0
  238. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/README.md +320 -0
  239. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  240. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/configuration.rb +230 -0
  241. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb +163 -0
  242. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/fail_with.rb +39 -0
  243. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/failure_aggregator.rb +229 -0
  244. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb +182 -0
  245. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/minitest_integration.rb +58 -0
  246. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/syntax.rb +132 -0
  247. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations/version.rb +8 -0
  248. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/expectations.rb +82 -0
  249. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/aliased_matcher.rb +116 -0
  250. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/all.rb +86 -0
  251. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/base_matcher.rb +198 -0
  252. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/be.rb +191 -0
  253. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/be_between.rb +77 -0
  254. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
  255. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
  256. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/be_within.rb +72 -0
  257. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/change.rb +450 -0
  258. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/compound.rb +290 -0
  259. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/contain_exactly.rb +310 -0
  260. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
  261. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/cover.rb +24 -0
  262. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/eq.rb +40 -0
  263. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/eql.rb +34 -0
  264. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/equal.rb +81 -0
  265. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/exist.rb +90 -0
  266. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/has.rb +167 -0
  267. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  268. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/include.rb +206 -0
  269. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/match.rb +106 -0
  270. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/operators.rb +128 -0
  271. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/output.rb +207 -0
  272. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/raise_error.rb +271 -0
  273. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/respond_to.rb +200 -0
  274. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  275. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  276. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
  277. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in/yield.rb +375 -0
  278. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/built_in.rb +53 -0
  279. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/composable.rb +171 -0
  280. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/dsl.rb +545 -0
  281. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/english_phrasing.rb +58 -0
  282. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
  283. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/fail_matchers.rb +42 -0
  284. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/generated_descriptions.rb +41 -0
  285. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/matcher_delegator.rb +35 -0
  286. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers/matcher_protocol.rb +105 -0
  287. data/bundle/ruby/2.7.0/gems/rspec-expectations-3.12.1/lib/rspec/matchers.rb +1044 -0
  288. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/.document +5 -0
  289. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/.yardopts +6 -0
  290. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/Changelog.md +1227 -0
  291. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/LICENSE.md +25 -0
  292. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/README.md +463 -0
  293. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
  294. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  295. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  296. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  297. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  298. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  299. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/recorder.rb +295 -0
  300. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  301. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  302. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance.rb +11 -0
  303. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/argument_list_matcher.rb +115 -0
  304. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/argument_matchers.rb +322 -0
  305. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/configuration.rb +212 -0
  306. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/error_generator.rb +390 -0
  307. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/example_methods.rb +434 -0
  308. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  309. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/marshal_extension.rb +41 -0
  310. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  311. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
  312. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/receive.rb +133 -0
  313. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  314. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  315. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_chain.rb +87 -0
  316. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/message_expectation.rb +820 -0
  317. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_double.rb +309 -0
  318. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/method_reference.rb +214 -0
  319. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/minitest_integration.rb +68 -0
  320. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/mutate_const.rb +339 -0
  321. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/object_reference.rb +149 -0
  322. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/order_group.rb +81 -0
  323. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/proxy.rb +519 -0
  324. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/space.rb +238 -0
  325. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/standalone.rb +3 -0
  326. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/syntax.rb +325 -0
  327. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/targets.rb +124 -0
  328. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/test_double.rb +171 -0
  329. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_double.rb +121 -0
  330. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
  331. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/verifying_proxy.rb +220 -0
  332. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks/version.rb +9 -0
  333. data/bundle/ruby/2.7.0/gems/rspec-mocks-3.12.1/lib/rspec/mocks.rb +133 -0
  334. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/Changelog.md +364 -0
  335. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/LICENSE.md +23 -0
  336. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/README.md +40 -0
  337. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/caller_filter.rb +83 -0
  338. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/comparable_version.rb +46 -0
  339. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/differ.rb +215 -0
  340. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/directory_maker.rb +63 -0
  341. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/encoded_string.rb +161 -0
  342. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
  343. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/hunk_generator.rb +47 -0
  344. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/matcher_definition.rb +42 -0
  345. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/method_signature_verifier.rb +438 -0
  346. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/mutex.rb +73 -0
  347. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/object_formatter.rb +275 -0
  348. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/recursive_const_methods.rb +76 -0
  349. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/reentrant_mutex.rb +78 -0
  350. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb +198 -0
  351. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/source/location.rb +21 -0
  352. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/source/node.rb +110 -0
  353. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/source/token.rb +94 -0
  354. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/source.rb +85 -0
  355. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
  356. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/diff_helpers.rb +31 -0
  357. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/formatting_support.rb +9 -0
  358. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/in_sub_process.rb +67 -0
  359. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  360. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/shell_out.rb +105 -0
  361. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/stderr_splitter.rb +75 -0
  362. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/string_matcher.rb +45 -0
  363. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  364. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  365. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/spec.rb +82 -0
  366. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/version.rb +7 -0
  367. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/warnings.rb +39 -0
  368. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support/with_keywords_when_needed.rb +33 -0
  369. data/bundle/ruby/2.7.0/gems/rspec-support-3.12.0/lib/rspec/support.rb +154 -0
  370. data/bundle/ruby/2.7.0/specifications/diff-lcs-1.5.0.gemspec +50 -0
  371. data/bundle/ruby/2.7.0/specifications/rake-13.0.3.gemspec +26 -0
  372. data/bundle/ruby/2.7.0/specifications/rspec-3.12.0.gemspec +39 -0
  373. data/bundle/ruby/2.7.0/specifications/rspec-core-3.12.0.gemspec +53 -0
  374. data/bundle/ruby/2.7.0/specifications/rspec-expectations-3.12.1.gemspec +44 -0
  375. data/bundle/ruby/2.7.0/specifications/rspec-mocks-3.12.1.gemspec +44 -0
  376. data/bundle/ruby/2.7.0/specifications/rspec-support-3.12.0.gemspec +36 -0
  377. data/lib/takuya/lvm_snapshot/version.rb +7 -0
  378. data/lib/takuya/lvm_snapshot.rb +111 -0
  379. data/takuya-lvm-snapshot.gemspec +34 -0
  380. metadata +424 -0
@@ -0,0 +1,2360 @@
1
+ ### Development
2
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.0...3-12-maintenance)
3
+
4
+ ### 3.12.0 / 2022-10-26
5
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.11.0...v3.12.0)
6
+
7
+ * No changes, released to support other gems.
8
+
9
+ ### 3.11.0 / 2022-02-09
10
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.10.2...v3.11.0)
11
+
12
+ Enhancements:
13
+
14
+ * Improve pluralisation of words ending with `s` (like process). (Joshua Pinter, #2779)
15
+ * Add ordering by file modification time (most recent first). (Matheus Richard, #2778)
16
+ * Add `to_s` to reserved names for #let and #subject. (Nick Flückiger, #2886)
17
+ * Introduce `RSpec.current_scope` to expose the current scope in which
18
+ RSpec is executing. e.g. `:before_example_hook`, `:example` etc. (@odinhb, #2895)
19
+ * Add named bold colours as options for custom colours. (#2913, #2914)
20
+ * Warn when (but not prevent) a `SystemExit` occurs. (Jared Beck, #2926)
21
+
22
+ ### 3.10.2 / 2022-01-27
23
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.10.1...v3.10.2)
24
+
25
+ Bug fixes:
26
+
27
+ * Ensure bisect communication uses consistent encoding. (Mike Jarema, #2852)
28
+ * Fix exception presenter when the root cause exception has nil backtrace.
29
+ (Zinovyev Ivan, #2903)
30
+ * Fix `inspect` output of `RSpec::Core::Example::Procsy` to namespace correctly.
31
+ (Keiko Kaneko, #2915)
32
+ * Ensure formatters not exposing `#output` will not crash duplicate check.
33
+ (@niceking, #2916)
34
+
35
+ ### 3.10.1 / 2020-12-27
36
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.10.0...v3.10.1)
37
+
38
+ Bug fixes:
39
+
40
+ * RSpec warning output was missing deprecations from Ruby, these are now included.
41
+ (Jon Rowe, #2811)
42
+
43
+ ### 3.10.0 / 2020-10-30
44
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.3...v3.10.0)
45
+
46
+ Enhancements:
47
+
48
+ * Memoize `RSpec::Core::Formatters::ExceptionPresenter#exception_lines` to improve performance
49
+ with slow exception messages. (Maxime Lapointe, #2743)
50
+ * Add configuration for an error exit code (to disambiguate errored builds from failed builds
51
+ by exit status). (Dana Sherson, #2749)
52
+
53
+ ### 3.9.3 / 2020-09-30
54
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.2...v3.9.3)
55
+
56
+ Bug Fixes:
57
+
58
+ * Declare `ruby2_keywords` on `method_missing` for other gems. (Jon Rowe, #2731)
59
+ * Ensure custom error codes are returned from bisect runs. (Jon Rowe, #2732)
60
+ * Ensure `RSpec::Core::Configuration` predicate config methods return booleans.
61
+ (Marc-André Lafortune, #2736)
62
+ * Prevent `rspec --bisect` from generating zombie processes while executing
63
+ bisect runs. (Benoit Tigeot, Jon Rowe, #2739)
64
+ * Predicates for pending examples, (in `RSpec::Core::Example`, `#pending?`, `#skipped?` and
65
+ `#pending_fixed?`) now return boolean values rather than truthy values.
66
+ (Marc-André Lafortune, #2756, #2758)
67
+ * Exceptions which have a message which cannot be cast to a string will no longer
68
+ cause a crash. (Jon Rowe, #2761)
69
+
70
+ ### 3.9.2 / 2020-05-02
71
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.1...v3.9.2)
72
+
73
+ Bug Fixes:
74
+
75
+ * Emit a warning when `around` hook is used with `:context` scope
76
+ (Phil Pirozhkov, #2687)
77
+ * Prevent invalid implementations of `Exception#cause` from being treated as a
78
+ valid cause (and causing strange errors) in `RSpec::Core::Formatters::ExceptionPresenter`.
79
+ (Jon Rowe, #2703)
80
+ * Correctly detect patterns when `rspec_opts` is an array in `RSpec::Core::RakeTask`.
81
+ (Marc-André Lafortune, #2704)
82
+ * Make `RSpec.clear_examples` reset example counts for example groups. This fixes
83
+ an issue with re-running specs not matching ids. (Agis Anastasopoulos, #2723)
84
+
85
+ ### 3.9.1 / 2019-12-28
86
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.0...v3.9.1)
87
+
88
+ Bug Fixes:
89
+
90
+ * Prevent bisect command from blocking when number of specs exceeds file
91
+ descriptor limit on OSX or Linux. (Benoit Tigeot, #2669)
92
+ * Prevent warnings being issued on Ruby 2.7.0. (Jon Rowe, #2680)
93
+
94
+ ### 3.9.0 / 2019-10-07
95
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.2...v3.9.0)
96
+
97
+ Enhancements:
98
+
99
+ * Improve the handling of errors during loading support files, if a file
100
+ errors before loading specs, RSpec will now skip loading the specs.
101
+ (David Rodríguez, #2568)
102
+ * Add support for --example-matches to run examples by regular expression.
103
+ (Sam Joseph, Matt Rider, @okothkongo1, #2586)
104
+ * Add `did_you_mean` suggestions for file names encountering a `LoadError`
105
+ outside of examples. (@obromios, #2601)
106
+ * Add a minimalist quick fix style formatter, only outputs failures as
107
+ `file:line:message`. (Romain Tartière, #2614)
108
+ * Convert string number values to integer when used for `RSpec::Configuration#fail_fast`
109
+ (Viktor Fonic, #2634)
110
+ * Issue warning when invalid values are used for `RSpec::Configuration#fail_fast`
111
+ (Viktor Fonic, #2634)
112
+ * Add support for running the Rake task in a clean environment.
113
+ (Jon Rowe, #2632)
114
+ * Indent messages by there example group / example in the documentation formatter.
115
+ (Samuel Williams, #2649)
116
+
117
+ ### 3.8.2 / 2019-06-29
118
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.1...v3.8.2)
119
+
120
+ Bug Fixes:
121
+
122
+ * Fix `config.define_derived_metadata` so that cascades are not triggered
123
+ until metadata has been assigned to the example or example group
124
+ (Myron Marston, #2635).
125
+
126
+ ### 3.8.1 / 2019-06-13
127
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.0...v3.8.1)
128
+
129
+ Bug Fixes:
130
+
131
+ * Handle RSpec description(s) with japanese chars in CP932 encoded files.
132
+ (Benoit Tigeot, #2575)
133
+ * When defining `let` methods that overwrite an existing method, prevent
134
+ a warning being issued by removing the old definition. (Jon Rowe, #2593)
135
+ * Prevent warning on Ruby 2.6.0-rc1 (Keiji Yoshimi, #2582)
136
+ * Fix `config.define_derived_metadata` so that it supports cascades.
137
+ (Myron Marston, #2630).
138
+
139
+ ### 3.8.0 / 2018-08-04
140
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.7.1...v3.8.0)
141
+
142
+ Enhancements:
143
+
144
+ * Improve shell escaping used by `RSpec::Core::RakeTask` and `--bisect` so
145
+ that it works on `Pathname` objects. (Andrew Vit, #2479)
146
+ * Nicely format errors encountered while loading files specified
147
+ by `--require` option. (Myron Marston, #2504)
148
+ * Significantly improve the performance of `--bisect` on platforms that
149
+ support forking by replacing the shell-based runner with one that uses
150
+ forking so that RSpec and the application environment can be booted only
151
+ once, instead of once per spec run. (Myron Marston, #2511)
152
+ * Provide a configuration API to pick which bisect runner is used for
153
+ `--bisect`. Pick a runner via `config.bisect_runner = :shell` or
154
+ `config.bisect_runner = :fork` in a file loaded by a `--require`
155
+ option passed at the command line or set in `.rspec`. (Myron Marston, #2511)
156
+ * Support the [XDG Base Directory
157
+ Specification](https://specifications.freedesktop.org/basedir-spec/latest/)
158
+ for the global options file. `~/.rspec` is still supported when no
159
+ options file is found in `$XDG_CONFIG_HOME/rspec/options` (Magnus Bergmark, #2538)
160
+ * Extract `RSpec.world.prepare_example_filtering` that sets up the
161
+ example filtering for custom RSpec runners. (Oleg Pudeyev, #2552)
162
+
163
+ Bug Fixes:
164
+
165
+ * Prevent an `ArgumentError` when truncating backtraces with two identical
166
+ backtraces. (Systho, #2515, Benoit Tigeot, #2539)
167
+
168
+ ### 3.7.1 / 2018-01-02
169
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.7.0...v3.7.1)
170
+
171
+ Bug Fixes:
172
+
173
+ * Work around duplicate config hook regression introduced
174
+ by Ruby 2.5's lazy proc allocation. (Myron Marston, #2497)
175
+
176
+ ### 3.7.0 / 2017-10-17
177
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0...v3.7.0)
178
+
179
+ Enhancements:
180
+
181
+ * Add `-n` alias for `--next-failure`. (Ian Ker-Seymer, #2434)
182
+ * Improve compatibility with `--enable-frozen-string-literal` option
183
+ on Ruby 2.3+. (Pat Allan, #2425, #2427, #2437)
184
+ * Do not run `:context` hooks for example groups that have been skipped.
185
+ (Devon Estes, #2442)
186
+ * Add `errors_outside_of_examples_count` to the JSON formatter.
187
+ (Takeshi Arabiki, #2448)
188
+
189
+ Bug Fixes:
190
+
191
+ * Improve compatibility with frozen string literal flag. (#2425, Pat Allan)
192
+
193
+ ### 3.6.0 / 2017-05-04
194
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0.beta2...v3.6.0)
195
+
196
+ Enhancements:
197
+
198
+ * Add seed information to JSON formatter output. (#2388, Mitsutaka Mimura)
199
+ * Include example id in the JSON formatter output. (#2369, Xavier Shay)
200
+ * Respect changes to `config.output_stream` after formatters have been
201
+ setup. (#2401, #2419, Ilya Lavrov)
202
+
203
+ Bug Fixes:
204
+
205
+ * Delay formatter loading until the last minute to allow accessing the reporter
206
+ without triggering formatter setup. (Jon Rowe, #2243)
207
+ * Ensure context hook failures running before an example can access the
208
+ reporter. (Jon Jensen, #2387)
209
+ * Multiple fixes to allow using the runner multiple times within the same
210
+ process: `RSpec.clear_examples` resets the formatter and no longer clears
211
+ shared examples, and streams can be used across multiple runs rather than
212
+ being closed after the first. (#2368, Xavier Shay)
213
+ * Prevent unexpected `example_group_finished` notifications causing an error.
214
+ (#2396, VTJamie)
215
+ * Fix bugs where `config.when_first_matching_example_defined` hooks would fire
216
+ multiple times in some cases. (Yuji Nakayama, #2400)
217
+ * Default `last_run_status` to "unknown" when the `status` field in the
218
+ persistence file contains an unrecognized value. (#2360, matrinox)
219
+ * Prevent `let` from defining an `initialize` method. (#2414, Jon Rowe)
220
+
221
+ ### 3.6.0.beta2 / 2016-12-12
222
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0.beta1...v3.6.0.beta2)
223
+
224
+ Enhancements:
225
+
226
+ * Include count of errors occurring outside examples in default summaries.
227
+ (#2351, Jon Rowe)
228
+ * Warn when including shared example groups recursively. (#2356, Jon Rowe)
229
+ * Improve failure snippet syntax highlighting with CodeRay to highlight
230
+ RSpec "keywords" like `expect`. (#2358, Myron Marston)
231
+
232
+ ### 3.6.0.beta1 / 2016-10-09
233
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.4...v3.6.0.beta1)
234
+
235
+ Enhancements:
236
+
237
+ * Warn when duplicate shared examples definitions are loaded due to being
238
+ defined in files matching the spec pattern (e.g. `_spec.rb`) (#2278, Devon Estes)
239
+ * Improve metadata filtering so that it can match against any object
240
+ that implements `===` instead of treating regular expressions as
241
+ special. (Myron Marston, #2294)
242
+ * Improve `rspec -v` so that it prints out the versions of each part of
243
+ RSpec to prevent confusion. (Myron Marston, #2304)
244
+ * Add `config.fail_if_no_examples` option which causes RSpec to fail if
245
+ no examples are found. (Ewa Czechowska, #2302)
246
+ * Nicely format errors encountered while loading spec files.
247
+ (Myron Marston, #2323)
248
+ * Improve the API for enabling and disabling color output (Josh
249
+ Justice, #2321):
250
+ * Automatically enable color if the output is a TTY, since color is
251
+ nearly always desirable if the output can handle it.
252
+ * Introduce new CLI flag to force color on (`--force-color`), even
253
+ if the output is not a TTY. `--no-color` continues to work as well.
254
+ * Introduce `config.color_mode` for configuring the color from Ruby.
255
+ `:automatic` is the default and will produce color if the output is
256
+ a TTY. `:on` forces it on and `:off` forces it off.
257
+
258
+ ### 3.5.4 / 2016-09-30
259
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.3...v3.5.4)
260
+
261
+ Bug Fixes:
262
+
263
+ * Remove accumulated `ExampleGroup` constants when reseting RSpec,
264
+ preventing a memory leak. (TravisSpangle, #2328)
265
+
266
+ ### 3.5.3 / 2016-09-02
267
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.2...v3.5.3)
268
+
269
+ Bug Fixes:
270
+
271
+ * When applying shared group metadata to a host group, overwrite
272
+ conflicting keys if the value in the host group was inherited from
273
+ a parent group instead of being specified at that level.
274
+ (Myron Marston, #2307)
275
+ * Handle errors in `:suite` hooks and provide the same nicely formatted
276
+ output as errors that happen in examples. (Myron Marston, #2316)
277
+ * Set the exit status to non-zero when an error occurs in an
278
+ `after(:context)` hook. (Myron Marston, #2320)
279
+
280
+ ### 3.5.2 / 2016-07-28
281
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.1...v3.5.2)
282
+
283
+ Bug Fixes:
284
+
285
+ * Wait to report `example_finished` until the example's `execution_result`
286
+ has been completely filled in. (Myron Marston, #2291)
287
+ * Make sure example block is still available when using `duplicate_with`
288
+ to clone examples. (bootstraponline, #2298)
289
+ * Don't include the default `--pattern` in the Rake task when
290
+ `rspec_opts` specifies its own. (Jon Rowe, #2305)
291
+
292
+ ### 3.5.1 / 2016-07-06
293
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0...v3.5.1)
294
+
295
+ Bug Fixes:
296
+
297
+ * Ensure that config hooks that are added to existing example groups are
298
+ added only once. (Eugene Kenny, #2280)
299
+
300
+ ### 3.5.0 / 2016-07-01
301
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta4...v3.5.0)
302
+
303
+ Enhancements:
304
+
305
+ * Include any `SPEC_OPTS` in reproduction command printed at the end of
306
+ a bisect run. (Simon Coffey, #2274)
307
+
308
+ Bug Fixes:
309
+
310
+ * Handle `--bisect` in `SPEC_OPTS` environment variable correctly so as
311
+ to avoid infinite recursion. (Simon Coffey, #2271)
312
+
313
+ ### 3.5.0.beta4 / 2016-06-05
314
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta3...v3.5.0.beta4)
315
+
316
+ Enhancements:
317
+
318
+ * Filter out bundler stackframes from backtraces by default, since
319
+ Bundler 1.12 now includes its own frames in stack traces produced
320
+ by using `bundle exec`. (Myron Marston, #2240)
321
+ * HTML Formatter uses exception presenter to get failure message
322
+ for consistency with other formatters. (@mrageh, #2222)
323
+ * Load spec files in the order of the directories or files passed
324
+ at the command line, making it easy to make some specs run before
325
+ others in a one-off manner. For example, `rspec spec/unit
326
+ spec/acceptance --order defined` will run unit specs before acceptance
327
+ specs. (Myron Marston, #2253)
328
+ * Add new `config.include_context` API for configuring global or
329
+ filtered inclusion of shared contexts in example groups.
330
+ (Myron Marston, #2256)
331
+ * Add new `config.shared_context_metadata_behavior = :apply_to_host_groups`
332
+ option, which causes shared context metadata to be inherited by the
333
+ metadata hash of all host groups and examples instead of configuring
334
+ implicit auto-inclusion based on the passed metadata. (Myron Marston, #2256)
335
+
336
+ Bug Fixes:
337
+
338
+ * Fix `--bisect` so it works on large spec suites that were previously triggering
339
+ "Argument list too long errors" due to all the spec locations being passed as
340
+ CLI args. (Matt Jones, #2223).
341
+ * Fix deprecated `:example_group`-based filtering so that it properly
342
+ applies to matching example groups. (Myron Marston, #2234)
343
+ * Fix `NoMethodError` caused by Java backtraces on JRuby. (Michele Piccirillo, #2244)
344
+
345
+ ### 3.5.0.beta3 / 2016-04-02
346
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta2...v3.5.0.beta3)
347
+
348
+ Enhancements:
349
+
350
+ * Add new `config.filter_run_when_matching` API, intended to replace
351
+ the combination of `config.filter_run` and
352
+ `config.run_all_when_everything_filtered` (Myron Marston, #2206)
353
+
354
+ Bug Fixes:
355
+
356
+ * Use the encoded string logic for source extraction. (Jon Rowe, #2183)
357
+ * Fix rounding issue in duration formatting helper. (Fabersky, Jon Rowe, #2208)
358
+ * Fix failure snippet extraction so that `def-end` snippets
359
+ ending with `end`-only line can be extracted properly.
360
+ (Yuji Nakayama, #2215)
361
+
362
+ ### 3.5.0.beta2 / 2016-03-10
363
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta1...v3.5.0.beta2)
364
+
365
+ Enhancements:
366
+
367
+ * Remove unneeded `:execution_result` example group metadata, saving a
368
+ bit of memory. (Myron Marston, #2172)
369
+ * Apply hooks registered with `config` to previously defined groups.
370
+ (Myron Marston, #2189)
371
+ * `RSpec::Core::Configuration#reporter` is now public API under SemVer.
372
+ (Jon Rowe, #2193)
373
+ * Add new `config.when_first_matching_example_defined` hook. (Myron
374
+ Marston, #2175)
375
+
376
+ ### 3.5.0.beta1 / 2016-02-06
377
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.4...v3.5.0.beta1)
378
+
379
+ Enhancements:
380
+
381
+ * Add `RSpec::Core::ExampleGroup.currently_executing_a_context_hook?`,
382
+ primarily for use by rspec-rails. (Sam Phippen, #2131)
383
+
384
+ Bug Fixes:
385
+
386
+ * Ensure `MultipleExceptionError` does not contain a recursive reference
387
+ to itself. (Sam Phippen, #2133)
388
+
389
+ ### 3.4.4 / 2016-03-09
390
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.3...v3.4.4)
391
+
392
+ Bug Fixes:
393
+
394
+ * Fix `RSpec::Core::RakeTask` so that it works with Rake 11.
395
+ (Travis Grathwell, #2197)
396
+
397
+ ### 3.4.3 / 2016-02-19
398
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.2...v3.4.3)
399
+
400
+ Bug Fixes:
401
+
402
+ * Prevent a `TypeError` from occurring when running via the rake task when
403
+ Ruby crashes. (Patrik Wenger, #2161)
404
+ * Only consider example and group declaration lines from a specific file
405
+ when applying line number filtering, instead of considering all
406
+ declaration lines from all spec files. (Myron Marston, #2170)
407
+ * Fix failure snippet extraction so that snippets that contain `do-end` style
408
+ block and end with `end`-only line can be extracted properly.
409
+ (Yuji Nakayama, #2173)
410
+ * Prevent infinite recursion when an exception is caused by itself.
411
+ (Jon Rowe, #2128)
412
+
413
+ ### 3.4.2 / 2016-01-26
414
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.1...v3.4.2)
415
+
416
+ Bug Fixes:
417
+
418
+ * Fix `rspec --profile` when an example calls `abort` or `exit`.
419
+ (Bradley Schaefer, #2144)
420
+ * Fix `--drb` so that when no DRb server is running, it prevents
421
+ the DRb connection error from being listed as the cause of all
422
+ expectation failures. (Myron Marston, #2156)
423
+ * Fix syntax highlighter so that it works when the `coderay` gem is
424
+ installed as a rubygem but not already available on your load path
425
+ (as happens when you use bundler). (Myron Marston, #2159)
426
+
427
+ ### 3.4.1 / 2015-11-18
428
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.0...v3.4.1)
429
+
430
+ Bug Fixes:
431
+
432
+ * Fix backtrace formatter to handle backtraces that are `nil`.
433
+ (Myron Marston, #2118)
434
+
435
+ ### 3.4.0 / 2015-11-11
436
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.2...v3.4.0)
437
+
438
+ Enhancements:
439
+
440
+ * Combine multiple `--pattern` arguments making them equivalent to
441
+ `--pattern=1,2,...,n`. (Jon Rowe, #2002)
442
+ * Improve `inspect` and `to_s` output for `RSpec::Core::Example`
443
+ objects, replacing Ruby's excessively verbose output. (Gavin Miller, #1922)
444
+ * Add `silence_filter_announcements` configuration option.
445
+ (David Raffensperger, #2007)
446
+ * Add optional `example_finished` notification to the reporter protocol for
447
+ when you don't care about the example outcome. (Jon Rowe, #2013)
448
+ * Switch `--bisect` to a recursion-based bisection algorithm rather than
449
+ a permutation-based one. This better handles cases where an example
450
+ depends upon multiple other examples instead of just one and minimizes
451
+ the number of runs necessary to determine that an example set cannot be
452
+ minimized further. (Simon Coffey, #1997)
453
+ * Allow simple filters (e.g. `:symbol` key only) to be triggered by truthey
454
+ values. (Tim Mertens, #2035)
455
+ * Remove unneeded warning about need for `ansicon` on Windows when using
456
+ RSpec's `--color` option. (Ashley Engelund, #2038)
457
+ * Add option to configure RSpec to raise errors when issuing warnings.
458
+ (Jon Rowe, #2052)
459
+ * Append the root `cause` of a failure or error to the printed failure
460
+ output when a `cause` is available. (Adam Magan)
461
+ * Stop rescuing `NoMemoryError`, `SignalExcepetion`, `Interrupt` and
462
+ `SystemExit`. It is dangerous to interfere with these. (Myron Marston, #2063)
463
+ * Add `config.project_source_dirs` setting which RSpec uses to determine
464
+ if a backtrace line comes from your project source or from some
465
+ external library. It defaults to `spec`, `lib` and `app` but can be
466
+ configured differently. (Myron Marston, #2088)
467
+ * Improve failure line detection so that it looks for the failure line
468
+ in any project source directory instead of just in the spec file.
469
+ In addition, if no backtrace lines can be found from a project source
470
+ file, we fall back to displaying the source of the first backtrace
471
+ line. This should virtually eliminate the "Unable to find matching
472
+ line from backtrace" messages. (Myron Marston, #2088)
473
+ * Add support for `:extra_failure_lines` example metadata that will
474
+ be appended to the failure output. (bootstraponline, #2092).
475
+ * Add `RSpec::Core::Example#duplicate_with` to produce new examples
476
+ with cloned metadata. (bootstraponline, #2098)
477
+ * Add `RSpec::Core::Configuration#on_example_group_definition` to register
478
+ hooks to be invoked when example groups are created. (bootstraponline, #2094)
479
+ * Add `add_example` and `remove_example` to `RSpec::Core::ExampleGroup` to
480
+ allow manipulating an example groups examples. (bootstraponline, #2095)
481
+ * Display multiline failure source lines in failure output when Ripper is
482
+ available (MRI >= 1.9.2, and JRuby >= 1.7.5 && < 9.0.0.0.rc1).
483
+ (Yuji Nakayama, #2083)
484
+ * Add `max_displayed_failure_line_count` configuration option
485
+ (defaults to 10). (Yuji Nakayama, #2083)
486
+ * Enhance `fail_fast` option so it can take a number (e.g. `--fail-fast=3`)
487
+ to force the run to abort after the specified number of failures.
488
+ (Jack Scotti, #2065)
489
+ * Syntax highlight the failure snippets in text formatters when `color`
490
+ is enabled and the `coderay` gem is installed on a POSIX system.
491
+ (Myron Marston, #2109)
492
+
493
+ Bug Fixes:
494
+
495
+ * Lock `example_status_persistence_file` when reading from and writing
496
+ to it to prevent race conditions when multiple processes try to use
497
+ it. (Ben Woosley, #2029)
498
+ * Fix regression in 3.3 that caused spec file names with square brackets in
499
+ them (such as `1[]_spec.rb`) to not be loaded properly. (Myron Marston, #2041)
500
+ * Fix output encoding issue caused by ASCII literal on 1.9.3 (Jon Rowe, #2072)
501
+ * Fix requires in `rspec/core/rake_task.rb` to avoid double requires
502
+ seen by some users. (Myron Marston, #2101)
503
+
504
+ ### 3.3.2 / 2015-07-15
505
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.1...v3.3.2)
506
+
507
+ Bug Fixes:
508
+
509
+ * Fix formatters to handle exceptions for which `backtrace` returns `nil`.
510
+ (Myron Marston, #2023)
511
+ * Fix duplicate formatter detection so that it allows subclasses of formatters
512
+ to be added. (Sebastián Tello, #2019)
513
+
514
+ ### 3.3.1 / 2015-06-18
515
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.0...v3.3.1)
516
+
517
+ Bug Fixes:
518
+
519
+ * Correctly run `before(:suite)` (and friends) in the context of an example
520
+ group instance, thus making the expected RSpec environment available.
521
+ (Jon Rowe, #1986)
522
+
523
+ ### 3.3.0 / 2015-06-12
524
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.3...v3.3.0)
525
+
526
+ Enhancements:
527
+
528
+ * Expose the reporter used to run examples via `RSpec::Core::Example#reporter`.
529
+ (Jon Rowe, #1866)
530
+ * Make `RSpec::Core::Reporter#message` a public supported API. (Jon Rowe, #1866)
531
+ * Allow custom formatter events to be published via
532
+ `RSpec::Core::Reporter#publish(event_name, hash_of_attributes)`. (Jon Rowe, #1869)
533
+ * Remove dependency on the standard library `Set` and replace with `RSpec::Core::Set`.
534
+ (Jon Rowe, #1870)
535
+ * Assign a unique id to each example and group so that they can be
536
+ uniquely identified, even for shared examples (and similar situations)
537
+ where the location isn't unique. (Myron Marston, #1884)
538
+ * Use the example id in the rerun command printed for failed examples
539
+ when the location is not unique. (Myron Marston, #1884)
540
+ * Add `config.example_status_persistence_file_path` option, which is
541
+ used to persist the last run status of each example. (Myron Marston, #1888)
542
+ * Add `:last_run_status` metadata to each example, which indicates what
543
+ happened the last time an example ran. (Myron Marston, #1888)
544
+ * Add `--only-failures` CLI option which filters to only the examples
545
+ that failed the last time they ran. (Myron Marston, #1888)
546
+ * Add `--next-failure` CLI option which allows you to repeatedly focus
547
+ on just one of the currently failing examples, then move on to the
548
+ next failure, etc. (Myron Marston, #1888)
549
+ * Make `--order random` ordering stable, so that when you rerun a
550
+ subset with a given seed, the examples will be order consistently
551
+ relative to each other. (Myron Marston, #1908)
552
+ * Set example group constant earlier so errors when evaluating the context
553
+ include the example group name (Myron Marson, #1911)
554
+ * Make `let` and `subject` threadsafe. (Josh Cheek, #1858)
555
+ * Add version information into the JSON formatter. (Mark Swinson, #1883)
556
+ * Add `--bisect` CLI option, which will repeatedly run your suite in
557
+ order to isolate the failures to the smallest reproducible case.
558
+ (Myron Marston, #1917)
559
+ * For `config.include`, `config.extend` and `config.prepend`, apply the
560
+ module to previously defined matching example groups. (Eugene Kenny, #1935)
561
+ * When invalid options are parsed, notify users where they came from
562
+ (e.g. `.rspec` or `~/.rspec` or `ENV['SPEC_OPTS']`) so they can
563
+ easily find the source of the problem. (Myron Marston, #1940)
564
+ * Add pending message contents to the json formatter output. (Jon Rowe, #1949)
565
+ * Add shared group backtrace to the output displayed by the built-in
566
+ formatters for pending examples that have been fixed. (Myron Marston, #1946)
567
+ * Add support for `:aggregate_failures` metadata. Tag an example or
568
+ group with this metadata and it'll use rspec-expectations'
569
+ `aggregate_failures` feature to allow multiple failures in an example
570
+ and list them all, rather than aborting on the first failure. (Myron
571
+ Marston, #1946)
572
+ * When no formatter implements #message add a fallback to prevent those
573
+ messages being lost. (Jon Rowe, #1980)
574
+ * Profiling examples now takes into account time spent in `before(:context)`
575
+ hooks. (Denis Laliberté, Jon Rowe, #1971)
576
+ * Improve failure output when an example has multiple exceptions, such
577
+ as one from an `it` block and one from an `after` block. (Myron Marston, #1985)
578
+
579
+ Bug Fixes:
580
+
581
+ * Handle invalid UTF-8 strings within exception methods. (Benjamin Fleischer, #1760)
582
+ * Fix Rake Task quoting of file names with quotes to work properly on
583
+ Windows. (Myron Marston, #1887)
584
+ * Fix `RSpec::Core::RakeTask#failure_message` so that it gets printed
585
+ when the task failed. (Myron Marston, #1905)
586
+ * Make `let` work properly when defined in a shared context that is applied
587
+ to an individual example via metadata. (Myron Marston, #1912)
588
+ * Ensure `rspec/autorun` respects configuration defaults. (Jon Rowe, #1933)
589
+ * Prevent modules overriding example group defined methods when included,
590
+ prepended or extended by config defined after an example group. (Eugene Kenny, #1935)
591
+ * Fix regression which caused shared examples to be mistakenly run when specs
592
+ where filtered to a particular location. (Ben Axnick, #1963)
593
+ * Fix time formatting logic so that it displays 70 seconds as "1 minute,
594
+ 10 seconds" rather than "1 minute, 1 second". (Paul Brennan, #1984)
595
+ * Fix regression where the formatter loader would allow duplicate formatters.
596
+ (Jon Rowe, #1990)
597
+
598
+ ### 3.2.3 / 2015-04-06
599
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.2...v3.2.3)
600
+
601
+ Bug Fixes:
602
+
603
+ * Fix how the DSL methods are defined so that RSpec is compatible with
604
+ gems that define methods of the same name on `Kernel` (such as
605
+ the `its-it` gem). (Alex Kwiatkowski, Ryan Ong, #1907)
606
+ * Fix `before(:context) { skip }` so that it does not wrongly cause the
607
+ spec suite to exit with a non-zero status when no examples failed.
608
+ (Myron Marston, #1926)
609
+
610
+ ### 3.2.2 / 2015-03-11
611
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.1...v3.2.2)
612
+
613
+ Bug Fixes:
614
+
615
+ * Fix regression in 3.2.0 that allowed tag-filtered examples to
616
+ run even if there was a location filter applied to the spec
617
+ file that was intended to limit the file to other examples.
618
+ (#1894, Myron Marston)
619
+
620
+ ### 3.2.1 / 2015-02-23
621
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.0...v3.2.1)
622
+
623
+ Bug Fixes:
624
+
625
+ * Notify start-of-run seed _before_ `start` notification rather than
626
+ _after_ so that formatters like Fuubar work properly. (Samuel Esposito, #1882)
627
+
628
+ ### 3.2.0 / 2015-02-03
629
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.7...v3.2.0)
630
+
631
+ Enhancements:
632
+
633
+ * Improve the `inspect` output of example groups. (Mike Dalton, #1687)
634
+ * When rake task fails, only output the command if `verbose` flag is
635
+ set. (Ben Snape, #1704)
636
+ * Add `RSpec.clear_examples` as a clear way to reset examples in between
637
+ spec runs, whilst retaining user configuration. (Alexey Fedorov, #1706)
638
+ * Reduce string allocations when defining and running examples by 70%
639
+ and 50% respectively. (Myron Marston, #1738)
640
+ * Removed dependency on pathname from stdlib. (Sam Phippen, #1703)
641
+ * Improve the message presented when a user hits Ctrl-C.
642
+ (Alex Chaffee #1717, #1742)
643
+ * Improve shared example group inclusion backtrace displayed
644
+ in failed example output so that it works for all methods
645
+ of including shared example groups and shows all inclusion
646
+ locations. (Myron Marston, #1763)
647
+ * Issue seed notification at start (as well as the end) of the reporter
648
+ run. (Arlandis Word, #1761)
649
+ * Improve the documentation of around hooks. (Jim Kingdon, #1772)
650
+ * Support prepending of modules into example groups from config and allow
651
+ filtering based on metadata. (Arlandis Word, #1806)
652
+ * Emit warnings when `:suite` hooks are registered on an example group
653
+ (where it has always been ignored) or are registered with metadata
654
+ (which has always been ignored). (Myron Marston, #1805)
655
+ * Provide a friendly error message when users call RSpec example group
656
+ APIs (e.g. `context`, `describe`, `it`, `let`, `before`, etc) from
657
+ within an example where those APIs are unavailable. (Myron Marston, #1819)
658
+ * Provide a friendly error message when users call RSpec example
659
+ APIs (e.g. `expect`, `double`, `stub_const`, etc) from
660
+ within an example group where those APIs are unavailable.
661
+ (Myron Marston, #1819)
662
+ * Add new `RSpec::Core::Sandbox.sandboxed { }` API that facilitates
663
+ testing RSpec with RSpec, allowing you to define example groups
664
+ and example from within an example without affecting the global
665
+ `RSpec.world` state. (Tyler Ball, 1808)
666
+ * Apply line-number filters only to the files they are scoped to,
667
+ allowing you to mix filtered and unfiltered files. (Myron Marston, #1839)
668
+ * When dumping pending examples, include the failure details so that you
669
+ don't have to un-pend the example to see it. (Myron Marston, #1844)
670
+ * Make `-I` option support multiple values when separated by
671
+ `File::PATH_SEPARATOR`, such as `rspec -I foo:bar`. This matches
672
+ the behavior of Ruby's `-I` option. (Fumiaki Matsushima, #1855).
673
+ * Treat each example as having a singleton example group for the
674
+ purposes of applying metadata-based features that normally apply
675
+ to example groups to individually tagged examples. For example,
676
+ `RSpec.shared_context "Uses redis", :uses_redis` will now apply
677
+ to individual examples tagged with `:uses_redis`, as will
678
+ `config.include RedisHelpers, :uses_redis`, and
679
+ `config.before(:context, :uses_redis) { }`, etc. (Myron Marston, #1749)
680
+
681
+ Bug Fixes:
682
+
683
+ * When assigning generated example descriptions, surface errors
684
+ raised by `matcher.description` in the example description.
685
+ (Myron Marston, #1771)
686
+ * Don't consider expectations from `after` hooks when generating
687
+ example descriptions. (Myron Marston, #1771)
688
+ * Don't apply metadata-filtered config hooks to examples in groups
689
+ with matching metadata when those examples override the parent
690
+ metadata value to not match. (Myron Marston, #1796)
691
+ * Fix `config.expect_with :minitest` so that `skip` uses RSpec's
692
+ implementation rather than Minitest's. (Jonathan Rochkind, #1822)
693
+ * Fix `NameError` caused when duplicate example group aliases are defined and
694
+ the DSL is not globally exposed. (Aaron Kromer, #1825)
695
+ * When a shared example defined in an external file fails, use the host
696
+ example group (from a loaded spec file) for the re-run command to
697
+ ensure the command will actually work. (Myron Marston, #1835)
698
+ * Fix location filtering to work properly for examples defined in
699
+ a nested example group within a shared example group defined in
700
+ an external file. (Bradley Schaefer, Xavier Shay, Myron Marston, #1837)
701
+ * When a pending example fails (as expected) due to a mock expectation,
702
+ set `RSpec::Core::Example::ExecutionResult#pending_exception` --
703
+ previously it was not being set but should have been. (Myron Marston, #1844)
704
+ * Fix rake task to work when `rspec-core` is installed in a directory
705
+ containing a space. (Guido Günther, #1845)
706
+ * Fix regression in 3.1 that caused `describe Regexp` to raise errors.
707
+ (Durran Jordan, #1853)
708
+ * Fix regression in 3.x that caused the profile information to be printed
709
+ after the summary. (Max Lincoln, #1857)
710
+ * Apply `--seed` before loading `--require` files so that required files
711
+ can access the provided seed. (Myron Marston, #1745)
712
+ * Handle `RSpec::Core::Formatters::DeprecationFormatter::FileStream` being
713
+ reopened with an IO stream, which sometimes happens with spring.
714
+ (Kevin Mook, #1757)
715
+
716
+ ### 3.1.7 / 2014-10-11
717
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.6...v3.1.7)
718
+
719
+ Bug Fixes:
720
+
721
+ * Fix `Metadata.relative_path` so that for a current directory of
722
+ `/foo/bar`, `/foo/bar_1` is not wrongly converted to `._1`.
723
+ (Akos Vandra, #1730)
724
+ * Prevent constant lookup mistakenly finding `RSpec::ExampleGroups` generated
725
+ constants on 1.9.2 by appending a trailing `_` to the generated names.
726
+ (Jon Rowe, #1737)
727
+ * Fix bug in `:pending` metadata. If it got set in any way besides passing
728
+ it as part of the metadata literal passed to `it` (such as by using
729
+ `define_derived_metadata`), it did not have the desired effect,
730
+ instead marking the example as `:passed`. (Myron Marston, #1739)
731
+
732
+ ### 3.1.6 / 2014-10-08
733
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.5...v3.1.6)
734
+
735
+ Bug Fixes:
736
+
737
+ * Fix regression in rake task pattern handling, that prevented patterns
738
+ that were relative from the current directory rather than from `spec`
739
+ from working properly. (Myron Marston, #1734)
740
+ * Prevent rake task from generating duplicate load path entries.
741
+ (Myron Marston, #1735)
742
+
743
+ ### 3.1.5 / 2014-09-29
744
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.4...v3.1.5)
745
+
746
+ Bug Fixes:
747
+
748
+ * Fix issue with the rake task incorrectly escaping strings on Windows.
749
+ (Jon Rowe #1718)
750
+ * Support absolute path patterns. While this wasn't officially supported
751
+ previously, setting `rake_task.pattern` to an absolute path pattern in
752
+ RSpec 3.0 and before worked since it delegated to `FileList` internally
753
+ (but now just forwards the pattern on to the `rspec` command).
754
+ (Myron Marston, #1726)
755
+
756
+ ### 3.1.4 / 2014-09-18
757
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.3...v3.1.4)
758
+
759
+ Bug Fixes:
760
+
761
+ * Fix implicit `subject` when using `describe false` or `describe nil`
762
+ so that it returns the provided primitive rather than the string
763
+ representation. (Myron Marston, #1710)
764
+ * Fix backtrace filtering to allow code in subdirectories of your
765
+ current working directory (such as vendor/bundle/...) to be filtered
766
+ from backtraces. (Myron Marston, #1708)
767
+
768
+ ### 3.1.3 / 2014-09-15
769
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.2...v3.1.3)
770
+
771
+ Bug Fixes:
772
+
773
+ * Fix yet another regression in rake task pattern handling, to allow
774
+ `task.pattern = FileList["..."]` to work. That was never intended
775
+ to be supported but accidentally worked in 3.0 and earlier.
776
+ (Myron Marston, #1701)
777
+ * Fix pattern handling so that files are normalized to absolute paths
778
+ before subtracting the `--exclude-pattern` matched files from the
779
+ `--pattern` matched files so that it still works even if the patterns
780
+ are in slightly different forms (e.g. one starting with `./`).
781
+ (Christian Nelson, #1698)
782
+
783
+ ### 3.1.2 / 2014-09-08
784
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.1...v3.1.2)
785
+
786
+ Bug Fixes:
787
+
788
+ * Fix another regression in rake task pattern handling, so that patterns
789
+ that start with `./` still work. (Christian Nelson, #1696)
790
+
791
+ ### 3.1.1 / 2014-09-05
792
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.0...v3.1.1)
793
+
794
+ Bug Fixes:
795
+
796
+ * Fix a regression in rake task pattern handling, so that `rake_task.pattern = array`
797
+ works again. While we never intended to support array values (or even knew that worked!),
798
+ the implementation from 3.0 and earlier used `FileList` internally, which allows arrays.
799
+ The fix restores the old behavior. (Myron Marston, #1694)
800
+
801
+ ### 3.1.0 / 2014-09-04
802
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.4...v3.1.0)
803
+
804
+ Enhancements:
805
+
806
+ * Update files generated by `rspec --init` so that warnings are enabled
807
+ in commented out section of `spec_helper` rather than `.rspec` so users
808
+ have to consciously opt-in to the setting. (Andrew Hooker, #1572)
809
+ * Update `spec_helper` generated by `rspec --init` so that it sets the new
810
+ rspec-expectations `include_chain_clauses_in_custom_matcher_descriptions`
811
+ config option (which will be on by default in RSpec 4) and also sets the
812
+ rspec-mocks `verify_partial_doubles` option (which will also default
813
+ to on in RSpec 4). (Myron Marston, #1647)
814
+ * Provide an `inspect` output for example procsy objects (used in around
815
+ hooks) that doesn't make them look like procs. (Jon Rowe, #1620)
816
+ * Remove a few unneeded `require` statements from
817
+ `rspec/core/rake_task.rb`, making it even more lighterweight.
818
+ (Myron Marston, #1640)
819
+ * Allow rspec-core to be used when neither rspec-mocks or
820
+ rspec-expectations are installed, without requiring any
821
+ user configuration. (Sam Phippen, Myron Marston, #1615)
822
+ * Don't filter out gems from backtraces by default. (The RSpec
823
+ gems will still be filtered). User feedback has indicated
824
+ that including gems in default backtraces will be useful.
825
+ (Myron Marston, #1641)
826
+ * Add new `config.filter_gems_from_backtrace "rack", "rake"` API
827
+ to easily filter the named gems from backtraces. (Myron Marston, #1682)
828
+ * Fix default backtrace filters so that the RSpec binary is
829
+ excluded when installing RSpec as a bundler `:git` dependency.
830
+ (Myron Marston, #1648)
831
+ * Simplify command generated by the rake task so that it no longer
832
+ includes unnecessary `-S`. (Myron Marston, #1559)
833
+ * Add `--exclude-pattern` CLI option, `config.exclude_pattern =` config
834
+ option and `task.exclude_pattern =` rake task config option. Matching
835
+ files will be excluded. (John Gesimondo, Myron Marston, #1651, #1671)
836
+ * When an around hook fails to execute the example, mark it as
837
+ pending (rather than passing) so the user is made aware of the
838
+ fact that the example did not actually run. (Myron Marston, #1660)
839
+ * Remove dependency on `FileUtils` from the standard library so that users do
840
+ not get false positives where their code relies on it but they are not
841
+ requiring it. (Sam Phippen, #1565)
842
+
843
+ Bug Fixes:
844
+
845
+ * Fix rake task `t.pattern =` option so that it does not run all specs
846
+ when it matches no files, by passing along a `--pattern` option to
847
+ the `rspec` command, rather than resolving the file list and passing
848
+ along the files individually. (Evgeny Zislis, #1653)
849
+ * Fix rake task default pattern so that it follows symlinks properly.
850
+ (Myron Marston, #1672)
851
+ * Fix default pattern used with `rspec` command so that it follows
852
+ symlinks properly. (Myron Marston, #1672)
853
+ * Change how we assign constant names to example group classes so that
854
+ it avoids a problem with `describe "Core"`. (Daniela Wellisz, #1679)
855
+ * Handle rendering exceptions that have a different encoding than that
856
+ of their original source file. (Jon Rowe, #1681)
857
+ * Allow access to message_lines without colour for failed examples even
858
+ when they're part of a shared example group. (tomykaira, #1689)
859
+
860
+ ### 3.0.4 / 2014-08-14
861
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.3...v3.0.4)
862
+
863
+ Bug Fixes:
864
+
865
+ * Fix processing order of CLI options so that if `config.files_to_run`
866
+ is accessed from a file loaded by `--require`, `--pattern` is still
867
+ applied. (Myron Marston, #1652)
868
+ * Fix `config.pattern=` so that it still takes affect even if
869
+ `config.files_to_run` has already been accessed. (Myron Marston, #1652)
870
+
871
+ ### 3.0.3 / 2014-07-21
872
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.2...v3.0.3)
873
+
874
+ Bug Fixes:
875
+
876
+ * Properly convert both parts of a description into strings before
877
+ concatenation. (@nicklink483, #1636)
878
+ * Exclude the working directory when figuring out folders to ignore.
879
+ (Jon Rowe, Myron Marston, #1616)
880
+ * Allow `::RSpec::Core::Notifications::FailedExampleNotification#message_lines`
881
+ to be accessed without a colouriser. (@tomykaira, #1637)
882
+
883
+ ### 3.0.2 / 2014-06-19
884
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.1...v3.0.2)
885
+
886
+ Bug Fixes:
887
+
888
+ * Fix regression in CLI option handling that prevented `--tag slow`
889
+ passed at the command line from overriding `--tag ~slow` in `.rspec`.
890
+ (Colin Jones, #1602)
891
+ * Fix metadata `:example_group` deprecation warning so that it gets
892
+ issued at the call site of the configuration that specified it as
893
+ a filter rather than later when an example group is defined.
894
+ (Myron Marston, #1562)
895
+ * Make the line that is printed when a shared example group fails indicating
896
+ where the concrete example group is white, separating it from the stack trace
897
+ that is produced for the failure. (Sam Phippen, Jon Rowe, #1606)
898
+
899
+ ### 3.0.1 / 2014-06-12
900
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0...v3.0.1)
901
+
902
+ Bug Fixes:
903
+
904
+ * Fix a couple ruby warnings caused by rspec-core when loaded.
905
+ (Prem Sichanugrist, #1584)
906
+ * Example groups named `Config` will no longer cause a Ruby warning to be
907
+ issued. (Jimmy Cuadra, #1580)
908
+
909
+ ### 3.0.0 / 2014-06-01
910
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.rc1...v3.0.0)
911
+
912
+ Bug Fixes:
913
+
914
+ * Fix `BaseTextFormatter` so that it does not re-close a closed output
915
+ stream. (Myron Marston)
916
+ * Fix regression in metadata that caused the metadata hash of a top-level
917
+ example group to have a `:parent_example_group` key even though it has
918
+ no parent example group. (Myron Marston)
919
+
920
+ Enhancements:
921
+
922
+ * Alter the default `spec_helper.rb` to no longer recommend
923
+ `config.full_backtrace = true` see #1536 for discussion. (Jon Rowe)
924
+
925
+ ### 3.0.0.rc1 / 2014-05-18
926
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.beta2...v3.0.0.rc1)
927
+
928
+ Breaking Changes for 3.0.0:
929
+
930
+ * Change `described_class` so that in a nested group like `describe
931
+ MyClass`, it returns `MyClass` rather than the outer group's described
932
+ class. (Myron Marston)
933
+ * Refactor filter manager so that it no longer subclasses Hash and has a
934
+ tighter, more domain-specific interface. (Sergey Pchelincev)
935
+ * Remove legacy colours definitions from `BaseTextFormatter`. (Jon Rowe)
936
+ * Remove console color definitions from `BaseTextFormatter`. (Jon Rowe)
937
+ * Restructure example group metadata so that the computed keys are
938
+ exposed directly off of the metadata hash rather than being on
939
+ a nested `:example_group` subhash. In addition, the parent example
940
+ group metadata is now available as `[:parent_example_group]` rather
941
+ than `[:example_group][:example_group]`. Deprecated access via the
942
+ old key structure is still provided. (Myron Marston)
943
+ * Remove `:describes` metadata key. It duplicates `:described_class`
944
+ for no good reason. Deprecated access via `:describes` is still
945
+ provided. (Myron Marston)
946
+ * Rename `:example_group_block` metadata key to `:block`.
947
+ (Myron Marston)
948
+ * Remove deprecated `RSpec::Core::Example#options`. (Myron Marston)
949
+ * Move `BaseTextFormatter#colorize_summary` to `SummaryNotification#colorize_with`
950
+ (Jon Rowe).
951
+ * `describe some_hash` treated `some_hash` as metadata in RSpec 2.x but
952
+ will treat it as the described object in RSpec 3.0. Metadata must
953
+ always come after the description args. (Myron Marston)
954
+ * Remove deprecated `display_name` alias of `ExampleGroup.description`.
955
+ (Myron Marston)
956
+ * Remove deprecated `describes` alias of `ExampleGroup.described_class`.
957
+ (Myron Marston)
958
+ * Remove deprecated `RSpec::Core::ExampleGroup.alias_it_behaves_like_to`.
959
+ Use `RSpec::Core::Configuration#alias_it_behaves_like_to` instead.
960
+ (Myron Marston)
961
+ * Remove deprecated `RSpec::Core::ExampleGroup.alias_example_to`.
962
+ Use `RSpec::Core::Configuration#alias_example_to` instead.
963
+ (Myron Marston)
964
+ * Removed `focused` example alias and change example/group aliases
965
+ `fit`, `focus`, `fcontext` and `fdescribe` to no longer include
966
+ `:focused => true` metadata. They only contain `:focus => true`
967
+ metadata now. This means that you will need to filter them with
968
+ `filter_run :focus`, not `filter_run :focused`. (Myron Marston)
969
+ * Remove `--line-number` filtering. It's semantically dubious since it's
970
+ a global filter (potentially applied to multiple files) but there's no
971
+ meaningful connection between the same line number in multiple files.
972
+ Instead use the `rspec path/to/spec.rb:23:46` form, which is terser
973
+ and makes more sense as it is scoped to a file. (Myron Marston)
974
+ * Remove `--default_path` as an alias for `--default-path`. (Jon Rowe)
975
+ * Remove deprecated `share_examples_for`. There's still
976
+ `shared_examples` and `shared_examples_for`. (Myron Marston)
977
+ * Rename `RSpec::Core::Configuration#warnings` to
978
+ `RSpec::Core::Configuration#warnings?` since it's a boolean flag.
979
+ (Myron Marston)
980
+ * RSpec's global state is no longer reset after a spec run. This gives
981
+ more flexibility to alternate runners to decide when and if they
982
+ want the state reset. Alternate runners are now responsible for
983
+ calling this (or doing a similar reset) if they are going to run
984
+ the spec suite multiple times in the same process. (Sam Phippen)
985
+ * Merge `RSpec::Core::CommandLine` (never formally declared public)
986
+ into `RSpec::Core::Runner`. (Myron Marston)
987
+ * Remove `color_enabled` as an alias of `color`. (Jon Rowe)
988
+ * Remove `backtrace_cleaner` as an alias of `backtrace_formatter`. (Jon Rowe)
989
+ * Remove `filename_pattern` as an alias of `pattern`. (Jon Rowe)
990
+ * Extract support for legacy formatters to `rspec-legacy_formatters`. (Jon Rowe)
991
+ * `RSpec::Configuration#formatters` now returns a dup to prevent mutation. (Jon Rowe)
992
+ * Replace `stdlib` as an available expectation framework with `test_unit` and
993
+ `minitest`. (Aaron Kromer)
994
+ * Remove backtrace formatting helpers from `BaseTextFormatter`. (Jon Rowe)
995
+ * Extract profiler support to `ProfileFormatter` and `ProfileNotification`.
996
+ Formatters should implement `dump_profile` if they wish to respond to `--profile`.
997
+ (Jon Rowe)
998
+ * Extract remaining formatter state to reporter and notifications. Introduce
999
+ `ExamplesNotification` to share information about examples that was previously
1000
+ held in `BaseFormatter`. (Jon Rowe)
1001
+
1002
+ Enhancements:
1003
+
1004
+ * Add `config.default_formatter` attribute, which can be used to set a
1005
+ formatter which will only be used if no other formatter is set
1006
+ (e.g. via `--formatter`). (Myron Marston)
1007
+ * Support legacy colour definitions in `LegacyFormatterAdaptor`. (Jon Rowe)
1008
+ * Migrate `execution_result` (exposed by metadata) from a hash to a
1009
+ first-class object with appropriate attributes. `status` is now
1010
+ stored and returned as a symbol rather than a string. It retains
1011
+ deprecated hash behavior for backwards compatibility. (Myron Marston)
1012
+ * Provide console code helper for formatters. (Jon Rowe)
1013
+ * Use raw ruby hashes for the metadata hashes rather than a subclass of
1014
+ a hash. Computed metadata entries are now computed in advance rather
1015
+ than being done lazily on first access. (Myron Marston)
1016
+ * Add `:block` metadata entry to the example metadata, bringing
1017
+ parity with `:block` in the example group metadata. (Myron Marston)
1018
+ * Add `fspecify` and `fexample` as aliases of `specify` and `example`
1019
+ with `:focus => true` metadata for parity with `fit`. (Myron Marston)
1020
+ * Add legacy support for `colorize_summary`. (Jon Rowe)
1021
+ * Restructure runner so it can be more easily customized in a subclass
1022
+ for an alternate runner. (Ben Hoskings)
1023
+ * Document `RSpec::Core::ConfigurationOptions` as an officially
1024
+ supported public API. (Myron Marston)
1025
+ * Add `--deprecation-out` CLI option which directs deprecation warnings
1026
+ to the named file. (Myron Marston)
1027
+ * Minitest 5 compatability for `expect_with :stdlib` (now available as
1028
+ `expect_with :minitest`). (Xavier Shay)
1029
+ * Reporter now notifies formatters of the load time of RSpec and your
1030
+ specs via `StartNotification` and `SummaryNotification`. (Jon Rowe)
1031
+ * Add `disable_monkey_patching!` config option that disables all monkey
1032
+ patching from whatever pieces of RSpec you use. (Alexey Fedorov)
1033
+ * Add `Pathname` support for setting all output streams. (Aaron Kromer)
1034
+ * Add `config.define_derived_metadata`, which can be used to apply
1035
+ additional metadata to all groups or examples that match a given
1036
+ filter. (Myron Marston)
1037
+ * Provide formatted and colorized backtraces via `FailedExampleNotification`
1038
+ and send `PendingExampleFixedNotifications` when the error is due to a
1039
+ passing spec you expect to fail. (Jon Rowe)
1040
+ * Add `dump_profile` to formatter API to allow formatters to implement
1041
+ support for `--profile`. (Jon Rowe)
1042
+ * Allow colourising text via `ConsoleCodes` with RSpec 'states'
1043
+ (e.g. `:success`, `:failure`) rather than direct colour codes. (Jon Rowe)
1044
+ * Expose `fully_formatted` methods off the formatter notification objects
1045
+ that make it easy for a custom formatter to produce formatted output
1046
+ like rspec-core's. (Myron Marston)
1047
+
1048
+ Bug Fixes:
1049
+
1050
+ * Fix `spec_helper.rb` file generated by `rspec --init` so that the
1051
+ recommended settings correctly use the documentation formatter
1052
+ when running one file. (Myron Marston)
1053
+ * Fix ordering problem where descriptions were generated after
1054
+ tearing down mocks, which resulted in unexpected exceptions.
1055
+ (Bradley Schaefer, Aaron Kromer, Andrey Savchenko)
1056
+ * Allow a symbol to be used as an implicit subject (e.g. `describe
1057
+ :foo`). (Myron Marston)
1058
+ * Prevent creating an isolated context (i.e. using `RSpec.describe`) when
1059
+ already inside a context. There is no reason to do this, and it could
1060
+ potentially cause unexpected bugs. (Xavier Shay)
1061
+ * Fix shared example group scoping so that when two shared example
1062
+ groups share the same name at different levels of nested contexts,
1063
+ the one in the nearest context is used. (Myron Marston)
1064
+ * Fix `--warnings` option so that it enables warnings immediately so
1065
+ that it applies to files loaded by `--require`. (Myron Marston)
1066
+ * Issue a warning when you set `config.deprecation_stream` too late for
1067
+ it to take effect because the reporter has already been setup. (Myron Marston)
1068
+ * Add the full `RSpec::Core::Example` interface to the argument yielded
1069
+ to `around` hooks. (Myron Marston)
1070
+ * Line number always takes precendence when running specs with filters.
1071
+ (Xavier Shay)
1072
+ * Ensure :if and :unless metadata filters are treated as a special case
1073
+ and are always in-effect. (Bradley Schaefer)
1074
+ * Ensure the currently running installation of RSpec is used when
1075
+ the rake task shells out to `rspec`, even if a newer version is also
1076
+ installed. (Postmodern)
1077
+ * Using a legacy formatter as default no longer causes an infinite loop.
1078
+ (Xavier Shay)
1079
+
1080
+ ### 3.0.0.beta2 / 2014-02-17
1081
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.beta1...v3.0.0.beta2)
1082
+
1083
+ Breaking Changes for 3.0.0:
1084
+
1085
+ * Make `mock_with` option more strict. Strings are no longer supported
1086
+ (e.g. `mock_with "mocha"`) -- use a symbol instead. Also, unrecognized
1087
+ values will now result in an error rather than falling back to the
1088
+ null mocking adapter. If you want to use the null mocking adapter,
1089
+ use `mock_with :nothing` (as has been documented for a long time).
1090
+ (Myron Marston)
1091
+ * Remove support for overriding RSpec's built-in `:if` and `:unless`
1092
+ filters. (Ashish Dixit)
1093
+ * Custom formatters are now required to call
1094
+ `RSpec::Core::Formatters.register(formatter_class, *notifications)`
1095
+ where `notifications` is the list of events the formatter wishes to
1096
+ be notified about. Notifications are handled by methods matching the
1097
+ names on formatters. This allows us to add or remove notifications
1098
+ without breaking existing formatters. (Jon Rowe)
1099
+ * Change arguments passed to formatters. Rather than passing multiple
1100
+ arguments (which limits are ability to add additional arguments as
1101
+ doing so would break existing formatters), we now pass a notification
1102
+ value object that exposes the same data via attributes. This will
1103
+ allow us to add new bits of data to a notification event without
1104
+ breaking existing formatters. (Jon Rowe)
1105
+ * Remove support for deprecated `:alias` option for
1106
+ `RSpec.configuration.add_setting`. (Myron Marston)
1107
+ * Remove support for deprecated `RSpec.configuration.requires = [...]`.
1108
+ (Myron Marston)
1109
+ * Remove support for deprecated `--formatter` CLI option. (Myron Marston)
1110
+ * Remove support for deprecated `--configure` CLI option. (Myron Marston)
1111
+ * Remove support for deprecated `RSpec::Core::RakeTask#spec_opts=`.
1112
+ (Myron Marston)
1113
+ * An example group level `pending` block or `:pending` metadata now executes
1114
+ the example and cause a failure if it passes, otherwise it will be pending if
1115
+ it fails. The old "never run" behaviour is still used for `xexample`, `xit`,
1116
+ and `xspecify`, or via a new `skip` method or `:skip` metadata option.
1117
+ (Xavier Shay)
1118
+ * After calling `pending` inside an example, the remainder of the example will
1119
+ now be run. If it passes a failure is raised, otherwise the example is marked
1120
+ pending. The old "never run" behaviour is provided a by a new `skip` method.
1121
+ (Xavier Shay)
1122
+ * Pending blocks inside an example have been removed as a feature with no
1123
+ direct replacement. Use `skip` or `pending` without a block. (Xavier Shay)
1124
+ * Pending statement is no longer allowed in `before(:all)` hooks. Use `skip`
1125
+ instead. (Xavier Shay)
1126
+ * Remove `show_failures_in_pending_blocks` configuration option. (Xavier Shay)
1127
+ * Remove support for specifying the documentation formatter using
1128
+ 's', 'n', 'spec' or 'nested'. (Jon Rowe)
1129
+
1130
+ Enhancements:
1131
+
1132
+ * Add example run time to JSON formatter output. (Karthik Kastury)
1133
+ * Add more suggested settings to the files generated by
1134
+ `rspec --init`. (Myron Marston)
1135
+ * Add `config.alias_example_group_to`, which can be used to define a
1136
+ new method that defines an example group with the provided metadata.
1137
+ (Michi Huber)
1138
+ * Add `xdescribe` and `xcontext` as shortcuts to skip an example group.
1139
+ (Myron Marston)
1140
+ * Add `fdescribe` and `fcontext` as shortcuts to focus an example group.
1141
+ (Myron Marston)
1142
+ * Don't autorun specs via `#at_exit` by default. `require 'rspec/autorun'`
1143
+ is only needed when running specs via `ruby`, as it always has been.
1144
+ Running specs via `rake` or `rspec` are both unaffected. (Ben Hoskings)
1145
+ * Add `expose_dsl_globally` config option, defaulting to true. When disabled
1146
+ it will remove the monkey patches rspec-core adds to `main` and `Module`
1147
+ (e.g. `describe`, `shared_examples_for`, etc). (Jon Rowe)
1148
+ * Expose RSpec DSL entry point methods (`describe`,
1149
+ `shared_examples_for`, etc) on the `RSpec` constant. Intended for use
1150
+ when `expose_dsl_globally` is set to `false`. (Jon Rowe)
1151
+ * For consistency, expose all example group aliases (including
1152
+ `context`) on the `RSpec` constant. If `expose_dsl_globally` is set to
1153
+ `true`, also expose them on `main` and `Module`. Historically, only `describe`
1154
+ was exposed. (Jon Rowe, Michi Huber)
1155
+ * Add hook scope `:example` as an alias for `:each`, and `:context` as an alias
1156
+ for `:all`. (John Feminella)
1157
+
1158
+ Bug Fixes:
1159
+
1160
+ * Fix failure (undefined method `path`) in end-of-run summary
1161
+ when `raise_errors_for_deprecations!` is configured. (Myron Marston)
1162
+ * Issue error when attempting to use `-i` or `--I` on command line,
1163
+ too close to `-I` to be considered short hand for `--init`. (Jon Rowe)
1164
+ * Prevent adding formatters to an output target if the same
1165
+ formatter has already been added to that output. (Alex Peattie)
1166
+ * Allow a matcher-generated example description to be used when
1167
+ the example is pending. (Myron Marston)
1168
+ * Ensure the configured `failure_exit_code` is used by the rake
1169
+ task when there is a failure. (Jon Rowe)
1170
+ * Restore behaviour whereby system exclusion filters take priority over working
1171
+ directory (was broken in beta1). (Jon Rowe)
1172
+ * Prevent RSpec mangling file names that have substrings containing `line_number`
1173
+ or `default_path`. (Matijs van Zuijlen)
1174
+ * Fix failure line detection so that it handles relative file paths
1175
+ (which can happen when running specs through `ruby` using `rspec/autorun`).
1176
+ (Myron Marston, #1829)
1177
+
1178
+ ### 3.0.0.beta1 / 2013-11-07
1179
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.1...v3.0.0.beta1)
1180
+
1181
+ Breaking Changes for 3.0.0:
1182
+
1183
+ * Remove explicit support for 1.8.6. (Jon Rowe)
1184
+ * Remove `RSpec::Core::ExampleGroup#example` and
1185
+ `RSpec::Core::ExampleGroup#running_example` methods. If you need
1186
+ access to the example (e.g. to get its metadata), use a block arg
1187
+ instead. (David Chelimsky)
1188
+ * Remove `TextMateFormatter`, it has been moved to `rspec-tmbundle`.
1189
+ (Aaron Kromer)
1190
+ * Remove RCov integration. (Jon Rowe)
1191
+ * Remove deprecated support for RSpec 1 constructs (Myron Marston):
1192
+ * The `Spec` and `Rspec` constants (rather than `RSpec`).
1193
+ * `Spec::Runner.configure` rather than `RSpec.configure`.
1194
+ * `Rake::SpecTask` rather than `RSpec::Core::RakeTask`.
1195
+ * Remove deprecated support for `share_as`. (Myron Marston)
1196
+ * Remove `--debug` option (and corresponding option on
1197
+ `RSpec::Core::Configuration`). Instead, use `-r<debugger gem name>` to
1198
+ load whichever debugger gem you wish to use (e.g. `ruby-debug`,
1199
+ `debugger`, or `pry`). (Myron Marston)
1200
+ * Extract Autotest support to a seperate gem. (Jon Rowe)
1201
+ * Raise an error when a `let` or `subject` declaration is
1202
+ accessed in a `before(:all)` or `after(:all)` hook. (Myron Marston)
1203
+ * Extract `its` support to a separate gem. (Peter Alfvin)
1204
+ * Disallow use of a shared example group from sibling contexts, making them
1205
+ fully isolated. 2.14 and 2.99 allowed this but printed a deprecation warning.
1206
+ (Jon Rowe)
1207
+ * Remove `RSpec::Core::Configuration#output` and
1208
+ `RSpec::Core::Configuration#out` aliases of
1209
+ `RSpec::Core::Configuration#output_stream`. (Myron Marston)
1210
+ * Remove legacy ordering APIs deprecated in 2.99.0.beta1. (Myron
1211
+ Marston)
1212
+
1213
+ Enhancements:
1214
+
1215
+ * Replace unmaintained syntax gem with coderay gem. (Xavier Shay)
1216
+ * Times in profile output are now bold instead of `failure_color`.
1217
+ (Matthew Boedicker)
1218
+ * Add `--no-fail-fast` command line option. (Gonzalo Rodríguez-Baltanás Díaz)
1219
+ * Runner now considers the local system ip address when running under Drb.
1220
+ (Adrian CB)
1221
+ * JsonFormatter now includes `--profile` information. (Alex / @MasterLambaster)
1222
+ * Always treat symbols passed as metadata args as hash
1223
+ keys with true values. RSpec 2 supported this with the
1224
+ `treat_symbols_as_metadata_keys_with_true_values` but
1225
+ now this behavior is always enabled. (Myron Marston)
1226
+ * Add `--dry-run` option, which prints the formatter output
1227
+ of your suite without running any examples or hooks.
1228
+ (Thomas Stratmann, Myron Marston)
1229
+ * Document the configuration options and default values in the `spec_helper.rb`
1230
+ file that is generated by RSpec. (Parker Selbert)
1231
+ * Give generated example group classes a friendly name derived
1232
+ from the docstring, rather than something like "Nested_2".
1233
+ (Myron Marston)
1234
+ * Avoid affecting randomization of user code when shuffling
1235
+ examples so that users can count on their own seeds
1236
+ working. (Travis Herrick)
1237
+ * Ordering is no longer a single global property of the test suite.
1238
+ Each group can pick an ordering using `:order` metadata. (Andy
1239
+ Lindeman, Sam Phippen, Myron Marston)
1240
+ * Allow named custom ordering strategies to be registered, which can
1241
+ then be used on individual example groups. (Andy Lindeman, Sam
1242
+ Phippen, Myron Marston)
1243
+
1244
+ Deprecations:
1245
+
1246
+ * `treat_symbols_as_metadata_keys_with_true_values` is deprecated and no
1247
+ longer has an affect now that the behavior it enabled is always
1248
+ enabled. (Myron Marston)
1249
+
1250
+ ### 2.99.2 / 2014-08-19
1251
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.1...v2.99.2)
1252
+
1253
+ Enhancements:
1254
+
1255
+ * Improve deprecation warning for RSpec 3 change in `describe <a symbol>`
1256
+ behavior. (Jon Rowe, #1667)
1257
+
1258
+ ### 2.99.1 / 2014-06-19
1259
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0...v2.99.1)
1260
+
1261
+ Bug Fixes:
1262
+
1263
+ * Add missing deprecation warning for when `RSpec::Core::Runner` is used
1264
+ multiple times in the same process. In 2.x RSpec's global state was
1265
+ automatically cleared between runs but in 3.0 you need to call `RSpec.reset`
1266
+ manually in these situations. (Sam Phippen, #1587)
1267
+ * Prevent deprecation being accidentally issues when doubles used with `be_`
1268
+ matchers due to automatically generated descriptions. (Jon Rowe, #1573)
1269
+ * Load `rspec/core` when loading `rspec/core/rake_task` to ensure we can
1270
+ issue deprecations correctly. (Jon Rowe, #1612)
1271
+
1272
+ ### 2.99.0 / 2014-06-01
1273
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.rc1...v2.99.0)
1274
+
1275
+ Bug Fixes:
1276
+
1277
+ * Fix `BaseTextFormatter` so that it does not re-close a closed output
1278
+ stream. (Myron Marston)
1279
+ * Use `RSpec::Configuration#backtrace_exclusion_patterns` rather than the
1280
+ deprecated `RSpec::Configuration#backtrace_clean_patterns` when mocking
1281
+ with rr. (David Dollar)
1282
+
1283
+ ### 2.99.0.rc1 / 2014-05-18
1284
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.beta2...v2.99.0.rc1)
1285
+
1286
+ Enhancements:
1287
+
1288
+ * Add `--deprecation-out` CLI option which directs deprecation warnings
1289
+ to the named file. (Myron Marston)
1290
+ * Backport support for `skip` in metadata to skip execution of an example.
1291
+ (Xavier Shay, #1472)
1292
+ * Add `Pathname` support for setting all output streams. (Aaron Kromer)
1293
+ * Add `test_unit` and `minitest` expectation frameworks. (Aaron Kromer)
1294
+
1295
+ Deprecations:
1296
+
1297
+ * Deprecate `RSpec::Core::Pending::PendingDeclaredInExample`, use
1298
+ `SkipDeclaredInExample` instead. (Xavier Shay)
1299
+ * Issue a deprecation when `described_class` is accessed from within
1300
+ a nested `describe <SomeClass>` example group, since `described_class`
1301
+ will return the innermost described class in RSpec 3 rather than the
1302
+ outermost described class, as it behaved in RSpec 2. (Myron Marston)
1303
+ * Deprecate `RSpec::Core::FilterManager::DEFAULT_EXCLUSIONS`,
1304
+ `RSpec::Core::FilterManager::STANDALONE_FILTERS` and use of
1305
+ `#empty_without_conditional_filters?` on those filters. (Sergey Pchelincev)
1306
+ * Deprecate `RSpec::Core::Example#options` in favor of
1307
+ `RSpec::Core::Example#metadata`. (Myron Marston)
1308
+ * Issue warning when passing a symbol or hash to `describe` or `context`
1309
+ as the first argument. In RSpec 2.x this would be treated as metadata
1310
+ but in RSpec 3 it'll be treated as the described object. To continue
1311
+ having it treated as metadata, pass a description before the symbol or
1312
+ hash. (Myron Marston)
1313
+ * Deprecate `RSpec::Core::BaseTextFormatter::VT100_COLORS` and
1314
+ `RSpec::Core::BaseTextFormatter::VT100_COLOR_CODES` in favour
1315
+ of `RSpec::Core::BaseTextFormatter::ConsoleCodes::VT100_CODES` and
1316
+ `RSpec::Core::BaseTextFormatter::ConsoleCodes::VT100_CODE_VALUES`.
1317
+ (Jon Rowe)
1318
+ * Deprecate `RSpec::Core::ExampleGroup.display_name` in favor of
1319
+ `RSpec::Core::ExampleGroup.description`. (Myron Marston)
1320
+ * Deprecate `RSpec::Core::ExampleGroup.describes` in favor of
1321
+ `RSpec::Core::ExampleGroup.described_class`. (Myron Marston)
1322
+ * Deprecate `RSpec::Core::ExampleGroup.alias_example_to` in favor of
1323
+ `RSpec::Core::Configuration#alias_example_to`. (Myron Marston)
1324
+ * Deprecate `RSpec::Core::ExampleGroup.alias_it_behaves_like_to` in favor
1325
+ of `RSpec::Core::Configuration#alias_it_behaves_like_to`. (Myron Marston)
1326
+ * Deprecate `RSpec::Core::ExampleGroup.focused` in favor of
1327
+ `RSpec::Core::ExampleGroup.focus`. (Myron Marston)
1328
+ * Add deprecation warning for `config.filter_run :focused` since
1329
+ example aliases `fit` and `focus` will no longer include
1330
+ `:focused` metadata but will continue to include `:focus`. (Myron Marston)
1331
+ * Deprecate filtering by `:line_number` (e.g. `--line-number` from the
1332
+ CLI). Use location filtering instead. (Myron Marston)
1333
+ * Deprecate `--default_path` as an alternative to `--default-path`. (Jon Rowe)
1334
+ * Deprecate `RSpec::Core::Configuration#warnings` in favor of
1335
+ `RSpec::Core::Configuration#warnings?`. (Myron Marston)
1336
+ * Deprecate `share_examples_for` in favor of `shared_examples_for` or
1337
+ just `shared_examples`. (Myron Marston)
1338
+ * Deprecate `RSpec::Core::CommandLine` in favor of
1339
+ `RSpec::Core::Runner`. (Myron Marston)
1340
+ * Deprecate `#color_enabled`, `#color_enabled=` and `#color?` in favour of
1341
+ `#color`, `#color=` and `#color_enabled? output`. (Jon Rowe)
1342
+ * Deprecate `#filename_pattern` in favour of `#pattern`. (Jon Rowe)
1343
+ * Deprecate `#backtrace_cleaner` in favour of `#backtrace_formatter`. (Jon Rowe)
1344
+ * Deprecate mutating `RSpec::Configuration#formatters`. (Jon Rowe)
1345
+ * Deprecate `stdlib` as an available expectation framework in favour of
1346
+ `test_unit` and `minitest`. (Aaron Kromer)
1347
+
1348
+ Bug Fixes:
1349
+
1350
+ * Issue a warning when you set `config.deprecation_stream` too late for
1351
+ it to take effect because the reporter has already been setup. (Myron Marston)
1352
+ * `skip` with a block should not execute the block. (Xavier Shay)
1353
+
1354
+ ### 2.99.0.beta2 / 2014-02-17
1355
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.beta1...v2.99.0.beta2)
1356
+
1357
+ Enhancements:
1358
+
1359
+ * Add `is_expected` for one-liners that read well with the
1360
+ `expect`-based syntax. `is_expected` is simply defined as
1361
+ `expect(subject)` and can be used in an expression like:
1362
+ `it { is_expected.to read_well }`. (Myron Marston)
1363
+ * Backport `skip` from RSpec 3, which acts like `pending` did in RSpec 2
1364
+ when not given a block, since the behavior of `pending` is changing in
1365
+ RSpec 3. (Xavier Shay)
1366
+
1367
+ Deprecations:
1368
+
1369
+ * Deprecate inexact `mock_with` config options. RSpec 3 will only support
1370
+ the exact symbols `:rspec`, `:mocha`, `:flexmock`, `:rr` or `:nothing`
1371
+ (or any module that implements the adapter interface). RSpec 2 did
1372
+ fuzzy matching but this will not be supported going forward.
1373
+ (Myron Marston)
1374
+ * Deprecate `show_failures_in_pending_blocks` config option. To achieve
1375
+ the same behavior as the option enabled, you can use a custom
1376
+ formatter instead. (Xavier Shay)
1377
+ * Add a deprecation warning for the fact that the behavior of `pending`
1378
+ is changing in RSpec 3 -- rather than skipping the example (as it did
1379
+ in 2.x when no block was provided), it will run the example and mark
1380
+ it as failed if no exception is raised. Use `skip` instead to preserve
1381
+ the old behavior. (Xavier Shay)
1382
+ * Deprecate 's', 'n', 'spec' and 'nested' as aliases for documentation
1383
+ formatter. (Jon Rowe)
1384
+ * Deprecate `RSpec::Core::Reporter#abort` in favor of
1385
+ `RSpec::Core::Reporter#finish`. (Jon Rowe)
1386
+
1387
+ Bug Fixes:
1388
+
1389
+ * Fix failure (undefined method `path`) in end-of-run summary
1390
+ when `raise_errors_for_deprecations!` is configured. (Myron Marston)
1391
+ * Fix issue were overridding spec ordering from the command line wasn't
1392
+ fully recognised interally. (Jon Rowe)
1393
+
1394
+ ### 2.99.0.beta1 / 2013-11-07
1395
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.7...v2.99.0.beta1)
1396
+
1397
+ Enhancements
1398
+
1399
+ * Block-based DSL methods that run in the context of an example
1400
+ (`it`, `before(:each)`, `after(:each)`, `let` and `subject`)
1401
+ now yield the example as a block argument. (David Chelimsky)
1402
+ * Warn when the name of more than one example group is submitted to
1403
+ `include_examples` and it's aliases. (David Chelimsky)
1404
+ * Add `expose_current_running_example_as` config option for
1405
+ use during the upgrade process when external gems use the
1406
+ deprecated `RSpec::Core::ExampleGroup#example` and
1407
+ `RSpec::Core::ExampleGroup#running_example` methods. (Myron Marston)
1408
+ * Limit spamminess of deprecation messages. (Bradley Schaefer, Loren Segal)
1409
+ * Add `config.raise_errors_for_deprecations!` option, which turns
1410
+ deprecations warnings into errors to surface the full backtrace
1411
+ of the call site. (Myron Marston)
1412
+
1413
+ Deprecations
1414
+
1415
+ * Deprecate `RSpec::Core::ExampleGroup#example` and
1416
+ `RSpec::Core::ExampleGroup#running_example` methods. If you need
1417
+ access to the example (e.g. to get its metadata), use a block argument
1418
+ instead. (David Chelimsky)
1419
+ * Deprecate use of `autotest/rspec2` in favour of `rspec-autotest`. (Jon Rowe)
1420
+ * Deprecate RSpec's built-in debugger support. Use a CLI option like
1421
+ `-rruby-debug` (for the ruby-debug gem) or `-rdebugger` (for the
1422
+ debugger gem) instead. (Myron Marston)
1423
+ * Deprecate `RSpec.configuration.treat_symbols_as_metadata_keys_with_true_values = false`.
1424
+ RSpec 3 will not support having this option set to `false`. (Myron Marston)
1425
+ * Deprecate accessing a `let` or `subject` declaration in
1426
+ a `after(:all)` hook. (Myron Marston, Jon Rowe)
1427
+ * Deprecate built-in `its` usage in favor of `rspec-its` gem due to planned
1428
+ removal in RSpec 3. (Peter Alfvin)
1429
+ * Deprecate `RSpec::Core::PendingExampleFixedError` in favor of
1430
+ `RSpec::Core::Pending::PendingExampleFixedError`. (Myron Marston)
1431
+ * Deprecate `RSpec::Core::Configuration#out` and
1432
+ `RSpec::Core::Configuration#output` in favor of
1433
+ `RSpec::Core::Configuration#output_stream`. (Myron Marston)
1434
+ * Deprecate legacy ordering APIs.
1435
+ * You should use `register_ordering(:global)` instead of these:
1436
+ * `RSpec::Core::Configuration#order_examples`
1437
+ * `RSpec::Core::Configuration#order_groups`
1438
+ * `RSpec::Core::Configuration#order_groups_and_examples`
1439
+ * These are deprecated with no replacement because in RSpec 3
1440
+ ordering is a property of individual example groups rather than
1441
+ just a global property of the entire test suite:
1442
+ * `RSpec::Core::Configuration#order`
1443
+ * `RSpec::Core::Configuration#randomize?`
1444
+ * `--order default` is deprecated in favor of `--order defined`
1445
+ (Myron Marston)
1446
+
1447
+ ### 2.14.8 / 2014-02-27
1448
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.7...v2.14.8)
1449
+
1450
+ Bug fixes:
1451
+
1452
+ * Fix regression with the `textmateformatter` that prevented backtrace links
1453
+ from being clickable. (Stefan Daschek)
1454
+
1455
+ ### 2.14.7 / 2013-10-29
1456
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.6...v2.14.7)
1457
+
1458
+ Bug fixes:
1459
+
1460
+ * Fix regression in 2.14.6 that broke the Fivemat formatter.
1461
+ It depended upon either
1462
+ `example.execution_result[:exception].pending_fixed?` (which
1463
+ was removed in 2.14.6 to fix an issue with frozen error objects)
1464
+ or `RSpec::Core::PendingExampleFixedError` (which was renamed
1465
+ to `RSpec::Core::Pending::PendingExampleFixedError` in 2.8.
1466
+ This fix makes a constant alias for the old error name.
1467
+ (Myron Marston)
1468
+
1469
+ ### 2.14.6 / 2013-10-15
1470
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.5...v2.14.6)
1471
+
1472
+ Bug fixes:
1473
+
1474
+ * Format stringified numbers correctly when mathn library is loaded.
1475
+ (Jay Hayes)
1476
+ * Fix an issue that prevented the use of frozen error objects. (Lars
1477
+ Gierth)
1478
+
1479
+ ### 2.14.5 / 2013-08-13
1480
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.4...v2.14.5)
1481
+
1482
+ Bug fixes:
1483
+
1484
+ * Fix a `NoMethodError` that was being raised when there were no shared
1485
+ examples or contexts declared and `RSpec.world.reset` is invoked.
1486
+ (thepoho, Jon Rowe, Myron Marston)
1487
+ * Fix a deprecation warning that was being incorrectly displayed when
1488
+ `shared_examples` are declared at top level in a `module` scope.
1489
+ (Jon Rowe)
1490
+ * Fix after(:all) hooks so consecutive (same context) scopes will run even if
1491
+ one raises an error. (Jon Rowe, Trejkaz)
1492
+ * JsonFormatter no longer dies if `dump_profile` isn't defined (Alex / @MasterLambaster, Jon Rowe)
1493
+
1494
+ ### 2.14.4 / 2013-07-21
1495
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.3...v2.14.4)
1496
+
1497
+ Bug fixes
1498
+
1499
+ * Fix regression in 2.14: ensure configured requires (via `-r` option)
1500
+ are loaded before spec files are loaded. This allows the spec files
1501
+ to programatically change the file pattern (Jon Rowe).
1502
+ * Autoload `RSpec::Mocks` and `RSpec::Expectations` when referenced if
1503
+ they are not already loaded (`RSpec::Matches` has been autoloaded
1504
+ for a while). In the `rspec` gem, we changed it recently to stop
1505
+ loading `rspec/mocks` and `rspec/expectations` by default, as some
1506
+ users reported problems where they were intending to use mocha,
1507
+ not rspec-mocks, but rspec-mocks was loaded and causing a conflict.
1508
+ rspec-core loads mocks and expectations at the appropriate time, so
1509
+ it seemed like a safe change -- but caused a problem for some authors
1510
+ of libraries that integrate with RSpec. This fixes that problem.
1511
+ (Myron Marston)
1512
+ * Gracefully handle a command like `rspec --profile path/to/spec.rb`:
1513
+ the `path/to/spec.rb` arg was being wrongly treated as the `profile`
1514
+ integer arg, which got cast `0` using `to_i`, causing no profiled
1515
+ examples to be printed. (Jon Rowe)
1516
+
1517
+ ### 2.14.3 / 2013-07-13
1518
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.2...v2.14.3)
1519
+
1520
+ Bug fixes
1521
+
1522
+ * Fix deprecation notices issued from `RSpec::Core::RakeTask` so
1523
+ that they work properly when all of rspec-core is not loaded.
1524
+ (This was a regression in 2.14) (Jon Rowe)
1525
+
1526
+ ### 2.14.2 / 2013-07-09
1527
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.1...v2.14.2)
1528
+
1529
+ Bug fixes
1530
+
1531
+ * Fix regression caused by 2.14.1 release: formatters that
1532
+ report that they `respond_to?` a notification, but had
1533
+ no corresponding method would raise an error when registered.
1534
+ The new fix is to just implement `start` on the deprecation
1535
+ formatter to fix the original JRuby/ruby-debug issue.
1536
+ (Jon Rowe)
1537
+
1538
+ ### 2.14.1 / 2013-07-08
1539
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.0...v2.14.1)
1540
+
1541
+ Bug fixes
1542
+
1543
+ * Address deprecation formatter failure when using `ruby-debug` on
1544
+ JRuby: fix `RSpec::Core::Reporter` to not send a notification
1545
+ when the formatter's implementation of the notification method
1546
+ comes from `Kernel` (Alex Portnov, Jon Rowe).
1547
+
1548
+ ### 2.14.0 / 2013-07-06
1549
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.0.rc1...v2.14.0)
1550
+
1551
+ Enhancements
1552
+
1553
+ * Apply focus to examples defined with `fit` (equivalent of
1554
+ `it "description", focus: true`) (Michael de Silva)
1555
+
1556
+ Bug fix
1557
+
1558
+ * Ensure methods defined by `let` take precedence over others
1559
+ when there is a name collision (e.g. from an included module).
1560
+ (Jon Rowe, Andy Lindeman and Myron Marston)
1561
+
1562
+ ### 2.14.0.rc1 / 2013-05-27
1563
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.13.1...v2.14.0.rc1)
1564
+
1565
+ Enhancements
1566
+
1567
+ * Improved Windows detection inside Git Bash, for better `--color` handling.
1568
+ * Add profiling of the slowest example groups to `--profile` option.
1569
+ The output is sorted by the slowest average example groups.
1570
+ * Don't show slow examples if there's a failure and both `--fail-fast`
1571
+ and `--profile` options are used (Paweł Gościcki).
1572
+ * Rather than always adding `spec` to the load path, add the configured
1573
+ `--default-path` to the load path (which defaults to `spec`). This
1574
+ better supports folks who choose to put their specs in a different
1575
+ directory (John Feminella).
1576
+ * Add some logic to test time duration precision. Make it a
1577
+ function of time, dropping precision as the time increases. (Aaron Kromer)
1578
+ * Add new `backtrace_inclusion_patterns` config option. Backtrace lines
1579
+ that match one of these patterns will _always_ be included in the
1580
+ backtrace, even if they match an exclusion pattern, too (Sam Phippen).
1581
+ * Support ERB trim mode using the `-` when parsing `.rspec` as ERB
1582
+ (Gabor Garami).
1583
+ * Give a better error message when let and subject are called without a block.
1584
+ (Sam Phippen).
1585
+ * List the precedence of `.rspec-local` in the configuration documentation
1586
+ (Sam Phippen)
1587
+ * Support `{a,b}` shell expansion syntax in `--pattern` option
1588
+ (Konstantin Haase).
1589
+ * Add cucumber documentation for --require command line option
1590
+ (Bradley Schaefer)
1591
+ * Expose configuration options via config:
1592
+ * `config.libs` returns the libs configured to be added onto the load path
1593
+ * `full_backtrace?` returns the state of the backtrace cleaner
1594
+ * `debug?` returns true when the debugger is loaded
1595
+ * `line_numbers` returns the line numbers we are filtering by (if any)
1596
+ * `full_description` returns the RegExp used to filter descriptions
1597
+ (Jon Rowe)
1598
+ * Add setters for RSpec.world and RSpec.configuration (Alex Soulim)
1599
+ * Configure ruby's warning behaviour with `--warnings` (Jon Rowe)
1600
+ * Fix an obscure issue on old versions of `1.8.7` where `Time.dup` wouldn't
1601
+ allow access to `Time.now` (Jon Rowe)
1602
+ * Make `shared_examples_for` context aware, so that keys may be safely reused
1603
+ in multiple contexts without colliding. (Jon Rowe)
1604
+ * Add a configurable `deprecation_stream` (Jon Rowe)
1605
+ * Publish deprecations through a formatter (David Chelimsky)
1606
+
1607
+ Bug fixes
1608
+
1609
+ * Make JSON formatter behave the same when it comes to `--profile` as
1610
+ the text formatter (Paweł Gościcki).
1611
+ * Fix named subjects so that if an inner group defines a method that
1612
+ overrides the named method, `subject` still retains the originally
1613
+ declared value (Myron Marston).
1614
+ * Fix random ordering so that it does not cause `rand` in examples in
1615
+ nested sibling contexts to return the same value (Max Shytikov).
1616
+ * Use the new `backtrace_inclusion_patterns` config option to ensure
1617
+ that folks who develop code in a directory matching one of the default
1618
+ exclusion patterns (e.g. `gems`) still get the normal backtrace
1619
+ filtering (Sam Phippen).
1620
+ * Fix ordering of `before` hooks so that `before` hooks declared in
1621
+ `RSpec.configure` run before `before` hooks declared in a shared
1622
+ context (Michi Huber and Tejas Dinkar).
1623
+ * Fix `Example#full_description` so that it gets filled in by the last
1624
+ matcher description (as `Example#description` already did) when no
1625
+ doc string has been provided (David Chelimsky).
1626
+ * Fix the memoized methods (`let` and `subject`) leaking `define_method`
1627
+ as a `public` method. (Thomas Holmes and Jon Rowe) (#873)
1628
+ * Fix warnings coming from the test suite. (Pete Higgins)
1629
+
1630
+ Deprecations
1631
+
1632
+ * Deprecate `Configuration#backtrace_clean_patterns` in favor of
1633
+ `Configuration#backtrace_exclusion_patterns` for greater consistency
1634
+ and symmetry with new `backtrace_inclusion_patterns` config option
1635
+ (Sam Phippen).
1636
+ * Deprecate `Configuration#requires=` in favor of using ruby's
1637
+ `require`. Requires specified by the command line can still be
1638
+ accessed by the `Configuration#require` reader. (Bradley Schaefer)
1639
+ * Deprecate calling `SharedExampleGroups` defined across sibling contexts
1640
+ (Jon Rowe)
1641
+
1642
+ ### 2.13.1 / 2013-03-12
1643
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.13.0...v2.13.1)
1644
+
1645
+ Bug fixes
1646
+
1647
+ * Use hook classes as proxies rather than extending hook blocks to support
1648
+ lambdas for before/after/around hooks. (David Chelimsky)
1649
+ * Fix regression in 2.13.0 that caused confusing behavior when overriding
1650
+ a named subject with an unnamed subject in an inner group and then
1651
+ referencing the outer group subject's name. The fix for this required
1652
+ us to disallow using `super` in a named subject (which is confusing,
1653
+ anyway -- named subjects create 2 methods, so which method on the
1654
+ parent example group are you `super`ing to?) but `super` in an unnamed
1655
+ subject continues to work (Myron Marston).
1656
+ * Do not allow a referenced `let` or `subject` in `before(:all)` to cause
1657
+ other `let` declarations to leak across examples (Myron Marston).
1658
+ * Work around odd ruby 1.9 bug with `String#match` that was triggered
1659
+ by passing it a regex from a `let` declaration. For more info, see
1660
+ http://bugs.ruby-lang.org/issues/8059 (Aaron Kromer).
1661
+ * Add missing `require 'set'` to `base_text_formatter.rb` (Tom
1662
+ Anderson).
1663
+
1664
+ Deprecations
1665
+
1666
+ * Deprecate accessing `let` or `subject` declarations in `before(:all)`.
1667
+ These were not intended to be called in a `before(:all)` hook, as
1668
+ they exist to define state that is reset between each example, while
1669
+ `before(:all)` exists to define state that is shared across examples
1670
+ in an example group (Myron Marston).
1671
+
1672
+ ### 2.13.0 / 2013-02-23
1673
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.12.2...v2.13.0)
1674
+
1675
+ Enhancements
1676
+
1677
+ * Allow `--profile` option to take a count argument that
1678
+ determines the number of slow examples to dump
1679
+ (Greggory Rothmeier).
1680
+ * Add `subject!` that is the analog to `let!`. It defines an
1681
+ explicit subject and sets a `before` hook that will invoke
1682
+ the subject (Zubin Henner).
1683
+ * Fix `let` and `subject` declaration so that `super`
1684
+ and `return` can be used in them, just like in a normal
1685
+ method. (Myron Marston)
1686
+ * Allow output colors to be configured individually.
1687
+ (Charlie Maffitt)
1688
+ * Always dump slow examples when `--profile` option is given,
1689
+ even when an example failed (Myron Marston).
1690
+
1691
+ Bug fixes
1692
+
1693
+ * Don't blow up when dumping error output for instances
1694
+ of anonymous error classes (Myron Marston).
1695
+ * Fix default backtrace filters so lines from projects
1696
+ containing "gems" in the name are not filtered, but
1697
+ lines from installed gems still are (Myron Marston).
1698
+ * Fix autotest command so that is uses double quotes
1699
+ rather than single quotes for windows compatibility
1700
+ (Jonas Tingeborn).
1701
+ * Fix `its` so that uses of `subject` in a `before` or `let`
1702
+ declaration in the parent group continue to reference the
1703
+ parent group's subject. (Olek Janiszewski)
1704
+
1705
+ ### 2.12.2 / 2012-12-13
1706
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.12.1...v2.12.2)
1707
+
1708
+ Bug fixes
1709
+
1710
+ * Fix `RSpec::Core::RakeTask` so that it is compatible with rake 0.8.7
1711
+ on ruby 1.8.7. We had accidentally broke it in the 2.12 release
1712
+ (Myron Marston).
1713
+ * Fix `RSpec::Core::RakeTask` so it is tolerant of the `Rspec` constant
1714
+ for backwards compatibility (Patrick Van Stee)
1715
+
1716
+ ### 2.12.1 / 2012-12-01
1717
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.12.0...v2.12.1)
1718
+
1719
+ Bug fixes
1720
+
1721
+ * Specs are run even if another at\_exit hook calls `exit`. This allows
1722
+ Test::Unit and RSpec to run together. (Suraj N. Kurapati)
1723
+ * Fix full doc string concatenation so that it handles the case of a
1724
+ method string (e.g. "#foo") being nested under a context string
1725
+ (e.g. "when it is tuesday"), so that we get "when it is tuesday #foo"
1726
+ rather than "when it is tuesday#foo". (Myron Marston)
1727
+ * Restore public API I unintentionally broke in 2.12.0:
1728
+ `RSpec::Core::Formatters::BaseFormatter#format_backtrce(backtrace, example)`
1729
+ (Myron Marston).
1730
+
1731
+ ### 2.12.0 / 2012-11-12
1732
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.11.1...v2.12.0)
1733
+
1734
+ Enhancements
1735
+
1736
+ * Add support for custom ordering strategies for groups and examples.
1737
+ (Myron Marston)
1738
+ * JSON Formatter (Alex Chaffee)
1739
+ * Refactor rake task internals (Sam Phippen)
1740
+ * Refactor HtmlFormatter (Pete Hodgson)
1741
+ * Autotest supports a path to Ruby that contains spaces (dsisnero)
1742
+ * Provide a helpful warning when a shared example group is redefined.
1743
+ (Mark Burns).
1744
+ * `--default_path` can be specified as `--default-line`. `--line_number` can be
1745
+ specified as `--line-number`. Hyphens are more idiomatic command line argument
1746
+ separators (Sam Phippen).
1747
+ * A more useful error message is shown when an invalid command line option is
1748
+ used (Jordi Polo).
1749
+ * Add `format_docstrings { |str| }` config option. It can be used to
1750
+ apply formatting rules to example group and example docstrings.
1751
+ (Alex Tan)
1752
+ * Add support for an `.rspec-local` options file. This is intended to
1753
+ allow individual developers to set options in a git-ignored file that
1754
+ override the common project options in `.rspec`. (Sam Phippen)
1755
+ * Support for mocha 0.13.0. (Andy Lindeman)
1756
+
1757
+ Bug fixes
1758
+
1759
+ * Remove override of `ExampleGroup#ancestors`. This is a core ruby method that
1760
+ RSpec shouldn't override. Instead, define `ExampleGroup#parent_groups`. (Myron
1761
+ Marston)
1762
+ * Limit monkey patching of shared example/context declaration methods
1763
+ (`shared_examples_for`, etc.) to just the objects that need it rather than
1764
+ every object in the system (Myron Marston).
1765
+ * Fix Metadata#fetch to support computed values (Sam Goldman).
1766
+ * Named subject can now be referred to from within subject block in a nested
1767
+ group (tomykaira).
1768
+ * Fix `fail_fast` so that it properly exits when an error occurs in a
1769
+ `before(:all) hook` (Bradley Schaefer).
1770
+ * Make the order spec files are loaded consistent, regardless of the
1771
+ order of the files returned by the OS or the order passed at
1772
+ the command line (Jo Liss and Sam Phippen).
1773
+ * Ensure instance variables from `before(:all)` are always exposed
1774
+ from `after(:all)`, even if an error occurs in `before(:all)`
1775
+ (Sam Phippen).
1776
+ * `rspec --init` no longer generates an incorrect warning about `--configure`
1777
+ being deprecated (Sam Phippen).
1778
+ * Fix pluralization of `1 seconds` (Odin Dutton)
1779
+ * Fix ANSICON url (Jarmo Pertman)
1780
+ * Use dup of Time so reporting isn't clobbered by examples that modify Time
1781
+ without properly restoring it. (David Chelimsky)
1782
+
1783
+ Deprecations
1784
+
1785
+ * `share_as` is no longer needed. `shared_context` and/or
1786
+ `RSpec::SharedContext` provide better mechanisms (Sam Phippen).
1787
+ * Deprecate `RSpec.configuration` with a block (use `RSpec.configure`).
1788
+
1789
+
1790
+ ### 2.11.1 / 2012-07-18
1791
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.11.0...v2.11.1)
1792
+
1793
+ Bug fixes
1794
+
1795
+ * Fix the way we autoload RSpec::Matchers so that custom matchers can be
1796
+ defined before rspec-core has been configured to definitely use
1797
+ rspec-expectations. (Myron Marston)
1798
+ * Fix typo in --help message printed for -e option. (Jo Liss)
1799
+ * Fix ruby warnings. (Myron Marston)
1800
+ * Ignore mock expectation failures when the example has already failed.
1801
+ Mock expectation failures have always been ignored in this situation,
1802
+ but due to my changes in 27059bf1 it was printing a confusing message.
1803
+ (Myron Marston).
1804
+
1805
+ ### 2.11.0 / 2012-07-07
1806
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.10.1...v2.11.0)
1807
+
1808
+ Enhancements
1809
+
1810
+ * Support multiple `--example` options. (Daniel Doubrovkine @dblock)
1811
+ * Named subject e.g. `subject(:article) { Article.new }`
1812
+ * see [http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/](http://blog.davidchelimsky.net/2012/05/13/spec-smell-explicit-use-of-subject/)
1813
+ for background.
1814
+ * thanks to Bradley Schaefer for suggesting it and Avdi Grimm for almost
1815
+ suggesting it.
1816
+ * `config.mock_with` and `config.expect_with` yield custom config object to a
1817
+ block if given
1818
+ * aids decoupling from rspec-core's configuation
1819
+ * `include_context` and `include_examples` support a block, which gets eval'd
1820
+ in the current context (vs the nested context generated by `it_behaves_like`).
1821
+ * Add `config.order = 'random'` to the `spec_helper.rb` generated by `rspec
1822
+ --init`.
1823
+ * Delay the loading of DRb (Myron Marston).
1824
+ * Limit monkey patching of `describe` onto just the objects that need it rather
1825
+ than every object in the system (Myron Marston).
1826
+
1827
+ Bug fixes
1828
+
1829
+ * Support alternative path separators. For example, on Windows, you can now do
1830
+ this: `rspec spec\subdir`. (Jarmo Pertman @jarmo)
1831
+ * When an example raises an error and an after or around hook does as
1832
+ well, print out the hook error. Previously, the error was silenced and
1833
+ the user got no feedback about what happened. (Myron Marston)
1834
+ * `--require` and `-I` are merged among different configuration sources (Andy
1835
+ Lindeman)
1836
+ * Delegate to mocha methods instead of aliasing them in mocha adapter.
1837
+
1838
+ ### 2.10.1 / 2012-05-19
1839
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.10.0...v2.10.1)
1840
+
1841
+ Bug fixes
1842
+
1843
+ * `RSpec.reset` properly reinits configuration and world
1844
+ * Call `to_s` before `split` on exception messages that might not always be
1845
+ Strings (slyphon)
1846
+
1847
+ ### 2.10.0 / 2012-05-03
1848
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.9.0...v2.10.0)
1849
+
1850
+ Enhancements
1851
+
1852
+ * Add `prepend_before` and `append_after` hooks (preethiramdev)
1853
+ * intended for extension libs
1854
+ * restores rspec-1 behavior
1855
+ * Reporting of profiled examples (moro)
1856
+ * Report the total amount of time taken for the top slowest examples.
1857
+ * Report what percentage the slowest examples took from the total runtime.
1858
+
1859
+ Bug fixes
1860
+
1861
+ * Properly parse `SPEC_OPTS` options.
1862
+ * `example.description` returns the location of the example if there is no
1863
+ explicit description or matcher-generated description.
1864
+ * RDoc fixes (Grzegorz Świrski)
1865
+ * Do not modify example ancestry when dumping errors (Michael Grosser)
1866
+
1867
+ ### 2.9.0 / 2012-03-17
1868
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.8.0...v2.9.0)
1869
+
1870
+ Enhancements
1871
+
1872
+ * Support for "X minutes X seconds" spec run duration in formatter. (uzzz)
1873
+ * Strip whitespace from group and example names in doc formatter.
1874
+ * Removed spork-0.9 shim. If you're using spork-0.8.x, you'll need to upgrade
1875
+ to 0.9.0.
1876
+
1877
+ Bug fixes
1878
+
1879
+ * Restore `--full_backtrace` option
1880
+ * Ensure that values passed to `config.filter_run` are respected when running
1881
+ over DRb (using spork).
1882
+ * Ensure shared example groups are reset after a run (as example groups are).
1883
+ * Remove `rescue false` from calls to filters represented as Procs
1884
+ * Ensure `described_class` gets the closest constant (pyromaniac)
1885
+ * In "autorun", don't run the specs in the `at_exit` hook if there was an
1886
+ exception (most likely due to a SyntaxError). (sunaku)
1887
+ * Don't extend groups with modules already used to extend ancestor groups.
1888
+ * `its` correctly memoizes nil or false values (Yamada Masaki)
1889
+
1890
+ ### 2.8.0 / 2012-01-04
1891
+
1892
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc2...v2.8.0)
1893
+
1894
+ Bug fixes
1895
+
1896
+ * For metadata filtering, restore passing the entire array to the proc, rather
1897
+ than each item in the array (weidenfreak)
1898
+ * Ensure each spec file is loaded only once
1899
+ * Fixes a bug that caused all the examples in a file to be run when
1900
+ referenced twice with line numbers in a command, e.g.
1901
+ * `rspec path/to/file:37 path/to/file:42`
1902
+
1903
+ ### 2.8.0.rc2 / 2011-12-19
1904
+
1905
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc1...v2.8.0.rc2)
1906
+
1907
+ Enhancments
1908
+
1909
+ * new `--init` command (Peter Schröder)
1910
+ * generates `spec/spec_helper.rb`
1911
+ * deletes obsolete files (on confirmation)
1912
+ * merged with and deprecates `--configure` command, which generated
1913
+ `.rspec`
1914
+ * use `require_relative` when available (Ian Leitch)
1915
+ * `include_context` and `include_examples` accept params (Calvin Bascom)
1916
+ * print the time for every example in the html formatter (Richie Vos)
1917
+ * several tasty refactoring niblets (Sasha)
1918
+ * `it "does something", :x => [:foo,'bar',/baz/] (Ivan Neverov)
1919
+ * supports matching n command line tag values with an example or group
1920
+
1921
+ ### 2.8.0.rc1 / 2011-11-06
1922
+
1923
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.7.1...v2.8.0.rc1)
1924
+
1925
+ Enhancements
1926
+
1927
+ * `--order` (Justin Ko)
1928
+ * run examples in random order: `--order rand`
1929
+ * specify the seed: `--order rand:123`
1930
+ * `--seed SEED`
1931
+ * equivalent of `--order rand:SEED`
1932
+ * SharedContext supports `let` (David Chelimsky)
1933
+ * Filter improvements (David Chelimsky)
1934
+ * override opposing tags from the command line
1935
+ * override RSpec.configure tags from the command line
1936
+ * `--line_number 37` overrides all other filters
1937
+ * `path/to/file.rb:37` overrides all other filters
1938
+ * refactor: consolidate filter management in a FilterManger object
1939
+ * Eliminate Ruby warnings (Matijs van Zuijlen)
1940
+ * Make reporter.report an API (David Chelimsky)
1941
+ * supports extension tools like interative_rspec
1942
+
1943
+ Changes
1944
+
1945
+ * change `config.color_enabled` (getter/setter/predicate) to `color` to align
1946
+ with `--[no]-color` CLI option.
1947
+ * `color_enabled` is still supported for now, but will likley be deprecated
1948
+ in a 2.x release so we can remove it in 3.0.
1949
+
1950
+ Bug fixes
1951
+
1952
+ * Make sure the `bar` in `--tag foo:bar` makes it to DRb (Aaron Gibralter)
1953
+ * Fix bug where full descriptions of groups nested 3 deep were repeated.
1954
+ * Restore report of time to run to start after files are loaded.
1955
+ * fixes bug where run times were cumalitive in spork
1956
+ * fixes compatibility with time-series metrics
1957
+ * Don't error out when `config.mock_with` or `expect_with` is re-specifying the
1958
+ current config (Myron Marston)
1959
+
1960
+ * Deprecations
1961
+ * :alias option on `configuration.add_setting`. Use `:alias_with` on the
1962
+ original setting declaration instead.
1963
+
1964
+ ### 2.7.1 / 2011-10-20
1965
+
1966
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.7.0...v2.7.1)
1967
+
1968
+ Bug fixes
1969
+
1970
+ * tell autotest the correct place to find the rspec executable
1971
+
1972
+ ### 2.7.0 / 2011-10-16
1973
+
1974
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.4...v2.7.0)
1975
+
1976
+ NOTE: RSpec's release policy dictates that there should not be any backward
1977
+ incompatible changes in minor releases, but we're making an exception to
1978
+ release a change to how RSpec interacts with other command line tools.
1979
+
1980
+ As of 2.7.0, you must explicity `require "rspec/autorun"` unless you use the
1981
+ `rspec` command (which already does this for you).
1982
+
1983
+ Enhancements
1984
+
1985
+ * Add `example.exception` (David Chelimsky)
1986
+ * `--default_path` command line option (Justin Ko)
1987
+ * support multiple `--line_number` options (David J. Hamilton)
1988
+ * also supports `path/to/file.rb:5:9` (runs examples on lines 5 and 9)
1989
+ * Allow classes/modules to be used as shared example group identifiers (Arthur
1990
+ Gunn)
1991
+ * Friendly error message when shared context cannot be found (Sławosz
1992
+ Sławiński)
1993
+ * Clear formatters when resetting config (John Bintz)
1994
+ * Add `xspecify` and xexample as temp-pending methods (David Chelimsky)
1995
+ * Add `--no-drb` option (Iain Hecker)
1996
+ * Provide more accurate run time by registering start time before code is
1997
+ loaded (David Chelimsky)
1998
+ * reverted in 2.8.0
1999
+ * Rake task default pattern finds specs in symlinked dirs (Kelly Felkins)
2000
+ * Rake task no longer does anything to invoke bundler since Bundler already
2001
+ handles it for us. Thanks to Andre Arko for the tip.
2002
+ * Add `--failure-exit-code` option (Chris Griego)
2003
+
2004
+ Bug fixes
2005
+
2006
+ * Include `Rake::DSL` to remove deprecation warnings in Rake > 0.8.7 (Pivotal
2007
+ Casebook)
2008
+ * Only eval `let` block once even if it returns `nil` (Adam Meehan)
2009
+ * Fix `--pattern` option (wasn't being recognized) (David Chelimsky)
2010
+ * Only implicitly `require "rspec/autorun"` with the `rspec` command (David
2011
+ Chelimsky)
2012
+ * Ensure that rspec's `at_exit` defines the exit code (Daniel Doubrovkine)
2013
+ * Show the correct snippet in the HTML and TextMate formatters (Brian Faherty)
2014
+
2015
+ ### 2.6.4 / 2011-06-06
2016
+
2017
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.3...v2.6.4)
2018
+
2019
+ NOTE: RSpec's release policy dictates that there should not be new
2020
+ functionality in patch releases, but this minor enhancement slipped in by
2021
+ accident. As it doesn't add a new API, we decided to leave it in rather than
2022
+ roll back this release.
2023
+
2024
+ Enhancements
2025
+
2026
+ * Add summary of commands to run individual failed examples.
2027
+
2028
+ Bug fixes
2029
+
2030
+ * Support exclusion filters in DRb. (Yann Lugrin)
2031
+ * Fix --example escaping when run over DRb. (Elliot Winkler)
2032
+ * Use standard ANSI codes for color formatting so colors work in a wider set of
2033
+ color schemes.
2034
+
2035
+ ### 2.6.3 / 2011-05-24
2036
+
2037
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.2...v2.6.3)
2038
+
2039
+ Bug fixes
2040
+
2041
+ * Explicitly convert exit code to integer, avoiding TypeError when return
2042
+ value of run is IO object proxied by `DRb::DRbObject` (Julian Scheid)
2043
+ * Clarify behavior of `--example` command line option
2044
+ * Build using a rubygems-1.6.2 to avoid downstream yaml parsing error
2045
+
2046
+ ### 2.6.2 / 2011-05-21
2047
+
2048
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.1...v2.6.2)
2049
+
2050
+ Bug fixes
2051
+
2052
+ * Warn rather than raise when HOME env var is not defined
2053
+ * Properly merge command-line exclusions with default :if and :unless (joshcooper)
2054
+
2055
+ ### 2.6.1 / 2011-05-19
2056
+
2057
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.0...v2.6.1)
2058
+
2059
+ Bug fixes
2060
+
2061
+ * Don't extend nil when filters are nil
2062
+ * `require 'rspec/autorun'` when running rcov.
2063
+
2064
+ ### 2.6.0 / 2011-05-12
2065
+
2066
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.5.1...v2.6.0)
2067
+
2068
+ Enhancements
2069
+
2070
+ * `shared_context` (Damian Nurzynski)
2071
+ * extend groups matching specific metadata with:
2072
+ * method definitions
2073
+ * subject declarations
2074
+ * let/let! declarations
2075
+ * etc (anything you can do in a group)
2076
+ * `its([:key])` works for any subject with #[]. (Peter Jaros)
2077
+ * `treat_symbols_as_metadata_keys_with_true_values` (Myron Marston)
2078
+ * Print a deprecation warning when you configure RSpec after defining an
2079
+ example. All configuration should happen before any examples are defined.
2080
+ (Myron Marston)
2081
+ * Pass the exit status of a DRb run to the invoking process. This causes specs
2082
+ run via DRb to not just return true or false. (Ilkka Laukkanen)
2083
+ * Refactoring of `ConfigurationOptions#parse_options` (Rodrigo Rosenfeld Rosas)
2084
+ * Report excluded filters in runner output (tip from andyl)
2085
+ * Clean up messages for filters/tags.
2086
+ * Restore --pattern/-P command line option from rspec-1
2087
+ * Support false as well as true in config.full_backtrace= (Andreas Tolf
2088
+ Tolfsen)
2089
+
2090
+ Bug fixes
2091
+
2092
+ * Don't stumble over an exception without a message (Hans Hasselberg)
2093
+ * Remove non-ascii characters from comments that were choking rcov (Geoffrey
2094
+ Byers)
2095
+ * Fixed backtrace so it doesn't include lines from before the autorun at_exit
2096
+ hook (Myron Marston)
2097
+ * Include RSpec::Matchers when first example group is defined, rather than just
2098
+ before running the examples. This works around an obscure bug in ruby 1.9
2099
+ that can cause infinite recursion. (Myron Marston)
2100
+ * Don't send `example_group_[started|finished]` to formatters for empty groups.
2101
+ * Get specs passing on jruby (Sidu Ponnappa)
2102
+ * Fix bug where mixing nested groups and outer-level examples gave
2103
+ unpredictable :line_number behavior (Artur Małecki)
2104
+ * Regexp.escape the argument to --example (tip from Elliot Winkler)
2105
+ * Correctly pass/fail pending block with message expectations
2106
+ * CommandLine returns exit status (0/1) instead of true/false
2107
+ * Create path to formatter output file if it doesn't exist (marekj).
2108
+
2109
+
2110
+ ### 2.5.1 / 2011-02-06
2111
+
2112
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.5.0...v2.5.1)
2113
+
2114
+ NOTE: this release breaks compatibility with rspec/autotest/bundler
2115
+ integration, but does so in order to greatly simplify it.
2116
+
2117
+ With this release, if you want the generated autotest command to include
2118
+ 'bundle exec', require Autotest's bundler plugin in a .autotest file in the
2119
+ project's root directory or in your home directory:
2120
+
2121
+ require "autotest/bundler"
2122
+
2123
+ Now you can just type 'autotest' on the command line and it will work as you expect.
2124
+
2125
+ If you don't want 'bundle exec', there is nothing you have to do.
2126
+
2127
+ ### 2.5.0 / 2011-02-05
2128
+
2129
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.4.0...v2.5.0)
2130
+
2131
+ Enhancements
2132
+
2133
+ * Autotest::Rspec2 parses command line args passed to autotest after '--'
2134
+ * --skip-bundler option for autotest command
2135
+ * Autotest regexp fixes (Jon Rowe)
2136
+ * Add filters to html and textmate formatters (Daniel Quimper)
2137
+ * Explicit passing of block (need for JRuby 1.6) (John Firebaugh)
2138
+
2139
+ Bug fixes
2140
+
2141
+ * fix dom IDs in HTML formatter (Brian Faherty)
2142
+ * fix bug with --drb + formatters when not running in drb
2143
+ * include --tag options in drb args (monocle)
2144
+ * fix regression so now SPEC_OPTS take precedence over CLI options again (Roman
2145
+ Chernyatchik)
2146
+ * only call its(:attribute) once (failing example from Brian Dunn)
2147
+ * fix bizarre bug where rspec would hang after String.alias :to_int :to_i
2148
+ (Damian Nurzynski)
2149
+
2150
+ Deprecations
2151
+
2152
+ * implicit inclusion of 'bundle exec' when Gemfile present (use autotest's
2153
+ bundler plugin instead)
2154
+
2155
+ ### 2.4.0 / 2011-01-02
2156
+
2157
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.3.1...v2.4.0)
2158
+
2159
+ Enhancements
2160
+
2161
+ * start the debugger on -d so the stack trace is visible when it stops
2162
+ (Clifford Heath)
2163
+ * apply hook filtering to examples as well as groups (Myron Marston)
2164
+ * support multiple formatters, each with their own output
2165
+ * show exception classes in failure messages unless they come from RSpec
2166
+ matchers or message expectations
2167
+ * before(:all) { pending } sets all examples to pending
2168
+
2169
+ Bug fixes
2170
+
2171
+ * fix bug due to change in behavior of reject in Ruby 1.9.3-dev (Shota
2172
+ Fukumori)
2173
+ * fix bug when running in jruby: be explicit about passing block to super (John
2174
+ Firebaugh)
2175
+ * rake task doesn't choke on paths with quotes (Janmejay Singh)
2176
+ * restore --options option from rspec-1
2177
+ * require 'ostruct' to fix bug with its([key]) (Kim Burgestrand)
2178
+ * --configure option generates .rspec file instead of autotest/discover.rb
2179
+
2180
+ ### 2.3.1 / 2010-12-16
2181
+
2182
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.3.0...v2.3.1)
2183
+
2184
+ Bug fixes
2185
+
2186
+ * send debugger warning message to $stdout if RSpec.configuration.error_stream
2187
+ has not been defined yet.
2188
+ * HTML Formatter _finally_ properly displays nested groups (Jarmo Pertman)
2189
+ * eliminate some warnings when running RSpec's own suite (Jarmo Pertman)
2190
+
2191
+ ### 2.3.0 / 2010-12-12
2192
+
2193
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
2194
+
2195
+ Enhancements
2196
+
2197
+ * tell autotest to use "rspec2" if it sees a .rspec file in the project's root
2198
+ directory
2199
+ * replaces the need for ./autotest/discover.rb, which will not work with
2200
+ all versions of ZenTest and/or autotest
2201
+ * config.expect_with
2202
+ * :rspec # => rspec/expectations
2203
+ * :stdlib # => test/unit/assertions
2204
+ * :rspec, :stdlib # => both
2205
+
2206
+ Bug fixes
2207
+
2208
+ * fix dev Gemfile to work on non-mac-os machines (Lake Denman)
2209
+ * ensure explicit subject is only eval'd once (Laszlo Bacsi)
2210
+
2211
+ ### 2.2.1 / 2010-11-28
2212
+
2213
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...v2.2.1)
2214
+
2215
+ Bug fixes
2216
+
2217
+ * alias_method instead of override Kernel#method_missing (John Wilger)
2218
+ * changed --autotest to --tty in generated command (MIKAMI Yoshiyuki)
2219
+ * revert change to debugger (had introduced conflict with Rails)
2220
+ * also restored --debugger/-debug option
2221
+
2222
+ ### 2.2.0 / 2010-11-28
2223
+
2224
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.1.0...v2.2.0)
2225
+
2226
+ Deprecations/changes
2227
+
2228
+ * --debug/-d on command line is deprecated and now has no effect
2229
+ * win32console is now ignored; Windows users must use ANSICON for color support
2230
+ (Bosko Ivanisevic)
2231
+
2232
+ Enhancements
2233
+
2234
+ * When developing locally rspec-core now works with the rspec-dev setup or your
2235
+ local gems
2236
+ * Raise exception with helpful message when rspec-1 is loaded alongside rspec-2
2237
+ (Justin Ko)
2238
+ * debugger statements _just work_ as long as ruby-debug is installed
2239
+ * otherwise you get warned, but not fired
2240
+ * Expose example.metadata in around hooks
2241
+ * Performance improvments (much faster now)
2242
+
2243
+ Bug fixes
2244
+
2245
+ * Make sure --fail-fast makes it across drb
2246
+ * Pass -Ilib:spec to rcov
2247
+
2248
+ ### 2.1.0 / 2010-11-07
2249
+
2250
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)
2251
+
2252
+ Enhancments
2253
+
2254
+ * Add skip_bundler option to rake task to tell rake task to ignore the presence
2255
+ of a Gemfile (jfelchner)
2256
+ * Add gemfile option to rake task to tell rake task what Gemfile to look for
2257
+ (defaults to 'Gemfile')
2258
+ * Allow passing caller trace into Metadata to support extensions (Glenn
2259
+ Vanderburg)
2260
+ * Add deprecation warning for Spec::Runner.configure to aid upgrade from
2261
+ RSpec-1
2262
+ * Add deprecated Spec::Rake::SpecTask to aid upgrade from RSpec-1
2263
+ * Add 'autospec' command with helpful message to aid upgrade from RSpec-1
2264
+ * Add support for filtering with tags on CLI (Lailson Bandeira)
2265
+ * Add a helpful message about RUBYOPT when require fails in bin/rspec (slyphon)
2266
+ * Add "-Ilib" to the default rcov options (Tianyi Cui)
2267
+ * Make the expectation framework configurable (default rspec, of course)
2268
+ (Justin Ko)
2269
+ * Add 'pending' to be conditional (Myron Marston)
2270
+ * Add explicit support for :if and :unless as metadata keys for conditional run
2271
+ of examples (Myron Marston)
2272
+ * Add --fail-fast command line option (Jeff Kreeftmeijer)
2273
+
2274
+ Bug fixes
2275
+
2276
+ * Eliminate stack overflow with "subject { self }"
2277
+ * Require 'rspec/core' in the Raketask (ensures it required when running rcov)
2278
+
2279
+ ### 2.0.1 / 2010-10-18
2280
+
2281
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.0...v2.0.1)
2282
+
2283
+ Bug fixes
2284
+
2285
+ * Restore color when using spork + autotest
2286
+ * Pending examples without docstrings render the correct message (Josep M.
2287
+ Bach)
2288
+ * Fixed bug where a failure in a spec file ending in anything but _spec.rb
2289
+ would fail in a confusing way.
2290
+ * Support backtrace lines from erb templates in html formatter (Alex Crichton)
2291
+
2292
+ ### 2.0.0 / 2010-10-10
2293
+
2294
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.rc...v2.0.0)
2295
+
2296
+ RSpec-1 compatibility
2297
+
2298
+ * Rake task uses ENV["SPEC"] as file list if present
2299
+
2300
+ Bug fixes
2301
+
2302
+ * Bug Fix: optparse --out foo.txt (Leonardo Bessa)
2303
+ * Suppress color codes for non-tty output (except autotest)
2304
+
2305
+ ### 2.0.0.rc / 2010-10-05
2306
+
2307
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)
2308
+
2309
+ Enhancements
2310
+
2311
+ * implicitly require unknown formatters so you don't have to require the file
2312
+ explicitly on the command line (Michael Grosser)
2313
+ * add --out/-o option to assign output target
2314
+ * added fail_fast configuration option to abort on first failure
2315
+ * support a Hash subject (its([:key]) { should == value }) (Josep M. Bach)
2316
+
2317
+ Bug fixes
2318
+
2319
+ * Explicitly require rspec version to fix broken rdoc task (Hans de Graaff)
2320
+ * Ignore backtrace lines that come from other languages, like Java or
2321
+ Javascript (Charles Lowell)
2322
+ * Rake task now does what is expected when setting (or not setting)
2323
+ fail_on_error and verbose
2324
+ * Fix bug in which before/after(:all) hooks were running on excluded nested
2325
+ groups (Myron Marston)
2326
+ * Fix before(:all) error handling so that it fails examples in nested groups,
2327
+ too (Myron Marston)
2328
+
2329
+ ### 2.0.0.beta.22 / 2010-09-12
2330
+
2331
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)
2332
+
2333
+ Enhancements
2334
+
2335
+ * removed at_exit hook
2336
+ * CTRL-C stops the run (almost) immediately
2337
+ * first it cleans things up by running the appropriate after(:all) and
2338
+ after(:suite) hooks
2339
+ * then it reports on any examples that have already run
2340
+ * cleaned up rake task
2341
+ * generate correct task under variety of conditions
2342
+ * options are more consistent
2343
+ * deprecated redundant options
2344
+ * run 'bundle exec autotest' when Gemfile is present
2345
+ * support ERB in .rspec options files (Justin Ko)
2346
+ * depend on bundler for development tasks (Myron Marston)
2347
+ * add example_group_finished to formatters and reporter (Roman Chernyatchik)
2348
+
2349
+ Bug fixes
2350
+
2351
+ * support paths with spaces when using autotest (Andreas Neuhaus)
2352
+ * fix module_exec with ruby 1.8.6 (Myron Marston)
2353
+ * remove context method from top-level
2354
+ * was conflicting with irb, for example
2355
+ * errors in before(:all) are now reported correctly (Chad Humphries)
2356
+
2357
+ Removals
2358
+
2359
+ * removed -o --options-file command line option
2360
+ * use ./.rspec and ~/.rspec