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,214 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
describe 'Diff::LCS.sdiff' do
|
6
|
-
include Diff::LCS::SpecHelper::Matchers
|
7
|
-
|
8
|
-
shared_examples 'compare sequences correctly' do
|
9
|
-
it 'compares s1 -> s2 correctly' do
|
10
|
-
expect(Diff::LCS.sdiff(s1, s2)).to eq(context_diff(result))
|
11
|
-
end
|
12
|
-
|
13
|
-
it 'compares s2 -> s1 correctly' do
|
14
|
-
expect(Diff::LCS.sdiff(s2, s1)).to eq(context_diff(reverse_sdiff(result)))
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
describe 'using seq1 & seq2' do
|
19
|
-
let(:s1) { seq1 }
|
20
|
-
let(:s2) { seq2 }
|
21
|
-
let(:result) { correct_forward_sdiff }
|
22
|
-
|
23
|
-
it_has_behavior 'compare sequences correctly'
|
24
|
-
end
|
25
|
-
|
26
|
-
describe 'using %w(abc def yyy xxx ghi jkl) & %w(abc dxf xxx ghi jkl)' do
|
27
|
-
let(:s1) { %w(abc def yyy xxx ghi jkl) }
|
28
|
-
let(:s2) { %w(abc dxf xxx ghi jkl) }
|
29
|
-
let(:result) {
|
30
|
-
[
|
31
|
-
['=', [0, 'abc'], [0, 'abc']],
|
32
|
-
['!', [1, 'def'], [1, 'dxf']],
|
33
|
-
['-', [2, 'yyy'], [2, nil]],
|
34
|
-
['=', [3, 'xxx'], [2, 'xxx']],
|
35
|
-
['=', [4, 'ghi'], [3, 'ghi']],
|
36
|
-
['=', [5, 'jkl'], [4, 'jkl']]
|
37
|
-
]
|
38
|
-
}
|
39
|
-
|
40
|
-
it_has_behavior 'compare sequences correctly'
|
41
|
-
end
|
42
|
-
|
43
|
-
describe 'using %w(a b c d e) & %w(a e)' do
|
44
|
-
let(:s1) { %w(a b c d e) }
|
45
|
-
let(:s2) { %w(a e) }
|
46
|
-
let(:result) {
|
47
|
-
[
|
48
|
-
['=', [0, 'a'], [0, 'a']],
|
49
|
-
['-', [1, 'b'], [1, nil]],
|
50
|
-
['-', [2, 'c'], [1, nil]],
|
51
|
-
['-', [3, 'd'], [1, nil]],
|
52
|
-
['=', [4, 'e'], [1, 'e']]
|
53
|
-
]
|
54
|
-
}
|
55
|
-
|
56
|
-
it_has_behavior 'compare sequences correctly'
|
57
|
-
end
|
58
|
-
|
59
|
-
describe 'using %w(a e) & %w(a b c d e)' do
|
60
|
-
let(:s1) { %w(a e) }
|
61
|
-
let(:s2) { %w(a b c d e) }
|
62
|
-
let(:result) {
|
63
|
-
[
|
64
|
-
['=', [0, 'a'], [0, 'a']],
|
65
|
-
['+', [1, nil], [1, 'b']],
|
66
|
-
['+', [1, nil], [2, 'c']],
|
67
|
-
['+', [1, nil], [3, 'd']],
|
68
|
-
['=', [1, 'e'], [4, 'e']]
|
69
|
-
]
|
70
|
-
}
|
71
|
-
|
72
|
-
it_has_behavior 'compare sequences correctly'
|
73
|
-
end
|
74
|
-
|
75
|
-
describe 'using %w(v x a e) & %w(w y a b c d e)' do
|
76
|
-
let(:s1) { %w(v x a e) }
|
77
|
-
let(:s2) { %w(w y a b c d e) }
|
78
|
-
let(:result) {
|
79
|
-
[
|
80
|
-
['!', [0, 'v'], [0, 'w']],
|
81
|
-
['!', [1, 'x'], [1, 'y']],
|
82
|
-
['=', [2, 'a'], [2, 'a']],
|
83
|
-
['+', [3, nil], [3, 'b']],
|
84
|
-
['+', [3, nil], [4, 'c']],
|
85
|
-
['+', [3, nil], [5, 'd']],
|
86
|
-
['=', [3, 'e'], [6, 'e']]
|
87
|
-
]
|
88
|
-
}
|
89
|
-
|
90
|
-
it_has_behavior 'compare sequences correctly'
|
91
|
-
end
|
92
|
-
|
93
|
-
describe 'using %w(x a e) & %w(a b c d e)' do
|
94
|
-
let(:s1) { %w(x a e) }
|
95
|
-
let(:s2) { %w(a b c d e) }
|
96
|
-
let(:result) {
|
97
|
-
[
|
98
|
-
['-', [0, 'x'], [0, nil]],
|
99
|
-
['=', [1, 'a'], [0, 'a']],
|
100
|
-
['+', [2, nil], [1, 'b']],
|
101
|
-
['+', [2, nil], [2, 'c']],
|
102
|
-
['+', [2, nil], [3, 'd']],
|
103
|
-
['=', [2, 'e'], [4, 'e']]
|
104
|
-
]
|
105
|
-
}
|
106
|
-
|
107
|
-
it_has_behavior 'compare sequences correctly'
|
108
|
-
end
|
109
|
-
|
110
|
-
describe 'using %w(a e) & %w(x a b c d e)' do
|
111
|
-
let(:s1) { %w(a e) }
|
112
|
-
let(:s2) { %w(x a b c d e) }
|
113
|
-
let(:result) {
|
114
|
-
[
|
115
|
-
['+', [0, nil], [0, 'x']],
|
116
|
-
['=', [0, 'a'], [1, 'a']],
|
117
|
-
['+', [1, nil], [2, 'b']],
|
118
|
-
['+', [1, nil], [3, 'c']],
|
119
|
-
['+', [1, nil], [4, 'd']],
|
120
|
-
['=', [1, 'e'], [5, 'e']]
|
121
|
-
]
|
122
|
-
}
|
123
|
-
|
124
|
-
it_has_behavior 'compare sequences correctly'
|
125
|
-
end
|
126
|
-
|
127
|
-
describe 'using %w(a e v) & %w(x a b c d e w x)' do
|
128
|
-
let(:s1) { %w(a e v) }
|
129
|
-
let(:s2) { %w(x a b c d e w x) }
|
130
|
-
let(:result) {
|
131
|
-
[
|
132
|
-
['+', [0, nil], [0, 'x']],
|
133
|
-
['=', [0, 'a'], [1, 'a']],
|
134
|
-
['+', [1, nil], [2, 'b']],
|
135
|
-
['+', [1, nil], [3, 'c']],
|
136
|
-
['+', [1, nil], [4, 'd']],
|
137
|
-
['=', [1, 'e'], [5, 'e']],
|
138
|
-
['!', [2, 'v'], [6, 'w']],
|
139
|
-
['+', [3, nil], [7, 'x']]
|
140
|
-
]
|
141
|
-
}
|
142
|
-
|
143
|
-
it_has_behavior 'compare sequences correctly'
|
144
|
-
end
|
145
|
-
|
146
|
-
describe 'using %w() & %w(a b c)' do
|
147
|
-
let(:s1) { %w() }
|
148
|
-
let(:s2) { %w(a b c) }
|
149
|
-
let(:result) {
|
150
|
-
[
|
151
|
-
['+', [0, nil], [0, 'a']],
|
152
|
-
['+', [0, nil], [1, 'b']],
|
153
|
-
['+', [0, nil], [2, 'c']]
|
154
|
-
]
|
155
|
-
}
|
156
|
-
|
157
|
-
it_has_behavior 'compare sequences correctly'
|
158
|
-
end
|
159
|
-
|
160
|
-
describe 'using %w(a b c) & %w(1)' do
|
161
|
-
let(:s1) { %w(a b c) }
|
162
|
-
let(:s2) { %w(1) }
|
163
|
-
let(:result) {
|
164
|
-
[
|
165
|
-
['!', [0, 'a'], [0, '1']],
|
166
|
-
['-', [1, 'b'], [1, nil]],
|
167
|
-
['-', [2, 'c'], [1, nil]]
|
168
|
-
]
|
169
|
-
}
|
170
|
-
|
171
|
-
it_has_behavior 'compare sequences correctly'
|
172
|
-
end
|
173
|
-
|
174
|
-
describe 'using %w(a b c) & %w(c)' do
|
175
|
-
let(:s1) { %w(a b c) }
|
176
|
-
let(:s2) { %w(c) }
|
177
|
-
let(:result) {
|
178
|
-
[
|
179
|
-
['-', [0, 'a'], [0, nil]],
|
180
|
-
['-', [1, 'b'], [0, nil]],
|
181
|
-
['=', [2, 'c'], [0, 'c']]
|
182
|
-
]
|
183
|
-
}
|
184
|
-
|
185
|
-
it_has_behavior 'compare sequences correctly'
|
186
|
-
end
|
187
|
-
|
188
|
-
describe 'using %w(abcd efgh ijkl mnop) & []' do
|
189
|
-
let(:s1) { %w(abcd efgh ijkl mnop) }
|
190
|
-
let(:s2) { [] }
|
191
|
-
let(:result) {
|
192
|
-
[
|
193
|
-
['-', [0, 'abcd'], [0, nil]],
|
194
|
-
['-', [1, 'efgh'], [0, nil]],
|
195
|
-
['-', [2, 'ijkl'], [0, nil]],
|
196
|
-
['-', [3, 'mnop'], [0, nil]]
|
197
|
-
]
|
198
|
-
}
|
199
|
-
|
200
|
-
it_has_behavior 'compare sequences correctly'
|
201
|
-
end
|
202
|
-
|
203
|
-
describe 'using [[1,2]] & []' do
|
204
|
-
let(:s1) { [[1, 2]] }
|
205
|
-
let(:s2) { [] }
|
206
|
-
let(:result) {
|
207
|
-
[
|
208
|
-
['-', [0, [1, 2]], [0, nil]]
|
209
|
-
]
|
210
|
-
}
|
211
|
-
|
212
|
-
it_has_behavior 'compare sequences correctly'
|
213
|
-
end
|
214
|
-
end
|
@@ -1,375 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'pathname'
|
5
|
-
|
6
|
-
require 'psych' if RUBY_VERSION >= '1.9'
|
7
|
-
|
8
|
-
if ENV['COVERAGE']
|
9
|
-
require 'simplecov'
|
10
|
-
|
11
|
-
def require_do(resource)
|
12
|
-
require resource
|
13
|
-
yield if block_given?
|
14
|
-
rescue LoadError
|
15
|
-
nil
|
16
|
-
end
|
17
|
-
|
18
|
-
formatters = [SimpleCov::Formatter::HTMLFormatter]
|
19
|
-
|
20
|
-
require_do('simplecov-rcov') {
|
21
|
-
formatters << SimpleCov::Formatter::RcovFormatter
|
22
|
-
}
|
23
|
-
require_do('simplecov-vim/formatter') {
|
24
|
-
formatters << SimpleCov::Formatter::VimFormatter
|
25
|
-
}
|
26
|
-
require_do('simplecov-sublime-ruby-coverage') {
|
27
|
-
formatters << SimpleCov::Formatter::SublimeRubyCoverageFormatter
|
28
|
-
}
|
29
|
-
|
30
|
-
SimpleCov.start do
|
31
|
-
formatter SimpleCov::Formatter::MultiFormatter[*formatters]
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
file = Pathname.new(__FILE__).expand_path
|
36
|
-
path = file.parent
|
37
|
-
parent = path.parent
|
38
|
-
|
39
|
-
$:.unshift parent.join('lib')
|
40
|
-
|
41
|
-
module CaptureSubprocessIO
|
42
|
-
def _synchronize
|
43
|
-
yield
|
44
|
-
end
|
45
|
-
|
46
|
-
def capture_subprocess_io
|
47
|
-
_synchronize { _capture_subprocess_io { yield } }
|
48
|
-
end
|
49
|
-
|
50
|
-
def _capture_subprocess_io
|
51
|
-
require 'tempfile'
|
52
|
-
|
53
|
-
captured_stdout, captured_stderr = Tempfile.new('out'), Tempfile.new('err')
|
54
|
-
|
55
|
-
orig_stdout, orig_stderr = $stdout.dup, $stderr.dup
|
56
|
-
$stdout.reopen captured_stdout
|
57
|
-
$stderr.reopen captured_stderr
|
58
|
-
|
59
|
-
yield
|
60
|
-
|
61
|
-
$stdout.rewind
|
62
|
-
$stderr.rewind
|
63
|
-
|
64
|
-
[captured_stdout.read, captured_stderr.read]
|
65
|
-
ensure
|
66
|
-
captured_stdout.unlink
|
67
|
-
captured_stderr.unlink
|
68
|
-
$stdout.reopen orig_stdout
|
69
|
-
$stderr.reopen orig_stderr
|
70
|
-
end
|
71
|
-
private :_capture_subprocess_io
|
72
|
-
end
|
73
|
-
|
74
|
-
require 'diff-lcs'
|
75
|
-
|
76
|
-
module Diff::LCS::SpecHelper
|
77
|
-
def hello
|
78
|
-
'hello'
|
79
|
-
end
|
80
|
-
|
81
|
-
def hello_ary
|
82
|
-
%w(h e l l o)
|
83
|
-
end
|
84
|
-
|
85
|
-
def seq1
|
86
|
-
%w(a b c e h j l m n p)
|
87
|
-
end
|
88
|
-
|
89
|
-
def skipped_seq1
|
90
|
-
%w(a h n p)
|
91
|
-
end
|
92
|
-
|
93
|
-
def seq2
|
94
|
-
%w(b c d e f j k l m r s t)
|
95
|
-
end
|
96
|
-
|
97
|
-
def skipped_seq2
|
98
|
-
%w(d f k r s t)
|
99
|
-
end
|
100
|
-
|
101
|
-
def word_sequence
|
102
|
-
%w(abcd efgh ijkl mnopqrstuvwxyz)
|
103
|
-
end
|
104
|
-
|
105
|
-
def correct_lcs
|
106
|
-
%w(b c e j l m)
|
107
|
-
end
|
108
|
-
|
109
|
-
def correct_forward_diff
|
110
|
-
[
|
111
|
-
[
|
112
|
-
['-', 0, 'a']
|
113
|
-
],
|
114
|
-
[
|
115
|
-
['+', 2, 'd']
|
116
|
-
],
|
117
|
-
[
|
118
|
-
['-', 4, 'h'],
|
119
|
-
['+', 4, 'f']
|
120
|
-
],
|
121
|
-
[
|
122
|
-
['+', 6, 'k']
|
123
|
-
],
|
124
|
-
[
|
125
|
-
['-', 8, 'n'],
|
126
|
-
['-', 9, 'p'],
|
127
|
-
['+', 9, 'r'],
|
128
|
-
['+', 10, 's'],
|
129
|
-
['+', 11, 't']
|
130
|
-
]
|
131
|
-
]
|
132
|
-
end
|
133
|
-
|
134
|
-
def correct_backward_diff
|
135
|
-
[
|
136
|
-
[
|
137
|
-
['+', 0, 'a']
|
138
|
-
],
|
139
|
-
[
|
140
|
-
['-', 2, 'd']
|
141
|
-
],
|
142
|
-
[
|
143
|
-
['-', 4, 'f'],
|
144
|
-
['+', 4, 'h']
|
145
|
-
],
|
146
|
-
[
|
147
|
-
['-', 6, 'k']
|
148
|
-
],
|
149
|
-
[
|
150
|
-
['-', 9, 'r'],
|
151
|
-
['-', 10, 's'],
|
152
|
-
['+', 8, 'n'],
|
153
|
-
['-', 11, 't'],
|
154
|
-
['+', 9, 'p']
|
155
|
-
]
|
156
|
-
]
|
157
|
-
end
|
158
|
-
|
159
|
-
def correct_forward_sdiff
|
160
|
-
[
|
161
|
-
['-', [0, 'a'], [0, nil]],
|
162
|
-
['=', [1, 'b'], [0, 'b']],
|
163
|
-
['=', [2, 'c'], [1, 'c']],
|
164
|
-
['+', [3, nil], [2, 'd']],
|
165
|
-
['=', [3, 'e'], [3, 'e']],
|
166
|
-
['!', [4, 'h'], [4, 'f']],
|
167
|
-
['=', [5, 'j'], [5, 'j']],
|
168
|
-
['+', [6, nil], [6, 'k']],
|
169
|
-
['=', [6, 'l'], [7, 'l']],
|
170
|
-
['=', [7, 'm'], [8, 'm']],
|
171
|
-
['!', [8, 'n'], [9, 'r']],
|
172
|
-
['!', [9, 'p'], [10, 's']],
|
173
|
-
['+', [10, nil], [11, 't']]
|
174
|
-
]
|
175
|
-
end
|
176
|
-
|
177
|
-
def reverse_sdiff(forward_sdiff)
|
178
|
-
forward_sdiff.map { |line|
|
179
|
-
line[1], line[2] = line[2], line[1]
|
180
|
-
case line[0]
|
181
|
-
when '-' then line[0] = '+'
|
182
|
-
when '+' then line[0] = '-'
|
183
|
-
end
|
184
|
-
line
|
185
|
-
}
|
186
|
-
end
|
187
|
-
|
188
|
-
def change_diff(diff)
|
189
|
-
map_diffs(diff, Diff::LCS::Change)
|
190
|
-
end
|
191
|
-
|
192
|
-
def context_diff(diff)
|
193
|
-
map_diffs(diff, Diff::LCS::ContextChange)
|
194
|
-
end
|
195
|
-
|
196
|
-
def format_diffs(diffs)
|
197
|
-
diffs.map { |e|
|
198
|
-
if e.kind_of?(Array)
|
199
|
-
e.map { |f| f.to_a.join }.join(', ')
|
200
|
-
else
|
201
|
-
e.to_a.join
|
202
|
-
end
|
203
|
-
}.join("\n")
|
204
|
-
end
|
205
|
-
|
206
|
-
def map_diffs(diffs, klass = Diff::LCS::ContextChange)
|
207
|
-
diffs.map do |chunks|
|
208
|
-
if klass == Diff::LCS::ContextChange
|
209
|
-
klass.from_a(chunks)
|
210
|
-
else
|
211
|
-
chunks.map { |changes| klass.from_a(changes) }
|
212
|
-
end
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
def balanced_traversal(s1, s2, callback_type)
|
217
|
-
callback = __send__(callback_type)
|
218
|
-
Diff::LCS.traverse_balanced(s1, s2, callback)
|
219
|
-
callback
|
220
|
-
end
|
221
|
-
|
222
|
-
def balanced_reverse(change_result)
|
223
|
-
new_result = []
|
224
|
-
change_result.each do |line|
|
225
|
-
line = [line[0], line[2], line[1]]
|
226
|
-
case line[0]
|
227
|
-
when '<'
|
228
|
-
line[0] = '>'
|
229
|
-
when '>'
|
230
|
-
line[0] = '<'
|
231
|
-
end
|
232
|
-
new_result << line
|
233
|
-
end
|
234
|
-
new_result.sort_by { |line| [line[1], line[2]] }
|
235
|
-
end
|
236
|
-
|
237
|
-
def map_to_no_change(change_result)
|
238
|
-
new_result = []
|
239
|
-
change_result.each do |line|
|
240
|
-
case line[0]
|
241
|
-
when '!'
|
242
|
-
new_result << ['<', line[1], line[2]]
|
243
|
-
new_result << ['>', line[1] + 1, line[2]]
|
244
|
-
else
|
245
|
-
new_result << line
|
246
|
-
end
|
247
|
-
end
|
248
|
-
new_result
|
249
|
-
end
|
250
|
-
|
251
|
-
def simple_callback
|
252
|
-
callbacks = Object.new
|
253
|
-
class << callbacks
|
254
|
-
attr_reader :matched_a
|
255
|
-
attr_reader :matched_b
|
256
|
-
attr_reader :discards_a
|
257
|
-
attr_reader :discards_b
|
258
|
-
attr_reader :done_a
|
259
|
-
attr_reader :done_b
|
260
|
-
|
261
|
-
def reset
|
262
|
-
@matched_a = []
|
263
|
-
@matched_b = []
|
264
|
-
@discards_a = []
|
265
|
-
@discards_b = []
|
266
|
-
@done_a = []
|
267
|
-
@done_b = []
|
268
|
-
end
|
269
|
-
|
270
|
-
def match(event)
|
271
|
-
@matched_a << event.old_element
|
272
|
-
@matched_b << event.new_element
|
273
|
-
end
|
274
|
-
|
275
|
-
def discard_b(event)
|
276
|
-
@discards_b << event.new_element
|
277
|
-
end
|
278
|
-
|
279
|
-
def discard_a(event)
|
280
|
-
@discards_a << event.old_element
|
281
|
-
end
|
282
|
-
|
283
|
-
def finished_a(event)
|
284
|
-
@done_a << [
|
285
|
-
event.old_element, event.old_position,
|
286
|
-
event.new_element, event.new_position
|
287
|
-
]
|
288
|
-
end
|
289
|
-
|
290
|
-
def finished_b(event)
|
291
|
-
p 'called #finished_b'
|
292
|
-
@done_b << [
|
293
|
-
event.old_element, event.old_position,
|
294
|
-
event.new_element, event.new_position
|
295
|
-
]
|
296
|
-
end
|
297
|
-
end
|
298
|
-
callbacks.reset
|
299
|
-
callbacks
|
300
|
-
end
|
301
|
-
|
302
|
-
def simple_callback_no_finishers
|
303
|
-
simple = simple_callback
|
304
|
-
class << simple
|
305
|
-
undef :finished_a
|
306
|
-
undef :finished_b
|
307
|
-
end
|
308
|
-
simple
|
309
|
-
end
|
310
|
-
|
311
|
-
def balanced_callback
|
312
|
-
cb = Object.new
|
313
|
-
class << cb
|
314
|
-
attr_reader :result
|
315
|
-
|
316
|
-
def reset
|
317
|
-
@result = []
|
318
|
-
end
|
319
|
-
|
320
|
-
def match(event)
|
321
|
-
@result << ['=', event.old_position, event.new_position]
|
322
|
-
end
|
323
|
-
|
324
|
-
def discard_a(event)
|
325
|
-
@result << ['<', event.old_position, event.new_position]
|
326
|
-
end
|
327
|
-
|
328
|
-
def discard_b(event)
|
329
|
-
@result << ['>', event.old_position, event.new_position]
|
330
|
-
end
|
331
|
-
|
332
|
-
def change(event)
|
333
|
-
@result << ['!', event.old_position, event.new_position]
|
334
|
-
end
|
335
|
-
end
|
336
|
-
cb.reset
|
337
|
-
cb
|
338
|
-
end
|
339
|
-
|
340
|
-
def balanced_callback_no_change
|
341
|
-
balanced = balanced_callback
|
342
|
-
class << balanced
|
343
|
-
undef :change
|
344
|
-
end
|
345
|
-
balanced
|
346
|
-
end
|
347
|
-
|
348
|
-
module Matchers
|
349
|
-
extend RSpec::Matchers::DSL
|
350
|
-
|
351
|
-
matcher :be_nil_or_match_values do |ii, s1, s2|
|
352
|
-
match do |ee|
|
353
|
-
expect(ee).to(satisfy { |vee| vee.nil? || s1[ii] == s2[ee] })
|
354
|
-
end
|
355
|
-
end
|
356
|
-
|
357
|
-
matcher :correctly_map_sequence do |s1|
|
358
|
-
match do |actual|
|
359
|
-
actual.each_with_index { |ee, ii|
|
360
|
-
expect(ee).to be_nil_or_match_values(ii, s1, @s2)
|
361
|
-
}
|
362
|
-
end
|
363
|
-
|
364
|
-
chain :to_other_sequence do |s2|
|
365
|
-
@s2 = s2
|
366
|
-
end
|
367
|
-
end
|
368
|
-
end
|
369
|
-
end
|
370
|
-
|
371
|
-
RSpec.configure do |conf|
|
372
|
-
conf.include Diff::LCS::SpecHelper
|
373
|
-
conf.alias_it_should_behave_like_to :it_has_behavior, 'has behavior:'
|
374
|
-
conf.filter_run_excluding :broken => true
|
375
|
-
end
|