rspec-core 2.99.2 → 3.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. checksums.yaml +14 -6
  2. checksums.yaml.gz.sig +2 -0
  3. data.tar.gz.sig +0 -0
  4. data/Changelog.md +103 -191
  5. data/License.txt +1 -0
  6. data/README.md +4 -25
  7. data/features/Upgrade.md +2 -14
  8. data/features/command_line/dry_run.feature +29 -0
  9. data/features/command_line/example_name_option.feature +1 -1
  10. data/features/command_line/fail_fast.feature +26 -0
  11. data/features/command_line/format_option.feature +3 -3
  12. data/features/command_line/line_number_option.feature +16 -11
  13. data/features/command_line/order.feature +2 -3
  14. data/features/command_line/pattern_option.feature +3 -3
  15. data/features/command_line/randomization.feature +63 -0
  16. data/features/command_line/require_option.feature +2 -2
  17. data/features/command_line/ruby.feature +1 -1
  18. data/features/configuration/alias_example_to.feature +13 -22
  19. data/features/configuration/{backtrace_clean_patterns.feature → backtrace_exclusion_patterns.feature} +17 -14
  20. data/features/configuration/custom_settings.feature +11 -11
  21. data/features/configuration/overriding_global_ordering.feature +93 -0
  22. data/features/configuration/profile.feature +13 -13
  23. data/features/configuration/read_options_from_file.feature +7 -7
  24. data/features/example_groups/basic_structure.feature +1 -1
  25. data/features/example_groups/shared_context.feature +8 -8
  26. data/features/example_groups/shared_examples.feature +6 -14
  27. data/features/expectation_framework_integration/configure_expectation_framework.feature +27 -122
  28. data/features/filtering/exclusion_filters.feature +2 -5
  29. data/features/filtering/inclusion_filters.feature +1 -5
  30. data/features/formatters/json_formatter.feature +2 -2
  31. data/features/formatters/text_formatter.feature +4 -4
  32. data/features/helper_methods/arbitrary_methods.feature +2 -2
  33. data/features/helper_methods/let.feature +5 -5
  34. data/features/helper_methods/modules.feature +5 -8
  35. data/features/hooks/around_hooks.feature +2 -2
  36. data/features/hooks/before_and_after_hooks.feature +14 -14
  37. data/features/hooks/filtering.feature +12 -14
  38. data/features/metadata/described_class.feature +1 -1
  39. data/features/metadata/user_defined.feature +16 -29
  40. data/features/mock_framework_integration/use_flexmock.feature +1 -1
  41. data/features/mock_framework_integration/use_mocha.feature +1 -1
  42. data/features/mock_framework_integration/use_rr.feature +1 -1
  43. data/features/mock_framework_integration/use_rspec.feature +5 -5
  44. data/features/pending/pending_examples.feature +5 -5
  45. data/features/spec_files/arbitrary_file_suffix.feature +1 -1
  46. data/features/step_definitions/additional_cli_steps.rb +3 -3
  47. data/features/subject/explicit_subject.feature +8 -8
  48. data/features/subject/implicit_receiver.feature +29 -0
  49. data/features/subject/implicit_subject.feature +4 -4
  50. data/features/support/env.rb +10 -3
  51. data/features/support/require_expect_syntax_in_aruba_specs.rb +16 -0
  52. data/lib/rspec/core.rb +11 -48
  53. data/lib/rspec/core/backport_random.rb +302 -0
  54. data/lib/rspec/core/backtrace_formatter.rb +65 -0
  55. data/lib/rspec/core/command_line.rb +7 -18
  56. data/lib/rspec/core/configuration.rb +202 -507
  57. data/lib/rspec/core/configuration_options.rb +17 -30
  58. data/lib/rspec/core/example.rb +29 -39
  59. data/lib/rspec/core/example_group.rb +166 -259
  60. data/lib/rspec/core/filter_manager.rb +30 -47
  61. data/lib/rspec/core/flat_map.rb +17 -0
  62. data/lib/rspec/core/formatters.rb +0 -138
  63. data/lib/rspec/core/formatters/base_formatter.rb +46 -1
  64. data/lib/rspec/core/formatters/base_text_formatter.rb +38 -61
  65. data/lib/rspec/core/formatters/deprecation_formatter.rb +21 -52
  66. data/lib/rspec/core/formatters/helpers.rb +0 -28
  67. data/lib/rspec/core/formatters/html_formatter.rb +1 -1
  68. data/lib/rspec/core/formatters/json_formatter.rb +38 -9
  69. data/lib/rspec/core/formatters/snippet_extractor.rb +14 -5
  70. data/lib/rspec/core/hooks.rb +55 -39
  71. data/lib/rspec/core/memoized_helpers.rb +17 -167
  72. data/lib/rspec/core/metadata.rb +16 -64
  73. data/lib/rspec/core/option_parser.rb +30 -39
  74. data/lib/rspec/core/ordering.rb +154 -0
  75. data/lib/rspec/core/pending.rb +12 -69
  76. data/lib/rspec/core/project_initializer.rb +12 -10
  77. data/lib/rspec/core/rake_task.rb +5 -108
  78. data/lib/rspec/core/reporter.rb +15 -18
  79. data/lib/rspec/core/runner.rb +16 -30
  80. data/lib/rspec/core/shared_context.rb +3 -5
  81. data/lib/rspec/core/shared_example_group.rb +3 -51
  82. data/lib/rspec/core/shared_example_group/collection.rb +1 -19
  83. data/lib/rspec/core/version.rb +1 -1
  84. data/lib/rspec/core/warnings.rb +22 -0
  85. data/lib/rspec/core/world.rb +12 -8
  86. data/spec/command_line/order_spec.rb +20 -23
  87. data/spec/rspec/core/backtrace_formatter_spec.rb +216 -0
  88. data/spec/rspec/core/command_line_spec.rb +32 -48
  89. data/spec/rspec/core/configuration_options_spec.rb +19 -50
  90. data/spec/rspec/core/configuration_spec.rb +142 -713
  91. data/spec/rspec/core/drb_command_line_spec.rb +2 -0
  92. data/spec/rspec/core/dsl_spec.rb +0 -1
  93. data/spec/rspec/core/example_group_spec.rb +192 -223
  94. data/spec/rspec/core/example_spec.rb +40 -16
  95. data/spec/rspec/core/filter_manager_spec.rb +2 -2
  96. data/spec/rspec/core/formatters/base_formatter_spec.rb +0 -41
  97. data/spec/rspec/core/formatters/base_text_formatter_spec.rb +5 -123
  98. data/spec/rspec/core/formatters/deprecation_formatter_spec.rb +2 -87
  99. data/spec/rspec/core/formatters/documentation_formatter_spec.rb +2 -3
  100. data/spec/rspec/core/formatters/{text_mate_formatted.html → html_formatted-1.8.7-jruby.html} +44 -25
  101. data/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +477 -0
  102. data/spec/rspec/core/formatters/{html_formatted.html → html_formatted-1.8.7.html} +42 -25
  103. data/spec/rspec/core/formatters/html_formatted-1.9.2.html +425 -0
  104. data/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +416 -0
  105. data/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +477 -0
  106. data/spec/rspec/core/formatters/html_formatted-1.9.3.html +419 -0
  107. data/spec/rspec/core/formatters/html_formatted-2.0.0.html +425 -0
  108. data/spec/rspec/core/formatters/html_formatter_spec.rb +21 -46
  109. data/spec/rspec/core/formatters/json_formatter_spec.rb +97 -8
  110. data/spec/rspec/core/hooks_filtering_spec.rb +5 -5
  111. data/spec/rspec/core/hooks_spec.rb +61 -47
  112. data/spec/rspec/core/memoized_helpers_spec.rb +20 -322
  113. data/spec/rspec/core/metadata_spec.rb +1 -24
  114. data/spec/rspec/core/option_parser_spec.rb +20 -62
  115. data/spec/rspec/core/ordering_spec.rb +102 -0
  116. data/spec/rspec/core/pending_example_spec.rb +0 -40
  117. data/spec/rspec/core/project_initializer_spec.rb +1 -25
  118. data/spec/rspec/core/rake_task_spec.rb +5 -72
  119. data/spec/rspec/core/random_spec.rb +47 -0
  120. data/spec/rspec/core/reporter_spec.rb +23 -48
  121. data/spec/rspec/core/runner_spec.rb +31 -39
  122. data/spec/rspec/core/shared_context_spec.rb +3 -15
  123. data/spec/rspec/core/shared_example_group/collection_spec.rb +4 -17
  124. data/spec/rspec/core/shared_example_group_spec.rb +12 -45
  125. data/spec/rspec/core/{deprecation_spec.rb → warnings_spec.rb} +3 -1
  126. data/spec/rspec/core_spec.rb +4 -21
  127. data/spec/spec_helper.rb +41 -5
  128. data/spec/support/helper_methods.rb +0 -29
  129. data/spec/support/sandboxed_mock_space.rb +0 -16
  130. data/spec/support/shared_example_groups.rb +7 -36
  131. data/spec/support/stderr_splitter.rb +36 -0
  132. metadata +163 -157
  133. metadata.gz.sig +1 -0
  134. data/exe/autospec +0 -13
  135. data/features/Autotest.md +0 -38
  136. data/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +0 -52
  137. data/features/subject/attribute_of_subject.feature +0 -124
  138. data/features/subject/one_liner_syntax.feature +0 -71
  139. data/lib/autotest/discover.rb +0 -10
  140. data/lib/autotest/rspec2.rb +0 -77
  141. data/lib/rspec/core/backtrace_cleaner.rb +0 -46
  142. data/lib/rspec/core/backward_compatibility.rb +0 -55
  143. data/lib/rspec/core/caller_filter.rb +0 -60
  144. data/lib/rspec/core/deprecated_mutable_array_proxy.rb +0 -32
  145. data/lib/rspec/core/deprecation.rb +0 -26
  146. data/lib/rspec/core/extensions/instance_eval_with_args.rb +0 -44
  147. data/lib/rspec/core/extensions/kernel.rb +0 -9
  148. data/lib/rspec/core/extensions/module_eval_with_args.rb +0 -38
  149. data/lib/rspec/core/extensions/ordered.rb +0 -27
  150. data/lib/rspec/core/formatters/console_codes.rb +0 -42
  151. data/lib/rspec/core/formatters/text_mate_formatter.rb +0 -34
  152. data/lib/rspec/core/metadata_hash_builder.rb +0 -97
  153. data/lib/rspec/core/minitest_assertions_adapter.rb +0 -28
  154. data/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
  155. data/spec/autotest/discover_spec.rb +0 -49
  156. data/spec/autotest/failed_results_re_spec.rb +0 -45
  157. data/spec/autotest/rspec_spec.rb +0 -133
  158. data/spec/rspec/core/backtrace_cleaner_spec.rb +0 -68
  159. data/spec/rspec/core/caller_filter_spec.rb +0 -58
  160. data/spec/rspec/core/deprecations_spec.rb +0 -59
  161. data/spec/rspec/core/formatters/console_codes_spec.rb +0 -50
  162. data/spec/rspec/core/formatters/text_mate_formatter_spec.rb +0 -107
  163. data/spec/rspec/core/kernel_extensions_spec.rb +0 -9
  164. data/spec/rspec/core/pending_spec.rb +0 -27
  165. data/spec/support/silence_dsl_deprecations.rb +0 -32
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f54ed071171201f361643ad415b54259c1c3f940
4
- data.tar.gz: 0bef75548f1c5296d67f7a713ce5f37a2c71e0e8
5
- SHA512:
6
- metadata.gz: e6aa1aa55d05543c9f076851d35f035b7b0a61928a008d2d3579f68a6998efb7d1492e2d7b54e5c292bef63dad3e73043d3e03e8798a98c962593295448c2b08
7
- data.tar.gz: 3af6e5b477e2ed649155fd7e7cc25d7caf93e3aed51981fa343c40179f9379001b52417114f5582b1ef72b37b26a93fddf1f964d81b10fb21c4fc908dec5727c
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NjNkNmYyYTgyYTA3YTc2ODQ4ZmU2MWYxMDc1NzA1NDdhOTQzNDNlYw==
5
+ data.tar.gz: !binary |-
6
+ YWU3YzVjN2YwOTM3MzMzODNhYTU3NGQ1Y2IwMTM4YzFjZDA0M2JjOQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ODdjYThjN2ZhMTc5MWFhYzJhZjBlOTMwYmRjMzYxNTNjNWNjMWM1MDA0Njlm
10
+ OTUwMWI2Yjg5YzAwMzAwZDQ3NmM1ZGM2OThiY2M0ZjMwYjI0YTA5YjJhOTBj
11
+ MjMyNGI0ZDhmNjhiYzkwOTQ0Mzc5NTE5Mjg4NzkyZWY0NDUxZWU=
12
+ data.tar.gz: !binary |-
13
+ YjIzMWNkOGVmOTJhMzMyODAwZmY2YmVkMjczMDIyMmNmNjViNWE4ZGE3ZWIy
14
+ ZWI4NDk0MTdjZDM1ZjVjOWExYmE5NTYxZTViYjA3MmNkNDE5NzhkYWQxMDBk
15
+ Mzk4NmRjY2JjOTY4MDFjZTI2YjE1YWExNjM3MTA3MTEwNjgzMGE=
@@ -0,0 +1,2 @@
1
+ qx�
2
+ ��sˉs��.�:+���)�M5�'�y^H ~�j4iKE�t���d�0��z�n@��ؤy�~PP����@5��}<緰F$0�����g"A�+���xt˕I��Hy1��q`X'�]�g�t��9�%�n�Q0Ɯ�9ݕ�^�D#�%V�� �^�z�)u������9���69M�����ޖ��E��;K�z*�gl,ԁ����N^��Ƥ�����q�[߆��l�N��"�ec���H���@
Binary file
@@ -1,149 +1,69 @@
1
- ### 2.99.2 / 2014-08-19
2
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.1...v2.99.2)
3
-
4
- Enhancements:
5
-
6
- * Improve deprecation warning for RSpec 3 change in `describe <a symbol>`
7
- behavior. (Jon Rowe, #1667)
8
-
9
- ### 2.99.1 / 2014-06-19
10
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0...v2.99.1)
11
-
12
- Bug Fixes:
13
-
14
- * Add missing deprecation warning for when `RSpec::Core::Runner` is used
15
- multiple times in the same process. In 2.x RSpec's global state was
16
- automatically cleared between runs but in 3.0 you need to call `RSpec.reset`
17
- manually in these situations. (Sam Phippen, #1587)
18
- * Prevent deprecation being accidentally issues when doubles used with `be_`
19
- matchers due to automatically generated descriptions. (Jon Rowe, #1573)
20
- * Load `rspec/core` when loading `rspec/core/rake_task` to ensure we can
21
- issue deprecations correctly. (Jon Rowe, #1612)
22
-
23
- ### 2.99.0 / 2014-06-01
24
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.rc1...v2.99.0)
25
-
26
- Bug Fixes:
27
-
28
- * Fix `BaseTextFormatter` so that it does not re-close a closed output
29
- stream. (Myron Marston)
30
- * Use `RSpec::Configuration#backtrace_exclusion_patterns` rather than the
31
- deprecated `RSpec::Configuration#backtrace_clean_patterns` when mocking
32
- with rr. (David Dollar)
33
-
34
- ### 2.99.0.rc1 / 2014-05-18
35
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.beta2...v2.99.0.rc1)
36
-
37
- Enhancements:
38
-
39
- * Add `--deprecation-out` CLI option which directs deprecation warnings
40
- to the named file. (Myron Marston)
41
- * Backport support for `skip` in metadata to skip execution of an example.
42
- (Xavier Shay, #1472)
43
- * Add `Pathname` support for setting all output streams. (Aaron Kromer)
44
- * Add `test_unit` and `minitest` expectation frameworks. (Aaron Kromer)
45
-
46
- Deprecations:
47
-
48
- * Deprecate `RSpec::Core::Pending::PendingDeclaredInExample`, use
49
- `SkipDeclaredInExample` instead. (Xavier Shay)
50
- * Issue a deprecation when `described_class` is accessed from within
51
- a nested `describe <SomeClass>` example group, since `described_class`
52
- will return the innermost described class in RSpec 3 rather than the
53
- outermost described class, as it behaved in RSpec 2. (Myron Marston)
54
- * Deprecate `RSpec::Core::FilterManager::DEFAULT_EXCLUSIONS`,
55
- `RSpec::Core::FilterManager::STANDALONE_FILTERS` and use of
56
- `#empty_without_conditional_filters?` on those filters. (Sergey Pchelincev)
57
- * Deprecate `RSpec::Core::Example#options` in favor of
58
- `RSpec::Core::Example#metadata`. (Myron Marston)
59
- * Issue warning when passing a symbol or hash to `describe` or `context`
60
- as the first argument. In RSpec 2.x this would be treated as metadata
61
- but in RSpec 3 it'll be treated as the described object. To continue
62
- having it treated as metadata, pass a description before the symbol or
63
- hash. (Myron Marston)
64
- * Deprecate `RSpec::Core::BaseTextFormatter::VT100_COLORS` and
65
- `RSpec::Core::BaseTextFormatter::VT100_COLOR_CODES` in favour
66
- of `RSpec::Core::BaseTextFormatter::ConsoleCodes::VT100_CODES` and
67
- `RSpec::Core::BaseTextFormatter::ConsoleCodes::VT100_CODE_VALUES`.
1
+ ### 3.0.0.beta1 / 2013-11-07
2
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.beta1...v3.0.0.beta1)
3
+
4
+ Breaking Changes for 3.0.0:
5
+
6
+ * Remove explicit support for 1.8.6. (Jon Rowe)
7
+ * Remove `RSpec::Core::ExampleGroup#example` and
8
+ `RSpec::Core::ExampleGroup#running_example` methods. If you need
9
+ access to the example (e.g. to get its metadata), use a block arg
10
+ instead. (David Chelimsky)
11
+ * Remove `TextMateFormatter`, it has been moved to `rspec-tmbundle`.
12
+ (Aaron Kromer)
13
+ * Remove RCov integration. (Jon Rowe)
14
+ * Remove deprecated support for RSpec 1 constructs (Myron Marston):
15
+ * The `Spec` and `Rspec` constants (rather than `RSpec`).
16
+ * `Spec::Runner.configure` rather than `RSpec.configure`.
17
+ * `Rake::SpecTask` rather than `RSpec::Core::RakeTask`.
18
+ * Remove deprecated support for `share_as`. (Myron Marston)
19
+ * Remove `--debug` option (and corresponding option on
20
+ `RSpec::Core::Configuration`). Instead, use `-r<debugger gem name>` to
21
+ load whichever debugger gem you wish to use (e.g. `ruby-debug`,
22
+ `debugger`, or `pry`). (Myron Marston)
23
+ * Extract Autotest support to a seperate gem. (Jon Rowe)
24
+ * Raise an error when a `let` or `subject` declaration is
25
+ accessed in a `before(:all)` or `after(:all)` hook. (Myron Marston)
26
+ * Extract `its` support to a separate gem. (Peter Alfvin)
27
+ * Disallow use of a shared example group from sibling contexts, making them
28
+ fully isolated. 2.14 and 2.99 allowed this but printed a deprecation warning.
68
29
  (Jon Rowe)
69
- * Deprecate `RSpec::Core::ExampleGroup.display_name` in favor of
70
- `RSpec::Core::ExampleGroup.description`. (Myron Marston)
71
- * Deprecate `RSpec::Core::ExampleGroup.describes` in favor of
72
- `RSpec::Core::ExampleGroup.described_class`. (Myron Marston)
73
- * Deprecate `RSpec::Core::ExampleGroup.alias_example_to` in favor of
74
- `RSpec::Core::Configuration#alias_example_to`. (Myron Marston)
75
- * Deprecate `RSpec::Core::ExampleGroup.alias_it_behaves_like_to` in favor
76
- of `RSpec::Core::Configuration#alias_it_behaves_like_to`. (Myron Marston)
77
- * Deprecate `RSpec::Core::ExampleGroup.focused` in favor of
78
- `RSpec::Core::ExampleGroup.focus`. (Myron Marston)
79
- * Add deprecation warning for `config.filter_run :focused` since
80
- example aliases `fit` and `focus` will no longer include
81
- `:focused` metadata but will continue to include `:focus`. (Myron Marston)
82
- * Deprecate filtering by `:line_number` (e.g. `--line-number` from the
83
- CLI). Use location filtering instead. (Myron Marston)
84
- * Deprecate `--default_path` as an alternative to `--default-path`. (Jon Rowe)
85
- * Deprecate `RSpec::Core::Configuration#warnings` in favor of
86
- `RSpec::Core::Configuration#warnings?`. (Myron Marston)
87
- * Deprecate `share_examples_for` in favor of `shared_examples_for` or
88
- just `shared_examples`. (Myron Marston)
89
- * Deprecate `RSpec::Core::CommandLine` in favor of
90
- `RSpec::Core::Runner`. (Myron Marston)
91
- * Deprecate `#color_enabled`, `#color_enabled=` and `#color?` in favour of
92
- `#color`, `#color=` and `#color_enabled? output`. (Jon Rowe)
93
- * Deprecate `#filename_pattern` in favour of `#pattern`. (Jon Rowe)
94
- * Deprecate `#backtrace_cleaner` in favour of `#backtrace_formatter`. (Jon Rowe)
95
- * Deprecate mutating `RSpec::Configuration#formatters`. (Jon Rowe)
96
- * Deprecate `stdlib` as an available expectation framework in favour of
97
- `test_unit` and `minitest`. (Aaron Kromer)
98
-
99
- Bug Fixes:
100
-
101
- * Issue a warning when you set `config.deprecation_stream` too late for
102
- it to take effect because the reporter has already been setup. (Myron Marston)
103
- * `skip` with a block should not execute the block. (Xavier Shay)
104
-
105
- ### 2.99.0.beta2 / 2014-02-17
106
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.beta1...v2.99.0.beta2)
107
-
108
- Enhancements:
109
-
110
- * Add `is_expected` for one-liners that read well with the
111
- `expect`-based syntax. `is_expected` is simply defined as
112
- `expect(subject)` and can be used in an expression like:
113
- `it { is_expected.to read_well }`. (Myron Marston)
114
- * Backport `skip` from RSpec 3, which acts like `pending` did in RSpec 2
115
- when not given a block, since the behavior of `pending` is changing in
116
- RSpec 3. (Xavier Shay)
117
-
118
- Deprecations:
119
-
120
- * Deprecate inexact `mock_with` config options. RSpec 3 will only support
121
- the exact symbols `:rspec`, `:mocha`, `:flexmock`, `:rr` or `:nothing`
122
- (or any module that implements the adapter interface). RSpec 2 did
123
- fuzzy matching but this will not be supported going forward.
30
+ * Remove `RSpec::Core::Configuration#output` and
31
+ `RSpec::Core::Configuration#out` aliases of
32
+ `RSpec::Core::Configuration#output_stream`. (Myron Marston)
33
+
34
+ Enhancements
35
+
36
+ * Replace unmaintained syntax gem with coderay gem. (Xavier Shay)
37
+ * Times in profile output are now bold instead of `failure_color`.
38
+ (Matthew Boedicker)
39
+ * Add `--no-fail-fast` command line option. (Gonzalo Rodríguez-Baltanás Díaz)
40
+ * Runner now considers the local system ip address when running under Drb.
41
+ (Adrian CB)
42
+ * JsonFormatter now includes `--profile` information. (Alex / @MasterLambaster)
43
+ * Always treat symbols passed as metadata args as hash
44
+ keys with true values. RSpec 2 supported this with the
45
+ `treat_symbols_as_metadata_keys_with_true_values` but
46
+ now this behavior is always enabled. (Myron Marston)
47
+ * Add `--dry-run` option, which prints the formatter output
48
+ of your suite without running any examples or hooks.
49
+ (Thomas Stratmann, Myron Marston)
50
+ * Document the configuration options and default values in the `spec_helper.rb`
51
+ file that is generated by RSpec. (Parker Selbert)
52
+ * Give generated example group classes a friendly name derived
53
+ from the docstring, rather than something like "Nested_2".
124
54
  (Myron Marston)
