qiita_org 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bandle/ruby/2.7.0/bin/htmldiff +29 -0
- data/.bandle/ruby/2.7.0/bin/ldiff +29 -0
- data/.bandle/ruby/2.7.0/bin/qiita_org +27 -0
- data/.bandle/ruby/2.7.0/bin/rake +27 -0
- data/.bandle/ruby/2.7.0/bin/rspec +27 -0
- data/.bandle/ruby/2.7.0/bin/thor +27 -0
- 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 +1 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +74 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/License.md +39 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Manifest.txt +45 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/README.rdoc +84 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/Rakefile +74 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/htmldiff +35 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/ldiff +9 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +339 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/artistic.txt +127 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +739 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +7 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +37 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +325 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +174 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +150 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +358 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +304 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +171 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +5 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +89 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +51 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +50 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +51 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +56 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +416 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +375 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/.bandle/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +139 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +43 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/Gemfile +3 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/History.rdoc +2344 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/MIT-LICENSE +21 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/README.rdoc +156 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/Rakefile +41 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/bundle +105 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/console +7 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rake +29 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rdoc +29 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/rubocop +29 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/bin/setup +6 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +158 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile1 +38 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile2 +35 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/a.c +6 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/b.c +6 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/example/main.c +11 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/glossary.rdoc +42 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/jamis.rb +592 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/proto_rake.rdoc +127 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rake.1 +156 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rakefile.rdoc +622 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/doc/rational.rdoc +151 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/exe/rake +27 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake.rb +71 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb +824 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/backtrace.rb +24 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/clean.rb +78 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cloneable.rb +17 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +107 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/default_loader.rb +15 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +195 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/early_time.rb +22 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/core.rb +26 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/string.rb +176 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +25 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_list.rb +435 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_task.rb +54 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils.rb +137 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +145 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +57 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +17 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/late_time.rb +18 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/linked_list.rb +112 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +54 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/name_space.rb +38 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/packagetask.rb +207 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/phony.rb +16 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/private_reader.rb +21 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/promise.rb +100 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +30 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_module.rb +67 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/scope.rb +43 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb +413 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +8 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +109 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_manager.rb +324 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/tasklib.rb +12 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/testtask.rb +224 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +49 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +163 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/trace_output.rb +23 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/version.rb +10 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/lib/rake/win32.rb +51 -0
- data/.bandle/ruby/2.7.0/gems/rake-12.3.3/rake.gemspec +42 -0
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/LICENSE.md +27 -0
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/README.md +43 -0
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec.rb +3 -0
- data/.bandle/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec/version.rb +5 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/.document +5 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/.yardopts +8 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/Changelog.md +2291 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/LICENSE.md +26 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/README.md +384 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/exe/rspec +4 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +3 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +186 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +135 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +61 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +58 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +2363 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +233 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +46 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +113 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +98 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +656 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +900 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +235 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +231 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +20 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +273 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +511 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +110 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +182 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +641 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +87 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +554 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +498 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +255 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +521 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +316 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +158 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +29 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +165 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +34 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +48 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/.rspec +1 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +188 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +265 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +53 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +204 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +37 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +54 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +55 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +271 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +49 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +9 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +40 -0
- data/.bandle/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +276 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/.document +5 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/.yardopts +6 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/Changelog.md +1191 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/LICENSE.md +25 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/README.md +320 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +82 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +215 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +127 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +39 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +170 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +132 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +8 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +1038 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +52 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +86 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +288 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +428 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +103 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +149 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +106 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +200 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +199 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +441 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +171 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +540 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/.bandle/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/.document +5 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/.yardopts +6 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/Changelog.md +1133 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/LICENSE.md +25 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/README.md +463 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +130 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +11 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +294 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +212 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +369 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +434 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +87 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +751 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +287 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +202 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +339 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +149 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +81 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +503 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +238 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +3 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +325 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +124 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +171 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +129 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/.bandle/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +9 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/Changelog.md +302 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/LICENSE.md +23 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/README.md +40 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +149 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +83 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +46 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +215 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +63 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +161 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +47 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +42 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +73 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +275 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +61 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +190 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +75 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +21 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +110 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +87 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +81 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +89 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +7 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +39 -0
- data/.bandle/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/.document +5 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/CHANGELOG.md +220 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/CONTRIBUTING.md +15 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/LICENSE.md +20 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/README.md +51 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/bin/thor +6 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb +517 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions.rb +336 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_file.rb +104 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_link.rb +61 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/directory.rb +108 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/empty_directory.rb +143 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/file_manipulation.rb +373 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/inject_into_file.rb +120 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/base.rb +699 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb +142 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/core_ext/hash_with_indifferent_access.rb +97 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/error.rb +110 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/group.rb +281 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb +178 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor.rb +17 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/basic.rb +37 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/readline.rb +88 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/nested_context.rb +29 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser.rb +4 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/argument.rb +70 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/arguments.rb +175 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/option.rb +159 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/options.rb +236 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/rake_compat.rb +72 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/runner.rb +325 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell.rb +81 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/basic.rb +491 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/color.rb +153 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/html.rb +126 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/util.rb +284 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/version.rb +3 -0
- data/.bandle/ruby/2.7.0/gems/thor-1.0.1/thor.gemspec +28 -0
- data/.bandle/ruby/2.7.0/specifications/diff-lcs-1.4.4.gemspec +50 -0
- data/.bandle/ruby/2.7.0/specifications/rake-12.3.3.gemspec +43 -0
- data/.bandle/ruby/2.7.0/specifications/rspec-3.9.0.gemspec +39 -0
- data/.bandle/ruby/2.7.0/specifications/rspec-core-3.9.2.gemspec +53 -0
- data/.bandle/ruby/2.7.0/specifications/rspec-expectations-3.9.2.gemspec +44 -0
- data/.bandle/ruby/2.7.0/specifications/rspec-mocks-3.9.1.gemspec +44 -0
- data/.bandle/ruby/2.7.0/specifications/rspec-support-3.9.3.gemspec +36 -0
- data/.bandle/ruby/2.7.0/specifications/thor-1.0.1.gemspec +34 -0
- data/.gitignore +14 -0
- data/.rspec +4 -0
- data/.travis.yml +6 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +43 -0
- data/LICENSE.txt +21 -0
- data/README.md +51 -0
- data/README.org +65 -0
- data/Rakefile +16 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/qiita +5 -0
- data/exe/qiita_org +5 -0
- data/gems/ruby/2.7.0/bin/htmldiff +29 -0
- data/gems/ruby/2.7.0/bin/ldiff +29 -0
- data/gems/ruby/2.7.0/bin/qiita +27 -0
- data/gems/ruby/2.7.0/bin/qiita_org +27 -0
- data/gems/ruby/2.7.0/bin/rake +27 -0
- data/gems/ruby/2.7.0/bin/rspec +27 -0
- data/gems/ruby/2.7.0/bin/thor +27 -0
- data/gems/ruby/2.7.0/cache/colorize-0.8.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/command_line-2.0.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/diff-lcs-1.4.4.gem +0 -0
- data/gems/ruby/2.7.0/cache/pandoc-0.0.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/rake-12.3.3.gem +0 -0
- data/gems/ruby/2.7.0/cache/rspec-3.9.0.gem +0 -0
- data/gems/ruby/2.7.0/cache/rspec-core-3.9.2.gem +0 -0
- data/gems/ruby/2.7.0/cache/rspec-expectations-3.9.2.gem +0 -0
- data/gems/ruby/2.7.0/cache/rspec-mocks-3.9.1.gem +0 -0
- data/gems/ruby/2.7.0/cache/rspec-support-3.9.3.gem +0 -0
- data/gems/ruby/2.7.0/cache/thor-1.0.1.gem +0 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/CHANGELOG +65 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/LICENSE +339 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/README.md +105 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/Rakefile +13 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/colorize.gemspec +36 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/lib/colorize.rb +12 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/lib/colorize/class_methods.rb +120 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/lib/colorize/instance_methods.rb +132 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/lib/colorized_string.rb +19 -0
- data/gems/ruby/2.7.0/gems/colorize-0.8.1/test/test_colorize.rb +164 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/.editorconfig +11 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/.github/workflows/linux.yml +22 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/.github/workflows/macos.yml +22 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/.github/workflows/windows.yml +22 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/.gitignore +7 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/.rspec +2 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/.rubocop.yml +21 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/.yardopts +6 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/CHANGELOG.md +43 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/CONTRIBUTING.md +24 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/Gemfile +3 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/LICENSE.txt +21 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/README.md +109 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/Rakefile +10 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/bin/console +7 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/bin/setup +6 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/command_line.gemspec +35 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/lib/command_line.rb +100 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/lib/command_line/global.rb +56 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/lib/command_line/result.rb +76 -0
- data/gems/ruby/2.7.0/gems/command_line-2.0.1/lib/command_line/version.rb +5 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/.rspec +1 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/Code-of-Conduct.md +74 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/Contributing.md +118 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/History.md +319 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/License.md +39 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/Manifest.txt +45 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/README.rdoc +84 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/Rakefile +74 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/autotest/discover.rb +3 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/htmldiff +35 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/bin/ldiff +9 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/COPYING.txt +339 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/docs/artistic.txt +127 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff-lcs.rb +3 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs.rb +739 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/array.rb +7 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/backports.rb +9 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/block.rb +37 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/callbacks.rb +325 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/change.rb +174 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/htmldiff.rb +150 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/hunk.rb +358 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/internals.rb +304 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/ldiff.rb +171 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/lib/diff/lcs/string.rb +5 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/change_spec.rb +89 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/diff_spec.rb +51 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/aX +1 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/bXaX +1 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds1.csv +50 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ds2.csv +51 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff +4 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-c +7 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-e +3 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-f +3 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/fixtures/ldiff/output.diff-u +5 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/hunk_spec.rb +83 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/issues_spec.rb +154 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/lcs_spec.rb +56 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/ldiff_spec.rb +87 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/patch_spec.rb +416 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/sdiff_spec.rb +214 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/spec_helper.rb +375 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_balanced_spec.rb +310 -0
- data/gems/ruby/2.7.0/gems/diff-lcs-1.4.4/spec/traverse_sequences_spec.rb +139 -0
- data/gems/ruby/2.7.0/gems/pandoc-0.0.1/CHANGELOG.md +4 -0
- data/gems/ruby/2.7.0/gems/pandoc-0.0.1/Manifest.txt +8 -0
- data/gems/ruby/2.7.0/gems/pandoc-0.0.1/README.md +17 -0
- data/gems/ruby/2.7.0/gems/pandoc-0.0.1/Rakefile +28 -0
- data/gems/ruby/2.7.0/gems/pandoc-0.0.1/lib/pandoc.rb +14 -0
- data/gems/ruby/2.7.0/gems/pandoc-0.0.1/lib/pandoc/version.rb +20 -0
- data/gems/ruby/2.7.0/gems/pandoc-0.0.1/test/helper.rb +10 -0
- data/gems/ruby/2.7.0/gems/pandoc-0.0.1/test/test_builder.rb +18 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/CONTRIBUTING.rdoc +43 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/Gemfile +3 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/History.rdoc +2344 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/MIT-LICENSE +21 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/README.rdoc +156 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/Rakefile +41 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/azure-pipelines.yml +11 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/bin/bundle +105 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/bin/console +7 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/bin/rake +29 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/bin/rdoc +29 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/bin/rubocop +29 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/bin/setup +6 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/command_line_usage.rdoc +158 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile1 +38 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/example/Rakefile2 +35 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/example/a.c +6 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/example/b.c +6 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/example/main.c +11 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/glossary.rdoc +42 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/jamis.rb +592 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/proto_rake.rdoc +127 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/rake.1 +156 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/rakefile.rdoc +622 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/doc/rational.rdoc +151 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/exe/rake +27 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake.rb +71 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/application.rb +824 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/backtrace.rb +24 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/clean.rb +78 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cloneable.rb +17 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/cpu_counter.rb +107 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/default_loader.rb +15 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/dsl_definition.rb +195 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/early_time.rb +22 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/core.rb +26 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/ext/string.rb +176 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_creation_task.rb +25 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_list.rb +435 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_task.rb +54 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils.rb +137 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/file_utils_ext.rb +145 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_chain.rb +57 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/invocation_exception_mixin.rb +17 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/late_time.rb +18 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/linked_list.rb +112 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/loaders/makefile.rb +54 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/multi_task.rb +14 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/name_space.rb +38 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/packagetask.rb +207 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/phony.rb +16 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/private_reader.rb +21 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/promise.rb +100 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/pseudo_status.rb +30 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_module.rb +67 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb +27 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/scope.rb +43 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task.rb +413 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_argument_error.rb +8 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_arguments.rb +109 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/task_manager.rb +324 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/tasklib.rb +12 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/testtask.rb +224 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_history_display.rb +49 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/thread_pool.rb +163 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/trace_output.rb +23 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/version.rb +10 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/lib/rake/win32.rb +51 -0
- data/gems/ruby/2.7.0/gems/rake-12.3.3/rake.gemspec +42 -0
- data/gems/ruby/2.7.0/gems/rspec-3.9.0/LICENSE.md +27 -0
- data/gems/ruby/2.7.0/gems/rspec-3.9.0/README.md +43 -0
- data/gems/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec.rb +3 -0
- data/gems/ruby/2.7.0/gems/rspec-3.9.0/lib/rspec/version.rb +5 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/.document +5 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/.yardopts +8 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/Changelog.md +2291 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/LICENSE.md +26 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/README.md +384 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/exe/rspec +4 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/autorun.rb +3 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core.rb +186 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/fork_runner.rb +135 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/server.rb +61 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/bisect/utilities.rb +58 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb +2363 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/configuration_options.rb +233 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/did_you_mean.rb +46 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/drb.rb +113 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/dsl.rb +98 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example.rb +656 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb +900 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/example_status_persister.rb +235 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/filter_manager.rb +231 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/flat_map.rb +20 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters.rb +273 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/exception_presenter.rb +511 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/helpers.rb +110 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_printer.rb +414 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/protocol.rb +182 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb +641 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/invocations.rb +87 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/memoized_helpers.rb +554 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata.rb +498 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/metadata_filter.rb +255 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/notifications.rb +521 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/option_parser.rb +316 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ordering.rb +158 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/output_wrapper.rb +29 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/pending.rb +165 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/profiler.rb +34 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer.rb +48 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/.rspec +1 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/rake_task.rb +188 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb +265 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/ruby_project.rb +53 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb +204 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/sandbox.rb +37 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/set.rb +54 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_context.rb +55 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shared_example_group.rb +271 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/shell_escape.rb +49 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/version.rb +9 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/warnings.rb +40 -0
- data/gems/ruby/2.7.0/gems/rspec-core-3.9.2/lib/rspec/core/world.rb +276 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/.document +5 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/.yardopts +6 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/Changelog.md +1191 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/LICENSE.md +25 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/README.md +320 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations.rb +82 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/configuration.rb +215 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/expectation_target.rb +127 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/fail_with.rb +39 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/handler.rb +170 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/syntax.rb +132 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/expectations/version.rb +8 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers.rb +1038 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in.rb +52 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/all.rb +86 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb +288 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/change.rb +428 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/compound.rb +276 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/has.rb +103 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/include.rb +149 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/match.rb +106 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/output.rb +200 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/respond_to.rb +199 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/yield.rb +441 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/composable.rb +171 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/dsl.rb +540 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/gems/ruby/2.7.0/gems/rspec-expectations-3.9.2/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/.document +5 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/.yardopts +6 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/Changelog.md +1133 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/LICENSE.md +25 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/README.md +463 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks.rb +130 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance.rb +11 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb +294 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/argument_matchers.rb +322 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/configuration.rb +212 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb +369 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/example_methods.rb +434 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_chain.rb +87 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/message_expectation.rb +751 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_double.rb +287 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/method_reference.rb +202 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/mutate_const.rb +339 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/object_reference.rb +149 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/order_group.rb +81 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/proxy.rb +503 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb +238 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/standalone.rb +3 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/syntax.rb +325 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/targets.rb +124 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/test_double.rb +171 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_double.rb +129 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/gems/ruby/2.7.0/gems/rspec-mocks-3.9.1/lib/rspec/mocks/version.rb +9 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/Changelog.md +302 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/LICENSE.md +23 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/README.md +40 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support.rb +149 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/caller_filter.rb +83 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/comparable_version.rb +46 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/differ.rb +215 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/directory_maker.rb +63 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/encoded_string.rb +161 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/hunk_generator.rb +47 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/matcher_definition.rb +42 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/method_signature_verifier.rb +438 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/mutex.rb +73 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/object_formatter.rb +275 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/reentrant_mutex.rb +61 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/ruby_features.rb +190 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source.rb +75 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/location.rb +21 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/node.rb +110 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/source/token.rb +87 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec.rb +81 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/shell_out.rb +89 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/stderr_splitter.rb +75 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/version.rb +7 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/warnings.rb +39 -0
- data/gems/ruby/2.7.0/gems/rspec-support-3.9.3/lib/rspec/support/with_keywords_when_needed.rb +33 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/.document +5 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/CHANGELOG.md +220 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/CONTRIBUTING.md +15 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/LICENSE.md +20 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/README.md +51 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/bin/thor +6 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb +517 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions.rb +336 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_file.rb +104 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/create_link.rb +61 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/directory.rb +108 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/empty_directory.rb +143 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/file_manipulation.rb +373 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/actions/inject_into_file.rb +120 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/base.rb +699 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb +142 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/core_ext/hash_with_indifferent_access.rb +97 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/error.rb +110 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/group.rb +281 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb +178 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor.rb +17 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/basic.rb +37 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/line_editor/readline.rb +88 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/nested_context.rb +29 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser.rb +4 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/argument.rb +70 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/arguments.rb +175 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/option.rb +159 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/parser/options.rb +236 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/rake_compat.rb +72 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/runner.rb +325 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell.rb +81 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/basic.rb +491 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/color.rb +153 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/shell/html.rb +126 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/util.rb +284 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/lib/thor/version.rb +3 -0
- data/gems/ruby/2.7.0/gems/thor-1.0.1/thor.gemspec +28 -0
- data/gems/ruby/2.7.0/specifications/colorize-0.8.1.gemspec +34 -0
- data/gems/ruby/2.7.0/specifications/command_line-2.0.1.gemspec +43 -0
- data/gems/ruby/2.7.0/specifications/diff-lcs-1.4.4.gemspec +50 -0
- data/gems/ruby/2.7.0/specifications/pandoc-0.0.1.gemspec +36 -0
- data/gems/ruby/2.7.0/specifications/rake-12.3.3.gemspec +43 -0
- data/gems/ruby/2.7.0/specifications/rspec-3.9.0.gemspec +39 -0
- data/gems/ruby/2.7.0/specifications/rspec-core-3.9.2.gemspec +53 -0
- data/gems/ruby/2.7.0/specifications/rspec-expectations-3.9.2.gemspec +44 -0
- data/gems/ruby/2.7.0/specifications/rspec-mocks-3.9.1.gemspec +44 -0
- data/gems/ruby/2.7.0/specifications/rspec-support-3.9.3.gemspec +36 -0
- data/gems/ruby/2.7.0/specifications/thor-1.0.1.gemspec +34 -0
- data/hoge.rb +14 -0
- data/lib/qiita_org.rb +86 -0
- data/lib/qiita_org/.qiita.conf +7 -0
- data/lib/qiita_org/config.json +7 -0
- data/lib/qiita_org/config.rb +55 -0
- data/lib/qiita_org/get.rb +160 -0
- data/lib/qiita_org/get_template.rb +95 -0
- data/lib/qiita_org/hoge.txt +3 -0
- data/lib/qiita_org/list.rb +62 -0
- data/lib/qiita_org/post.rb +147 -0
- data/lib/qiita_org/template.org +11 -0
- data/lib/qiita_org/version.rb +3 -0
- data/qiita_org.gemspec +33 -0
- metadata +989 -0
@@ -0,0 +1,336 @@
|
|
1
|
+
require_relative "actions/create_file"
|
2
|
+
require_relative "actions/create_link"
|
3
|
+
require_relative "actions/directory"
|
4
|
+
require_relative "actions/empty_directory"
|
5
|
+
require_relative "actions/file_manipulation"
|
6
|
+
require_relative "actions/inject_into_file"
|
7
|
+
|
8
|
+
class Thor
|
9
|
+
module Actions
|
10
|
+
attr_accessor :behavior
|
11
|
+
|
12
|
+
def self.included(base) #:nodoc:
|
13
|
+
super(base)
|
14
|
+
base.extend ClassMethods
|
15
|
+
end
|
16
|
+
|
17
|
+
module ClassMethods
|
18
|
+
# Hold source paths for one Thor instance. source_paths_for_search is the
|
19
|
+
# method responsible to gather source_paths from this current class,
|
20
|
+
# inherited paths and the source root.
|
21
|
+
#
|
22
|
+
def source_paths
|
23
|
+
@_source_paths ||= []
|
24
|
+
end
|
25
|
+
|
26
|
+
# Stores and return the source root for this class
|
27
|
+
def source_root(path = nil)
|
28
|
+
@_source_root = path if path
|
29
|
+
@_source_root ||= nil
|
30
|
+
end
|
31
|
+
|
32
|
+
# Returns the source paths in the following order:
|
33
|
+
#
|
34
|
+
# 1) This class source paths
|
35
|
+
# 2) Source root
|
36
|
+
# 3) Parents source paths
|
37
|
+
#
|
38
|
+
def source_paths_for_search
|
39
|
+
paths = []
|
40
|
+
paths += source_paths
|
41
|
+
paths << source_root if source_root
|
42
|
+
paths += from_superclass(:source_paths, [])
|
43
|
+
paths
|
44
|
+
end
|
45
|
+
|
46
|
+
# Add runtime options that help actions execution.
|
47
|
+
#
|
48
|
+
def add_runtime_options!
|
49
|
+
class_option :force, :type => :boolean, :aliases => "-f", :group => :runtime,
|
50
|
+
:desc => "Overwrite files that already exist"
|
51
|
+
|
52
|
+
class_option :pretend, :type => :boolean, :aliases => "-p", :group => :runtime,
|
53
|
+
:desc => "Run but do not make any changes"
|
54
|
+
|
55
|
+
class_option :quiet, :type => :boolean, :aliases => "-q", :group => :runtime,
|
56
|
+
:desc => "Suppress status output"
|
57
|
+
|
58
|
+
class_option :skip, :type => :boolean, :aliases => "-s", :group => :runtime,
|
59
|
+
:desc => "Skip files that already exist"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# Extends initializer to add more configuration options.
|
64
|
+
#
|
65
|
+
# ==== Configuration
|
66
|
+
# behavior<Symbol>:: The actions default behavior. Can be :invoke or :revoke.
|
67
|
+
# It also accepts :force, :skip and :pretend to set the behavior
|
68
|
+
# and the respective option.
|
69
|
+
#
|
70
|
+
# destination_root<String>:: The root directory needed for some actions.
|
71
|
+
#
|
72
|
+
def initialize(args = [], options = {}, config = {})
|
73
|
+
self.behavior = case config[:behavior].to_s
|
74
|
+
when "force", "skip"
|
75
|
+
_cleanup_options_and_set(options, config[:behavior])
|
76
|
+
:invoke
|
77
|
+
when "revoke"
|
78
|
+
:revoke
|
79
|
+
else
|
80
|
+
:invoke
|
81
|
+
end
|
82
|
+
|
83
|
+
super
|
84
|
+
self.destination_root = config[:destination_root]
|
85
|
+
end
|
86
|
+
|
87
|
+
# Wraps an action object and call it accordingly to the thor class behavior.
|
88
|
+
#
|
89
|
+
def action(instance) #:nodoc:
|
90
|
+
if behavior == :revoke
|
91
|
+
instance.revoke!
|
92
|
+
else
|
93
|
+
instance.invoke!
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# Returns the root for this thor class (also aliased as destination root).
|
98
|
+
#
|
99
|
+
def destination_root
|
100
|
+
@destination_stack.last
|
101
|
+
end
|
102
|
+
|
103
|
+
# Sets the root for this thor class. Relatives path are added to the
|
104
|
+
# directory where the script was invoked and expanded.
|
105
|
+
#
|
106
|
+
def destination_root=(root)
|
107
|
+
@destination_stack ||= []
|
108
|
+
@destination_stack[0] = File.expand_path(root || "")
|
109
|
+
end
|
110
|
+
|
111
|
+
# Returns the given path relative to the absolute root (ie, root where
|
112
|
+
# the script started).
|
113
|
+
#
|
114
|
+
def relative_to_original_destination_root(path, remove_dot = true)
|
115
|
+
root = @destination_stack[0]
|
116
|
+
if path.start_with?(root) && [File::SEPARATOR, File::ALT_SEPARATOR, nil, ''].include?(path[root.size..root.size])
|
117
|
+
path = path.dup
|
118
|
+
path[0...root.size] = '.'
|
119
|
+
remove_dot ? (path[2..-1] || "") : path
|
120
|
+
else
|
121
|
+
path
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# Holds source paths in instance so they can be manipulated.
|
126
|
+
#
|
127
|
+
def source_paths
|
128
|
+
@source_paths ||= self.class.source_paths_for_search
|
129
|
+
end
|
130
|
+
|
131
|
+
# Receives a file or directory and search for it in the source paths.
|
132
|
+
#
|
133
|
+
def find_in_source_paths(file)
|
134
|
+
possible_files = [file, file + TEMPLATE_EXTNAME]
|
135
|
+
relative_root = relative_to_original_destination_root(destination_root, false)
|
136
|
+
|
137
|
+
source_paths.each do |source|
|
138
|
+
possible_files.each do |f|
|
139
|
+
source_file = File.expand_path(f, File.join(source, relative_root))
|
140
|
+
return source_file if File.exist?(source_file)
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
message = "Could not find #{file.inspect} in any of your source paths. ".dup
|
145
|
+
|
146
|
+
unless self.class.source_root
|
147
|
+
message << "Please invoke #{self.class.name}.source_root(PATH) with the PATH containing your templates. "
|
148
|
+
end
|
149
|
+
|
150
|
+
message << if source_paths.empty?
|
151
|
+
"Currently you have no source paths."
|
152
|
+
else
|
153
|
+
"Your current source paths are: \n#{source_paths.join("\n")}"
|
154
|
+
end
|
155
|
+
|
156
|
+
raise Error, message
|
157
|
+
end
|
158
|
+
|
159
|
+
# Do something in the root or on a provided subfolder. If a relative path
|
160
|
+
# is given it's referenced from the current root. The full path is yielded
|
161
|
+
# to the block you provide. The path is set back to the previous path when
|
162
|
+
# the method exits.
|
163
|
+
#
|
164
|
+
# ==== Parameters
|
165
|
+
# dir<String>:: the directory to move to.
|
166
|
+
# config<Hash>:: give :verbose => true to log and use padding.
|
167
|
+
#
|
168
|
+
def inside(dir = "", config = {}, &block)
|
169
|
+
verbose = config.fetch(:verbose, false)
|
170
|
+
pretend = options[:pretend]
|
171
|
+
|
172
|
+
say_status :inside, dir, verbose
|
173
|
+
shell.padding += 1 if verbose
|
174
|
+
@destination_stack.push File.expand_path(dir, destination_root)
|
175
|
+
|
176
|
+
# If the directory doesnt exist and we're not pretending
|
177
|
+
if !File.exist?(destination_root) && !pretend
|
178
|
+
require "fileutils"
|
179
|
+
FileUtils.mkdir_p(destination_root)
|
180
|
+
end
|
181
|
+
|
182
|
+
if pretend
|
183
|
+
# In pretend mode, just yield down to the block
|
184
|
+
block.arity == 1 ? yield(destination_root) : yield
|
185
|
+
else
|
186
|
+
require "fileutils"
|
187
|
+
FileUtils.cd(destination_root) { block.arity == 1 ? yield(destination_root) : yield }
|
188
|
+
end
|
189
|
+
|
190
|
+
@destination_stack.pop
|
191
|
+
shell.padding -= 1 if verbose
|
192
|
+
end
|
193
|
+
|
194
|
+
# Goes to the root and execute the given block.
|
195
|
+
#
|
196
|
+
def in_root
|
197
|
+
inside(@destination_stack.first) { yield }
|
198
|
+
end
|
199
|
+
|
200
|
+
# Loads an external file and execute it in the instance binding.
|
201
|
+
#
|
202
|
+
# ==== Parameters
|
203
|
+
# path<String>:: The path to the file to execute. Can be a web address or
|
204
|
+
# a relative path from the source root.
|
205
|
+
#
|
206
|
+
# ==== Examples
|
207
|
+
#
|
208
|
+
# apply "http://gist.github.com/103208"
|
209
|
+
#
|
210
|
+
# apply "recipes/jquery.rb"
|
211
|
+
#
|
212
|
+
def apply(path, config = {})
|
213
|
+
verbose = config.fetch(:verbose, true)
|
214
|
+
is_uri = path =~ %r{^https?\://}
|
215
|
+
path = find_in_source_paths(path) unless is_uri
|
216
|
+
|
217
|
+
say_status :apply, path, verbose
|
218
|
+
shell.padding += 1 if verbose
|
219
|
+
|
220
|
+
contents = if is_uri
|
221
|
+
require "open-uri"
|
222
|
+
open(path, "Accept" => "application/x-thor-template", &:read)
|
223
|
+
else
|
224
|
+
open(path, &:read)
|
225
|
+
end
|
226
|
+
|
227
|
+
instance_eval(contents, path)
|
228
|
+
shell.padding -= 1 if verbose
|
229
|
+
end
|
230
|
+
|
231
|
+
# Executes a command returning the contents of the command.
|
232
|
+
#
|
233
|
+
# ==== Parameters
|
234
|
+
# command<String>:: the command to be executed.
|
235
|
+
# config<Hash>:: give :verbose => false to not log the status, :capture => true to hide to output. Specify :with
|
236
|
+
# to append an executable to command execution.
|
237
|
+
#
|
238
|
+
# ==== Example
|
239
|
+
#
|
240
|
+
# inside('vendor') do
|
241
|
+
# run('ln -s ~/edge rails')
|
242
|
+
# end
|
243
|
+
#
|
244
|
+
def run(command, config = {})
|
245
|
+
return unless behavior == :invoke
|
246
|
+
|
247
|
+
destination = relative_to_original_destination_root(destination_root, false)
|
248
|
+
desc = "#{command} from #{destination.inspect}"
|
249
|
+
|
250
|
+
if config[:with]
|
251
|
+
desc = "#{File.basename(config[:with].to_s)} #{desc}"
|
252
|
+
command = "#{config[:with]} #{command}"
|
253
|
+
end
|
254
|
+
|
255
|
+
say_status :run, desc, config.fetch(:verbose, true)
|
256
|
+
|
257
|
+
return if options[:pretend]
|
258
|
+
|
259
|
+
env_splat = [config[:env]] if config[:env]
|
260
|
+
|
261
|
+
if config[:capture]
|
262
|
+
require "open3"
|
263
|
+
result, status = Open3.capture2e(*env_splat, command.to_s)
|
264
|
+
success = status.success?
|
265
|
+
else
|
266
|
+
result = system(*env_splat, command.to_s)
|
267
|
+
success = result
|
268
|
+
end
|
269
|
+
|
270
|
+
abort if !success && config.fetch(:abort_on_failure, self.class.exit_on_failure?)
|
271
|
+
|
272
|
+
result
|
273
|
+
end
|
274
|
+
|
275
|
+
# Executes a ruby script (taking into account WIN32 platform quirks).
|
276
|
+
#
|
277
|
+
# ==== Parameters
|
278
|
+
# command<String>:: the command to be executed.
|
279
|
+
# config<Hash>:: give :verbose => false to not log the status.
|
280
|
+
#
|
281
|
+
def run_ruby_script(command, config = {})
|
282
|
+
return unless behavior == :invoke
|
283
|
+
run command, config.merge(:with => Thor::Util.ruby_command)
|
284
|
+
end
|
285
|
+
|
286
|
+
# Run a thor command. A hash of options can be given and it's converted to
|
287
|
+
# switches.
|
288
|
+
#
|
289
|
+
# ==== Parameters
|
290
|
+
# command<String>:: the command to be invoked
|
291
|
+
# args<Array>:: arguments to the command
|
292
|
+
# config<Hash>:: give :verbose => false to not log the status, :capture => true to hide to output.
|
293
|
+
# Other options are given as parameter to Thor.
|
294
|
+
#
|
295
|
+
#
|
296
|
+
# ==== Examples
|
297
|
+
#
|
298
|
+
# thor :install, "http://gist.github.com/103208"
|
299
|
+
# #=> thor install http://gist.github.com/103208
|
300
|
+
#
|
301
|
+
# thor :list, :all => true, :substring => 'rails'
|
302
|
+
# #=> thor list --all --substring=rails
|
303
|
+
#
|
304
|
+
def thor(command, *args)
|
305
|
+
config = args.last.is_a?(Hash) ? args.pop : {}
|
306
|
+
verbose = config.key?(:verbose) ? config.delete(:verbose) : true
|
307
|
+
pretend = config.key?(:pretend) ? config.delete(:pretend) : false
|
308
|
+
capture = config.key?(:capture) ? config.delete(:capture) : false
|
309
|
+
|
310
|
+
args.unshift(command)
|
311
|
+
args.push Thor::Options.to_switches(config)
|
312
|
+
command = args.join(" ").strip
|
313
|
+
|
314
|
+
run command, :with => :thor, :verbose => verbose, :pretend => pretend, :capture => capture
|
315
|
+
end
|
316
|
+
|
317
|
+
protected
|
318
|
+
|
319
|
+
# Allow current root to be shared between invocations.
|
320
|
+
#
|
321
|
+
def _shared_configuration #:nodoc:
|
322
|
+
super.merge!(:destination_root => destination_root)
|
323
|
+
end
|
324
|
+
|
325
|
+
def _cleanup_options_and_set(options, key) #:nodoc:
|
326
|
+
case options
|
327
|
+
when Array
|
328
|
+
%w(--force -f --skip -s).each { |i| options.delete(i) }
|
329
|
+
options << "--#{key}"
|
330
|
+
when Hash
|
331
|
+
[:force, :skip, "force", "skip"].each { |i| options.delete(i) }
|
332
|
+
options.merge!(key => true)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
end
|
336
|
+
end
|
@@ -0,0 +1,104 @@
|
|
1
|
+
require_relative "empty_directory"
|
2
|
+
|
3
|
+
class Thor
|
4
|
+
module Actions
|
5
|
+
# Create a new file relative to the destination root with the given data,
|
6
|
+
# which is the return value of a block or a data string.
|
7
|
+
#
|
8
|
+
# ==== Parameters
|
9
|
+
# destination<String>:: the relative path to the destination root.
|
10
|
+
# data<String|NilClass>:: the data to append to the file.
|
11
|
+
# config<Hash>:: give :verbose => false to not log the status.
|
12
|
+
#
|
13
|
+
# ==== Examples
|
14
|
+
#
|
15
|
+
# create_file "lib/fun_party.rb" do
|
16
|
+
# hostname = ask("What is the virtual hostname I should use?")
|
17
|
+
# "vhost.name = #{hostname}"
|
18
|
+
# end
|
19
|
+
#
|
20
|
+
# create_file "config/apache.conf", "your apache config"
|
21
|
+
#
|
22
|
+
def create_file(destination, *args, &block)
|
23
|
+
config = args.last.is_a?(Hash) ? args.pop : {}
|
24
|
+
data = args.first
|
25
|
+
action CreateFile.new(self, destination, block || data.to_s, config)
|
26
|
+
end
|
27
|
+
alias_method :add_file, :create_file
|
28
|
+
|
29
|
+
# CreateFile is a subset of Template, which instead of rendering a file with
|
30
|
+
# ERB, it gets the content from the user.
|
31
|
+
#
|
32
|
+
class CreateFile < EmptyDirectory #:nodoc:
|
33
|
+
attr_reader :data
|
34
|
+
|
35
|
+
def initialize(base, destination, data, config = {})
|
36
|
+
@data = data
|
37
|
+
super(base, destination, config)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Checks if the content of the file at the destination is identical to the rendered result.
|
41
|
+
#
|
42
|
+
# ==== Returns
|
43
|
+
# Boolean:: true if it is identical, false otherwise.
|
44
|
+
#
|
45
|
+
def identical?
|
46
|
+
exists? && File.binread(destination) == render
|
47
|
+
end
|
48
|
+
|
49
|
+
# Holds the content to be added to the file.
|
50
|
+
#
|
51
|
+
def render
|
52
|
+
@render ||= if data.is_a?(Proc)
|
53
|
+
data.call
|
54
|
+
else
|
55
|
+
data
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def invoke!
|
60
|
+
invoke_with_conflict_check do
|
61
|
+
require "fileutils"
|
62
|
+
FileUtils.mkdir_p(File.dirname(destination))
|
63
|
+
File.open(destination, "wb") { |f| f.write render }
|
64
|
+
end
|
65
|
+
given_destination
|
66
|
+
end
|
67
|
+
|
68
|
+
protected
|
69
|
+
|
70
|
+
# Now on conflict we check if the file is identical or not.
|
71
|
+
#
|
72
|
+
def on_conflict_behavior(&block)
|
73
|
+
if identical?
|
74
|
+
say_status :identical, :blue
|
75
|
+
else
|
76
|
+
options = base.options.merge(config)
|
77
|
+
force_or_skip_or_conflict(options[:force], options[:skip], &block)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# If force is true, run the action, otherwise check if it's not being
|
82
|
+
# skipped. If both are false, show the file_collision menu, if the menu
|
83
|
+
# returns true, force it, otherwise skip.
|
84
|
+
#
|
85
|
+
def force_or_skip_or_conflict(force, skip, &block)
|
86
|
+
if force
|
87
|
+
say_status :force, :yellow
|
88
|
+
yield unless pretend?
|
89
|
+
elsif skip
|
90
|
+
say_status :skip, :yellow
|
91
|
+
else
|
92
|
+
say_status :conflict, :red
|
93
|
+
force_or_skip_or_conflict(force_on_collision?, true, &block)
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# Shows the file collision menu to the user and gets the result.
|
98
|
+
#
|
99
|
+
def force_on_collision?
|
100
|
+
base.shell.file_collision(destination) { render }
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require_relative "create_file"
|
2
|
+
|
3
|
+
class Thor
|
4
|
+
module Actions
|
5
|
+
# Create a new file relative to the destination root from the given source.
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# destination<String>:: the relative path to the destination root.
|
9
|
+
# source<String|NilClass>:: the relative path to the source root.
|
10
|
+
# config<Hash>:: give :verbose => false to not log the status.
|
11
|
+
# :: give :symbolic => false for hard link.
|
12
|
+
#
|
13
|
+
# ==== Examples
|
14
|
+
#
|
15
|
+
# create_link "config/apache.conf", "/etc/apache.conf"
|
16
|
+
#
|
17
|
+
def create_link(destination, *args)
|
18
|
+
config = args.last.is_a?(Hash) ? args.pop : {}
|
19
|
+
source = args.first
|
20
|
+
action CreateLink.new(self, destination, source, config)
|
21
|
+
end
|
22
|
+
alias_method :add_link, :create_link
|
23
|
+
|
24
|
+
# CreateLink is a subset of CreateFile, which instead of taking a block of
|
25
|
+
# data, just takes a source string from the user.
|
26
|
+
#
|
27
|
+
class CreateLink < CreateFile #:nodoc:
|
28
|
+
attr_reader :data
|
29
|
+
|
30
|
+
# Checks if the content of the file at the destination is identical to the rendered result.
|
31
|
+
#
|
32
|
+
# ==== Returns
|
33
|
+
# Boolean:: true if it is identical, false otherwise.
|
34
|
+
#
|
35
|
+
def identical?
|
36
|
+
source = File.expand_path(render, File.dirname(destination))
|
37
|
+
exists? && File.identical?(source, destination)
|
38
|
+
end
|
39
|
+
|
40
|
+
def invoke!
|
41
|
+
invoke_with_conflict_check do
|
42
|
+
require "fileutils"
|
43
|
+
FileUtils.mkdir_p(File.dirname(destination))
|
44
|
+
# Create a symlink by default
|
45
|
+
config[:symbolic] = true if config[:symbolic].nil?
|
46
|
+
File.unlink(destination) if exists?
|
47
|
+
if config[:symbolic]
|
48
|
+
File.symlink(render, destination)
|
49
|
+
else
|
50
|
+
File.link(render, destination)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
given_destination
|
54
|
+
end
|
55
|
+
|
56
|
+
def exists?
|
57
|
+
super || File.symlink?(destination)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|