bsielski_control_flow 1.0.0

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