125
- * Deprecate `show_failures_in_pending_blocks` config option. To achieve
126
- the same behavior as the option enabled, you can use a custom
127
- formatter instead. (Xavier Shay)
128
- * Add a deprecation warning for the fact that the behavior of `pending`
129
- is changing in RSpec 3 -- rather than skipping the example (as it did
130
- in 2.x when no block was provided), it will run the example and mark
131
- it as failed if no exception is raised. Use `skip` instead to preserve
132
- the old behavior. (Xavier Shay)
133
- * Deprecate 's', 'n', 'spec' and 'nested' as aliases for documentation
134
- formatter. (Jon Rowe)
135
- * Deprecate `RSpec::Core::Reporter#abort` in favor of
136
- `RSpec::Core::Reporter#finish`. (Jon Rowe)
137
-
138
- Bug Fixes:
139
-
140
- * Fix failure (undefined method `path`) in end-of-run summary
141
- when `raise_errors_for_deprecations!` is configured. (Myron Marston)
142
- * Fix issue were overridding spec ordering from the command line wasnt
143
- fully recognised interally. (Jon Rowe)
55
+ * Avoid affecting randomization of user code when shuffling
56
+ examples so that users can count on their own seeds
57
+ working. (Travis Herrick)
58
+
59
+ Deprecations
60
+
61
+ * `treat_symbols_as_metadata_keys_with_true_values` is deprecated and no
62
+ longer has an affect now that the behavior it enabled is always
63
+ enabled. (Myron Marston)
144
64
 
