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