qiita_org 0.1.35 → 0.1.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -2
- data/Gemfile.lock +15 -15
- data/lib/qiita_org/post.rb +64 -5
- data/lib/qiita_org/template.org +1 -1
- data/lib/qiita_org/version.rb +1 -1
- data/tests/tags_test.org +16 -0
- data/tests/tags_test2.org +16 -0
- metadata +4 -2430
- data/.bandle/ruby/2.7.0/bin/htmldiff +0 -29
- data/.bandle/ruby/2.7.0/bin/ldiff +0 -29
- data/.bandle/ruby/2.7.0/bin/qiita_org +0 -27
- data/.bandle/ruby/2.7.0/bin/rake +0 -27
- data/.bandle/ruby/2.7.0/bin/rspec +0 -27
- data/.bandle/ruby/2.7.0/bin/thor +0 -27
- data/.bandle/ruby/2.7.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rake-12.3.3.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-3.9.0.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-core-3.9.2.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-expectations-3.9.2.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-mocks-3.9.1.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/rspec-support-3.9.3.gem +0 -0
- data/.bandle/ruby/2.7.0/cache/thor-1.0.1.gem +0 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/.rspec +0 -1
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +0 -74
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Contributing.md +0 -118
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/History.md +0 -319
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/License.md +0 -39
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Manifest.txt +0 -45
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/README.rdoc +0 -84
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Rakefile +0 -74
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/autotest/discover.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/htmldiff +0 -35
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/ldiff +0 -9
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +0 -339
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/artistic.txt +0 -127
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +0 -739
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +0 -7
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +0 -9
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +0 -37
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +0 -325
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +0 -174
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +0 -150
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +0 -358
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +0 -304
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +0 -171
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +0 -5
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +0 -89
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +0 -51
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +0 -1
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +0 -1
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +0 -50
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +0 -51
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +0 -4
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +0 -7
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +0 -3
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +0 -3
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +0 -5
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +0 -83
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +0 -154
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +0 -56
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +0 -87
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +0 -416
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +0 -214
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +0 -375
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +0 -310
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +0 -139
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +0 -43
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/Gemfile +0 -3
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/History.rdoc +0 -2344
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/MIT-LICENSE +0 -21
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/README.rdoc +0 -156
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/Rakefile +0 -41
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/azure-pipelines.yml +0 -11
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/bundle +0 -105
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/console +0 -7
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rake +0 -29
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rdoc +0 -29
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rubocop +0 -29
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/setup +0 -6
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +0 -158
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile1 +0 -38
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile2 +0 -35
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/a.c +0 -6
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/b.c +0 -6
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/main.c +0 -11
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/glossary.rdoc +0 -42
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/jamis.rb +0 -592
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/proto_rake.rdoc +0 -127
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rake.1 +0 -156
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rakefile.rdoc +0 -622
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rational.rdoc +0 -151
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/exe/rake +0 -27
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake.rb +0 -71
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb +0 -824
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/backtrace.rb +0 -24
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/clean.rb +0 -78
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cloneable.rb +0 -17
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +0 -107
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/default_loader.rb +0 -15
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +0 -195
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/early_time.rb +0 -22
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/core.rb +0 -26
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/string.rb +0 -176
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +0 -25
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_list.rb +0 -435
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_task.rb +0 -54
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils.rb +0 -137
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +0 -145
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +0 -57
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +0 -17
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/late_time.rb +0 -18
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/linked_list.rb +0 -112
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +0 -54
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/multi_task.rb +0 -14
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/name_space.rb +0 -38
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/packagetask.rb +0 -207
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/phony.rb +0 -16
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/private_reader.rb +0 -21
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/promise.rb +0 -100
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +0 -30
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_module.rb +0 -67
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +0 -27
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/scope.rb +0 -43
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb +0 -413
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +0 -8
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +0 -109
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_manager.rb +0 -324
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/tasklib.rb +0 -12
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/testtask.rb +0 -224
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +0 -49
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +0 -163
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/trace_output.rb +0 -23
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/version.rb +0 -10
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/win32.rb +0 -51
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/rake.gemspec +0 -42
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/LICENSE.md +0 -27
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/README.md +0 -43
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec/version.rb +0 -5
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/.document +0 -5
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/.yardopts +0 -8
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/Changelog.md +0 -2291
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/LICENSE.md +0 -26
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/README.md +0 -384
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/exe/rspec +0 -4
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +0 -186
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +0 -65
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +0 -62
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +0 -173
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +0 -135
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +0 -61
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +0 -126
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +0 -73
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +0 -58
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +0 -2363
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +0 -233
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +0 -46
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +0 -113
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +0 -98
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +0 -656
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +0 -900
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +0 -235
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +0 -231
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +0 -20
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +0 -273
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -45
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +0 -70
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +0 -75
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -29
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -157
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +0 -68
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +0 -223
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +0 -102
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +0 -511
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +0 -23
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -28
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +0 -110
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +0 -153
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +0 -414
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -120
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +0 -102
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +0 -68
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +0 -29
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +0 -182
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +0 -134
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +0 -91
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +0 -641
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +0 -87
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +0 -554
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +0 -498
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +0 -255
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +0 -57
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +0 -14
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +0 -32
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +0 -521
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +0 -316
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +0 -158
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +0 -29
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +0 -165
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +0 -34
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +0 -48
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/.rspec +0 -1
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -100
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +0 -188
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +0 -265
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +0 -53
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +0 -204
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +0 -37
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +0 -54
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +0 -55
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +0 -271
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +0 -49
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +0 -30
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +0 -9
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +0 -40
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +0 -276
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/.document +0 -5
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/.yardopts +0 -6
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/Changelog.md +0 -1191
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/LICENSE.md +0 -25
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/README.md +0 -320
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +0 -82
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +0 -253
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +0 -215
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +0 -127
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +0 -39
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +0 -194
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +0 -170
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +0 -58
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +0 -132
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +0 -8
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +0 -1038
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +0 -116
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +0 -52
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +0 -86
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +0 -193
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +0 -288
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +0 -77
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +0 -26
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +0 -20
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +0 -72
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +0 -428
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +0 -276
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +0 -302
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +0 -24
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +0 -40
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +0 -34
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +0 -81
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +0 -90
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +0 -103
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +0 -114
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +0 -149
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +0 -106
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +0 -128
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +0 -200
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +0 -230
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +0 -199
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +0 -60
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -94
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +0 -132
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +0 -441
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +0 -171
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +0 -540
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +0 -58
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -82
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +0 -42
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +0 -41
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +0 -35
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +0 -99
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/.document +0 -5
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/.yardopts +0 -6
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/Changelog.md +0 -1133
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/LICENSE.md +0 -25
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/README.md +0 -463
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +0 -130
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +0 -11
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +0 -111
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -31
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -50
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +0 -83
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +0 -116
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +0 -294
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +0 -51
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -23
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +0 -100
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +0 -322
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +0 -212
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +0 -369
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +0 -434
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +0 -146
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +0 -41
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +0 -20
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +0 -134
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +0 -132
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -82
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +0 -77
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +0 -87
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +0 -751
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +0 -287
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +0 -202
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +0 -68
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +0 -339
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +0 -149
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +0 -81
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +0 -503
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +0 -238
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +0 -325
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +0 -124
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +0 -171
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +0 -129
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +0 -220
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +0 -9
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/Changelog.md +0 -302
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/LICENSE.md +0 -23
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/README.md +0 -40
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +0 -149
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +0 -83
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +0 -46
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +0 -215
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +0 -63
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +0 -161
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +0 -48
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +0 -47
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +0 -42
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +0 -438
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +0 -73
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +0 -275
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +0 -76
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +0 -61
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +0 -190
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +0 -75
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +0 -21
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +0 -110
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +0 -87
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +0 -81
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +0 -64
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +0 -9
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +0 -69
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +0 -150
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +0 -89
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +0 -75
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +0 -46
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +0 -13
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +0 -13
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +0 -7
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +0 -39
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +0 -33
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/.document +0 -5
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/CHANGELOG.md +0 -220
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/CONTRIBUTING.md +0 -15
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/LICENSE.md +0 -20
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/README.md +0 -51
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/bin/thor +0 -6
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb +0 -517
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions.rb +0 -336
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_file.rb +0 -104
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_link.rb +0 -61
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/directory.rb +0 -108
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/empty_directory.rb +0 -143
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/file_manipulation.rb +0 -373
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/inject_into_file.rb +0 -120
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/base.rb +0 -699
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb +0 -142
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -97
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/error.rb +0 -110
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/group.rb +0 -281
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb +0 -178
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor.rb +0 -17
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/basic.rb +0 -37
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/readline.rb +0 -88
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/nested_context.rb +0 -29
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser.rb +0 -4
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/argument.rb +0 -70
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/arguments.rb +0 -175
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/option.rb +0 -159
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/options.rb +0 -236
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/rake_compat.rb +0 -72
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/runner.rb +0 -325
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell.rb +0 -81
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/basic.rb +0 -491
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/color.rb +0 -153
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/html.rb +0 -126
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/util.rb +0 -284
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/version.rb +0 -3
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/thor.gemspec +0 -28
- data/.bandle/ruby/2.7.0/specifications/diff-lcs-1.4.4.gemspec +0 -50
- data/.bandle/ruby/2.7.0/specifications/rake-12.3.3.gemspec +0 -43
- data/.bandle/ruby/2.7.0/specifications/rspec-3.9.0.gemspec +0 -39
- data/.bandle/ruby/2.7.0/specifications/rspec-core-3.9.2.gemspec +0 -53
- data/.bandle/ruby/2.7.0/specifications/rspec-expectations-3.9.2.gemspec +0 -44
- data/.bandle/ruby/2.7.0/specifications/rspec-mocks-3.9.1.gemspec +0 -44
- data/.bandle/ruby/2.7.0/specifications/rspec-support-3.9.3.gemspec +0 -36
- data/.bandle/ruby/2.7.0/specifications/thor-1.0.1.gemspec +0 -34
@@ -1,521 +0,0 @@
|
|
1
|
-
RSpec::Support.require_rspec_core "formatters/console_codes"
|
2
|
-
RSpec::Support.require_rspec_core "formatters/exception_presenter"
|
3
|
-
RSpec::Support.require_rspec_core "formatters/helpers"
|
4
|
-
RSpec::Support.require_rspec_core "shell_escape"
|
5
|
-
|
6
|
-
module RSpec::Core
|
7
|
-
# Notifications are value objects passed to formatters to provide them
|
8
|
-
# with information about a particular event of interest.
|
9
|
-
module Notifications
|
10
|
-
# @private
|
11
|
-
module NullColorizer
|
12
|
-
module_function
|
13
|
-
|
14
|
-
def wrap(line, _code_or_symbol)
|
15
|
-
line
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
# The `StartNotification` represents a notification sent by the reporter
|
20
|
-
# when the suite is started. It contains the expected amount of examples
|
21
|
-
# to be executed, and the load time of RSpec.
|
22
|
-
#
|
23
|
-
# @attr count [Fixnum] the number counted
|
24
|
-
# @attr load_time [Float] the number of seconds taken to boot RSpec
|
25
|
-
# and load the spec files
|
26
|
-
StartNotification = Struct.new(:count, :load_time)
|
27
|
-
|
28
|
-
# The `ExampleNotification` represents notifications sent by the reporter
|
29
|
-
# which contain information about the current (or soon to be) example.
|
30
|
-
# It is used by formatters to access information about that example.
|
31
|
-
#
|
32
|
-
# @example
|
33
|
-
# def example_started(notification)
|
34
|
-
# puts "Hey I started #{notification.example.description}"
|
35
|
-
# end
|
36
|
-
#
|
37
|
-
# @attr example [RSpec::Core::Example] the current example
|
38
|
-
ExampleNotification = Struct.new(:example)
|
39
|
-
class ExampleNotification
|
40
|
-
# @private
|
41
|
-
def self.for(example)
|
42
|
-
execution_result = example.execution_result
|
43
|
-
|
44
|
-
return SkippedExampleNotification.new(example) if execution_result.example_skipped?
|
45
|
-
return new(example) unless execution_result.status == :pending || execution_result.status == :failed
|
46
|
-
|
47
|
-
klass = if execution_result.pending_fixed?
|
48
|
-
PendingExampleFixedNotification
|
49
|
-
elsif execution_result.status == :pending
|
50
|
-
PendingExampleFailedAsExpectedNotification
|
51
|
-
else
|
52
|
-
FailedExampleNotification
|
53
|
-
end
|
54
|
-
|
55
|
-
klass.new(example)
|
56
|
-
end
|
57
|
-
|
58
|
-
private_class_method :new
|
59
|
-
end
|
60
|
-
|
61
|
-
# The `ExamplesNotification` represents notifications sent by the reporter
|
62
|
-
# which contain information about the suites examples.
|
63
|
-
#
|
64
|
-
# @example
|
65
|
-
# def stop(notification)
|
66
|
-
# puts "Hey I ran #{notification.examples.size}"
|
67
|
-
# end
|
68
|
-
#
|
69
|
-
class ExamplesNotification
|
70
|
-
def initialize(reporter)
|
71
|
-
@reporter = reporter
|
72
|
-
end
|
73
|
-
|
74
|
-
# @return [Array<RSpec::Core::Example>] list of examples
|
75
|
-
def examples
|
76
|
-
@reporter.examples
|
77
|
-
end
|
78
|
-
|
79
|
-
# @return [Array<RSpec::Core::Example>] list of failed examples
|
80
|
-
def failed_examples
|
81
|
-
@reporter.failed_examples
|
82
|
-
end
|
83
|
-
|
84
|
-
# @return [Array<RSpec::Core::Example>] list of pending examples
|
85
|
-
def pending_examples
|
86
|
-
@reporter.pending_examples
|
87
|
-
end
|
88
|
-
|
89
|
-
# @return [Array<RSpec::Core::Notifications::ExampleNotification>]
|
90
|
-
# returns examples as notifications
|
91
|
-
def notifications
|
92
|
-
@notifications ||= format_examples(examples)
|
93
|
-
end
|
94
|
-
|
95
|
-
# @return [Array<RSpec::Core::Notifications::FailedExampleNotification>]
|
96
|
-
# returns failed examples as notifications
|
97
|
-
def failure_notifications
|
98
|
-
@failed_notifications ||= format_examples(failed_examples)
|
99
|
-
end
|
100
|
-
|
101
|
-
# @return [Array<RSpec::Core::Notifications::SkippedExampleNotification,
|
102
|
-
# RSpec::Core::Notifications::PendingExampleFailedAsExpectedNotification>]
|
103
|
-
# returns pending examples as notifications
|
104
|
-
def pending_notifications
|
105
|
-
@pending_notifications ||= format_examples(pending_examples)
|
106
|
-
end
|
107
|
-
|
108
|
-
# @return [String] The list of failed examples, fully formatted in the way
|
109
|
-
# that RSpec's built-in formatters emit.
|
110
|
-
def fully_formatted_failed_examples(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
111
|
-
formatted = "\nFailures:\n"
|
112
|
-
|
113
|
-
failure_notifications.each_with_index do |failure, index|
|
114
|
-
formatted += failure.fully_formatted(index.next, colorizer)
|
115
|
-
end
|
116
|
-
|
117
|
-
formatted
|
118
|
-
end
|
119
|
-
|
120
|
-
# @return [String] The list of pending examples, fully formatted in the
|
121
|
-
# way that RSpec's built-in formatters emit.
|
122
|
-
def fully_formatted_pending_examples(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
123
|
-
formatted = "\nPending: (Failures listed here are expected and do not affect your suite's status)\n".dup
|
124
|
-
|
125
|
-
pending_notifications.each_with_index do |notification, index|
|
126
|
-
formatted << notification.fully_formatted(index.next, colorizer)
|
127
|
-
end
|
128
|
-
|
129
|
-
formatted
|
130
|
-
end
|
131
|
-
|
132
|
-
private
|
133
|
-
|
134
|
-
def format_examples(examples)
|
135
|
-
examples.map do |example|
|
136
|
-
ExampleNotification.for(example)
|
137
|
-
end
|
138
|
-
end
|
139
|
-
end
|
140
|
-
|
141
|
-
# The `FailedExampleNotification` extends `ExampleNotification` with
|
142
|
-
# things useful for examples that have failure info -- typically a
|
143
|
-
# failed or pending spec.
|
144
|
-
#
|
145
|
-
# @example
|
146
|
-
# def example_failed(notification)
|
147
|
-
# puts "Hey I failed :("
|
148
|
-
# puts "Here's my stack trace"
|
149
|
-
# puts notification.exception.backtrace.join("\n")
|
150
|
-
# end
|
151
|
-
#
|
152
|
-
# @attr [RSpec::Core::Example] example the current example
|
153
|
-
# @see ExampleNotification
|
154
|
-
class FailedExampleNotification < ExampleNotification
|
155
|
-
public_class_method :new
|
156
|
-
|
157
|
-
# @return [Exception] The example failure
|
158
|
-
def exception
|
159
|
-
@exception_presenter.exception
|
160
|
-
end
|
161
|
-
|
162
|
-
# @return [String] The example description
|
163
|
-
def description
|
164
|
-
@exception_presenter.description
|
165
|
-
end
|
166
|
-
|
167
|
-
# Returns the message generated for this failure line by line.
|
168
|
-
#
|
169
|
-
# @return [Array<String>] The example failure message
|
170
|
-
def message_lines
|
171
|
-
@exception_presenter.message_lines
|
172
|
-
end
|
173
|
-
|
174
|
-
# Returns the message generated for this failure colorized line by line.
|
175
|
-
#
|
176
|
-
# @param colorizer [#wrap] An object to colorize the message_lines by
|
177
|
-
# @return [Array<String>] The example failure message colorized
|
178
|
-
def colorized_message_lines(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
179
|
-
@exception_presenter.colorized_message_lines(colorizer)
|
180
|
-
end
|
181
|
-
|
182
|
-
# Returns the failures formatted backtrace.
|
183
|
-
#
|
184
|
-
# @return [Array<String>] the examples backtrace lines
|
185
|
-
def formatted_backtrace
|
186
|
-
@exception_presenter.formatted_backtrace
|
187
|
-
end
|
188
|
-
|
189
|
-
# Returns the failures colorized formatted backtrace.
|
190
|
-
#
|
191
|
-
# @param colorizer [#wrap] An object to colorize the message_lines by
|
192
|
-
# @return [Array<String>] the examples colorized backtrace lines
|
193
|
-
def colorized_formatted_backtrace(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
194
|
-
@exception_presenter.colorized_formatted_backtrace(colorizer)
|
195
|
-
end
|
196
|
-
|
197
|
-
# @return [String] The failure information fully formatted in the way that
|
198
|
-
# RSpec's built-in formatters emit.
|
199
|
-
def fully_formatted(failure_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
200
|
-
@exception_presenter.fully_formatted(failure_number, colorizer)
|
201
|
-
end
|
202
|
-
|
203
|
-
# @return [Array<string>] The failure information fully formatted in the way that
|
204
|
-
# RSpec's built-in formatters emit, split by line.
|
205
|
-
def fully_formatted_lines(failure_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
206
|
-
@exception_presenter.fully_formatted_lines(failure_number, colorizer)
|
207
|
-
end
|
208
|
-
|
209
|
-
private
|
210
|
-
|
211
|
-
def initialize(example, exception_presenter=Formatters::ExceptionPresenter::Factory.new(example).build)
|
212
|
-
@exception_presenter = exception_presenter
|
213
|
-
super(example)
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
|
-
# @deprecated Use {FailedExampleNotification} instead.
|
218
|
-
class PendingExampleFixedNotification < FailedExampleNotification; end
|
219
|
-
|
220
|
-
# @deprecated Use {FailedExampleNotification} instead.
|
221
|
-
class PendingExampleFailedAsExpectedNotification < FailedExampleNotification; end
|
222
|
-
|
223
|
-
# The `SkippedExampleNotification` extends `ExampleNotification` with
|
224
|
-
# things useful for specs that are skipped.
|
225
|
-
#
|
226
|
-
# @attr [RSpec::Core::Example] example the current example
|
227
|
-
# @see ExampleNotification
|
228
|
-
class SkippedExampleNotification < ExampleNotification
|
229
|
-
public_class_method :new
|
230
|
-
|
231
|
-
# @return [String] The pending detail fully formatted in the way that
|
232
|
-
# RSpec's built-in formatters emit.
|
233
|
-
def fully_formatted(pending_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
234
|
-
formatted_caller = RSpec.configuration.backtrace_formatter.backtrace_line(example.location)
|
235
|
-
|
236
|
-
[
|
237
|
-
colorizer.wrap("\n #{pending_number}) #{example.full_description}", :pending),
|
238
|
-
"\n ",
|
239
|
-
Formatters::ExceptionPresenter::PENDING_DETAIL_FORMATTER.call(example, colorizer),
|
240
|
-
"\n",
|
241
|
-
colorizer.wrap(" # #{formatted_caller}\n", :detail)
|
242
|
-
].join("")
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
|
-
# The `GroupNotification` represents notifications sent by the reporter
|
247
|
-
# which contain information about the currently running (or soon to be)
|
248
|
-
# example group. It is used by formatters to access information about that
|
249
|
-
# group.
|
250
|
-
#
|
251
|
-
# @example
|
252
|
-
# def example_group_started(notification)
|
253
|
-
# puts "Hey I started #{notification.group.description}"
|
254
|
-
# end
|
255
|
-
# @attr group [RSpec::Core::ExampleGroup] the current group
|
256
|
-
GroupNotification = Struct.new(:group)
|
257
|
-
|
258
|
-
# The `MessageNotification` encapsulates generic messages that the reporter
|
259
|
-
# sends to formatters.
|
260
|
-
#
|
261
|
-
# @attr message [String] the message
|
262
|
-
MessageNotification = Struct.new(:message)
|
263
|
-
|
264
|
-
# The `SeedNotification` holds the seed used to randomize examples and
|
265
|
-
# whether that seed has been used or not.
|
266
|
-
#
|
267
|
-
# @attr seed [Fixnum] the seed used to randomize ordering
|
268
|
-
# @attr used [Boolean] whether the seed has been used or not
|
269
|
-
SeedNotification = Struct.new(:seed, :used)
|
270
|
-
class SeedNotification
|
271
|
-
# @api
|
272
|
-
# @return [Boolean] has the seed been used?
|
273
|
-
def seed_used?
|
274
|
-
!!used
|
275
|
-
end
|
276
|
-
private :used
|
277
|
-
|
278
|
-
# @return [String] The seed information fully formatted in the way that
|
279
|
-
# RSpec's built-in formatters emit.
|
280
|
-
def fully_formatted
|
281
|
-
"\nRandomized with seed #{seed}\n"
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
# The `SummaryNotification` holds information about the results of running
|
286
|
-
# a test suite. It is used by formatters to provide information at the end
|
287
|
-
# of the test run.
|
288
|
-
#
|
289
|
-
# @attr duration [Float] the time taken (in seconds) to run the suite
|
290
|
-
# @attr examples [Array<RSpec::Core::Example>] the examples run
|
291
|
-
# @attr failed_examples [Array<RSpec::Core::Example>] the failed examples
|
292
|
-
# @attr pending_examples [Array<RSpec::Core::Example>] the pending examples
|
293
|
-
# @attr load_time [Float] the number of seconds taken to boot RSpec
|
294
|
-
# and load the spec files
|
295
|
-
# @attr errors_outside_of_examples_count [Integer] the number of errors that
|
296
|
-
# have occurred processing
|
297
|
-
# the spec suite
|
298
|
-
SummaryNotification = Struct.new(:duration, :examples, :failed_examples,
|
299
|
-
:pending_examples, :load_time,
|
300
|
-
:errors_outside_of_examples_count)
|
301
|
-
class SummaryNotification
|
302
|
-
# @api
|
303
|
-
# @return [Fixnum] the number of examples run
|
304
|
-
def example_count
|
305
|
-
@example_count ||= examples.size
|
306
|
-
end
|
307
|
-
|
308
|
-
# @api
|
309
|
-
# @return [Fixnum] the number of failed examples
|
310
|
-
def failure_count
|
311
|
-
@failure_count ||= failed_examples.size
|
312
|
-
end
|
313
|
-
|
314
|
-
# @api
|
315
|
-
# @return [Fixnum] the number of pending examples
|
316
|
-
def pending_count
|
317
|
-
@pending_count ||= pending_examples.size
|
318
|
-
end
|
319
|
-
|
320
|
-
# @api
|
321
|
-
# @return [String] A line summarising the result totals of the spec run.
|
322
|
-
def totals_line
|
323
|
-
summary = Formatters::Helpers.pluralize(example_count, "example") +
|
324
|
-
", " + Formatters::Helpers.pluralize(failure_count, "failure")
|
325
|
-
summary += ", #{pending_count} pending" if pending_count > 0
|
326
|
-
if errors_outside_of_examples_count > 0
|
327
|
-
summary += (
|
328
|
-
", " +
|
329
|
-
Formatters::Helpers.pluralize(errors_outside_of_examples_count, "error") +
|
330
|
-
" occurred outside of examples"
|
331
|
-
)
|
332
|
-
end
|
333
|
-
summary
|
334
|
-
end
|
335
|
-
|
336
|
-
# @api public
|
337
|
-
#
|
338
|
-
# Wraps the results line with colors based on the configured
|
339
|
-
# colors for failure, pending, and success. Defaults to red,
|
340
|
-
# yellow, green accordingly.
|
341
|
-
#
|
342
|
-
# @param colorizer [#wrap] An object which supports wrapping text with
|
343
|
-
# specific colors.
|
344
|
-
# @return [String] A colorized results line.
|
345
|
-
def colorized_totals_line(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
346
|
-
if failure_count > 0 || errors_outside_of_examples_count > 0
|
347
|
-
colorizer.wrap(totals_line, RSpec.configuration.failure_color)
|
348
|
-
elsif pending_count > 0
|
349
|
-
colorizer.wrap(totals_line, RSpec.configuration.pending_color)
|
350
|
-
else
|
351
|
-
colorizer.wrap(totals_line, RSpec.configuration.success_color)
|
352
|
-
end
|
353
|
-
end
|
354
|
-
|
355
|
-
# @api public
|
356
|
-
#
|
357
|
-
# Formats failures into a rerunable command format.
|
358
|
-
#
|
359
|
-
# @param colorizer [#wrap] An object which supports wrapping text with
|
360
|
-
# specific colors.
|
361
|
-
# @return [String] A colorized summary line.
|
362
|
-
def colorized_rerun_commands(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
363
|
-
"\nFailed examples:\n\n" +
|
364
|
-
failed_examples.map do |example|
|
365
|
-
colorizer.wrap("rspec #{rerun_argument_for(example)}", RSpec.configuration.failure_color) + " " +
|
366
|
-
colorizer.wrap("# #{example.full_description}", RSpec.configuration.detail_color)
|
367
|
-
end.join("\n")
|
368
|
-
end
|
369
|
-
|
370
|
-
# @return [String] a formatted version of the time it took to run the
|
371
|
-
# suite
|
372
|
-
def formatted_duration
|
373
|
-
Formatters::Helpers.format_duration(duration)
|
374
|
-
end
|
375
|
-
|
376
|
-
# @return [String] a formatted version of the time it took to boot RSpec
|
377
|
-
# and load the spec files
|
378
|
-
def formatted_load_time
|
379
|
-
Formatters::Helpers.format_duration(load_time)
|
380
|
-
end
|
381
|
-
|
382
|
-
# @return [String] The summary information fully formatted in the way that
|
383
|
-
# RSpec's built-in formatters emit.
|
384
|
-
def fully_formatted(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
|
385
|
-
formatted = "\nFinished in #{formatted_duration} " \
|
386
|
-
"(files took #{formatted_load_time} to load)\n" \
|
387
|
-
"#{colorized_totals_line(colorizer)}\n"
|
388
|
-
|
389
|
-
unless failed_examples.empty?
|
390
|
-
formatted += (colorized_rerun_commands(colorizer) + "\n")
|
391
|
-
end
|
392
|
-
|
393
|
-
formatted
|
394
|
-
end
|
395
|
-
|
396
|
-
private
|
397
|
-
|
398
|
-
include RSpec::Core::ShellEscape
|
399
|
-
|
400
|
-
def rerun_argument_for(example)
|
401
|
-
location = example.location_rerun_argument
|
402
|
-
return location unless duplicate_rerun_locations.include?(location)
|
403
|
-
conditionally_quote(example.id)
|
404
|
-
end
|
405
|
-
|
406
|
-
def duplicate_rerun_locations
|
407
|
-
@duplicate_rerun_locations ||= begin
|
408
|
-
locations = RSpec.world.all_examples.map(&:location_rerun_argument)
|
409
|
-
|
410
|
-
Set.new.tap do |s|
|
411
|
-
locations.group_by { |l| l }.each do |l, ls|
|
412
|
-
s << l if ls.count > 1
|
413
|
-
end
|
414
|
-
end
|
415
|
-
end
|
416
|
-
end
|
417
|
-
end
|
418
|
-
|
419
|
-
# The `ProfileNotification` holds information about the results of running a
|
420
|
-
# test suite when profiling is enabled. It is used by formatters to provide
|
421
|
-
# information at the end of the test run for profiling information.
|
422
|
-
#
|
423
|
-
# @attr duration [Float] the time taken (in seconds) to run the suite
|
424
|
-
# @attr examples [Array<RSpec::Core::Example>] the examples run
|
425
|
-
# @attr number_of_examples [Fixnum] the number of examples to profile
|
426
|
-
# @attr example_groups [Array<RSpec::Core::Profiler>] example groups run
|
427
|
-
class ProfileNotification
|
428
|
-
def initialize(duration, examples, number_of_examples, example_groups)
|
429
|
-
@duration = duration
|
430
|
-
@examples = examples
|
431
|
-
@number_of_examples = number_of_examples
|
432
|
-
@example_groups = example_groups
|
433
|
-
end
|
434
|
-
attr_reader :duration, :examples, :number_of_examples
|
435
|
-
|
436
|
-
# @return [Array<RSpec::Core::Example>] the slowest examples
|
437
|
-
def slowest_examples
|
438
|
-
@slowest_examples ||=
|
439
|
-
examples.sort_by do |example|
|
440
|
-
-example.execution_result.run_time
|
441
|
-
end.first(number_of_examples)
|
442
|
-
end
|
443
|
-
|
444
|
-
# @return [Float] the time taken (in seconds) to run the slowest examples
|
445
|
-
def slow_duration
|
446
|
-
@slow_duration ||=
|
447
|
-
slowest_examples.inject(0.0) do |i, e|
|
448
|
-
i + e.execution_result.run_time
|
449
|
-
end
|
450
|
-
end
|
451
|
-
|
452
|
-
# @return [String] the percentage of total time taken
|
453
|
-
def percentage
|
454
|
-
@percentage ||=
|
455
|
-
begin
|
456
|
-
time_taken = slow_duration / duration
|
457
|
-
'%.1f' % ((time_taken.nan? ? 0.0 : time_taken) * 100)
|
458
|
-
end
|
459
|
-
end
|
460
|
-
|
461
|
-
# @return [Array<RSpec::Core::Example>] the slowest example groups
|
462
|
-
def slowest_groups
|
463
|
-
@slowest_groups ||= calculate_slowest_groups
|
464
|
-
end
|
465
|
-
|
466
|
-
private
|
467
|
-
|
468
|
-
def calculate_slowest_groups
|
469
|
-
# stop if we've only one example group
|
470
|
-
return {} if @example_groups.keys.length <= 1
|
471
|
-
|
472
|
-
@example_groups.each_value do |hash|
|
473
|
-
hash[:average] = hash[:total_time].to_f / hash[:count]
|
474
|
-
end
|
475
|
-
|
476
|
-
groups = @example_groups.sort_by { |_, hash| -hash[:average] }.first(number_of_examples)
|
477
|
-
groups.map { |group, data| [group.location, data] }
|
478
|
-
end
|
479
|
-
end
|
480
|
-
|
481
|
-
# The `DeprecationNotification` is issued by the reporter when a deprecated
|
482
|
-
# part of RSpec is encountered. It represents information about the
|
483
|
-
# deprecated call site.
|
484
|
-
#
|
485
|
-
# @attr message [String] A custom message about the deprecation
|
486
|
-
# @attr deprecated [String] A custom message about the deprecation (alias of
|
487
|
-
# message)
|
488
|
-
# @attr replacement [String] An optional replacement for the deprecation
|
489
|
-
# @attr call_site [String] An optional call site from which the deprecation
|
490
|
-
# was issued
|
491
|
-
DeprecationNotification = Struct.new(:deprecated, :message, :replacement, :call_site)
|
492
|
-
class DeprecationNotification
|
493
|
-
private_class_method :new
|
494
|
-
|
495
|
-
# @api
|
496
|
-
# Convenience way to initialize the notification
|
497
|
-
def self.from_hash(data)
|
498
|
-
new data[:deprecated], data[:message], data[:replacement], data[:call_site]
|
499
|
-
end
|
500
|
-
end
|
501
|
-
|
502
|
-
# `NullNotification` represents a placeholder value for notifications that
|
503
|
-
# currently require no information, but we may wish to extend in future.
|
504
|
-
class NullNotification
|
505
|
-
end
|
506
|
-
|
507
|
-
# `CustomNotification` is used when sending custom events to formatters /
|
508
|
-
# other registered listeners, it creates attributes based on supplied hash
|
509
|
-
# of options.
|
510
|
-
class CustomNotification < Struct
|
511
|
-
# @param options [Hash] A hash of method / value pairs to create on this notification
|
512
|
-
# @return [CustomNotification]
|
513
|
-
#
|
514
|
-
# Build a custom notification based on the supplied option key / values.
|
515
|
-
def self.for(options={})
|
516
|
-
return NullNotification if options.keys.empty?
|
517
|
-
new(*options.keys).new(*options.values)
|
518
|
-
end
|
519
|
-
end
|
520
|
-
end
|
521
|
-
end
|