145
65
  ### 2.99.0.beta1 / 2013-11-07
146
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.7...v2.99.0.beta1)
66
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.7...v2.99.0.beta1)
147
67
 
148
68
  Enhancements
149
69
 
@@ -195,16 +115,8 @@ Deprecations
195
115
  * `--order default` is deprecated in favor of `--order defined`
196
116
  (Myron Marston)
197
117
 
198
- ### 2.14.8 / 2014-02-27
199
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.7...v2.14.8)
200
-
201
- Bug fixes:
202
-
203
- * Fix regression with the `textmateformatter` that prevented backtrace links
204
- from being clickable. (Stefan Daschek)
205
-
206
118
  ### 2.14.7 / 2013-10-29
207
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.6...v2.14.7)
119
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.6...v2.14.7)
208
120
 
209
121
  Bug fixes:
210
122
 
@@ -218,7 +130,7 @@ Bug fixes:
218
130
  (Myron Marston)
219
131
 
220
132
  ### 2.14.6 / 2013-10-15
221
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.5...v2.14.6)
133
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.5...v2.14.6)
222
134
 
223
135
  Bug fixes:
224
136
 
@@ -228,7 +140,7 @@ Bug fixes:
228
140
  Gierth)
229
141
 
230
142
  ### 2.14.5 / 2013-08-13
