qiita_org 0.1.35 → 0.1.37
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/template.org +1 -1
- data/lib/qiita_org/version.rb +1 -1
- metadata +2 -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
data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
require 'test/unit/assertions'
|
2
|
-
|
3
|
-
module RSpec
|
4
|
-
module Core
|
5
|
-
# @private
|
6
|
-
module TestUnitAssertionsAdapter
|
7
|
-
include ::Test::Unit::Assertions
|
8
|
-
|
9
|
-
# If using test/unit from Ruby core with Ruby 1.9+, it includes
|
10
|
-
# MiniTest::Assertions by default. Note the upcasing of 'Test'.
|
11
|
-
#
|
12
|
-
# If the test/unit gem is being loaded, it will not include any minitest
|
13
|
-
# assertions.
|
14
|
-
#
|
15
|
-
# Only if Minitest 5.x is included / loaded do we need to worry about
|
16
|
-
# adding a shim for the new updates. Thus instead of checking on the
|
17
|
-
# RUBY_VERSION we need to check ancestors.
|
18
|
-
begin
|
19
|
-
# MiniTest is 4.x.
|
20
|
-
# Minitest is 5.x.
|
21
|
-
if ancestors.include?(::Minitest::Assertions)
|
22
|
-
require 'rspec/core/minitest_assertions_adapter'
|
23
|
-
include ::RSpec::Core::MinitestAssertionsAdapter
|
24
|
-
end
|
25
|
-
rescue NameError
|
26
|
-
# No-op. Minitest 5.x was not loaded.
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,40 +0,0 @@
|
|
1
|
-
require "rspec/support/warnings"
|
2
|
-
|
3
|
-
module RSpec
|
4
|
-
module Core
|
5
|
-
# @private
|
6
|
-
module Warnings
|
7
|
-
# @private
|
8
|
-
#
|
9
|
-
# Used internally to print deprecation warnings.
|
10
|
-
def deprecate(deprecated, data={})
|
11
|
-
RSpec.configuration.reporter.deprecation(
|
12
|
-
{
|
13
|
-
:deprecated => deprecated,
|
14
|
-
:call_site => CallerFilter.first_non_rspec_line
|
15
|
-
}.merge(data)
|
16
|
-
)
|
17
|
-
end
|
18
|
-
|
19
|
-
# @private
|
20
|
-
#
|
21
|
-
# Used internally to print deprecation warnings.
|
22
|
-
def warn_deprecation(message, opts={})
|
23
|
-
RSpec.configuration.reporter.deprecation opts.merge(:message => message)
|
24
|
-
end
|
25
|
-
|
26
|
-
# @private
|
27
|
-
def warn_with(message, options={})
|
28
|
-
if options[:use_spec_location_as_call_site]
|
29
|
-
message += "." unless message.end_with?(".")
|
30
|
-
|
31
|
-
if RSpec.current_example
|
32
|
-
message += " Warning generated from spec at `#{RSpec.current_example.location}`."
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
super(message, options)
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
@@ -1,276 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Core
|
3
|
-
# @api private
|
4
|
-
#
|
5
|
-
# Internal container for global non-configuration data.
|
6
|
-
class World
|
7
|
-
# @private
|
8
|
-
attr_reader :example_groups, :filtered_examples, :example_group_counts_by_spec_file
|
9
|
-
|
10
|
-
# Used internally to determine what to do when a SIGINT is received.
|
11
|
-
attr_accessor :wants_to_quit
|
12
|
-
|
13
|
-
# Used internally to signal that a failure outside of an example
|
14
|
-
# has occurred, and that therefore the exit status should indicate
|
15
|
-
# the run failed.
|
16
|
-
# @private
|
17
|
-
attr_accessor :non_example_failure
|
18
|
-
|
19
|
-
def initialize(configuration=RSpec.configuration)
|
20
|
-
@configuration = configuration
|
21
|
-
configuration.world = self
|
22
|
-
@example_groups = []
|
23
|
-
@example_group_counts_by_spec_file = Hash.new(0)
|
24
|
-
prepare_example_filtering
|
25
|
-
end
|
26
|
-
|
27
|
-
# @api public
|
28
|
-
#
|
29
|
-
# Prepares filters so that they apply to example groups when they run.
|
30
|
-
#
|
31
|
-
# This is a separate method so that filters can be modified/replaced and
|
32
|
-
# examples refiltered during a process's lifetime, which can be useful for
|
33
|
-
# a custom runner.
|
34
|
-
def prepare_example_filtering
|
35
|
-
@filtered_examples = Hash.new do |hash, group|
|
36
|
-
hash[group] = filter_manager.prune(group.examples)
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
# @api private
|
41
|
-
#
|
42
|
-
# Apply ordering strategy from configuration to example groups.
|
43
|
-
def ordered_example_groups
|
44
|
-
ordering_strategy = @configuration.ordering_registry.fetch(:global)
|
45
|
-
ordering_strategy.order(@example_groups)
|
46
|
-
end
|
47
|
-
|
48
|
-
# @api private
|
49
|
-
#
|
50
|
-
# Reset world to 'scratch' before running suite.
|
51
|
-
def reset
|
52
|
-
RSpec::ExampleGroups.remove_all_constants
|
53
|
-
example_groups.clear
|
54
|
-
@sources_by_path.clear if defined?(@sources_by_path)
|
55
|
-
@syntax_highlighter = nil
|
56
|
-
@example_group_counts_by_spec_file = Hash.new(0)
|
57
|
-
end
|
58
|
-
|
59
|
-
# @private
|
60
|
-
def filter_manager
|
61
|
-
@configuration.filter_manager
|
62
|
-
end
|
63
|
-
|
64
|
-
# @private
|
65
|
-
def registered_example_group_files
|
66
|
-
@example_group_counts_by_spec_file.keys
|
67
|
-
end
|
68
|
-
|
69
|
-
# @api private
|
70
|
-
#
|
71
|
-
# Records an example group.
|
72
|
-
def record(example_group)
|
73
|
-
@configuration.on_example_group_definition_callbacks.each { |block| block.call(example_group) }
|
74
|
-
@example_group_counts_by_spec_file[example_group.metadata[:absolute_file_path]] += 1
|
75
|
-
end
|
76
|
-
|
77
|
-
# @private
|
78
|
-
def num_example_groups_defined_in(file)
|
79
|
-
@example_group_counts_by_spec_file[file]
|
80
|
-
end
|
81
|
-
|
82
|
-
# @private
|
83
|
-
def shared_example_group_registry
|
84
|
-
@shared_example_group_registry ||= SharedExampleGroup::Registry.new
|
85
|
-
end
|
86
|
-
|
87
|
-
# @private
|
88
|
-
def inclusion_filter
|
89
|
-
@configuration.inclusion_filter
|
90
|
-
end
|
91
|
-
|
92
|
-
# @private
|
93
|
-
def exclusion_filter
|
94
|
-
@configuration.exclusion_filter
|
95
|
-
end
|
96
|
-
|
97
|
-
# @api private
|
98
|
-
#
|
99
|
-
# Get count of examples to be run.
|
100
|
-
def example_count(groups=example_groups)
|
101
|
-
FlatMap.flat_map(groups) { |g| g.descendants }.
|
102
|
-
inject(0) { |a, e| a + e.filtered_examples.size }
|
103
|
-
end
|
104
|
-
|
105
|
-
# @private
|
106
|
-
def all_example_groups
|
107
|
-
FlatMap.flat_map(example_groups) { |g| g.descendants }
|
108
|
-
end
|
109
|
-
|
110
|
-
# @private
|
111
|
-
def all_examples
|
112
|
-
FlatMap.flat_map(all_example_groups) { |g| g.examples }
|
113
|
-
end
|
114
|
-
|
115
|
-
# @private
|
116
|
-
# Traverses the tree of each top level group.
|
117
|
-
# For each it yields the group, then the children, recursively.
|
118
|
-
# Halts the traversal of a branch of the tree as soon as the passed block returns true.
|
119
|
-
# Note that siblings groups and their sub-trees will continue to be explored.
|
120
|
-
# This is intended to make it easy to find the top-most group that satisfies some
|
121
|
-
# condition.
|
122
|
-
def traverse_example_group_trees_until(&block)
|
123
|
-
example_groups.each do |group|
|
124
|
-
group.traverse_tree_until(&block)
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
128
|
-
# @api private
|
129
|
-
#
|
130
|
-
# Find line number of previous declaration.
|
131
|
-
def preceding_declaration_line(absolute_file_name, filter_line)
|
132
|
-
line_numbers = descending_declaration_line_numbers_by_file.fetch(absolute_file_name) do
|
133
|
-
return nil
|
134
|
-
end
|
135
|
-
|
136
|
-
line_numbers.find { |num| num <= filter_line }
|
137
|
-
end
|
138
|
-
|
139
|
-
# @private
|
140
|
-
def reporter
|
141
|
-
@configuration.reporter
|
142
|
-
end
|
143
|
-
|
144
|
-
# @private
|
145
|
-
def source_from_file(path)
|
146
|
-
unless defined?(@sources_by_path)
|
147
|
-
RSpec::Support.require_rspec_support 'source'
|
148
|
-
@sources_by_path = {}
|
149
|
-
end
|
150
|
-
|
151
|
-
@sources_by_path[path] ||= Support::Source.from_file(path)
|
152
|
-
end
|
153
|
-
|
154
|
-
# @private
|
155
|
-
def syntax_highlighter
|
156
|
-
@syntax_highlighter ||= Formatters::SyntaxHighlighter.new(@configuration)
|
157
|
-
end
|
158
|
-
|
159
|
-
# @api private
|
160
|
-
#
|
161
|
-
# Notify reporter of filters.
|
162
|
-
def announce_filters
|
163
|
-
fail_if_config_and_cli_options_invalid
|
164
|
-
filter_announcements = []
|
165
|
-
|
166
|
-
announce_inclusion_filter filter_announcements
|
167
|
-
announce_exclusion_filter filter_announcements
|
168
|
-
|
169
|
-
unless filter_manager.empty?
|
170
|
-
if filter_announcements.length == 1
|
171
|
-
report_filter_message("Run options: #{filter_announcements[0]}")
|
172
|
-
else
|
173
|
-
report_filter_message("Run options:\n #{filter_announcements.join("\n ")}")
|
174
|
-
end
|
175
|
-
end
|
176
|
-
|
177
|
-
if @configuration.run_all_when_everything_filtered? && example_count.zero? && !@configuration.only_failures?
|
178
|
-
report_filter_message("#{everything_filtered_message}; ignoring #{inclusion_filter.description}")
|
179
|
-
filtered_examples.clear
|
180
|
-
inclusion_filter.clear
|
181
|
-
end
|
182
|
-
|
183
|
-
return unless example_count.zero?
|
184
|
-
|
185
|
-
example_groups.clear
|
186
|
-
if filter_manager.empty?
|
187
|
-
report_filter_message("No examples found.")
|
188
|
-
elsif exclusion_filter.empty? || inclusion_filter.empty?
|
189
|
-
report_filter_message(everything_filtered_message)
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
|
-
# @private
|
194
|
-
def report_filter_message(message)
|
195
|
-
reporter.message(message) unless @configuration.silence_filter_announcements?
|
196
|
-
end
|
197
|
-
|
198
|
-
# @private
|
199
|
-
def everything_filtered_message
|
200
|
-
"\nAll examples were filtered out"
|
201
|
-
end
|
202
|
-
|
203
|
-
# @api private
|
204
|
-
#
|
205
|
-
# Add inclusion filters to announcement message.
|
206
|
-
def announce_inclusion_filter(announcements)
|
207
|
-
return if inclusion_filter.empty?
|
208
|
-
|
209
|
-
announcements << "include #{inclusion_filter.description}"
|
210
|
-
end
|
211
|
-
|
212
|
-
# @api private
|
213
|
-
#
|
214
|
-
# Add exclusion filters to announcement message.
|
215
|
-
def announce_exclusion_filter(announcements)
|
216
|
-
return if exclusion_filter.empty?
|
217
|
-
|
218
|
-
announcements << "exclude #{exclusion_filter.description}"
|
219
|
-
end
|
220
|
-
|
221
|
-
private
|
222
|
-
|
223
|
-
def descending_declaration_line_numbers_by_file
|
224
|
-
@descending_declaration_line_numbers_by_file ||= begin
|
225
|
-
declaration_locations = FlatMap.flat_map(example_groups, &:declaration_locations)
|
226
|
-
hash_of_arrays = Hash.new { |h, k| h[k] = [] }
|
227
|
-
|
228
|
-
# TODO: change `inject` to `each_with_object` when we drop 1.8.7 support.
|
229
|
-
line_nums_by_file = declaration_locations.inject(hash_of_arrays) do |hash, (file_name, line_number)|
|
230
|
-
hash[file_name] << line_number
|
231
|
-
hash
|
232
|
-
end
|
233
|
-
|
234
|
-
line_nums_by_file.each_value do |list|
|
235
|
-
list.sort!
|
236
|
-
list.reverse!
|
237
|
-
end
|
238
|
-
end
|
239
|
-
end
|
240
|
-
|
241
|
-
def fail_if_config_and_cli_options_invalid
|
242
|
-
return unless @configuration.only_failures_but_not_configured?
|
243
|
-
|
244
|
-
reporter.abort_with(
|
245
|
-
"\nTo use `--only-failures`, you must first set " \
|
246
|
-
"`config.example_status_persistence_file_path`.",
|
247
|
-
1 # exit code
|
248
|
-
)
|
249
|
-
end
|
250
|
-
|
251
|
-
# @private
|
252
|
-
# Provides a null implementation for initial use by configuration.
|
253
|
-
module Null
|
254
|
-
def self.non_example_failure; end
|
255
|
-
def self.non_example_failure=(_); end
|
256
|
-
|
257
|
-
def self.registered_example_group_files
|
258
|
-
[]
|
259
|
-
end
|
260
|
-
|
261
|
-
def self.traverse_example_group_trees_until
|
262
|
-
end
|
263
|
-
|
264
|
-
# :nocov:
|
265
|
-
def self.example_groups
|
266
|
-
[]
|
267
|
-
end
|
268
|
-
|
269
|
-
def self.all_example_groups
|
270
|
-
[]
|
271
|
-
end
|
272
|
-
# :nocov:
|
273
|
-
end
|
274
|
-
end
|
275
|
-
end
|
276
|
-
end
|
@@ -1,1191 +0,0 @@
|
|
1
|
-
### Development
|
2
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.9.2...3-9-maintenance)
|
3
|
-
|
4
|
-
### 3.9.2 / 2020-05-08
|
5
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.9.1...v3.9.2)
|
6
|
-
|
7
|
-
Bug Fixes:
|
8
|
-
|
9
|
-
* Issue a proper `ArgumentError` when invalid arguments are given to `yield_control`
|
10
|
-
modifiers such as `at_least` et al. (Marc-André Lafortune, #1167)
|
11
|
-
* Prevent Ruby 2.7 keyword arguments warning from being issued by custom
|
12
|
-
matcher definitions. (Jon Rowe, #1176)
|
13
|
-
|
14
|
-
### 3.9.1 / 2020-03-13
|
15
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.9.0...v3.9.1)
|
16
|
-
|
17
|
-
Bug Fixes:
|
18
|
-
|
19
|
-
* Issue an improved warning when using `respond_to(...).with(n).arguments` and ignore
|
20
|
-
the warning when using with `have_attributes(...)`. (Jon Rowe, #1164)
|
21
|
-
|
22
|
-
### 3.9.0 / 2019-10-08
|
23
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.6...v3.9.0)
|
24
|
-
|
25
|
-
Enhancements:
|
26
|
-
|
27
|
-
* The `respond_to` matcher now uses the signature from `initialize` to validate checks
|
28
|
-
for `new` (unless `new` is non standard). (Jon Rowe, #1072)
|
29
|
-
* Generated descriptions for matchers now use `is expected to` rather than `should` in
|
30
|
-
line with our preferred DSL. (Pete Johns, #1080, rspec/rspec-core#2572)
|
31
|
-
* Add the ability to re-raise expectation errors when matching
|
32
|
-
with `match_when_negated` blocks. (Jon Rowe, #1130)
|
33
|
-
* Add a warning when an empty diff is produce due to identical inspect output.
|
34
|
-
(Benoit Tigeot, #1126)
|
35
|
-
|
36
|
-
### 3.8.6 / 2019-10-07
|
37
|
-
|
38
|
-
Bug Fixes:
|
39
|
-
|
40
|
-
* Revert #1125 due to the change being incompatible with our semantic versioning
|
41
|
-
policy.
|
42
|
-
|
43
|
-
### 3.8.5 / 2019-10-02
|
44
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.4...v3.8.5)
|
45
|
-
|
46
|
-
Bug Fixes:
|
47
|
-
|
48
|
-
* Prevent unsupported implicit block expectation syntax from being used.
|
49
|
-
(Phil Pirozhkov, #1125)
|
50
|
-
|
51
|
-
### 3.8.4 / 2019-06-10
|
52
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.3...v3.8.4)
|
53
|
-
|
54
|
-
Bug Fixes:
|
55
|
-
|
56
|
-
* Prevent false negatives when checking objects for the methods required to run the
|
57
|
-
the `be_an_instance_of` and `be_kind_of` matchers. (Nazar Matus, #1112)
|
58
|
-
|
59
|
-
### 3.8.3 / 2019-04-20
|
60
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.2...v3.8.3)
|
61
|
-
|
62
|
-
Bug Fixes:
|
63
|
-
|
64
|
-
* Prevent composed `all` matchers from leaking into their siblings leading to duplicate
|
65
|
-
failures. (Jamie English, #1086)
|
66
|
-
* Prevent objects which change their hash on comparison from failing change checks.
|
67
|
-
(Phil Pirozhkov, #1110)
|
68
|
-
* Issue an `ArgumentError` rather than a `NoMethodError` when `be_an_instance_of` and
|
69
|
-
`be_kind_of` matchers encounter objects not supporting those methods.
|
70
|
-
(Taichi Ishitani, #1107)
|
71
|
-
|
72
|
-
### 3.8.2 / 2018-10-09
|
73
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.1...v3.8.2)
|
74
|
-
|
75
|
-
Bug Fixes:
|
76
|
-
|
77
|
-
* Change `include` matcher to rely on a `respond_to?(:include?)` check rather than a direct
|
78
|
-
Hash comparison before calling `to_hash` to convert to a hash. (Jordan Owens, #1073)
|
79
|
-
* Prevent unexpected call stack jumps from causing an obscure error (`IndexError`), and
|
80
|
-
replace that error with a proper informative message. (Jon Rowe, #1076)
|
81
|
-
|
82
|
-
### 3.8.1 / 2018-08-06
|
83
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.8.0...v3.8.1)
|
84
|
-
|
85
|
-
Bug Fixes:
|
86
|
-
|
87
|
-
* Fix regression in `include` matcher so stopped
|
88
|
-
`expect(hash.with_indifferent_access).to include(:symbol_key)`
|
89
|
-
from working. (Eito Katagiri, #1069)
|
90
|
-
|
91
|
-
### 3.8.0 / 2018-08-04
|
92
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.7.0...v3.8.0)
|
93
|
-
|
94
|
-
Enhancements:
|
95
|
-
|
96
|
-
* Improve failure message of `change(receiver, :message)` by including the
|
97
|
-
receiver as `SomeClass#some_message`. (Tomohiro Hashidate, #1005)
|
98
|
-
* Improve `change` matcher so that it can correctly detect changes in
|
99
|
-
deeply nested mutable objects (such as arrays-of-hashes-of-arrays).
|
100
|
-
The improved logic uses the before/after `hash` value to see if the
|
101
|
-
object has been mutated, rather than shallow duping the object.
|
102
|
-
(Myron Marston, #1034)
|
103
|
-
* Improve `include` matcher so that pseudo-hash objects (e.g. objects
|
104
|
-
that decorate a hash using a `SimpleDelegator` or similar) are treated
|
105
|
-
as a hash, as long as they implement `to_hash`. (Pablo Brasero, #1012)
|
106
|
-
* Add `max_formatted_output_length=` to configuration, allowing changing
|
107
|
-
the length at which we truncate large output strings.
|
108
|
-
(Sam Phippen #951, Benoit Tigeot #1056)
|
109
|
-
* Improve error message when passing a matcher that doesn't support block
|
110
|
-
expectations to a block based `expect`. (@nicktime, #1066)
|
111
|
-
|
112
|
-
### 3.7.0 / 2017-10-17
|
113
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.6.0...v3.7.0)
|
114
|
-
|
115
|
-
Enhancements:
|
116
|
-
|
117
|
-
* Improve compatibility with `--enable-frozen-string-literal` option
|
118
|
-
on Ruby 2.3+. (Pat Allan, #997)
|
119
|
-
|
120
|
-
### 3.6.0 / 2017-05-04
|
121
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.6.0.beta2...v3.6.0)
|
122
|
-
|
123
|
-
Enhancements:
|
124
|
-
|
125
|
-
* Treat NoMethodError as a failure for comparison matchers. (Jon Rowe, #972)
|
126
|
-
* Allow for scoped aliased and negated matchers--just call
|
127
|
-
`alias_matcher` or `define_negated_matcher` from within an example
|
128
|
-
group. (Markus Reiter, #974)
|
129
|
-
* Improve failure message of `change` matcher with block and `satisfy` matcher
|
130
|
-
by including the block snippet instead of just describing it as `result` or
|
131
|
-
`block` when Ripper is available. (Yuji Nakayama, #987)
|
132
|
-
|
133
|
-
Bug Fixes:
|
134
|
-
|
135
|
-
* Fix `yield_with_args` and `yield_successive_args` matchers so that
|
136
|
-
they compare expected to actual args at the time the args are yielded
|
137
|
-
instead of at the end, in case the method that is yielding mutates the
|
138
|
-
arguments after yielding. (Alyssa Ross, #965)
|
139
|
-
|
140
|
-
### 3.6.0.beta2 / 2016-12-12
|
141
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.6.0.beta1...v3.6.0.beta2)
|
142
|
-
|
143
|
-
Bug Fixes:
|
144
|
-
|
145
|
-
* Using the exist matcher on `File` no longer produces a deprecation warning.
|
146
|
-
(Jon Rowe, #954)
|
147
|
-
|
148
|
-
### 3.6.0.beta1 / 2016-10-09
|
149
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.5.0...v3.6.0.beta1)
|
150
|
-
|
151
|
-
Bug Fixes:
|
152
|
-
|
153
|
-
* Fix `contain_exactly` to work correctly with ranges. (Myron Marston, #940)
|
154
|
-
* Fix `change` to work correctly with sets. (Marcin Gajewski, #939)
|
155
|
-
|
156
|
-
### 3.5.0 / 2016-07-01
|
157
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.5.0.beta4...v3.5.0)
|
158
|
-
|
159
|
-
Enhancements:
|
160
|
-
|
161
|
-
* Add support for keyword arguments to the `respond_to` matcher. (Rob Smith, #915).
|
162
|
-
|
163
|
-
### 3.5.0.beta4 / 2016-06-05
|
164
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.5.0.beta3...v3.5.0.beta4)
|
165
|
-
|
166
|
-
Bug Fixes:
|
167
|
-
|
168
|
-
* Fix `include` matcher so that it provides a valid diff for hashes. (Yuji Nakayama, #916)
|
169
|
-
|
170
|
-
### 3.5.0.beta3 / 2016-04-02
|
171
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.5.0.beta2...v3.5.0.beta3)
|
172
|
-
|
173
|
-
Enhancements:
|
174
|
-
|
175
|
-
* Make `rspec/expectations/minitest_integration` work on Minitest::Spec
|
176
|
-
5.6+. (Myron Marston, #904)
|
177
|
-
* Add an alias `having_attributes` for `have_attributes` matcher.
|
178
|
-
(Yuji Nakayama, #905)
|
179
|
-
* Improve `change` matcher error message when block is mis-used.
|
180
|
-
(Alex Altair, #908)
|
181
|
-
|
182
|
-
### 3.5.0.beta2 / 2016-03-10
|
183
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.5.0.beta1...v3.5.0.beta2)
|
184
|
-
|
185
|
-
Enhancements:
|
186
|
-
|
187
|
-
* Add the ability to raise an error on encountering false positives via
|
188
|
-
`RSpec::Configuration#on_potential_false_positives = :raise`. (Jon Rowe, #900)
|
189
|
-
* When using the custom matcher DSL, support new
|
190
|
-
`notify_expectation_failures: true` option for the `match` method to
|
191
|
-
allow expectation failures to be raised as normal instead of being
|
192
|
-
converted into a `false` return value for `matches?`. (Jon Rowe, #892)
|
193
|
-
|
194
|
-
Bug Fixes:
|
195
|
-
|
196
|
-
* Allow `should` deprecation check to work on `BasicObject`s. (James Coleman, #898)
|
197
|
-
|
198
|
-
### 3.5.0.beta1 / 2016-02-06
|
199
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.4.0...v3.5.0.beta1)
|
200
|
-
|
201
|
-
Enhancements:
|
202
|
-
|
203
|
-
* Make `match_when_negated` in custom matcher DSL support use of
|
204
|
-
expectations within the match logic. (Chris Arcand, #789)
|
205
|
-
|
206
|
-
Bug Fixes:
|
207
|
-
|
208
|
-
* Return `true` as expected from passing negated expectations
|
209
|
-
(such as `expect("foo").not_to eq "bar"`), so they work
|
210
|
-
properly when used within a `match` or `match_when_negated`
|
211
|
-
block. (Chris Arcand, #789)
|
212
|
-
|
213
|
-
### 3.4.0 / 2015-11-11
|
214
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.3.1...v3.4.0)
|
215
|
-
|
216
|
-
Enhancements:
|
217
|
-
|
218
|
-
* Warn when `RSpec::Matchers` is included in a superclass after it has
|
219
|
-
already been included in a subclass on MRI 1.9, since that situation
|
220
|
-
can cause uses of `super` to trigger infinite recursion. (Myron Marston, #816)
|
221
|
-
* Stop rescuing `NoMemoryError`, `SignalExcepetion`, `Interrupt` and
|
222
|
-
`SystemExit`. It is dangerous to interfere with these. (Myron Marston, #845)
|
223
|
-
* Add `#with_captures` to the
|
224
|
-
[match matcher](https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers/match-matcher)
|
225
|
-
which allows a user to specify expected captures when matching a regex
|
226
|
-
against a string. (Sam Phippen, #848)
|
227
|
-
* Always print compound failure messages in the multi-line form. Trying
|
228
|
-
to print it all on a single line didn't read very well. (Myron Marston, #859)
|
229
|
-
|
230
|
-
Bug Fixes:
|
231
|
-
|
232
|
-
* Fix failure message from dynamic predicate matchers when the object
|
233
|
-
does not respond to the predicate so that it is inspected rather
|
234
|
-
than relying upon its `to_s` -- that way for `nil`, `"nil"` is
|
235
|
-
printed rather than an empty string. (Myron Marston, #841)
|
236
|
-
* Fix SystemStackError raised when diffing an Enumerable object
|
237
|
-
whose `#each` includes the object itself. (Yuji Nakayama, #857)
|
238
|
-
|
239
|
-
### 3.3.1 / 2015-07-15
|
240
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.3.0...v3.3.1)
|
241
|
-
|
242
|
-
Bug Fixes:
|
243
|
-
|
244
|
-
* Fix `be >`, `be <`, etc so that it fails rather than allowing an
|
245
|
-
argument error to be raised when compared against an object of the
|
246
|
-
wrong type. This allows it to be used in composed matcher expressions
|
247
|
-
against heterogeneous objects. (Dennis Günnewig, #809)
|
248
|
-
* Fix `respond_to` to work properly on target objects
|
249
|
-
that redefine the `method` method. (unmanbearpig, #821)
|
250
|
-
|
251
|
-
### 3.3.0 / 2015-06-12
|
252
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.2.1...v3.3.0)
|
253
|
-
|
254
|
-
Enhancements:
|
255
|
-
|
256
|
-
* Expose `RSpec::Matchers::EnglishPhrasing` to make it easier to write
|
257
|
-
nice failure messages in custom matchers. (Jared Beck, #736)
|
258
|
-
* Add `RSpec::Matchers::FailMatchers`, a mixin which provides
|
259
|
-
`fail`, `fail_with` and `fail_including` matchers for use in
|
260
|
-
specifying that an expectation fails for use by
|
261
|
-
extension/plugin authors. (Charlie Rudolph, #729)
|
262
|
-
* Avoid loading `tempfile` (and its dependencies) unless
|
263
|
-
it is absolutely needed. (Myron Marston, #735)
|
264
|
-
* Improve failure output when attempting to use `be_true` or `be_false`.
|
265
|
-
(Tim Wade, #744)
|
266
|
-
* Define `RSpec::Matchers#respond_to_missing?` so that
|
267
|
-
`RSpec::Matchers#respond_to?` and `RSpec::Matchers#method` handle
|
268
|
-
dynamic predicate matchers. (Andrei Botalov, #751)
|
269
|
-
* Use custom Time/DateTime/BigDecimal formatting for all matchers
|
270
|
-
so they are consistently represented in failure messages.
|
271
|
-
(Gavin Miller, #740)
|
272
|
-
* Add configuration to turn off warnings about matcher combinations that
|
273
|
-
may cause false positives. (Jon Rowe, #768)
|
274
|
-
* Warn when using a bare `raise_error` matcher that you may be subject to
|
275
|
-
false positives. (Jon Rowe, #768)
|
276
|
-
* Warn rather than raise when using the`raise_error` matcher in negative
|
277
|
-
expectations that may be subject to false positives. (Jon Rowe, #775)
|
278
|
-
* Improve failure message for `include(a, b, c)` so that if `a` and `b`
|
279
|
-
are included the failure message only mentions `c`. (Chris Arcand, #780)
|
280
|
-
* Allow `satisfy` matcher to take an optional description argument
|
281
|
-
that will be used in the `description`, `failure_message` and
|
282
|
-
`failure_message_when_negated` in place of the undescriptive
|
283
|
-
"sastify block". (Chris Arcand, #783)
|
284
|
-
* Add new `aggregate_failures` API that allows multiple independent
|
285
|
-
expectations to all fail and be listed in the failure output, rather
|
286
|
-
than the example aborting on the first failure. (Myron Marston, #776)
|
287
|
-
* Improve `raise_error` matcher so that it can accept a matcher as a single argument
|
288
|
-
that matches the message. (Time Wade, #782)
|
289
|
-
|
290
|
-
Bug Fixes:
|
291
|
-
|
292
|
-
* Make `contain_exactly` / `match_array` work with strict test doubles
|
293
|
-
that have not defined `<=>`. (Myron Marston, #758)
|
294
|
-
* Fix `include` matcher so that it omits the diff when it would
|
295
|
-
confusingly highlight items that are actually included but are not
|
296
|
-
an exact match in a line-by-line diff. (Tim Wade, #763)
|
297
|
-
* Fix `match` matcher so that it does not blow up when matching a string
|
298
|
-
or regex against another matcher (rather than a string or regex).
|
299
|
-
(Myron Marston, #772)
|
300
|
-
* Silence whitespace-only diffs. (Myron Marston, #801)
|
301
|
-
|
302
|
-
### 3.2.1 / 2015-04-06
|
303
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.2.0...v3.2.1)
|
304
|
-
|
305
|
-
Bug Fixes:
|
306
|
-
|
307
|
-
* Prevent `Range`s from being enumerated when generating matcher
|
308
|
-
descriptions. (Jon Rowe, #755)
|
309
|
-
* Ensure exception messages are compared as strings in the `raise_error`
|
310
|
-
matcher. (Jon Rowe, #755)
|
311
|
-
|
312
|
-
### 3.2.0 / 2015-02-03
|
313
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.1.2...v3.2.0)
|
314
|
-
|
315
|
-
Enhancements:
|
316
|
-
|
317
|
-
* Add `block_arg` method to custom matcher API, which allows you to
|
318
|
-
access the block passed to a custom matcher, if there is one.
|
319
|
-
(Mike Dalton, #645)
|
320
|
-
* Provide more detail in failure message of `yield_control` matcher.
|
321
|
-
(Jon Rowe, #650)
|
322
|
-
* Add a shorthand syntax for `chain` in the matcher DSL which assigns values
|
323
|
-
for use elsewhere, for example `chain :and_smaller_than, :small_value`
|
324
|
-
creates an `attr_reader` for `small_value` (Tom Stuart, #644)
|
325
|
-
* Provide a more helpful deprecation message when using the `should` syntax.
|
326
|
-
(Elia Schito, #663)
|
327
|
-
* Provide more detail in the `have_attributes` matcher failure message.
|
328
|
-
(Jon Rowe, #668)
|
329
|
-
* Make the `have_attributes` matcher diffable.
|
330
|
-
(Jon Rowe, Alexey Fedorov, #668)
|
331
|
-
* Add `output(...).to_std(out|err)_from_any_process` as alternatives
|
332
|
-
to `output(...).to_std(out|err)`. The latter doesn't work when a sub
|
333
|
-
process writes to the named stream but is much faster.
|
334
|
-
(Alex Genco, #700)
|
335
|
-
* Improve compound matchers (created by `and` and `or`) so that diffs
|
336
|
-
are included in failures when one or more of their matchers
|
337
|
-
are diffable. (Alexey Fedorov, #713)
|
338
|
-
|
339
|
-
Bug Fixes:
|
340
|
-
|
341
|
-
* Avoid calling `private_methods` from the `be` predicate matcher on
|
342
|
-
the target object if the object publicly responds to the predicate
|
343
|
-
method. This avoids a possible error that can occur if the object
|
344
|
-
raises errors from `private_methods` (which can happen with celluloid
|
345
|
-
objects). (@chapmajs, #670)
|
346
|
-
* Make `yield_control` (with no modifier) default to
|
347
|
-
`at_least(:once)` rather than raising a confusing error
|
348
|
-
when multiple yields are encountered.
|
349
|
-
(Myron Marston, #675)
|
350
|
-
* Fix "instance variable @color not initialized" warning when using
|
351
|
-
rspec-expectations outside of an rspec-core context. (Myron Marston, #689)
|
352
|
-
* Fix `start_with` and `end_with` to work properly when checking a
|
353
|
-
string against an array of strings. (Myron Marston, #690)
|
354
|
-
* Don't use internally delegated matchers when generating descriptions
|
355
|
-
for examples without doc strings. (Myron Marston, #692)
|
356
|
-
|
357
|
-
### 3.1.2 / 2014-09-26
|
358
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.1.1...v3.1.2)
|
359
|
-
|
360
|
-
Bug Fixes:
|
361
|
-
|
362
|
-
* Fix `define_negated_matcher` so that matchers that support fluent
|
363
|
-
interfaces continue to be negated after you use the chained method.
|
364
|
-
(Myron Marston, #656)
|
365
|
-
* Fix `define_negated_matcher` so that the matchers fail with an
|
366
|
-
appropriate failure message. (Myron Marston, #659)
|
367
|
-
|
368
|
-
### 3.1.1 / 2014-09-15
|
369
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.1.0...v3.1.1)
|
370
|
-
|
371
|
-
Bug Fixes:
|
372
|
-
|
373
|
-
* Fix regression in `all` matcher in 3.1.0 that prevented it from
|
374
|
-
working on objects that are not `Enumerable` but do implement
|
375
|
-
`each_with_index` (such as an ActiveRecord proxy). (Jori Hardman, #647)
|
376
|
-
|
377
|
-
### 3.1.0 / 2014-09-04
|
378
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.0.4...v3.1.0)
|
379
|
-
|
380
|
-
Enhancements:
|
381
|
-
|
382
|
-
* Add `have_attributes` matcher, that passes if actual's attribute
|
383
|
-
values match the expected attributes hash:
|
384
|
-
`Person = Struct.new(:name, :age)`
|
385
|
-
`person = Person.new("Bob", 32)`
|
386
|
-
`expect(person).to have_attributes(:name => "Bob", :age => 32)`.
|
387
|
-
(Adam Farhi, #571)
|
388
|
-
* Extended compound matcher support to block matchers, for cases like:
|
389
|
-
`expect { ... }.to change { x }.to(3).and change { y }.to(4)`. (Myron
|
390
|
-
Marston, #567)
|
391
|
-
* Include chained methods in custom matcher description and failure message
|
392
|
-
when new `include_chain_clauses_in_custom_matcher_descriptions` config
|
393
|
-
option is enabled. (Dan Oved, #600)
|
394
|
-
* Add `thrice` modifier to `yield_control` matcher as a synonym for
|
395
|
-
`exactly(3).times`. (Dennis Taylor, #615)
|
396
|
-
* Add `RSpec::Matchers.define_negated_matcher`, which defines a negated
|
397
|
-
version of the named matcher. (Adam Farhi, Myron Marston, #618)
|
398
|
-
* Document and support negation of `contain_exactly`/`match_array`.
|
399
|
-
(Jon Rowe, #626).
|
400
|
-
|
401
|
-
Bug Fixes:
|
402
|
-
|
403
|
-
* Rename private `LegacyMacherAdapter` constant to `LegacyMatcherAdapter`
|
404
|
-
to fix typo. (Abdelkader Boudih, #563)
|
405
|
-
* Fix `all` matcher so that it fails properly (rather than raising a
|
406
|
-
`NoMethodError`) when matched against a non-enumerable. (Hao Su, #622)
|
407
|
-
|
408
|
-
### 3.0.4 / 2014-08-14
|
409
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.0.3...v3.0.4)
|
410
|
-
|
411
|
-
Bug Fixes:
|
412
|
-
|
413
|
-
* Fix `start_with` and `end_with` so that they work properly with
|
414
|
-
structs. (Myron Marston, #620)
|
415
|
-
* Fix failure message generation so that structs are printed properly
|
416
|
-
in failures. Previously failure messages would represent them as
|
417
|
-
an array. (Myron Marston, #620)
|
418
|
-
* Fix composable matcher support so that it does not wrongly treat
|
419
|
-
structs as arrays. (Myron Marston, #620)
|
420
|
-
|
421
|
-
### 3.0.3 / 2014-07-21
|
422
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.0.2...v3.0.3)
|
423
|
-
|
424
|
-
Bug Fixes:
|
425
|
-
|
426
|
-
* Fix issue with detection of generic operator matchers so they work
|
427
|
-
correctly when undefined. (Myron Marston, #597)
|
428
|
-
* Don't inadvertently define `BasicObject` in 1.8.7. (Chris Griego, #603)
|
429
|
-
* Fix `include` matcher so that it fails gracefully when matched against
|
430
|
-
an object that does not respond to `include?`. (Myron Marston, #607)
|
431
|
-
|
432
|
-
### 3.0.2 / 2014-06-19
|
433
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.0.1...v3.0.2)
|
434
|
-
|
435
|
-
Bug Fixes:
|
436
|
-
|
437
|
-
* Fix regression in `contain_exactly` (AKA `match_array`) that caused it
|
438
|
-
to wrongly pass when the expected array was empty. (Myron Marston, #581)
|
439
|
-
* Provide a better error message when you use the `change(obj, :msg)`
|
440
|
-
form of the change matcher but forget the message argument. (Alex
|
441
|
-
Sunderland, #585)
|
442
|
-
* Make the `contain_exactly` matcher work with arrays that contain hashes in
|
443
|
-
arbitrary ordering. (Sam Phippen, #578)
|
444
|
-
|
445
|
-
### 3.0.1 / 2014-06-12
|
446
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.0.0...v3.0.1)
|
447
|
-
|
448
|
-
Bug Fixes:
|
449
|
-
|
450
|
-
* Add a missing `require` that would cause the `respond_to` matcher to
|
451
|
-
fail when used in a project where the rest of RSpec (e.g. core and
|
452
|
-
expecatations) weren't being used. (Myron Marston, #566)
|
453
|
-
* Structs are no longer treated as arrays when diffed. (Jon Rowe, #576)
|
454
|
-
|
455
|
-
### 3.0.0 / 2014-06-01
|
456
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.0.0.rc1...v3.0.0)
|
457
|
-
|
458
|
-
No code changes. Just taking it out of pre-release.
|
459
|
-
|
460
|
-
### 3.0.0.rc1 / 2014-05-18
|
461
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.0.0.beta2...v3.0.0.rc1)
|
462
|
-
|
463
|
-
Breaking Changes for 3.0.0:
|
464
|
-
|
465
|
-
* Remove `matcher_execution_context` attribute from DSL-defined
|
466
|
-
custom matchers. (Myron Marston)
|
467
|
-
* Remove `RSpec::Matchers::Pretty#_pretty_print`. (Myron Marston)
|
468
|
-
* Remove `RSpec::Matchers::Pretty#expected_to_sentence`. (Myron Marston)
|
469
|
-
* Rename `RSpec::Matchers::Configuration` constant to
|
470
|
-
`RSpec::Expectations::Configuration`. (Myron Marston)
|
471
|
-
* Prevent `have_xyz` predicate matchers using private methods.
|
472
|
-
(Adrian Gonzalez)
|
473
|
-
* Block matchers must now implement `supports_block_expectations?`.
|
474
|
-
(Myron Marston)
|
475
|
-
* Stop supporting `require 'rspec-expectations'`.
|
476
|
-
Use `require 'rspec/expectations'` instead. (Myron Marston)
|
477
|
-
|
478
|
-
Bug Fixes:
|
479
|
-
|
480
|
-
* Fix `NoMethodError` triggered by beta2 when `YARD` was loaded in
|
481
|
-
the test environment. (Myron Marston)
|
482
|
-
* Fix `be_xyz` matcher to accept a `do...end` block. (Myron Marston)
|
483
|
-
* Fix composable matcher failure message generation logic
|
484
|
-
so that it does not blow up when given `$stdout` or `$stderr`.
|
485
|
-
(Myron Marston)
|
486
|
-
* Fix `change` matcher to work properly with `IO` objects.
|
487
|
-
(Myron Marston)
|
488
|
-
* Fix `exist` matcher so that it can be used in composed matcher
|
489
|
-
expressions involving objects that do not implement `exist?` or
|
490
|
-
`exists?`. (Daniel Fone)
|
491
|
-
* Fix composable matcher match logic so that it clones matchers
|
492
|
-
before using them in order to work properly with matchers
|
493
|
-
that use internal memoization based on a given `actual` value.
|
494
|
-
(Myron Marston)
|
495
|
-
* Fix `be_xyz` and `has_xyz` predicate matchers so that they can
|
496
|
-
be used in composed matcher expressions involving objects that
|
497
|
-
do not implement the predicate method. (Daniel Fone)
|
498
|
-
|
499
|
-
Enhancements:
|
500
|
-
|
501
|
-
* Document the remaining public APIs. rspec-expectations now has 100% of
|
502
|
-
the public API documented and will remain that way (as new undocumented
|
503
|
-
methods will fail the build). (Myron Marston)
|
504
|
-
* Improve the formatting of BigDecimal objects in `eq` matcher failure
|
505
|
-
messages. (Daniel Fone)
|
506
|
-
* Improve the failure message for `be_xyz` predicate matchers so
|
507
|
-
that it includes the `inspect` output of the receiver.
|
508
|
-
(Erik Michaels-Ober, Sam Phippen)
|
509
|
-
* Add `all` matcher, to allow you to specify that a given matcher
|
510
|
-
matches all elements in a collection:
|
511
|
-
`expect([1, 3, 5]).to all( be_odd )`. (Adam Farhi)
|
512
|
-
* Add boolean aliases (`&`/`|`) for compound operators (`and`/`or`). (Adam Farhi)
|
513
|
-
* Give users a clear error when they wrongly use a value matcher
|
514
|
-
in a block expectation expression (e.g. `expect { 3 }.to eq(3)`)
|
515
|
-
or vice versa. (Myron Marston)
|
516
|
-
|
517
|
-
### 3.0.0.beta2 / 2014-02-17
|
518
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.0.0.beta1...v3.0.0.beta2)
|
519
|
-
|
520
|
-
Breaking Changes for 3.0.0:
|
521
|
-
|
522
|
-
* Remove deprecated support for accessing the `RSpec` constant using
|
523
|
-
`Rspec` or `Spec`. (Myron Marston)
|
524
|
-
* Remove deprecated `RSpec::Expectations.differ=`. (Myron Marston)
|
525
|
-
* Remove support for deprecated `expect(...).should`. (Myron Marston)
|
526
|
-
* Explicitly disallow `expect { }.not_to change { }` with `by`,
|
527
|
-
`by_at_least`, `by_at_most` or `to`. These have never been supported
|
528
|
-
but did not raise explicit errors. (Myron Marston)
|
529
|
-
* Provide `===` rather than `==` as an alias of `matches?` for
|
530
|
-
all matchers. The semantics of `===` are closer to an RSpec
|
531
|
-
matcher than `==`. (Myron Marston)
|
532
|
-
* Remove deprecated `RSpec::Matchers::OperatorMatcher` constant.
|
533
|
-
(Myron Marston)
|
534
|
-
* Make `RSpec::Expectations::ExpectationNotMetError` subclass
|
535
|
-
`Exception` rather than `StandardError` so they can bypass
|
536
|
-
a bare `rescue` in end-user code (e.g. when an expectation is
|
537
|
-
set from within a rspec-mocks stub implementation). (Myron Marston)
|
538
|
-
* Remove Test::Unit and Minitest 4.x integration. (Myron Marston)
|
539
|
-
|
540
|
-
Enhancements:
|
541
|
-
|
542
|
-
* Simplify the failure message of the `be` matcher when matching against:
|
543
|
-
`true`, `false` and `nil`. (Sam Phippen)
|
544
|
-
* Update matcher protocol and custom matcher DSL to better align
|
545
|
-
with the newer `expect` syntax. If you want your matchers to
|
546
|
-
maintain compatibility with multiple versions of RSpec, you can
|
547
|
-
alias the new names to the old. (Myron Marston)
|
548
|
-
* `failure_message_for_should` => `failure_message`
|
549
|
-
* `failure_message_for_should_not` => `failure_message_when_negated`
|
550
|
-
* `match_for_should` => `match`
|
551
|
-
* `match_for_should_not` => `match_when_negated`
|
552
|
-
* Improve generated descriptions from `change` matcher. (Myron Marston)
|
553
|
-
* Add support for compound matcher expressions using `and` and `or`.
|
554
|
-
Simply chain them off of any existing matcher to create an expression
|
555
|
-
like `expect(alphabet).to start_with("a").and end_with("z")`.
|
556
|
-
(Eloy Espinaco)
|
557
|
-
* Add `contain_exactly` as a less ambiguous version of `match_array`.
|
558
|
-
Note that it expects the expected array to be splatted as
|
559
|
-
individual args: `expect(array).to contain_exactly(1, 2)` is
|
560
|
-
the same as `expect(array).to match_array([1, 2])`. (Myron Marston)
|
561
|
-
* Update `contain_exactly`/`match_array` so that it can match against
|
562
|
-
other non-array collections (such as a `Set`). (Myron Marston)
|
563
|
-
* Update built-in matchers so that they can accept matchers as arguments
|
564
|
-
to allow you to compose matchers in arbitrary ways. (Myron Marston)
|
565
|
-
* Add `RSpec::Matchers::Composable` mixin that can be used to make
|
566
|
-
a custom matcher composable as well. Note that custom matchers
|
567
|
-
defined via `RSpec::Matchers.define` already have this. (Myron
|
568
|
-
Marston)
|
569
|
-
* Define noun-phrase aliases for built-in matchers, which can be
|
570
|
-
used when creating composed matcher expressions that read better
|
571
|
-
and provide better failure messages. (Myron Marston)
|
572
|
-
* Add `RSpec::Matchers.alias_matcher` so users can define their own
|
573
|
-
matcher aliases. The `description` of the matcher will reflect the
|
574
|
-
alternate matcher name. (Myron Marston)
|
575
|
-
* Add explicit `be_between` matcher. `be_between` has worked for a
|
576
|
-
long time as a dynamic predicate matcher, but the failure message
|
577
|
-
was suboptimal. The new matcher provides a much better failure
|
578
|
-
message. (Erik Michaels-Ober)
|
579
|
-
* Enhance the `be_between` matcher to allow for `inclusive` or `exclusive`
|
580
|
-
comparison (e.g. inclusive of min/max or exclusive of min/max).
|
581
|
-
(Pedro Gimenez)
|
582
|
-
* Make failure message for `not_to be #{operator}` less confusing by
|
583
|
-
only saying it's confusing when comparison operators are used.
|
584
|
-
(Prathamesh Sonpatki)
|
585
|
-
* Improve failure message of `eq` matcher when `Time` or `DateTime`
|
586
|
-
objects are used so that the full sub-second precision is included.
|
587
|
-
(Thomas Holmes, Jeff Wallace)
|
588
|
-
* Add `output` matcher for expecting that a block outputs `to_stdout`
|
589
|
-
or `to_stderr`. (Luca Pette, Matthias Günther)
|
590
|
-
* Forward a provided block on to the `has_xyz?` method call when
|
591
|
-
the `have_xyz` matcher is used. (Damian Galarza)
|
592
|
-
* Provide integration with Minitest 5.x. Require
|
593
|
-
`rspec/expectations/minitest_integration` after loading minitest
|
594
|
-
to use rspec-expectations with minitest. (Myron Marston)
|
595
|
-
|
596
|
-
Bug Fixes:
|
597
|
-
|
598
|
-
* Fix wrong matcher descriptions with falsey expected value (yujinakayama)
|
599
|
-
* Fix `expect { }.not_to change { }.from(x)` so that the matcher only
|
600
|
-
passes if the starting value is `x`. (Tyler Rick, Myron Marston)
|
601
|
-
* Fix hash diffing, so that it colorizes properly and doesn't consider trailing
|
602
|
-
commas when performing the diff. (Jared Norman)
|
603
|
-
* Fix built-in matchers to fail normally rather than raising
|
604
|
-
`ArgumentError` when given an object of the wrong type to match
|
605
|
-
against, so that they work well in composite matcher expressions like
|
606
|
-
`expect([1.51, "foo"]).to include(a_string_matching(/foo/), a_value_within(0.1).of(1.5))`.
|
607
|
-
(Myron Marston)
|
608
|
-
|
609
|
-
Deprecations:
|
610
|
-
|
611
|
-
* Retain support for RSpec 2 matcher protocol (e.g. for matchers
|
612
|
-
in 3rd party extension gems like `shoulda`), but it will print
|
613
|
-
a deprecation warning. (Myron Marston)
|
614
|
-
|
615
|
-
### 3.0.0.beta1 / 2013-11-07
|
616
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.99.2...v3.0.0.beta1)
|
617
|
-
|
618
|
-
Breaking Changes for 3.0.0:
|
619
|
-
|
620
|
-
* Remove explicit support for 1.8.6. (Jon Rowe)
|
621
|
-
* Remove the deprecated `be_close` matcher, preferring `be_within` instead.
|
622
|
-
(Sam Phippen)
|
623
|
-
* Remove the deprecated `have`, `have_at_least` and `have_at_most` matchers.
|
624
|
-
You can continue using those matchers through https://github.com/rspec/rspec-collection_matchers,
|
625
|
-
or you can rewrite your expectations with something like
|
626
|
-
`expect(your_object.size).to eq(num)`. (Hugo Baraúna)
|
627
|
-
* Rename `be_true` and `be_false` to `be_truthy` and `be_falsey`. (Sam Phippen)
|
628
|
-
* Make `expect { }.to_not raise_error(SomeSpecificClass, message)`,
|
629
|
-
`expect { }.to_not raise_error(SomeSpecificClass)` and
|
630
|
-
`expect { }.to_not raise_error(message)` invalid, since they are prone
|
631
|
-
to hiding failures. Instead, use `expect { }.to_not raise_error` (with no
|
632
|
-
args). (Sam Phippen)
|
633
|
-
* Within `RSpec::Matchers.define` blocks, helper methods made available
|
634
|
-
either via `def self.helper` or `extend HelperModule` are no longer
|
635
|
-
available to the `match` block (or any of the others). Instead
|
636
|
-
`include` your helper module and define the helper method as an
|
637
|
-
instance method. (Myron Marston)
|
638
|
-
* Force upgrading Diff::LCS for encoding compatability with diffs. (Jon Rowe)
|
639
|
-
|
640
|
-
Enhancements:
|
641
|
-
|
642
|
-
* Support `do..end` style block with `raise_error` matcher. (Yuji Nakayama)
|
643
|
-
* Rewrote custom matcher DSL to simplify its implementation and solve a
|
644
|
-
few issues. (Myron Marston)
|
645
|
-
* Allow early `return` from within custom matcher DSL blocks. (Myron
|
646
|
-
Marston)
|
647
|
-
* The custom matcher DSL's `chain` can now accept a block. (Myron
|
648
|
-
Marston)
|
649
|
-
* Support setting an expectation on a `raise_error` matcher via a chained
|
650
|
-
`with_message` method call. (Sam Phippen)
|
651
|
-
|
652
|
-
Bug Fixes:
|
653
|
-
|
654
|
-
* Allow `include` and `match` matchers to be used from within a
|
655
|
-
DSL-defined custom matcher's `match` block. (Myron Marston)
|
656
|
-
* Correct encoding error message on diff failure (Jon Rowe)
|
657
|
-
|
658
|
-
Deprecations:
|
659
|
-
|
660
|
-
* Using the old `:should` syntax without explicitly configuring it is deprecated.
|
661
|
-
It will continue to work but will emit a deprecation warning in RSpec 3 if
|
662
|
-
you do not explicitly enable it. (Sam Phippen)
|
663
|
-
|
664
|
-
### 2.99.2 / 2014-07-21
|
665
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.99.1...v2.99.2)
|
666
|
-
|
667
|
-
Bug Fixes:
|
668
|
-
|
669
|
-
* Fix regression in `Expectations#method_handle_for` where proxy objects
|
670
|
-
with method delegated would wrongly not return a method handle.
|
671
|
-
(Jon Rowe, #594)
|
672
|
-
* Fix issue with detection of generic operator matchers so they work
|
673
|
-
correctly when undefined. (Myron Marston, #597)
|
674
|
-
|
675
|
-
### 2.99.1 / 2014-06-19
|
676
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.99.0...v2.99.1)
|
677
|
-
|
678
|
-
Bug Fixes:
|
679
|
-
|
680
|
-
* Fix typo in custom matcher `expected` deprecation warning -- it's
|
681
|
-
`expected_as_array`, not `expected_array`. (Frederick Cheung, #562)
|
682
|
-
|
683
|
-
### 2.99.0 / 2014-06-01
|
684
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.99.0.rc1...v2.99.0)
|
685
|
-
|
686
|
-
Enhancements:
|
687
|
-
|
688
|
-
* Special case deprecation message for `errors_on` with `rspec-rails` to be more useful.
|
689
|
-
(Aaron Kromer)
|
690
|
-
|
691
|
-
### 2.99.0.rc1 / 2014-05-18
|
692
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.99.0.beta2...2.99.0.rc1)
|
693
|
-
|
694
|
-
Deprecations:
|
695
|
-
|
696
|
-
* Deprecate `matcher_execution_context` attribute on DSL-defined
|
697
|
-
custom matchers. (Myron Marston)
|
698
|
-
* Deprecate `RSpec::Matchers::Pretty#_pretty_print`. (Myron Marston)
|
699
|
-
* Deprecate `RSpec::Matchers::Pretty#expected_to_sentence`. (Myron Marston)
|
700
|
-
* Deprecate `RSpec::Matchers::Configuration` in favor of
|
701
|
-
`RSpec::Expectations::Configuration`. (Myron Marston)
|
702
|
-
* Deprecate `be_xyz` predicate matcher on an object that doesn't respond to
|
703
|
-
`xyz?` or `xyzs?`. (Daniel Fone)
|
704
|
-
* Deprecate `have_xyz` matcher on an object that doesn't respond to `has_xyz?`.
|
705
|
-
(Daniel Fone)
|
706
|
-
* Deprecate `have_xyz` matcher on an object that has a private method `has_xyz?`.
|
707
|
-
(Jon Rowe)
|
708
|
-
* Issue a deprecation warning when a block expectation expression is
|
709
|
-
used with a matcher that doesn't explicitly support block expectations
|
710
|
-
via `supports_block_expectations?`. (Myron Marston)
|
711
|
-
* Deprecate `require 'rspec-expectations'`. Use
|
712
|
-
`require 'rspec/expectations'` instead. (Myron Marston)
|
713
|
-
|
714
|
-
### 2.99.0.beta2 / 2014-02-17
|
715
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.99.0.beta1...v2.99.0.beta2)
|
716
|
-
|
717
|
-
Deprecations:
|
718
|
-
|
719
|
-
* Deprecate chaining `by`, `by_at_least`, `by_at_most` or `to` off of
|
720
|
-
`expect { }.not_to change { }`. The docs have always said these are
|
721
|
-
not supported for the negative form but now they explicitly raise
|
722
|
-
errors in RSpec 3. (Myron Marston)
|
723
|
-
* Change the semantics of `expect { }.not_to change { x }.from(y)`.
|
724
|
-
In RSpec 2.x, this expectation would only fail if `x` started with
|
725
|
-
the value of `y` and changed. If it started with a different value
|
726
|
-
and changed, it would pass. In RSpec 3, it will pass only if the
|
727
|
-
value starts at `y` and it does not change. (Myron Marston)
|
728
|
-
* Deprecate `matcher == value` as an alias for `matcher.matches?(value)`,
|
729
|
-
in favor of `matcher === value`. (Myron Marston)
|
730
|
-
* Deprecate `RSpec::Matchers::OperatorMatcher` in favor of
|
731
|
-
`RSpec::Matchers::BuiltIn::OperatorMatcher`. (Myron Marston)
|
732
|
-
* Deprecate auto-integration with Test::Unit and minitest.
|
733
|
-
Instead, include `RSpec::Matchers` in the appropriate test case
|
734
|
-
base class yourself. (Myron Marston)
|
735
|
-
* Deprecate treating `#expected` on a DSL-generated custom matcher
|
736
|
-
as an array when only 1 argument is passed to the matcher method.
|
737
|
-
In RSpec 3 it will be the single value in order to make diffs
|
738
|
-
work properly. (Jon Rowe)
|
739
|
-
|
740
|
-
### 2.99.0.beta1 / 2013-11-07
|
741
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.4...v2.99.0.beta1)
|
742
|
-
|
743
|
-
Deprecations
|
744
|
-
|
745
|
-
* Deprecate `have`, `have_at_least` and `have_at_most`. You can continue using those
|
746
|
-
matchers through https://github.com/rspec/rspec-collection_matchers, or
|
747
|
-
you can rewrite your expectations with something like
|
748
|
-
`expect(your_object.size).to eq(num)`. (Hugo Baraúna)
|
749
|
-
* Deprecate `be_xyz` predicate matcher when `xyz?` is a private method.
|
750
|
-
(Jon Rowe)
|
751
|
-
* Deprecate `be_true`/`be_false` in favour of `be_truthy`/`be_falsey`
|
752
|
-
(for Ruby's conditional semantics) or `be true`/`be false`
|
753
|
-
(for exact equality). (Sam Phippen)
|
754
|
-
* Deprecate calling helper methods from a custom matcher with the wrong
|
755
|
-
scope. (Myron Marston)
|
756
|
-
* `def self.foo` / `extend Helper` can be used to add macro methods
|
757
|
-
(e.g. methods that call the custom matcher DSL methods), but should
|
758
|
-
not be used to define helper methods called from within the DSL
|
759
|
-
blocks.
|
760
|
-
* `def foo` / `include Helper` is the opposite: it's for helper methods
|
761
|
-
callable from within a DSL block, but not for defining macros.
|
762
|
-
* RSpec 2.x allowed helper methods defined either way to be used for
|
763
|
-
either purpose, but RSpec 3.0 will not.
|
764
|
-
|
765
|
-
### 2.14.5 / 2014-02-01
|
766
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.4...v2.14.5)
|
767
|
-
|
768
|
-
Bug fixes
|
769
|
-
|
770
|
-
* Fix wrong matcher descriptions with falsey expected value
|
771
|
-
(yujinakayama)
|
772
|
-
|
773
|
-
### 2.14.4 / 2013-11-06
|
774
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.3...v2.14.4)
|
775
|
-
|
776
|
-
Bug fixes
|
777
|
-
|
778
|
-
* Make the `match` matcher produce a diff output. (Jon Rowe, Ben Moss)
|
779
|
-
* Choose encoding for diff's more intelligently, and when all else fails fall
|
780
|
-
back to default internal encoding with replacing characters. (Jon Rowe)
|
781
|
-
|
782
|
-
### 2.14.3 / 2013-09-22
|
783
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.2...v2.14.3)
|
784
|
-
|
785
|
-
Bug fixes
|
786
|
-
|
787
|
-
* Fix operator matchers (`should` syntax) when `method` is redefined on target.
|
788
|
-
(Brandon Turner)
|
789
|
-
* Fix diffing of hashes with object based keys. (Jon Rowe)
|
790
|
-
* Fix operator matchers (`should` syntax) when operator is defined via
|
791
|
-
`method_missing` (Jon Rowe)
|
792
|
-
|
793
|
-
### 2.14.2 / 2013-08-14
|
794
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.1...v2.14.2)
|
795
|
-
|
796
|
-
Bug fixes
|
797
|
-
|
798
|
-
* Fix `be_<predicate>` matcher to not support operator chaining like the
|
799
|
-
`be` matcher does (e.g. `be == 5`). This led to some odd behaviors
|
800
|
-
since `be_<predicate> == anything` returned a `BeComparedTo` matcher
|
801
|
-
and was thus always truthy. This was a consequence of the implementation
|
802
|
-
(e.g. subclassing the basic `Be` matcher) and was not intended behavior.
|
803
|
-
(Myron Marston).
|
804
|
-
* Fix `change` matcher to compare using `==` in addition to `===`. This
|
805
|
-
is important for an expression like:
|
806
|
-
`expect {}.to change { a.class }.from(ClassA).to(ClassB)` because
|
807
|
-
`SomeClass === SomeClass` returns false. (Myron Marston)
|
808
|
-
|
809
|
-
### 2.14.1 / 2013-08-08
|
810
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.0...2.14.1)
|
811
|
-
|
812
|
-
Bug fixes
|
813
|
-
|
814
|
-
* Ensure diff output uses the same encoding as the encoding of
|
815
|
-
the string being diff'd to prevent `Encoding::UndefinedConversionError`
|
816
|
-
errors (Jon Rowe).
|
817
|
-
|
818
|
-
### 2.14.0 / 2013-07-06
|
819
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.14.0.rc1...v2.14.0)
|
820
|
-
|
821
|
-
Bug fixes
|
822
|
-
|
823
|
-
* Values that are not matchers use `#inspect`, rather than `#description` for
|
824
|
-
documentation output (Andy Lindeman, Sam Phippen).
|
825
|
-
* Make `expect(a).to be_within(x).percent_of(y)` work with negative y
|
826
|
-
(Katsuhiko Nishimra).
|
827
|
-
* Make the `be_predicate` matcher work as expected used with `expect{...}.to
|
828
|
-
change...` (Sam Phippen).
|
829
|
-
|
830
|
-
### 2.14.0.rc1 / 2013-05-27
|
831
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.13.0...v2.14.0.rc1)
|
832
|
-
|
833
|
-
Enhancements
|
834
|
-
|
835
|
-
* Enhance `yield_control` so that you can specify an exact or relative
|
836
|
-
number of times: `expect { }.to yield_control.exactly(3).times`,
|
837
|
-
`expect { }.to yield_control.at_least(2).times`, etc (Bartek
|
838
|
-
Borkowski).
|
839
|
-
* Make the differ that is used when an expectation fails better handle arrays
|
840
|
-
by splitting each element of the array onto its own line. (Sam Phippen)
|
841
|
-
* Accept duck-typed strings that respond to `:to_str` as expectation messages.
|
842
|
-
(Toby Ovod-Everett)
|
843
|
-
|
844
|
-
Bug fixes
|
845
|
-
|
846
|
-
* Fix differ to not raise errors when dealing with differently-encoded
|
847
|
-
strings (Jon Rowe).
|
848
|
-
* Fix `expect(something).to be_within(x).percent_of(y)` where x and y are both
|
849
|
-
integers (Sam Phippen).
|
850
|
-
* Fix `have` matcher to handle the fact that on ruby 2.0,
|
851
|
-
`Enumerator#size` may return nil (Kenta Murata).
|
852
|
-
* Fix `expect { raise s }.to raise_error(s)` where s is an error instance
|
853
|
-
on ruby 2.0 (Sam Phippen).
|
854
|
-
* Fix `expect(object).to raise_error` passing. This now warns the user and
|
855
|
-
fails the spec (tomykaira).
|
856
|
-
|
857
|
-
Deprecations
|
858
|
-
|
859
|
-
* Deprecate `expect { }.not_to raise_error(SpecificErrorClass)` or
|
860
|
-
`expect { }.not_to raise_error("some specific message")`. Using
|
861
|
-
these was prone to hiding failures as they would allow _any other
|
862
|
-
error_ to pass. (Sam Phippen and David Chelimsky)
|
863
|
-
|
864
|
-
### 2.13.0 / 2013-02-23
|
865
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.12.1...v2.13.0)
|
866
|
-
|
867
|
-
Enhancements
|
868
|
-
|
869
|
-
* Add support for percent deltas to `be_within` matcher:
|
870
|
-
`expect(value).to be_within(10).percent_of(expected)`
|
871
|
-
(Myron Marston).
|
872
|
-
* Add support to `include` matcher to allow it to be given a list
|
873
|
-
of matchers as the expecteds to match against (Luke Redpath).
|
874
|
-
|
875
|
-
Bug fixes
|
876
|
-
|
877
|
-
* Fix `change` matcher so that it dups strings in order to handle
|
878
|
-
mutated strings (Myron Marston).
|
879
|
-
* Fix `should be =~ /some regex/` / `expect(...).to be =~ /some regex/`.
|
880
|
-
Previously, these either failed with a confusing `undefined method
|
881
|
-
matches?' for false:FalseClass` error or were no-ops that didn't
|
882
|
-
actually verify anything (Myron Marston).
|
883
|
-
* Add compatibility for diff-lcs 1.2 and relax the version
|
884
|
-
constraint (Peter Goldstein).
|
885
|
-
* Fix DSL-generated matchers to allow multiple instances of the
|
886
|
-
same matcher in the same example to have different description
|
887
|
-
and failure messages based on the expected value (Myron Marston).
|
888
|
-
* Prevent `undefined method #split for Array` error when dumping
|
889
|
-
the diff of an array of multiline strings (Myron Marston).
|
890
|
-
* Don't blow up when comparing strings that are in an encoding
|
891
|
-
that is not ASCII compatible (Myron Marston).
|
892
|
-
* Remove confusing "Check the implementation of #==" message
|
893
|
-
printed for empty diffs (Myron Marston).
|
894
|
-
|
895
|
-
### 2.12.1 / 2012-12-15
|
896
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.12.0...v2.12.1)
|
897
|
-
|
898
|
-
Bug fixes
|
899
|
-
|
900
|
-
* Improve the failure message for an expression like
|
901
|
-
`{}.should =~ {}`. (Myron Marston and Andy Lindeman)
|
902
|
-
* Provide a `match_regex` alias so that custom matchers
|
903
|
-
built using the matcher DSL can use it (since `match`
|
904
|
-
is a different method in that context).
|
905
|
-
(Steven Harman)
|
906
|
-
|
907
|
-
### 2.12.0 / 2012-11-12
|
908
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.3...v2.12.0)
|
909
|
-
|
910
|
-
Enhancements
|
911
|
-
|
912
|
-
* Colorize diffs if the `--color` option is configured. (Alex Coplan)
|
913
|
-
* Include backtraces in unexpected errors handled by `raise_error`
|
914
|
-
matcher (Myron Marston)
|
915
|
-
* Print a warning when users accidentally pass a non-string argument
|
916
|
-
as an expectation message (Sam Phippen)
|
917
|
-
* `=~` and `match_array` matchers output a more useful error message when
|
918
|
-
the actual value is not an array (or an object that responds to `#to_ary`)
|
919
|
-
(Sam Phippen)
|
920
|
-
|
921
|
-
Bug fixes
|
922
|
-
|
923
|
-
* Fix `include` matcher so that `expect({}).to include(:a => nil)`
|
924
|
-
fails as it should (Sam Phippen).
|
925
|
-
* Fix `be_an_instance_of` matcher so that `Class#to_s` is used in the
|
926
|
-
description rather than `Class#inspect`, since some classes (like
|
927
|
-
`ActiveRecord::Base`) define a long, verbose `#inspect`.
|
928
|
-
(Tom Stuart)
|
929
|
-
|
930
|
-
### 2.11.3 / 2012-09-04
|
931
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.2...v2.11.3)
|
932
|
-
|
933
|
-
Bug fixes
|
934
|
-
|
935
|
-
* Fix (and deprecate) `expect { }.should` syntax so that it works even
|
936
|
-
though it was never a documented or intended syntax. It worked as a
|
937
|
-
consequence of the implementation of `expect` in RSpec 2.10 and
|
938
|
-
earlier. (Myron Marston)
|
939
|
-
* Ensure #== is defined on built in matchers so that they can be composed.
|
940
|
-
For example:
|
941
|
-
|
942
|
-
expect {
|
943
|
-
user.emailed!
|
944
|
-
}.to change { user.last_emailed_at }.to be_within(1.second).of(Time.zone.now)
|
945
|
-
|
946
|
-
### 2.11.2 / 2012-07-25
|
947
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.1...v2.11.2)
|
948
|
-
|
949
|
-
Bug fixes
|
950
|
-
|
951
|
-
* Define `should` and `should_not` on `Object` rather than `BasicObject`
|
952
|
-
on MacRuby. On MacRuby, `BasicObject` is defined but is not the root
|
953
|
-
of the object hierarchy. (Gabriel Gilder)
|
954
|
-
|
955
|
-
### 2.11.1 / 2012-07-08
|
956
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.11.0...v2.11.1)
|
957
|
-
|
958
|
-
Bug fixes
|
959
|
-
|
960
|
-
* Constrain `actual` in `be_within` matcher to values that respond to `-` instead
|
961
|
-
of requiring a specific type.
|
962
|
-
* `Time`, for example, is a legit alternative.
|
963
|
-
|
964
|
-
### 2.11.0 / 2012-07-07
|
965
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.10.0...v2.11.0)
|
966
|
-
|
967
|
-
Enhancements
|
968
|
-
|
969
|
-
* Expand `expect` syntax so that it supports expections on bare values
|
970
|
-
in addition to blocks (Myron Marston).
|
971
|
-
* Add configuration options to control available expectation syntaxes
|
972
|
-
(Myron Marston):
|
973
|
-
* `RSpec.configuration.expect_with(:rspec) { |c| c.syntax = :expect }`
|
974
|
-
* `RSpec.configuration.expect_with(:rspec) { |c| c.syntax = :should }`
|
975
|
-
* `RSpec.configuration.expect_with(:rspec) { |c| c.syntax = [:should, :expect] }`
|
976
|
-
* `RSpec.configuration.add_should_and_should_not_to Delegator`
|
977
|
-
|
978
|
-
Bug fixes
|
979
|
-
|
980
|
-
* Allow only `Numeric` values to be the "actual" in the `be_within` matcher.
|
981
|
-
This prevents confusing error messages. (Su Zhang @zhangsu)
|
982
|
-
* Define `should` and `should_not` on `BasicObject` rather than `Kernel`
|
983
|
-
on 1.9. This makes `should` and `should_not` work properly with
|
984
|
-
`BasicObject`-subclassed proxy objects like `Delegator`. (Myron
|
985
|
-
Marston)
|
986
|
-
|
987
|
-
### 2.10.0 / 2012-05-03
|
988
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.9.1...v2.10.0)
|
989
|
-
|
990
|
-
Enhancements
|
991
|
-
|
992
|
-
* Add new `start_with` and `end_with` matchers (Jeremy Wadsack)
|
993
|
-
* Add new matchers for specifying yields (Myron Marston):
|
994
|
-
* `expect {...}.to yield_control`
|
995
|
-
* `expect {...}.to yield_with_args(1, 2, 3)`
|
996
|
-
* `expect {...}.to yield_with_no_args`
|
997
|
-
* `expect {...}.to yield_successive_args(1, 2, 3)`
|
998
|
-
* `match_unless_raises` takes multiple exception args
|
999
|
-
|
1000
|
-
Bug fixes
|
1001
|
-
|
1002
|
-
* Fix `be_within` matcher to be inclusive of delta.
|
1003
|
-
* Fix message-specific specs to pass on Rubinius (John Firebaugh)
|
1004
|
-
|
1005
|
-
### 2.9.1 / 2012-04-03
|
1006
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.9.0...v2.9.1)
|
1007
|
-
|
1008
|
-
Bug fixes
|
1009
|
-
|
1010
|
-
* Provide a helpful message if the diff between two objects is empty.
|
1011
|
-
* Fix bug diffing single strings with multiline strings.
|
1012
|
-
* Fix for error with using custom matchers inside other custom matchers
|
1013
|
-
(mirasrael)
|
1014
|
-
* Fix using execution context methods in nested DSL matchers (mirasrael)
|
1015
|
-
|
1016
|
-
### 2.9.0 / 2012-03-17
|
1017
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.8.0...v2.9.0)
|
1018
|
-
|
1019
|
-
Enhancements
|
1020
|
-
|
1021
|
-
* Move built-in matcher classes to RSpec::Matchers::BuiltIn to reduce pollution
|
1022
|
-
of RSpec::Matchers (which is included in every example).
|
1023
|
-
* Autoload files with matcher classes to improve load time.
|
1024
|
-
|
1025
|
-
Bug fixes
|
1026
|
-
|
1027
|
-
* Align `respond_to?` and `method_missing` in DSL-defined matchers.
|
1028
|
-
* Clear out user-defined instance variables between invocations of DSL-defined
|
1029
|
-
matchers.
|
1030
|
-
* Dup the instance of a DSL generated matcher so its state is not changed by
|
1031
|
-
subsequent invocations.
|
1032
|
-
* Treat expected args consistently across positive and negative expectations
|
1033
|
-
(thanks to Ralf Kistner for the heads up)
|
1034
|
-
|
1035
|
-
### 2.8.0 / 2012-01-04
|
1036
|
-
|
1037
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.8.0.rc2...v2.8.0)
|
1038
|
-
|
1039
|
-
Enhancements
|
1040
|
-
|
1041
|
-
* Better diff output for Hash (Philippe Creux)
|
1042
|
-
* Eliminate Ruby warnings (Olek Janiszewski)
|
1043
|
-
|
1044
|
-
### 2.8.0.rc2 / 2011-12-19
|
1045
|
-
|
1046
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.8.0.rc1...v2.8.0.rc2)
|
1047
|
-
|
1048
|
-
No changes for this release. Just releasing with the other rspec gems.
|
1049
|
-
|
1050
|
-
### 2.8.0.rc1 / 2011-11-06
|
1051
|
-
|
1052
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.7.0...v2.8.0.rc1)
|
1053
|
-
|
1054
|
-
Enhancements
|
1055
|
-
|
1056
|
-
* Use classes for the built-in matchers (they're faster).
|
1057
|
-
* Eliminate Ruby warnings (Matijs van Zuijlen)
|
1058
|
-
|
1059
|
-
### 2.7.0 / 2011-10-16
|
1060
|
-
|
1061
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.6.0...v2.7.0)
|
1062
|
-
|
1063
|
-
Enhancements
|
1064
|
-
|
1065
|
-
* `HaveMatcher` converts argument using `to_i` (Alex Bepple & Pat Maddox)
|
1066
|
-
* Improved failure message for the `have_xxx` matcher (Myron Marston)
|
1067
|
-
* `HaveMatcher` supports `count` (Matthew Bellantoni)
|
1068
|
-
* Change matcher dups `Enumerable` before the action, supporting custom
|
1069
|
-
`Enumerable` types like `CollectionProxy` in Rails (David Chelimsky)
|
1070
|
-
|
1071
|
-
Bug fixes
|
1072
|
-
|
1073
|
-
* Fix typo in `have(n).xyz` documentation (Jean Boussier)
|
1074
|
-
* fix `safe_sort` for ruby 1.9.2 (`Kernel` now defines `<=>` for Object) (Peter
|
1075
|
-
van Hardenberg)
|
1076
|
-
|
1077
|
-
### 2.6.0 / 2011-05-12
|
1078
|
-
|
1079
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.5.0...v2.6.0)
|
1080
|
-
|
1081
|
-
Enhancements
|
1082
|
-
|
1083
|
-
* `change` matcher accepts regexps (Robert Davis)
|
1084
|
-
* better descriptions for `have_xxx` matchers (Magnus Bergmark)
|
1085
|
-
* `range.should cover(*values)` (Anders Furseth)
|
1086
|
-
|
1087
|
-
Bug fixes
|
1088
|
-
|
1089
|
-
* Removed non-ascii characters that were choking rcov (Geoffrey Byers)
|
1090
|
-
* change matcher dups arrays and hashes so their before/after states can be
|
1091
|
-
compared correctly.
|
1092
|
-
* Fix the order of inclusion of RSpec::Matchers in Test::Unit::TestCase and
|
1093
|
-
MiniTest::Unit::TestCase to prevent a SystemStackError (Myron Marston)
|
1094
|
-
|
1095
|
-
### 2.5.0 / 2011-02-05
|
1096
|
-
|
1097
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.4.0...v2.5.0)
|
1098
|
-
|
1099
|
-
Enhancements
|
1100
|
-
|
1101
|
-
* `should exist` works with `exist?` or `exists?` (Myron Marston)
|
1102
|
-
* `expect { ... }.not_to do_something` (in addition to `to_not`)
|
1103
|
-
|
1104
|
-
Documentation
|
1105
|
-
|
1106
|
-
* improved docs for raise_error matcher (James Almond)
|
1107
|
-
|
1108
|
-
### 2.4.0 / 2011-01-02
|
1109
|
-
|
1110
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.3.0...v2.4.0)
|
1111
|
-
|
1112
|
-
No functional changes in this release, which was made to align with the
|
1113
|
-
rspec-core-2.4.0 release.
|
1114
|
-
|
1115
|
-
Enhancements
|
1116
|
-
|
1117
|
-
* improved RDoc for change matcher (Jo Liss)
|
1118
|
-
|
1119
|
-
### 2.3.0 / 2010-12-12
|
1120
|
-
|
1121
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.2.1...v2.3.0)
|
1122
|
-
|
1123
|
-
Enhancements
|
1124
|
-
|
1125
|
-
* diff strings when include matcher fails (Mike Sassak)
|
1126
|
-
|
1127
|
-
### 2.2.0 / 2010-11-28
|
1128
|
-
|
1129
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.1.0...v2.2.0)
|
1130
|
-
|
1131
|
-
### 2.1.0 / 2010-11-07
|
1132
|
-
|
1133
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.1...v2.1.0)
|
1134
|
-
|
1135
|
-
Enhancements
|
1136
|
-
|
1137
|
-
* `be_within(delta).of(expected)` matcher (Myron Marston)
|
1138
|
-
* Lots of new Cucumber features (Myron Marston)
|
1139
|
-
* Raise error if you try `should != expected` on Ruby-1.9 (Myron Marston)
|
1140
|
-
* Improved failure messages from `throw_symbol` (Myron Marston)
|
1141
|
-
|
1142
|
-
Bug fixes
|
1143
|
-
|
1144
|
-
* Eliminate hard dependency on `RSpec::Core` (Myron Marston)
|
1145
|
-
* `have_matcher` - use pluralize only when ActiveSupport inflections are indeed
|
1146
|
-
defined (Josep M Bach)
|
1147
|
-
* throw_symbol matcher no longer swallows exceptions (Myron Marston)
|
1148
|
-
* fix matcher chaining to avoid name collisions (Myron Marston)
|
1149
|
-
|
1150
|
-
### 2.0.0 / 2010-10-10
|
1151
|
-
|
1152
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.0.rc...v2.0.0)
|
1153
|
-
|
1154
|
-
Enhancements
|
1155
|
-
|
1156
|
-
* Add match_for_should_not method to matcher DSL (Myron Marston)
|
1157
|
-
|
1158
|
-
Bug fixes
|
1159
|
-
|
1160
|
-
* `respond_to` matcher works correctly with `should_not` with multiple methods
|
1161
|
-
(Myron Marston)
|
1162
|
-
* `include` matcher works correctly with `should_not` with multiple values
|
1163
|
-
(Myron Marston)
|
1164
|
-
|
1165
|
-
### 2.0.0.rc / 2010-10-05
|
1166
|
-
|
1167
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.0.beta.22...v2.0.0.rc)
|
1168
|
-
|
1169
|
-
Enhancements
|
1170
|
-
|
1171
|
-
* `require 'rspec/expectations'` in a T::U or MiniUnit suite (Josep M. Bach)
|
1172
|
-
|
1173
|
-
Bug fixes
|
1174
|
-
|
1175
|
-
* change by 0 passes/fails correctly (Len Smith)
|
1176
|
-
* Add description to satisfy matcher
|
1177
|
-
|
1178
|
-
### 2.0.0.beta.22 / 2010-09-12
|
1179
|
-
|
1180
|
-
[Full Changelog](http://github.com/rspec/rspec-expectations/compare/v2.0.0.beta.20...v2.0.0.beta.22)
|
1181
|
-
|
1182
|
-
Enhancements
|
1183
|
-
|
1184
|
-
* diffing improvements
|
1185
|
-
* diff multiline strings
|
1186
|
-
* don't diff single line strings
|
1187
|
-
* don't diff numbers (silly)
|
1188
|
-
* diff regexp + multiline string
|
1189
|
-
|
1190
|
-
Bug fixes
|
1191
|
-
* `should[_not]` change now handles boolean values correctly
|