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
@@ -1,81 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Mocks
|
3
|
-
# @private
|
4
|
-
class OrderGroup
|
5
|
-
def initialize
|
6
|
-
@expectations = []
|
7
|
-
@invocation_order = []
|
8
|
-
@index = 0
|
9
|
-
end
|
10
|
-
|
11
|
-
# @private
|
12
|
-
def register(expectation)
|
13
|
-
@expectations << expectation
|
14
|
-
end
|
15
|
-
|
16
|
-
def invoked(message)
|
17
|
-
@invocation_order << message
|
18
|
-
end
|
19
|
-
|
20
|
-
# @private
|
21
|
-
def ready_for?(expectation)
|
22
|
-
remaining_expectations.find(&:ordered?) == expectation
|
23
|
-
end
|
24
|
-
|
25
|
-
# @private
|
26
|
-
def consume
|
27
|
-
remaining_expectations.each_with_index do |expectation, index|
|
28
|
-
next unless expectation.ordered?
|
29
|
-
|
30
|
-
@index += index + 1
|
31
|
-
return expectation
|
32
|
-
end
|
33
|
-
nil
|
34
|
-
end
|
35
|
-
|
36
|
-
# @private
|
37
|
-
def handle_order_constraint(expectation)
|
38
|
-
return unless expectation.ordered? && remaining_expectations.include?(expectation)
|
39
|
-
return consume if ready_for?(expectation)
|
40
|
-
expectation.raise_out_of_order_error
|
41
|
-
end
|
42
|
-
|
43
|
-
def verify_invocation_order(expectation)
|
44
|
-
expectation.raise_out_of_order_error unless expectations_invoked_in_order?
|
45
|
-
true
|
46
|
-
end
|
47
|
-
|
48
|
-
def clear
|
49
|
-
@index = 0
|
50
|
-
@invocation_order.clear
|
51
|
-
@expectations.clear
|
52
|
-
end
|
53
|
-
|
54
|
-
def empty?
|
55
|
-
@expectations.empty?
|
56
|
-
end
|
57
|
-
|
58
|
-
private
|
59
|
-
|
60
|
-
def remaining_expectations
|
61
|
-
@expectations[@index..-1] || []
|
62
|
-
end
|
63
|
-
|
64
|
-
def expectations_invoked_in_order?
|
65
|
-
invoked_expectations == expected_invocations
|
66
|
-
end
|
67
|
-
|
68
|
-
def invoked_expectations
|
69
|
-
@expectations.select { |e| e.ordered? && @invocation_order.include?(e) }
|
70
|
-
end
|
71
|
-
|
72
|
-
def expected_invocations
|
73
|
-
@invocation_order.map { |invocation| expectation_for(invocation) }.compact
|
74
|
-
end
|
75
|
-
|
76
|
-
def expectation_for(message)
|
77
|
-
@expectations.find { |e| message == e }
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|
@@ -1,503 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Mocks
|
3
|
-
# @private
|
4
|
-
class Proxy
|
5
|
-
# @private
|
6
|
-
SpecificMessage = Struct.new(:object, :message, :args) do
|
7
|
-
def ==(expectation)
|
8
|
-
expectation.orig_object == object && expectation.matches?(message, *args)
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
unless defined?(Mutex)
|
13
|
-
Support.require_rspec_support 'mutex'
|
14
|
-
Mutex = Support::Mutex
|
15
|
-
end
|
16
|
-
|
17
|
-
# @private
|
18
|
-
def ensure_implemented(*_args)
|
19
|
-
# noop for basic proxies, see VerifyingProxy for behaviour.
|
20
|
-
end
|
21
|
-
|
22
|
-
# @private
|
23
|
-
def initialize(object, order_group, options={})
|
24
|
-
@object = object
|
25
|
-
@order_group = order_group
|
26
|
-
@error_generator = ErrorGenerator.new(object)
|
27
|
-
@messages_received = []
|
28
|
-
@messages_received_mutex = Mutex.new
|
29
|
-
@options = options
|
30
|
-
@null_object = false
|
31
|
-
@method_doubles = Hash.new { |h, k| h[k] = MethodDouble.new(@object, k, self) }
|
32
|
-
end
|
33
|
-
|
34
|
-
# @private
|
35
|
-
attr_reader :object
|
36
|
-
|
37
|
-
# @private
|
38
|
-
def null_object?
|
39
|
-
@null_object
|
40
|
-
end
|
41
|
-
|
42
|
-
# @private
|
43
|
-
# Tells the object to ignore any messages that aren't explicitly set as
|
44
|
-
# stubs or message expectations.
|
45
|
-
def as_null_object
|
46
|
-
@null_object = true
|
47
|
-
@object
|
48
|
-
end
|
49
|
-
|
50
|
-
# @private
|
51
|
-
def original_method_handle_for(_message)
|
52
|
-
nil
|
53
|
-
end
|
54
|
-
|
55
|
-
DEFAULT_MESSAGE_EXPECTATION_OPTS = {}.freeze
|
56
|
-
|
57
|
-
# @private
|
58
|
-
def add_message_expectation(method_name, opts=DEFAULT_MESSAGE_EXPECTATION_OPTS, &block)
|
59
|
-
location = opts.fetch(:expected_from) { CallerFilter.first_non_rspec_line }
|
60
|
-
meth_double = method_double_for(method_name)
|
61
|
-
|
62
|
-
if null_object? && !block
|
63
|
-
meth_double.add_default_stub(@error_generator, @order_group, location, opts) do
|
64
|
-
@object
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
meth_double.add_expectation @error_generator, @order_group, location, opts, &block
|
69
|
-
end
|
70
|
-
|
71
|
-
# @private
|
72
|
-
def add_simple_expectation(method_name, response, location)
|
73
|
-
method_double_for(method_name).add_simple_expectation method_name, response, @error_generator, location
|
74
|
-
end
|
75
|
-
|
76
|
-
# @private
|
77
|
-
def build_expectation(method_name)
|
78
|
-
meth_double = method_double_for(method_name)
|
79
|
-
|
80
|
-
meth_double.build_expectation(
|
81
|
-
@error_generator,
|
82
|
-
@order_group
|
83
|
-
)
|
84
|
-
end
|
85
|
-
|
86
|
-
# @private
|
87
|
-
def replay_received_message_on(expectation, &block)
|
88
|
-
expected_method_name = expectation.message
|
89
|
-
meth_double = method_double_for(expected_method_name)
|
90
|
-
|
91
|
-
if meth_double.expectations.any?
|
92
|
-
@error_generator.raise_expectation_on_mocked_method(expected_method_name)
|
93
|
-
end
|
94
|
-
|
95
|
-
unless null_object? || meth_double.stubs.any?
|
96
|
-
@error_generator.raise_expectation_on_unstubbed_method(expected_method_name)
|
97
|
-
end
|
98
|
-
|
99
|
-
@messages_received_mutex.synchronize do
|
100
|
-
@messages_received.each do |(actual_method_name, args, received_block)|
|
101
|
-
next unless expectation.matches?(actual_method_name, *args)
|
102
|
-
|
103
|
-
expectation.safe_invoke(nil)
|
104
|
-
block.call(*args, &received_block) if block
|
105
|
-
end
|
106
|
-
end
|
107
|
-
end
|
108
|
-
|
109
|
-
# @private
|
110
|
-
def check_for_unexpected_arguments(expectation)
|
111
|
-
@messages_received_mutex.synchronize do
|
112
|
-
return if @messages_received.empty?
|
113
|
-
|
114
|
-
return if @messages_received.any? { |method_name, args, _| expectation.matches?(method_name, *args) }
|
115
|
-
|
116
|
-
name_but_not_args, others = @messages_received.partition do |(method_name, args, _)|
|
117
|
-
expectation.matches_name_but_not_args(method_name, *args)
|
118
|
-
end
|
119
|
-
|
120
|
-
return if name_but_not_args.empty? && !others.empty?
|
121
|
-
|
122
|
-
expectation.raise_unexpected_message_args_error(name_but_not_args.map { |args| args[1] })
|
123
|
-
end
|
124
|
-
end
|
125
|
-
|
126
|
-
# @private
|
127
|
-
def add_stub(method_name, opts={}, &implementation)
|
128
|
-
location = opts.fetch(:expected_from) { CallerFilter.first_non_rspec_line }
|
129
|
-
method_double_for(method_name).add_stub @error_generator, @order_group, location, opts, &implementation
|
130
|
-
end
|
131
|
-
|
132
|
-
# @private
|
133
|
-
def add_simple_stub(method_name, response)
|
134
|
-
method_double_for(method_name).add_simple_stub method_name, response
|
135
|
-
end
|
136
|
-
|
137
|
-
# @private
|
138
|
-
def remove_stub(method_name)
|
139
|
-
method_double_for(method_name).remove_stub
|
140
|
-
end
|
141
|
-
|
142
|
-
# @private
|
143
|
-
def remove_stub_if_present(method_name)
|
144
|
-
method_double_for(method_name).remove_stub_if_present
|
145
|
-
end
|
146
|
-
|
147
|
-
# @private
|
148
|
-
def verify
|
149
|
-
@method_doubles.each_value { |d| d.verify }
|
150
|
-
end
|
151
|
-
|
152
|
-
# @private
|
153
|
-
def reset
|
154
|
-
@messages_received_mutex.synchronize do
|
155
|
-
@messages_received.clear
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
# @private
|
160
|
-
def received_message?(method_name, *args, &block)
|
161
|
-
@messages_received_mutex.synchronize do
|
162
|
-
@messages_received.any? { |array| array == [method_name, args, block] }
|
163
|
-
end
|
164
|
-
end
|
165
|
-
|
166
|
-
# @private
|
167
|
-
def messages_arg_list
|
168
|
-
@messages_received_mutex.synchronize do
|
169
|
-
@messages_received.map { |_, args, _| args }
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
# @private
|
174
|
-
def has_negative_expectation?(message)
|
175
|
-
method_double_for(message).expectations.find { |expectation| expectation.negative_expectation_for?(message) }
|
176
|
-
end
|
177
|
-
|
178
|
-
# @private
|
179
|
-
def record_message_received(message, *args, &block)
|
180
|
-
@order_group.invoked SpecificMessage.new(object, message, args)
|
181
|
-
@messages_received_mutex.synchronize do
|
182
|
-
@messages_received << [message, args, block]
|
183
|
-
end
|
184
|
-
end
|
185
|
-
|
186
|
-
# @private
|
187
|
-
def message_received(message, *args, &block)
|
188
|
-
record_message_received message, *args, &block
|
189
|
-
|
190
|
-
expectation = find_matching_expectation(message, *args)
|
191
|
-
stub = find_matching_method_stub(message, *args)
|
192
|
-
|
193
|
-
if (stub && expectation && expectation.called_max_times?) || (stub && !expectation)
|
194
|
-
expectation.increase_actual_received_count! if expectation && expectation.actual_received_count_matters?
|
195
|
-
if (expectation = find_almost_matching_expectation(message, *args))
|
196
|
-
expectation.advise(*args) unless expectation.expected_messages_received?
|
197
|
-
end
|
198
|
-
stub.invoke(nil, *args, &block)
|
199
|
-
elsif expectation
|
200
|
-
expectation.unadvise(messages_arg_list)
|
201
|
-
expectation.invoke(stub, *args, &block)
|
202
|
-
elsif (expectation = find_almost_matching_expectation(message, *args))
|
203
|
-
expectation.advise(*args) if null_object? unless expectation.expected_messages_received?
|
204
|
-
|
205
|
-
if null_object? || !has_negative_expectation?(message)
|
206
|
-
expectation.raise_unexpected_message_args_error([args])
|
207
|
-
end
|
208
|
-
elsif (stub = find_almost_matching_stub(message, *args))
|
209
|
-
stub.advise(*args)
|
210
|
-
raise_missing_default_stub_error(stub, [args])
|
211
|
-
elsif Class === @object
|
212
|
-
@object.superclass.__send__(message, *args, &block)
|
213
|
-
else
|
214
|
-
@object.__send__(:method_missing, message, *args, &block)
|
215
|
-
end
|
216
|
-
end
|
217
|
-
|
218
|
-
# @private
|
219
|
-
def raise_unexpected_message_error(method_name, args)
|
220
|
-
@error_generator.raise_unexpected_message_error method_name, args
|
221
|
-
end
|
222
|
-
|
223
|
-
# @private
|
224
|
-
def raise_missing_default_stub_error(expectation, args_for_multiple_calls)
|
225
|
-
@error_generator.raise_missing_default_stub_error(expectation, args_for_multiple_calls)
|
226
|
-
end
|
227
|
-
|
228
|
-
# @private
|
229
|
-
def visibility_for(_method_name)
|
230
|
-
# This is the default (for test doubles). Subclasses override this.
|
231
|
-
:public
|
232
|
-
end
|
233
|
-
|
234
|
-
if Support::RubyFeatures.module_prepends_supported?
|
235
|
-
def self.prepended_modules_of(klass)
|
236
|
-
ancestors = klass.ancestors
|
237
|
-
|
238
|
-
# `|| 0` is necessary for Ruby 2.0, where the singleton class
|
239
|
-
# is only in the ancestor list when there are prepended modules.
|
240
|
-
singleton_index = ancestors.index(klass) || 0
|
241
|
-
|
242
|
-
ancestors[0, singleton_index]
|
243
|
-
end
|
244
|
-
|
245
|
-
def prepended_modules_of_singleton_class
|
246
|
-
@prepended_modules_of_singleton_class ||= RSpec::Mocks::Proxy.prepended_modules_of(@object.singleton_class)
|
247
|
-
end
|
248
|
-
end
|
249
|
-
|
250
|
-
# @private
|
251
|
-
def method_double_if_exists_for_message(message)
|
252
|
-
method_double_for(message) if @method_doubles.key?(message.to_sym)
|
253
|
-
end
|
254
|
-
|
255
|
-
private
|
256
|
-
|
257
|
-
def method_double_for(message)
|
258
|
-
@method_doubles[message.to_sym]
|
259
|
-
end
|
260
|
-
|
261
|
-
def find_matching_expectation(method_name, *args)
|
262
|
-
find_best_matching_expectation_for(method_name) do |expectation|
|
263
|
-
expectation.matches?(method_name, *args)
|
264
|
-
end
|
265
|
-
end
|
266
|
-
|
267
|
-
def find_almost_matching_expectation(method_name, *args)
|
268
|
-
find_best_matching_expectation_for(method_name) do |expectation|
|
269
|
-
expectation.matches_name_but_not_args(method_name, *args)
|
270
|
-
end
|
271
|
-
end
|
272
|
-
|
273
|
-
def find_best_matching_expectation_for(method_name)
|
274
|
-
first_match = nil
|
275
|
-
|
276
|
-
method_double_for(method_name).expectations.each do |expectation|
|
277
|
-
next unless yield expectation
|
278
|
-
return expectation unless expectation.called_max_times?
|
279
|
-
first_match ||= expectation
|
280
|
-
end
|
281
|
-
|
282
|
-
first_match
|
283
|
-
end
|
284
|
-
|
285
|
-
def find_matching_method_stub(method_name, *args)
|
286
|
-
method_double_for(method_name).stubs.find { |stub| stub.matches?(method_name, *args) }
|
287
|
-
end
|
288
|
-
|
289
|
-
def find_almost_matching_stub(method_name, *args)
|
290
|
-
method_double_for(method_name).stubs.find { |stub| stub.matches_name_but_not_args(method_name, *args) }
|
291
|
-
end
|
292
|
-
end
|
293
|
-
|
294
|
-
# @private
|
295
|
-
class TestDoubleProxy < Proxy
|
296
|
-
def reset
|
297
|
-
@method_doubles.clear
|
298
|
-
object.__disallow_further_usage!
|
299
|
-
super
|
300
|
-
end
|
301
|
-
end
|
302
|
-
|
303
|
-
# @private
|
304
|
-
class PartialDoubleProxy < Proxy
|
305
|
-
def original_method_handle_for(message)
|
306
|
-
if any_instance_class_recorder_observing_method?(@object.class, message)
|
307
|
-
message = ::RSpec::Mocks.space.
|
308
|
-
any_instance_recorder_for(@object.class).
|
309
|
-
build_alias_method_name(message)
|
310
|
-
end
|
311
|
-
|
312
|
-
::RSpec::Support.method_handle_for(@object, message)
|
313
|
-
rescue NameError
|
314
|
-
nil
|
315
|
-
end
|
316
|
-
|
317
|
-
# @private
|
318
|
-
def add_simple_expectation(method_name, response, location)
|
319
|
-
method_double_for(method_name).configure_method
|
320
|
-
super
|
321
|
-
end
|
322
|
-
|
323
|
-
# @private
|
324
|
-
def add_simple_stub(method_name, response)
|
325
|
-
method_double_for(method_name).configure_method
|
326
|
-
super
|
327
|
-
end
|
328
|
-
|
329
|
-
# @private
|
330
|
-
def visibility_for(method_name)
|
331
|
-
# We fall back to :public because by default we allow undefined methods
|
332
|
-
# to be stubbed, and when we do so, we make them public.
|
333
|
-
MethodReference.method_visibility_for(@object, method_name) || :public
|
334
|
-
end
|
335
|
-
|
336
|
-
def reset
|
337
|
-
@method_doubles.each_value { |d| d.reset }
|
338
|
-
super
|
339
|
-
end
|
340
|
-
|
341
|
-
def message_received(message, *args, &block)
|
342
|
-
RSpec::Mocks.space.any_instance_recorders_from_ancestry_of(object).each do |subscriber|
|
343
|
-
subscriber.notify_received_message(object, message, args, block)
|
344
|
-
end
|
345
|
-
super
|
346
|
-
end
|
347
|
-
|
348
|
-
private
|
349
|
-
|
350
|
-
def any_instance_class_recorder_observing_method?(klass, method_name)
|
351
|
-
only_return_existing = true
|
352
|
-
recorder = ::RSpec::Mocks.space.any_instance_recorder_for(klass, only_return_existing)
|
353
|
-
return true if recorder && recorder.already_observing?(method_name)
|
354
|
-
|
355
|
-
superklass = klass.superclass
|
356
|
-
return false if superklass.nil?
|
357
|
-
any_instance_class_recorder_observing_method?(superklass, method_name)
|
358
|
-
end
|
359
|
-
end
|
360
|
-
|
361
|
-
# @private
|
362
|
-
# When we mock or stub a method on a class, we have to treat it a bit different,
|
363
|
-
# because normally singleton method definitions only affect the object on which
|
364
|
-
# they are defined, but on classes they affect subclasses, too. As a result,
|
365
|
-
# we need some special handling to get the original method.
|
366
|
-
module PartialClassDoubleProxyMethods
|
367
|
-
def initialize(source_space, *args)
|
368
|
-
@source_space = source_space
|
369
|
-
super(*args)
|
370
|
-
end
|
371
|
-
|
372
|
-
# Consider this situation:
|
373
|
-
#
|
374
|
-
# class A; end
|
375
|
-
# class B < A; end
|
376
|
-
#
|
377
|
-
# allow(A).to receive(:new)
|
378
|
-
# expect(B).to receive(:new).and_call_original
|
379
|
-
#
|
380
|
-
# When getting the original definition for `B.new`, we cannot rely purely on
|
381
|
-
# using `B.method(:new)` before our redefinition is defined on `B`, because
|
382
|
-
# `B.method(:new)` will return a method that will execute the stubbed version
|
383
|
-
# of the method on `A` since singleton methods on classes are in the lookup
|
384
|
-
# hierarchy.
|
385
|
-
#
|
386
|
-
# To do it properly, we need to find the original definition of `new` from `A`
|
387
|
-
# from _before_ `A` was stubbed, and we need to rebind it to `B` so that it will
|
388
|
-
# run with the proper `self`.
|
389
|
-
#
|
390
|
-
# That's what this method (together with `original_unbound_method_handle_from_ancestor_for`)
|
391
|
-
# does.
|
392
|
-
def original_method_handle_for(message)
|
393
|
-
unbound_method = superclass_proxy &&
|
394
|
-
superclass_proxy.original_unbound_method_handle_from_ancestor_for(message.to_sym)
|
395
|
-
|
396
|
-
return super unless unbound_method
|
397
|
-
unbound_method.bind(object)
|
398
|
-
# :nocov:
|
399
|
-
rescue TypeError
|
400
|
-
if RUBY_VERSION == '1.8.7'
|
401
|
-
# In MRI 1.8.7, a singleton method on a class cannot be rebound to its subclass
|
402
|
-
if unbound_method && unbound_method.owner.ancestors.first != unbound_method.owner
|
403
|
-
# This is a singleton method; we can't do anything with it
|
404
|
-
# But we can work around this using a different implementation
|
405
|
-
double = method_double_from_ancestor_for(message)
|
406
|
-
return object.method(double.method_stasher.stashed_method_name)
|
407
|
-
end
|
408
|
-
end
|
409
|
-
raise
|
410
|
-
# :nocov:
|
411
|
-
end
|
412
|
-
|
413
|
-
protected
|
414
|
-
|
415
|
-
def original_unbound_method_handle_from_ancestor_for(message)
|
416
|
-
double = method_double_from_ancestor_for(message)
|
417
|
-
double && double.original_method.unbind
|
418
|
-
end
|
419
|
-
|
420
|
-
def method_double_from_ancestor_for(message)
|
421
|
-
@method_doubles.fetch(message) do
|
422
|
-
# The fact that there is no method double for this message indicates
|
423
|
-
# that it has not been redefined by rspec-mocks. We need to continue
|
424
|
-
# looking up the ancestor chain.
|
425
|
-
return superclass_proxy &&
|
426
|
-
superclass_proxy.method_double_from_ancestor_for(message)
|
427
|
-
end
|
428
|
-
end
|
429
|
-
|
430
|
-
def superclass_proxy
|
431
|
-
return @superclass_proxy if defined?(@superclass_proxy)
|
432
|
-
|
433
|
-
if (superclass = object.superclass)
|
434
|
-
@superclass_proxy = @source_space.superclass_proxy_for(superclass)
|
435
|
-
else
|
436
|
-
@superclass_proxy = nil
|
437
|
-
end
|
438
|
-
end
|
439
|
-
end
|
440
|
-
|
441
|
-
# @private
|
442
|
-
class PartialClassDoubleProxy < PartialDoubleProxy
|
443
|
-
include PartialClassDoubleProxyMethods
|
444
|
-
end
|
445
|
-
|
446
|
-
# @private
|
447
|
-
class ProxyForNil < PartialDoubleProxy
|
448
|
-
def initialize(order_group)
|
449
|
-
set_expectation_behavior
|
450
|
-
super(nil, order_group)
|
451
|
-
end
|
452
|
-
|
453
|
-
attr_accessor :disallow_expectations
|
454
|
-
attr_accessor :warn_about_expectations
|
455
|
-
|
456
|
-
def add_message_expectation(method_name, opts={}, &block)
|
457
|
-
warn_or_raise!(method_name)
|
458
|
-
super
|
459
|
-
end
|
460
|
-
|
461
|
-
def add_stub(method_name, opts={}, &implementation)
|
462
|
-
warn_or_raise!(method_name)
|
463
|
-
super
|
464
|
-
end
|
465
|
-
|
466
|
-
private
|
467
|
-
|
468
|
-
def set_expectation_behavior
|
469
|
-
case RSpec::Mocks.configuration.allow_message_expectations_on_nil
|
470
|
-
when false
|
471
|
-
@warn_about_expectations = false
|
472
|
-
@disallow_expectations = true
|
473
|
-
when true
|
474
|
-
@warn_about_expectations = false
|
475
|
-
@disallow_expectations = false
|
476
|
-
else
|
477
|
-
@warn_about_expectations = true
|
478
|
-
@disallow_expectations = false
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
|
-
def warn_or_raise!(method_name)
|
483
|
-
# This method intentionally swallows the message when
|
484
|
-
# neither disallow_expectations nor warn_about_expectations
|
485
|
-
# are set to true.
|
486
|
-
if disallow_expectations
|
487
|
-
raise_error(method_name)
|
488
|
-
elsif warn_about_expectations
|
489
|
-
warn(method_name)
|
490
|
-
end
|
491
|
-
end
|
492
|
-
|
493
|
-
def warn(method_name)
|
494
|
-
warning_msg = @error_generator.expectation_on_nil_message(method_name)
|
495
|
-
RSpec.warning(warning_msg)
|
496
|
-
end
|
497
|
-
|
498
|
-
def raise_error(method_name)
|
499
|
-
@error_generator.raise_expectation_on_nil_error(method_name)
|
500
|
-
end
|
501
|
-
end
|
502
|
-
end
|
503
|
-
end
|