231
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.4...v2.14.5)
143
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.4...v2.14.5)
232
144
 
233
145
  Bug fixes:
234
146
 
@@ -243,7 +155,7 @@ Bug fixes:
243
155
  * JsonFormatter no longer dies if `dump_profile` isn't defined (Alex / @MasterLambaster, Jon Rowe)
244
156
 
245
157
  ### 2.14.4 / 2013-07-21
246
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.3...v2.14.4)
158
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.3...v2.14.4)
247
159
 
248
160
  Bug fixes
249
161
 
@@ -266,7 +178,7 @@ Bug fixes
266
178
  examples to be printed. (Jon Rowe)
267
179
 
268
180
  ### 2.14.3 / 2013-07-13
269
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.2...v2.14.3)
181
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.2...v2.14.3)
270
182
 
271
183
  Bug fixes
272
184
 
@@ -275,7 +187,7 @@ Bug fixes
275
187
  (This was a regression in 2.14) (Jon Rowe)
276
188
 
277
189
  ### 2.14.2 / 2013-07-09
278
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.1...v2.14.2)
190
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.1...v2.14.2)
279
191
 
280
192
  Bug fixes
281
193
 
@@ -287,7 +199,7 @@ Bug fixes
287
199
  (Jon Rowe)
288
200
 
