genkaio 0.0.1 → 0.0.2

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