qiita_org 0.1.35 → 0.1.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -2
- data/Gemfile.lock +15 -15
- data/lib/qiita_org/post.rb +64 -5
- data/lib/qiita_org/template.org +1 -1
- data/lib/qiita_org/version.rb +1 -1
- data/tests/tags_test.org +16 -0
- data/tests/tags_test2.org +16 -0
- metadata +4 -2430
- data/.bandle/ruby/2.7.0/bin/htmldiff +0 -29
- data/.bandle/ruby/2.7.0/bin/ldiff +0 -29
- data/.bandle/ruby/2.7.0/bin/qiita_org +0 -27
- data/.bandle/ruby/2.7.0/bin/rake +0 -27
- data/.bandle/ruby/2.7.0/bin/rspec +0 -27
- data/.bandle/ruby/2.7.0/bin/thor +0 -27
- data/.bandle/ruby/2.7.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rake-12.3.3.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-3.9.0.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-core-3.9.2.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-expectations-3.9.2.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-mocks-3.9.1.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-support-3.9.3.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/thor-1.0.1.gem +0 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/.rspec +0 -1
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +0 -74
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Contributing.md +0 -118
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/History.md +0 -319
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/License.md +0 -39
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Manifest.txt +0 -45
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/README.rdoc +0 -84
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Rakefile +0 -74
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/autotest/discover.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/htmldiff +0 -35
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/ldiff +0 -9
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +0 -339
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/artistic.txt +0 -127
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +0 -739
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +0 -7
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +0 -9
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +0 -37
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +0 -325
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +0 -174
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +0 -150
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +0 -358
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +0 -304
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +0 -171
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +0 -5
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +0 -89
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +0 -51
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +0 -1
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +0 -1
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +0 -50
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +0 -51
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +0 -4
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +0 -7
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +0 -3
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +0 -3
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +0 -5
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +0 -83
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +0 -154
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +0 -56
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +0 -87
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +0 -416
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +0 -214
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +0 -375
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +0 -310
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +0 -139
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +0 -43
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/Gemfile +0 -3
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/History.rdoc +0 -2344
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/MIT-LICENSE +0 -21
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/README.rdoc +0 -156
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/Rakefile +0 -41
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/azure-pipelines.yml +0 -11
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/bundle +0 -105
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/console +0 -7
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rake +0 -29
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rdoc +0 -29
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rubocop +0 -29
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/setup +0 -6
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +0 -158
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile1 +0 -38
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile2 +0 -35
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/a.c +0 -6
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/b.c +0 -6
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/main.c +0 -11
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/glossary.rdoc +0 -42
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/jamis.rb +0 -592
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/proto_rake.rdoc +0 -127
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rake.1 +0 -156
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rakefile.rdoc +0 -622
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rational.rdoc +0 -151
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/exe/rake +0 -27
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake.rb +0 -71
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb +0 -824
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/backtrace.rb +0 -24
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/clean.rb +0 -78
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cloneable.rb +0 -17
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +0 -107
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/default_loader.rb +0 -15
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +0 -195
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/early_time.rb +0 -22
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/core.rb +0 -26
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/string.rb +0 -176
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +0 -25
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_list.rb +0 -435
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_task.rb +0 -54
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils.rb +0 -137
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +0 -145
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +0 -57
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +0 -17
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/late_time.rb +0 -18
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/linked_list.rb +0 -112
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +0 -54
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/multi_task.rb +0 -14
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/name_space.rb +0 -38
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/packagetask.rb +0 -207
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/phony.rb +0 -16
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/private_reader.rb +0 -21
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/promise.rb +0 -100
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +0 -30
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_module.rb +0 -67
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +0 -27
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/scope.rb +0 -43
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb +0 -413
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +0 -8
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +0 -109
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_manager.rb +0 -324
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/tasklib.rb +0 -12
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/testtask.rb +0 -224
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +0 -49
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +0 -163
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/trace_output.rb +0 -23
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/version.rb +0 -10
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/win32.rb +0 -51
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/rake.gemspec +0 -42
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/LICENSE.md +0 -27
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/README.md +0 -43
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec/version.rb +0 -5
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/.document +0 -5
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/.yardopts +0 -8
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/Changelog.md +0 -2291
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/LICENSE.md +0 -26
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/README.md +0 -384
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/exe/rspec +0 -4
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +0 -186
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +0 -65
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +0 -62
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +0 -173
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +0 -135
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +0 -61
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +0 -126
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +0 -73
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +0 -58
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +0 -2363
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +0 -233
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +0 -46
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +0 -113
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +0 -98
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +0 -656
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +0 -900
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +0 -235
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +0 -231
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +0 -20
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +0 -273
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -45
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +0 -70
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -29
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -157
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +0 -68
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +0 -102
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +0 -511
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +0 -23
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +0 -110
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +0 -153
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +0 -414
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -120
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +0 -102
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +0 -68
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +0 -29
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +0 -182
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +0 -641
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +0 -87
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +0 -554
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +0 -498
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +0 -255
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +0 -14
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +0 -521
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +0 -316
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +0 -158
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +0 -29
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +0 -165
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +0 -34
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +0 -48
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/.rspec +0 -1
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +0 -188
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +0 -265
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +0 -53
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +0 -204
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +0 -37
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +0 -54
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +0 -55
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +0 -271
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +0 -49
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +0 -9
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +0 -40
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +0 -276
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/.document +0 -5
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/.yardopts +0 -6
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/Changelog.md +0 -1191
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/LICENSE.md +0 -25
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/README.md +0 -320
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +0 -82
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +0 -215
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +0 -127
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +0 -39
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +0 -194
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +0 -170
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +0 -58
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +0 -132
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +0 -8
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +0 -1038
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +0 -116
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +0 -52
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +0 -86
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +0 -288
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +0 -77
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +0 -26
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +0 -20
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +0 -72
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +0 -428
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +0 -276
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +0 -302
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +0 -24
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +0 -40
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +0 -34
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +0 -81
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +0 -90
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +0 -103
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +0 -149
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +0 -106
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +0 -128
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +0 -200
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +0 -230
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +0 -199
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +0 -60
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +0 -441
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +0 -171
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +0 -540
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +0 -58
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -82
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +0 -42
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +0 -41
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +0 -35
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +0 -99
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/.document +0 -5
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/.yardopts +0 -6
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/Changelog.md +0 -1133
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/LICENSE.md +0 -25
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/README.md +0 -463
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +0 -130
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +0 -11
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +0 -111
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +0 -116
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +0 -294
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +0 -100
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +0 -322
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +0 -212
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +0 -369
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +0 -434
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +0 -146
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +0 -41
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +0 -134
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +0 -132
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +0 -87
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +0 -751
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +0 -287
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +0 -202
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +0 -68
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +0 -339
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +0 -149
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +0 -81
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +0 -503
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +0 -238
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +0 -325
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +0 -124
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +0 -171
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +0 -129
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +0 -220
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +0 -9
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/Changelog.md +0 -302
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/LICENSE.md +0 -23
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/README.md +0 -40
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +0 -149
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +0 -83
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +0 -46
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +0 -215
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +0 -63
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +0 -161
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +0 -48
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +0 -47
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +0 -42
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +0 -438
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +0 -73
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +0 -275
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +0 -76
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +0 -61
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +0 -190
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +0 -75
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +0 -21
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +0 -110
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +0 -87
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +0 -81
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +0 -9
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +0 -69
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +0 -150
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +0 -89
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +0 -75
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +0 -46
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +0 -7
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +0 -39
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +0 -33
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/.document +0 -5
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/CHANGELOG.md +0 -220
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/CONTRIBUTING.md +0 -15
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/LICENSE.md +0 -20
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/README.md +0 -51
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/bin/thor +0 -6
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb +0 -517
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions.rb +0 -336
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_file.rb +0 -104
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_link.rb +0 -61
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/directory.rb +0 -108
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/empty_directory.rb +0 -143
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/file_manipulation.rb +0 -373
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/inject_into_file.rb +0 -120
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/base.rb +0 -699
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb +0 -142
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -97
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/error.rb +0 -110
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/group.rb +0 -281
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb +0 -178
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor.rb +0 -17
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/basic.rb +0 -37
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/readline.rb +0 -88
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/nested_context.rb +0 -29
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser.rb +0 -4
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/argument.rb +0 -70
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/arguments.rb +0 -175
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/option.rb +0 -159
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/options.rb +0 -236
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/rake_compat.rb +0 -72
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/runner.rb +0 -325
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell.rb +0 -81
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/basic.rb +0 -491
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/color.rb +0 -153
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/html.rb +0 -126
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/util.rb +0 -284
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/version.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/thor.gemspec +0 -28
- data/.bandle/ruby/2.7.0/specifications/diff-lcs-1.4.4.gemspec +0 -50
- data/.bandle/ruby/2.7.0/specifications/rake-12.3.3.gemspec +0 -43
- data/.bandle/ruby/2.7.0/specifications/rspec-3.9.0.gemspec +0 -39
- data/.bandle/ruby/2.7.0/specifications/rspec-core-3.9.2.gemspec +0 -53
- data/.bandle/ruby/2.7.0/specifications/rspec-expectations-3.9.2.gemspec +0 -44
- data/.bandle/ruby/2.7.0/specifications/rspec-mocks-3.9.1.gemspec +0 -44
- data/.bandle/ruby/2.7.0/specifications/rspec-support-3.9.3.gemspec +0 -36
- data/.bandle/ruby/2.7.0/specifications/thor-1.0.1.gemspec +0 -34
data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Mocks
|
3
|
-
module AnyInstance
|
4
|
-
# @private
|
5
|
-
class StubChainChain < StubChain
|
6
|
-
def initialize(*args)
|
7
|
-
super
|
8
|
-
@expectation_fulfilled = false
|
9
|
-
end
|
10
|
-
|
11
|
-
private
|
12
|
-
|
13
|
-
def create_message_expectation_on(instance)
|
14
|
-
::RSpec::Mocks::StubChain.stub_chain_on(instance, *@expectation_args, &@expectation_block)
|
15
|
-
end
|
16
|
-
|
17
|
-
def invocation_order
|
18
|
-
EmptyInvocationOrder
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
@@ -1,100 +0,0 @@
|
|
1
|
-
# We intentionally do not use the `RSpec::Support.require...` methods
|
2
|
-
# here so that this file can be loaded individually, as documented
|
3
|
-
# below.
|
4
|
-
require 'rspec/mocks/argument_matchers'
|
5
|
-
require 'rspec/support/fuzzy_matcher'
|
6
|
-
|
7
|
-
module RSpec
|
8
|
-
module Mocks
|
9
|
-
# Wrapper for matching arguments against a list of expected values. Used by
|
10
|
-
# the `with` method on a `MessageExpectation`:
|
11
|
-
#
|
12
|
-
# expect(object).to receive(:message).with(:a, 'b', 3)
|
13
|
-
# object.message(:a, 'b', 3)
|
14
|
-
#
|
15
|
-
# Values passed to `with` can be literal values or argument matchers that
|
16
|
-
# match against the real objects .e.g.
|
17
|
-
#
|
18
|
-
# expect(object).to receive(:message).with(hash_including(:a => 'b'))
|
19
|
-
#
|
20
|
-
# Can also be used directly to match the contents of any `Array`. This
|
21
|
-
# enables 3rd party mocking libs to take advantage of rspec's argument
|
22
|
-
# matching without using the rest of rspec-mocks.
|
23
|
-
#
|
24
|
-
# require 'rspec/mocks/argument_list_matcher'
|
25
|
-
# include RSpec::Mocks::ArgumentMatchers
|
26
|
-
#
|
27
|
-
# arg_list_matcher = RSpec::Mocks::ArgumentListMatcher.new(123, hash_including(:a => 'b'))
|
28
|
-
# arg_list_matcher.args_match?(123, :a => 'b')
|
29
|
-
#
|
30
|
-
# This class is immutable.
|
31
|
-
#
|
32
|
-
# @see ArgumentMatchers
|
33
|
-
class ArgumentListMatcher
|
34
|
-
# @private
|
35
|
-
attr_reader :expected_args
|
36
|
-
|
37
|
-
# @api public
|
38
|
-
# @param [Array] expected_args a list of expected literals and/or argument matchers
|
39
|
-
#
|
40
|
-
# Initializes an `ArgumentListMatcher` with a collection of literal
|
41
|
-
# values and/or argument matchers.
|
42
|
-
#
|
43
|
-
# @see ArgumentMatchers
|
44
|
-
# @see #args_match?
|
45
|
-
def initialize(*expected_args)
|
46
|
-
@expected_args = expected_args
|
47
|
-
ensure_expected_args_valid!
|
48
|
-
end
|
49
|
-
|
50
|
-
# @api public
|
51
|
-
# @param [Array] args
|
52
|
-
#
|
53
|
-
# Matches each element in the `expected_args` against the element in the same
|
54
|
-
# position of the arguments passed to `new`.
|
55
|
-
#
|
56
|
-
# @see #initialize
|
57
|
-
def args_match?(*args)
|
58
|
-
Support::FuzzyMatcher.values_match?(resolve_expected_args_based_on(args), args)
|
59
|
-
end
|
60
|
-
|
61
|
-
# @private
|
62
|
-
# Resolves abstract arg placeholders like `no_args` and `any_args` into
|
63
|
-
# a more concrete arg list based on the provided `actual_args`.
|
64
|
-
def resolve_expected_args_based_on(actual_args)
|
65
|
-
return [] if [ArgumentMatchers::NoArgsMatcher::INSTANCE] == expected_args
|
66
|
-
|
67
|
-
any_args_index = expected_args.index { |a| ArgumentMatchers::AnyArgsMatcher::INSTANCE == a }
|
68
|
-
return expected_args unless any_args_index
|
69
|
-
|
70
|
-
replace_any_args_with_splat_of_anything(any_args_index, actual_args.count)
|
71
|
-
end
|
72
|
-
|
73
|
-
private
|
74
|
-
|
75
|
-
def replace_any_args_with_splat_of_anything(before_count, actual_args_count)
|
76
|
-
any_args_count = actual_args_count - expected_args.count + 1
|
77
|
-
after_count = expected_args.count - before_count - 1
|
78
|
-
|
79
|
-
any_args = 1.upto(any_args_count).map { ArgumentMatchers::AnyArgMatcher::INSTANCE }
|
80
|
-
expected_args.first(before_count) + any_args + expected_args.last(after_count)
|
81
|
-
end
|
82
|
-
|
83
|
-
def ensure_expected_args_valid!
|
84
|
-
if expected_args.count { |a| ArgumentMatchers::AnyArgsMatcher::INSTANCE == a } > 1
|
85
|
-
raise ArgumentError, "`any_args` can only be passed to " \
|
86
|
-
"`with` once but you have passed it multiple times."
|
87
|
-
elsif expected_args.count > 1 && expected_args.any? { |a| ArgumentMatchers::NoArgsMatcher::INSTANCE == a }
|
88
|
-
raise ArgumentError, "`no_args` can only be passed as a " \
|
89
|
-
"singleton argument to `with` (i.e. `with(no_args)`), " \
|
90
|
-
"but you have passed additional arguments."
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
# Value that will match all argument lists.
|
95
|
-
#
|
96
|
-
# @private
|
97
|
-
MATCH_ALL = new(ArgumentMatchers::AnyArgsMatcher::INSTANCE)
|
98
|
-
end
|
99
|
-
end
|
100
|
-
end
|
@@ -1,322 +0,0 @@
|
|
1
|
-
# This cannot take advantage of our relative requires, since this file is a
|
2
|
-
# dependency of `rspec/mocks/argument_list_matcher.rb`. See comment there for
|
3
|
-
# details.
|
4
|
-
require 'rspec/support/matcher_definition'
|
5
|
-
|
6
|
-
module RSpec
|
7
|
-
module Mocks
|
8
|
-
# ArgumentMatchers are placeholders that you can include in message
|
9
|
-
# expectations to match arguments against a broader check than simple
|
10
|
-
# equality.
|
11
|
-
#
|
12
|
-
# With the exception of `any_args` and `no_args`, they all match against
|
13
|
-
# the arg in same position in the argument list.
|
14
|
-
#
|
15
|
-
# @see ArgumentListMatcher
|
16
|
-
module ArgumentMatchers
|
17
|
-
# Acts like an arg splat, matching any number of args at any point in an arg list.
|
18
|
-
#
|
19
|
-
# @example
|
20
|
-
# expect(object).to receive(:message).with(1, 2, any_args)
|
21
|
-
#
|
22
|
-
# # matches any of these:
|
23
|
-
# object.message(1, 2)
|
24
|
-
# object.message(1, 2, 3)
|
25
|
-
# object.message(1, 2, 3, 4)
|
26
|
-
def any_args
|
27
|
-
AnyArgsMatcher::INSTANCE
|
28
|
-
end
|
29
|
-
|
30
|
-
# Matches any argument at all.
|
31
|
-
#
|
32
|
-
# @example
|
33
|
-
# expect(object).to receive(:message).with(anything)
|
34
|
-
def anything
|
35
|
-
AnyArgMatcher::INSTANCE
|
36
|
-
end
|
37
|
-
|
38
|
-
# Matches no arguments.
|
39
|
-
#
|
40
|
-
# @example
|
41
|
-
# expect(object).to receive(:message).with(no_args)
|
42
|
-
def no_args
|
43
|
-
NoArgsMatcher::INSTANCE
|
44
|
-
end
|
45
|
-
|
46
|
-
# Matches if the actual argument responds to the specified messages.
|
47
|
-
#
|
48
|
-
# @example
|
49
|
-
# expect(object).to receive(:message).with(duck_type(:hello))
|
50
|
-
# expect(object).to receive(:message).with(duck_type(:hello, :goodbye))
|
51
|
-
def duck_type(*args)
|
52
|
-
DuckTypeMatcher.new(*args)
|
53
|
-
end
|
54
|
-
|
55
|
-
# Matches a boolean value.
|
56
|
-
#
|
57
|
-
# @example
|
58
|
-
# expect(object).to receive(:message).with(boolean())
|
59
|
-
def boolean
|
60
|
-
BooleanMatcher::INSTANCE
|
61
|
-
end
|
62
|
-
|
63
|
-
# Matches a hash that includes the specified key(s) or key/value pairs.
|
64
|
-
# Ignores any additional keys.
|
65
|
-
#
|
66
|
-
# @example
|
67
|
-
# expect(object).to receive(:message).with(hash_including(:key => val))
|
68
|
-
# expect(object).to receive(:message).with(hash_including(:key))
|
69
|
-
# expect(object).to receive(:message).with(hash_including(:key, :key2 => val2))
|
70
|
-
def hash_including(*args)
|
71
|
-
HashIncludingMatcher.new(ArgumentMatchers.anythingize_lonely_keys(*args))
|
72
|
-
end
|
73
|
-
|
74
|
-
# Matches an array that includes the specified items at least once.
|
75
|
-
# Ignores duplicates and additional values
|
76
|
-
#
|
77
|
-
# @example
|
78
|
-
# expect(object).to receive(:message).with(array_including(1,2,3))
|
79
|
-
# expect(object).to receive(:message).with(array_including([1,2,3]))
|
80
|
-
def array_including(*args)
|
81
|
-
actually_an_array = Array === args.first && args.count == 1 ? args.first : args
|
82
|
-
ArrayIncludingMatcher.new(actually_an_array)
|
83
|
-
end
|
84
|
-
|
85
|
-
# Matches a hash that doesn't include the specified key(s) or key/value.
|
86
|
-
#
|
87
|
-
# @example
|
88
|
-
# expect(object).to receive(:message).with(hash_excluding(:key => val))
|
89
|
-
# expect(object).to receive(:message).with(hash_excluding(:key))
|
90
|
-
# expect(object).to receive(:message).with(hash_excluding(:key, :key2 => :val2))
|
91
|
-
def hash_excluding(*args)
|
92
|
-
HashExcludingMatcher.new(ArgumentMatchers.anythingize_lonely_keys(*args))
|
93
|
-
end
|
94
|
-
|
95
|
-
alias_method :hash_not_including, :hash_excluding
|
96
|
-
|
97
|
-
# Matches if `arg.instance_of?(klass)`
|
98
|
-
#
|
99
|
-
# @example
|
100
|
-
# expect(object).to receive(:message).with(instance_of(Thing))
|
101
|
-
def instance_of(klass)
|
102
|
-
InstanceOf.new(klass)
|
103
|
-
end
|
104
|
-
|
105
|
-
alias_method :an_instance_of, :instance_of
|
106
|
-
|
107
|
-
# Matches if `arg.kind_of?(klass)`
|
108
|
-
#
|
109
|
-
# @example
|
110
|
-
# expect(object).to receive(:message).with(kind_of(Thing))
|
111
|
-
def kind_of(klass)
|
112
|
-
KindOf.new(klass)
|
113
|
-
end
|
114
|
-
|
115
|
-
alias_method :a_kind_of, :kind_of
|
116
|
-
|
117
|
-
# @private
|
118
|
-
def self.anythingize_lonely_keys(*args)
|
119
|
-
hash = Hash === args.last ? args.delete_at(-1) : {}
|
120
|
-
args.each { | arg | hash[arg] = AnyArgMatcher::INSTANCE }
|
121
|
-
hash
|
122
|
-
end
|
123
|
-
|
124
|
-
# Intended to be subclassed by stateless, immutable argument matchers.
|
125
|
-
# Provides a `<klass name>::INSTANCE` constant for accessing a global
|
126
|
-
# singleton instance of the matcher. There is no need to construct
|
127
|
-
# multiple instance since there is no state. It also facilities the
|
128
|
-
# special case logic we need for some of these matchers, by making it
|
129
|
-
# easy to do comparisons like: `[klass::INSTANCE] == args` rather than
|
130
|
-
# `args.count == 1 && klass === args.first`.
|
131
|
-
#
|
132
|
-
# @private
|
133
|
-
class SingletonMatcher
|
134
|
-
private_class_method :new
|
135
|
-
|
136
|
-
def self.inherited(subklass)
|
137
|
-
subklass.const_set(:INSTANCE, subklass.send(:new))
|
138
|
-
end
|
139
|
-
end
|
140
|
-
|
141
|
-
# @private
|
142
|
-
class AnyArgsMatcher < SingletonMatcher
|
143
|
-
def description
|
144
|
-
"*(any args)"
|
145
|
-
end
|
146
|
-
end
|
147
|
-
|
148
|
-
# @private
|
149
|
-
class AnyArgMatcher < SingletonMatcher
|
150
|
-
def ===(_other)
|
151
|
-
true
|
152
|
-
end
|
153
|
-
|
154
|
-
def description
|
155
|
-
"anything"
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
# @private
|
160
|
-
class NoArgsMatcher < SingletonMatcher
|
161
|
-
def description
|
162
|
-
"no args"
|
163
|
-
end
|
164
|
-
end
|
165
|
-
|
166
|
-
# @private
|
167
|
-
class BooleanMatcher < SingletonMatcher
|
168
|
-
def ===(value)
|
169
|
-
true == value || false == value
|
170
|
-
end
|
171
|
-
|
172
|
-
def description
|
173
|
-
"boolean"
|
174
|
-
end
|
175
|
-
end
|
176
|
-
|
177
|
-
# @private
|
178
|
-
class BaseHashMatcher
|
179
|
-
def initialize(expected)
|
180
|
-
@expected = expected
|
181
|
-
end
|
182
|
-
|
183
|
-
def ===(predicate, actual)
|
184
|
-
@expected.__send__(predicate) do |k, v|
|
185
|
-
actual.key?(k) && Support::FuzzyMatcher.values_match?(v, actual[k])
|
186
|
-
end
|
187
|
-
rescue NoMethodError
|
188
|
-
false
|
189
|
-
end
|
190
|
-
|
191
|
-
def description(name)
|
192
|
-
"#{name}(#{formatted_expected_hash.inspect.sub(/^\{/, "").sub(/\}$/, "")})"
|
193
|
-
end
|
194
|
-
|
195
|
-
private
|
196
|
-
|
197
|
-
def formatted_expected_hash
|
198
|
-
Hash[
|
199
|
-
@expected.map do |k, v|
|
200
|
-
k = RSpec::Support.rspec_description_for_object(k)
|
201
|
-
v = RSpec::Support.rspec_description_for_object(v)
|
202
|
-
|
203
|
-
[k, v]
|
204
|
-
end
|
205
|
-
]
|
206
|
-
end
|
207
|
-
end
|
208
|
-
|
209
|
-
# @private
|
210
|
-
class HashIncludingMatcher < BaseHashMatcher
|
211
|
-
def ===(actual)
|
212
|
-
super(:all?, actual)
|
213
|
-
end
|
214
|
-
|
215
|
-
def description
|
216
|
-
super("hash_including")
|
217
|
-
end
|
218
|
-
end
|
219
|
-
|
220
|
-
# @private
|
221
|
-
class HashExcludingMatcher < BaseHashMatcher
|
222
|
-
def ===(actual)
|
223
|
-
super(:none?, actual)
|
224
|
-
end
|
225
|
-
|
226
|
-
def description
|
227
|
-
super("hash_not_including")
|
228
|
-
end
|
229
|
-
end
|
230
|
-
|
231
|
-
# @private
|
232
|
-
class ArrayIncludingMatcher
|
233
|
-
def initialize(expected)
|
234
|
-
@expected = expected
|
235
|
-
end
|
236
|
-
|
237
|
-
def ===(actual)
|
238
|
-
actual = actual.uniq
|
239
|
-
@expected.uniq.all? do |expected_element|
|
240
|
-
actual.any? do |actual_element|
|
241
|
-
RSpec::Support::FuzzyMatcher.values_match?(expected_element, actual_element)
|
242
|
-
end
|
243
|
-
end
|
244
|
-
rescue NoMethodError
|
245
|
-
false
|
246
|
-
end
|
247
|
-
|
248
|
-
def description
|
249
|
-
"array_including(#{formatted_expected_values})"
|
250
|
-
end
|
251
|
-
|
252
|
-
private
|
253
|
-
|
254
|
-
def formatted_expected_values
|
255
|
-
@expected.map do |x|
|
256
|
-
RSpec::Support.rspec_description_for_object(x)
|
257
|
-
end.join(", ")
|
258
|
-
end
|
259
|
-
end
|
260
|
-
|
261
|
-
# @private
|
262
|
-
class DuckTypeMatcher
|
263
|
-
def initialize(*methods_to_respond_to)
|
264
|
-
@methods_to_respond_to = methods_to_respond_to
|
265
|
-
end
|
266
|
-
|
267
|
-
def ===(value)
|
268
|
-
@methods_to_respond_to.all? { |message| value.respond_to?(message) }
|
269
|
-
end
|
270
|
-
|
271
|
-
def description
|
272
|
-
"duck_type(#{@methods_to_respond_to.map(&:inspect).join(', ')})"
|
273
|
-
end
|
274
|
-
end
|
275
|
-
|
276
|
-
# @private
|
277
|
-
class InstanceOf
|
278
|
-
def initialize(klass)
|
279
|
-
@klass = klass
|
280
|
-
end
|
281
|
-
|
282
|
-
def ===(actual)
|
283
|
-
actual.instance_of?(@klass)
|
284
|
-
end
|
285
|
-
|
286
|
-
def description
|
287
|
-
"an_instance_of(#{@klass.name})"
|
288
|
-
end
|
289
|
-
end
|
290
|
-
|
291
|
-
# @private
|
292
|
-
class KindOf
|
293
|
-
def initialize(klass)
|
294
|
-
@klass = klass
|
295
|
-
end
|
296
|
-
|
297
|
-
def ===(actual)
|
298
|
-
actual.kind_of?(@klass)
|
299
|
-
end
|
300
|
-
|
301
|
-
def description
|
302
|
-
"kind of #{@klass.name}"
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
|
-
matcher_namespace = name + '::'
|
307
|
-
::RSpec::Support.register_matcher_definition do |object|
|
308
|
-
# This is the best we have for now. We should tag all of our matchers
|
309
|
-
# with a module or something so we can test for it directly.
|
310
|
-
#
|
311
|
-
# (Note Module#parent in ActiveSupport is defined in a similar way.)
|
312
|
-
begin
|
313
|
-
object.class.name.include?(matcher_namespace)
|
314
|
-
rescue NoMethodError
|
315
|
-
# Some objects, like BasicObject, don't implemented standard
|
316
|
-
# reflection methods.
|
317
|
-
false
|
318
|
-
end
|
319
|
-
end
|
320
|
-
end
|
321
|
-
end
|
322
|
-
end
|
@@ -1,212 +0,0 @@
|
|
1
|
-
module RSpec
|
2
|
-
module Mocks
|
3
|
-
# Provides configuration options for rspec-mocks.
|
4
|
-
class Configuration
|
5
|
-
def initialize
|
6
|
-
@allow_message_expectations_on_nil = nil
|
7
|
-
@yield_receiver_to_any_instance_implementation_blocks = true
|
8
|
-
@verify_doubled_constant_names = false
|
9
|
-
@transfer_nested_constants = false
|
10
|
-
@verify_partial_doubles = false
|
11
|
-
@temporarily_suppress_partial_double_verification = false
|
12
|
-
@color = false
|
13
|
-
end
|
14
|
-
|
15
|
-
# Sets whether RSpec will warn, ignore, or fail a test when
|
16
|
-
# expectations are set on nil.
|
17
|
-
# By default, when this flag is not set, warning messages are issued when
|
18
|
-
# expectations are set on nil. This is to prevent false-positives and to
|
19
|
-
# catch potential bugs early on.
|
20
|
-
# When set to `true`, warning messages are suppressed.
|
21
|
-
# When set to `false`, it will raise an error.
|
22
|
-
#
|
23
|
-
# @example
|
24
|
-
# RSpec.configure do |config|
|
25
|
-
# config.mock_with :rspec do |mocks|
|
26
|
-
# mocks.allow_message_expectations_on_nil = false
|
27
|
-
# end
|
28
|
-
# end
|
29
|
-
attr_accessor :allow_message_expectations_on_nil
|
30
|
-
|
31
|
-
def yield_receiver_to_any_instance_implementation_blocks?
|
32
|
-
@yield_receiver_to_any_instance_implementation_blocks
|
33
|
-
end
|
34
|
-
|
35
|
-
# Sets whether or not RSpec will yield the receiving instance of a
|
36
|
-
# message to blocks that are used for any_instance stub implementations.
|
37
|
-
# When set, the first yielded argument will be the receiving instance.
|
38
|
-
# Defaults to `true`.
|
39
|
-
#
|
40
|
-
# @example
|
41
|
-
# RSpec.configure do |rspec|
|
42
|
-
# rspec.mock_with :rspec do |mocks|
|
43
|
-
# mocks.yield_receiver_to_any_instance_implementation_blocks = false
|
44
|
-
# end
|
45
|
-
# end
|
46
|
-
attr_writer :yield_receiver_to_any_instance_implementation_blocks
|
47
|
-
|
48
|
-
# Adds `stub` and `should_receive` to the given
|
49
|
-
# modules or classes. This is usually only necessary
|
50
|
-
# if you application uses some proxy classes that
|
51
|
-
# "strip themselves down" to a bare minimum set of
|
52
|
-
# methods and remove `stub` and `should_receive` in
|
53
|
-
# the process.
|
54
|
-
#
|
55
|
-
# @example
|
56
|
-
# RSpec.configure do |rspec|
|
57
|
-
# rspec.mock_with :rspec do |mocks|
|
58
|
-
# mocks.add_stub_and_should_receive_to Delegator
|
59
|
-
# end
|
60
|
-
# end
|
61
|
-
#
|
62
|
-
def add_stub_and_should_receive_to(*modules)
|
63
|
-
modules.each do |mod|
|
64
|
-
Syntax.enable_should(mod)
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
# Provides the ability to set either `expect`,
|
69
|
-
# `should` or both syntaxes. RSpec uses `expect`
|
70
|
-
# syntax by default. This is needed if you want to
|
71
|
-
# explicitly enable `should` syntax and/or explicitly
|
72
|
-
# disable `expect` syntax.
|
73
|
-
#
|
74
|
-
# @example
|
75
|
-
# RSpec.configure do |rspec|
|
76
|
-
# rspec.mock_with :rspec do |mocks|
|
77
|
-
# mocks.syntax = [:expect, :should]
|
78
|
-
# end
|
79
|
-
# end
|
80
|
-
#
|
81
|
-
def syntax=(*values)
|
82
|
-
syntaxes = values.flatten
|
83
|
-
if syntaxes.include?(:expect)
|
84
|
-
Syntax.enable_expect
|
85
|
-
else
|
86
|
-
Syntax.disable_expect
|
87
|
-
end
|
88
|
-
|
89
|
-
if syntaxes.include?(:should)
|
90
|
-
Syntax.enable_should
|
91
|
-
else
|
92
|
-
Syntax.disable_should
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
# Returns an array with a list of syntaxes
|
97
|
-
# that are enabled.
|
98
|
-
#
|
99
|
-
# @example
|
100
|
-
# unless RSpec::Mocks.configuration.syntax.include?(:expect)
|
101
|
-
# raise "this RSpec extension gem requires the rspec-mocks `:expect` syntax"
|
102
|
-
# end
|
103
|
-
#
|
104
|
-
def syntax
|
105
|
-
syntaxes = []
|
106
|
-
syntaxes << :should if Syntax.should_enabled?
|
107
|
-
syntaxes << :expect if Syntax.expect_enabled?
|
108
|
-
syntaxes
|
109
|
-
end
|
110
|
-
|
111
|
-
def verify_doubled_constant_names?
|
112
|
-
!!@verify_doubled_constant_names
|
113
|
-
end
|
114
|
-
|
115
|
-
# When this is set to true, an error will be raised when
|
116
|
-
# `instance_double` or `class_double` is given the name of an undefined
|
117
|
-
# constant. You probably only want to set this when running your entire
|
118
|
-
# test suite, with all production code loaded. Setting this for an
|
119
|
-
# isolated unit test will prevent you from being able to isolate it!
|
120
|
-
attr_writer :verify_doubled_constant_names
|
121
|
-
|
122
|
-
# Provides a way to perform customisations when verifying doubles.
|
123
|
-
#
|
124
|
-
# @example
|
125
|
-
# RSpec::Mocks.configuration.before_verifying_doubles do |ref|
|
126
|
-
# ref.some_method!
|
127
|
-
# end
|
128
|
-
def before_verifying_doubles(&block)
|
129
|
-
verifying_double_callbacks << block
|
130
|
-
end
|
131
|
-
alias :when_declaring_verifying_double :before_verifying_doubles
|
132
|
-
|
133
|
-
# @api private
|
134
|
-
# Returns an array of blocks to call when verifying doubles
|
135
|
-
def verifying_double_callbacks
|
136
|
-
@verifying_double_callbacks ||= []
|
137
|
-
end
|
138
|
-
|
139
|
-
def transfer_nested_constants?
|
140
|
-
!!@transfer_nested_constants
|
141
|
-
end
|
142
|
-
|
143
|
-
# Sets the default for the `transfer_nested_constants` option when
|
144
|
-
# stubbing constants.
|
145
|
-
attr_writer :transfer_nested_constants
|
146
|
-
|
147
|
-
# When set to true, partial mocks will be verified the same as object
|
148
|
-
# doubles. Any stubs will have their arguments checked against the original
|
149
|
-
# method, and methods that do not exist cannot be stubbed.
|
150
|
-
def verify_partial_doubles=(val)
|
151
|
-
@verify_partial_doubles = !!val
|
152
|
-
end
|
153
|
-
|
154
|
-
def verify_partial_doubles?
|
155
|
-
@verify_partial_doubles
|
156
|
-
end
|
157
|
-
|
158
|
-
# @private
|
159
|
-
# Used to track wether we are temporarily suppressing verifying partial
|
160
|
-
# doubles with `without_partial_double_verification { ... }`
|
161
|
-
attr_accessor :temporarily_suppress_partial_double_verification
|
162
|
-
|
163
|
-
if ::RSpec.respond_to?(:configuration)
|
164
|
-
def color?
|
165
|
-
::RSpec.configuration.color_enabled?
|
166
|
-
end
|
167
|
-
else
|
168
|
-
# Indicates whether or not diffs should be colored.
|
169
|
-
# Delegates to rspec-core's color option if rspec-core
|
170
|
-
# is loaded; otherwise you can set it here.
|
171
|
-
attr_writer :color
|
172
|
-
|
173
|
-
# Indicates whether or not diffs should be colored.
|
174
|
-
# Delegates to rspec-core's color option if rspec-core
|
175
|
-
# is loaded; otherwise you can set it here.
|
176
|
-
def color?
|
177
|
-
@color
|
178
|
-
end
|
179
|
-
end
|
180
|
-
|
181
|
-
# Monkey-patch `Marshal.dump` to enable dumping of mocked or stubbed
|
182
|
-
# objects. By default this will not work since RSpec mocks works by
|
183
|
-
# adding singleton methods that cannot be serialized. This patch removes
|
184
|
-
# these singleton methods before serialization. Setting to falsey removes
|
185
|
-
# the patch.
|
186
|
-
#
|
187
|
-
# This method is idempotent.
|
188
|
-
def patch_marshal_to_support_partial_doubles=(val)
|
189
|
-
if val
|
190
|
-
RSpec::Mocks::MarshalExtension.patch!
|
191
|
-
else
|
192
|
-
RSpec::Mocks::MarshalExtension.unpatch!
|
193
|
-
end
|
194
|
-
end
|
195
|
-
|
196
|
-
# @api private
|
197
|
-
# Resets the configured syntax to the default.
|
198
|
-
def reset_syntaxes_to_default
|
199
|
-
self.syntax = [:should, :expect]
|
200
|
-
RSpec::Mocks::Syntax.warn_about_should!
|
201
|
-
end
|
202
|
-
end
|
203
|
-
|
204
|
-
# Mocks specific configuration, as distinct from `RSpec.configuration`
|
205
|
-
# which is core RSpec configuration.
|
206
|
-
def self.configuration
|
207
|
-
@configuration ||= Configuration.new
|
208
|
-
end
|
209
|
-
|
210
|
-
configuration.reset_syntaxes_to_default
|
211
|
-
end
|
212
|
-
end
|