289
201
  ### 2.14.1 / 2013-07-08
290
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.0...v2.14.1)
202
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.0...v2.14.1)
291
203
 
292
204
  Bug fixes
293
205
 
@@ -297,7 +209,7 @@ Bug fixes
297
209
  comes from `Kernel` (Alex Portnov, Jon Rowe).
298
210
 
299
211
  ### 2.14.0 / 2013-07-06
300
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.14.0.rc1...v2.14.0)
212
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.14.0.rc1...v2.14.0)
301
213
 
302
214
  Enhancements
303
215
 
@@ -311,7 +223,7 @@ Bug fix
311
223
  (Jon Rowe, Andy Lindeman and Myron Marston)
312
224
 
313
225
  ### 2.14.0.rc1 / 2013-05-27
314
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.13.1...v2.14.0.rc1)
226
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.13.1...v2.14.0.rc1)
315
227
 
316
228
  Enhancements
317
229
 
@@ -391,7 +303,7 @@ Deprecations
391
303
  (Jon Rowe)
392
304
 
393
305
  ### 2.13.1 / 2013-03-12
394
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.13.0...v2.13.1)
306
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.13.0...v2.13.1)
395
307
 
396
308
  Bug fixes
397
309
 
@@ -421,7 +333,7 @@ Deprecations
421
333
  in an example group (Myron Marston).
422
334
 
423
335
  ### 2.13.0 / 2013-02-23
424
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.12.2...v2.13.0)
336
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.12.2...v2.13.0)
425
337
 
426
338
  Enhancements
427
339
 
@@ -454,7 +366,7 @@ Bug fixes
454
366
  parent group's subject. (Olek Janiszewski)
455
367
 
456
368
  ### 2.12.2 / 2012-12-13
457
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.12.1...v2.12.2)
369
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.12.1...v2.12.2)
458
370
 
459
371
  Bug fixes
460
372
 
@@ -465,7 +377,7 @@ Bug fixes
465
377
  for backwards compatibility (Patrick Van Stee)
466
378
 
467
379
  ### 2.12.1 / 2012-12-01
468
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.12.0...v2.12.1)
380
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.12.0...v2.12.1)
469
381
 
470
382
  Bug fixes
471
383
 
@@ -480,7 +392,7 @@ Bug fixes
480
392
  (Myron Marston).
481
393
 
482
394
  ### 2.12.0 / 2012-11-12
483
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.11.1...v2.12.0)
395
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.11.1...v2.12.0)
484
396
 
485
397
  Enhancements
486
398
 
@@ -539,7 +451,7 @@ Deprecations
539
451
 
540
452
 
541
453
  ### 2.11.1 / 2012-07-18
542
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.11.0...v2.11.1)
454
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.11.0...v2.11.1)
543
455
 
544
456
  Bug fixes
545
457
 
@@ -554,7 +466,7 @@ Bug fixes
554
466
  (Myron Marston).
555
467
 
556
468
  ### 2.11.0 / 2012-07-07
557
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.10.1...v2.11.0)
469
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.10.1...v2.11.0)
558
470
 
559
471
  Enhancements
560
472
 
@@ -587,7 +499,7 @@ Bug fixes
587
499
  * Delegate to mocha methods instead of aliasing them in mocha adapter.
588
500
 
589
501
  ### 2.10.1 / 2012-05-19
590
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.10.0...v2.10.1)
502
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.10.0...v2.10.1)
591
503
 
592
504
  Bug fixes
593
505
 
@@ -596,7 +508,7 @@ Bug fixes
596
508
  Strings (slyphon)
597
509
 
598
510
  ### 2.10.0 / 2012-05-03
599
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.9.0...v2.10.0)
511
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.9.0...v2.10.0)
600
512
 
601
513
  Enhancements
602
514
 
@@ -616,7 +528,7 @@ Bug fixes
616
528
  * Do not modify example ancestry when dumping errors (Michael Grosser)
617
529
 
618
530
  ### 2.9.0 / 2012-03-17
619
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.8.0...v2.9.0)
531
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0...v2.9.0)
620
532
 
621
533
  Enhancements
622
534
 
@@ -640,7 +552,7 @@ Bug fixes
640
552
 
641
553
  ### 2.8.0 / 2012-01-04
642
554
 
643
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc2...v2.8.0)
555
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc2...v2.8.0)
644
556
 
645
557
  Bug fixes
646
558
 
@@ -653,7 +565,7 @@ Bug fixes
653
565
 
654
566
  ### 2.8.0.rc2 / 2011-12-19
655
567
 
656
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc1...v2.8.0.rc2)
568
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.8.0.rc1...v2.8.0.rc2)
657
569
 
658
570
  Enhancments
659
571
 
@@ -671,7 +583,7 @@ Enhancments
671
583
 
672
584
  ### 2.8.0.rc1 / 2011-11-06
673
585
 
674
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.7.1...v2.8.0.rc1)
586
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.7.1...v2.8.0.rc1)
675
587
 
676
588
  Enhancements
677
589
 
@@ -714,7 +626,7 @@ Bug fixes
714
626
 
715
627
  ### 2.7.1 / 2011-10-20
716
628
 
717
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.7.0...v2.7.1)
629
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.7.0...v2.7.1)
718
630
 
719
631
  Bug fixes
720
632
 
@@ -722,7 +634,7 @@ Bug fixes
722
634
 
723
635
  ### 2.7.0 / 2011-10-16
724
636
 
725
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.4...v2.7.0)
637
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.4...v2.7.0)
726
638
 
727
639
  NOTE: RSpec's release policy dictates that there should not be any backward
728
640
  incompatible changes in minor releases, but we're making an exception to
@@ -765,7 +677,7 @@ Bug fixes
765
677
 
766
678
  ### 2.6.4 / 2011-06-06
767
679
 
768
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.3...v2.6.4)
680
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.3...v2.6.4)
769
681
 
770
682
  NOTE: RSpec's release policy dictates that there should not be new
771
683
  functionality in patch releases, but this minor enhancement slipped in by
@@ -785,7 +697,7 @@ Bug fixes
785
697
 
786
698
  ### 2.6.3 / 2011-05-24
787
699
 
788
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.2...v2.6.3)
700
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.2...v2.6.3)
789
701
 
790
702
  Bug fixes
791
703
 
@@ -796,7 +708,7 @@ Bug fixes
796
708
 
797
709
  ### 2.6.2 / 2011-05-21
798
710
 
799
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.1...v2.6.2)
711
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.1...v2.6.2)
800
712
 
801
713
  Bug fixes
802
714
 
@@ -805,7 +717,7 @@ Bug fixes
805
717
 
806
718
  ### 2.6.1 / 2011-05-19
807
719
 
808
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.6.0...v2.6.1)
720
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.6.0...v2.6.1)
809
721
 
810
722
  Bug fixes
811
723
 
@@ -814,7 +726,7 @@ Bug fixes
814
726
 
815
727
  ### 2.6.0 / 2011-05-12
816
728
 
817
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.5.1...v2.6.0)
729
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.5.1...v2.6.0)
818
730
 
819
731
  Enhancements
820
732
 
@@ -860,7 +772,7 @@ Bug fixes
860
772
 
861
773
  ### 2.5.1 / 2011-02-06
862
774
 
863
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.5.0...v2.5.1)
775
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.5.0...v2.5.1)
864
776
 
865
777
  NOTE: this release breaks compatibility with rspec/autotest/bundler
866
778
  integration, but does so in order to greatly simplify it.
@@ -877,7 +789,7 @@ If you don't want 'bundle exec', there is nothing you have to do.
877
789
 
878
790
  ### 2.5.0 / 2011-02-05
879
791
 
880
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.4.0...v2.5.0)
792
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.4.0...v2.5.0)
881
793
 
882
794
  Enhancements
883
795
 
@@ -905,7 +817,7 @@ Deprecations
905
817
 
906
818
  ### 2.4.0 / 2011-01-02
907
819
 
908
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.3.1...v2.4.0)
820
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.1...v2.4.0)
909
821
 
910
822
  Enhancements
911
823
 
@@ -930,7 +842,7 @@ Bug fixes
930
842
 
931
843
  ### 2.3.1 / 2010-12-16
932
844
 
933
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.3.0...v2.3.1)
845
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.0...v2.3.1)
934
846
 
935
847
  Bug fixes
936
848
 
@@ -941,7 +853,7 @@ Bug fixes
941
853
 
942
854
  ### 2.3.0 / 2010-12-12
943
855
 
944
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
856
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
945
857
 
946
858
  Enhancements
947
859
 
@@ -961,7 +873,7 @@ Bug fixes
961
873
 
962
874
  ### 2.2.1 / 2010-11-28
963
875
 
964
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...v2.2.1)
876
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...v2.2.1)
965
877
 
966
878
  Bug fixes
967
879
  * alias_method instead of override Kernel#method_missing (John Wilger)
@@ -971,7 +883,7 @@ Bug fixes
971
883
 
972
884
  ### 2.2.0 / 2010-11-28
973
885
 
974
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.1.0...v2.2.0)
886
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.1.0...v2.2.0)
975
887
 
976
888
  Deprecations/changes
977
889
 
@@ -997,7 +909,7 @@ Bug fixes
997
909
 
998
910
  ### 2.1.0 / 2010-11-07
999
911
 
1000
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)
912
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)
1001
913
 
1002
914
  Enhancments
1003
915
 
@@ -1028,7 +940,7 @@ Bug fixes
1028
940
 
1029
941
  ### 2.0.1 / 2010-10-18
1030
942
 
1031
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.0...v2.0.1)
943
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0...v2.0.1)
1032
944
 
1033
945
  Bug fixes
1034
946
 
@@ -1041,7 +953,7 @@ Bug fixes
1041
953
 
1042
954
  ### 2.0.0 / 2010-10-10
1043
955
 
1044
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.rc...v2.0.0)
956
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.rc...v2.0.0)
1045
957
 
1046
958
  RSpec-1 compatibility
1047
959
 
@@ -1054,7 +966,7 @@ Bug fixes
1054
966
 
1055
967
  ### 2.0.0.rc / 2010-10-05
1056
968
 
1057
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)
969
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)
1058
970
 
1059
971
  Enhancements
1060
972
 
@@ -1078,7 +990,7 @@ Bug fixes
1078
990
 
1079
991
  ### 2.0.0.beta.22 / 2010-09-12
1080
992
 
1081
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)
993
+ [full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)
1082
994
 
1083
995
  Enhancements
1084
996