From 99dc05187e72072c321c5664530018626821e016 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 17 Jan 2021 06:58:41 +0500 Subject: [PATCH] Move dependencies to direcotry "/gems/" --- .rubocop.yml | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- {devtools => gems/devtools}/.circleci/config.yml | 0 {devtools => gems/devtools}/.gitignore | 0 {devtools => gems/devtools}/.rspec | 0 {devtools => gems/devtools}/.rubocop.yml | 0 {devtools => gems/devtools}/Gemfile | 0 {devtools => gems/devtools}/LICENSE | 0 {devtools => gems/devtools}/README.md | 0 {devtools => gems/devtools}/Rakefile | 0 {devtools => gems/devtools}/config/devtools.yml | 0 {devtools => gems/devtools}/config/flay.yml | 0 {devtools => gems/devtools}/config/flog.yml | 0 {devtools => gems/devtools}/config/mutant.yml | 0 {devtools => gems/devtools}/config/reek.yml | 0 {devtools => gems/devtools}/config/rubocop.yml | 0 {devtools => gems/devtools}/config/yardstick.yml | 0 {devtools => gems/devtools}/devtools.gemspec | 0 {devtools => gems/devtools}/lib/devtools.rb | 0 {devtools => gems/devtools}/lib/devtools/config.rb | 0 {devtools => gems/devtools}/lib/devtools/flay.rb | 0 {devtools => gems/devtools}/lib/devtools/project.rb | 0 {devtools => gems/devtools}/lib/devtools/project/initializer.rb | 0 .../devtools}/lib/devtools/project/initializer/rake.rb | 0 .../devtools}/lib/devtools/project/initializer/rspec.rb | 0 {devtools => gems/devtools}/lib/devtools/rake/flay.rb | 0 {devtools => gems/devtools}/lib/devtools/spec_helper.rb | 0 .../devtools}/shared/spec/shared/abstract_type_behavior.rb | 0 .../devtools}/shared/spec/shared/command_method_behavior.rb | 0 .../devtools}/shared/spec/shared/each_method_behaviour.rb | 0 .../devtools}/shared/spec/shared/idempotent_method_behavior.rb | 0 .../devtools}/shared/spec/support/ice_nine_config.rb | 0 .../spec/integration/devtools/rake/flay/verify_spec.rb | 0 {devtools => gems/devtools}/spec/spec_helper.rb | 0 .../devtools}/spec/unit/devtools/config/yardstick_spec.rb | 0 {devtools => gems/devtools}/spec/unit/devtools/config_spec.rb | 0 .../devtools}/spec/unit/devtools/flay/file_list/call_spec.rb | 0 .../devtools}/spec/unit/devtools/flay/scale/flay_report_spec.rb | 0 .../devtools}/spec/unit/devtools/flay/scale/measure_spec.rb | 0 .../spec/unit/devtools/project/initializer/rake_spec.rb | 0 .../spec/unit/devtools/project/initializer/rspec_spec.rb | 0 {devtools => gems/devtools}/spec/unit/devtools/project_spec.rb | 0 {devtools => gems/devtools}/spec/unit/devtools_spec.rb | 0 {devtools => gems/devtools}/tasks/metrics/ci.rake | 0 {devtools => gems/devtools}/tasks/metrics/coverage.rake | 0 {devtools => gems/devtools}/tasks/metrics/flay.rake | 0 {devtools => gems/devtools}/tasks/metrics/flog.rake | 0 {devtools => gems/devtools}/tasks/metrics/mutant.rake | 0 {devtools => gems/devtools}/tasks/metrics/reek.rake | 0 {devtools => gems/devtools}/tasks/metrics/rubocop.rake | 0 {devtools => gems/devtools}/tasks/metrics/yardstick.rake | 0 {devtools => gems/devtools}/tasks/spec.rake | 0 {devtools => gems/devtools}/tasks/yard.rake | 0 54 files changed, 3 insertions(+), 3 deletions(-) rename {devtools => gems/devtools}/.circleci/config.yml (100%) rename {devtools => gems/devtools}/.gitignore (100%) rename {devtools => gems/devtools}/.rspec (100%) rename {devtools => gems/devtools}/.rubocop.yml (100%) rename {devtools => gems/devtools}/Gemfile (100%) rename {devtools => gems/devtools}/LICENSE (100%) rename {devtools => gems/devtools}/README.md (100%) rename {devtools => gems/devtools}/Rakefile (100%) rename {devtools => gems/devtools}/config/devtools.yml (100%) rename {devtools => gems/devtools}/config/flay.yml (100%) rename {devtools => gems/devtools}/config/flog.yml (100%) rename {devtools => gems/devtools}/config/mutant.yml (100%) rename {devtools => gems/devtools}/config/reek.yml (100%) rename {devtools => gems/devtools}/config/rubocop.yml (100%) rename {devtools => gems/devtools}/config/yardstick.yml (100%) rename {devtools => gems/devtools}/devtools.gemspec (100%) rename {devtools => gems/devtools}/lib/devtools.rb (100%) rename {devtools => gems/devtools}/lib/devtools/config.rb (100%) rename {devtools => gems/devtools}/lib/devtools/flay.rb (100%) rename {devtools => gems/devtools}/lib/devtools/project.rb (100%) rename {devtools => gems/devtools}/lib/devtools/project/initializer.rb (100%) rename {devtools => gems/devtools}/lib/devtools/project/initializer/rake.rb (100%) rename {devtools => gems/devtools}/lib/devtools/project/initializer/rspec.rb (100%) rename {devtools => gems/devtools}/lib/devtools/rake/flay.rb (100%) rename {devtools => gems/devtools}/lib/devtools/spec_helper.rb (100%) rename {devtools => gems/devtools}/shared/spec/shared/abstract_type_behavior.rb (100%) rename {devtools => gems/devtools}/shared/spec/shared/command_method_behavior.rb (100%) rename {devtools => gems/devtools}/shared/spec/shared/each_method_behaviour.rb (100%) rename {devtools => gems/devtools}/shared/spec/shared/idempotent_method_behavior.rb (100%) rename {devtools => gems/devtools}/shared/spec/support/ice_nine_config.rb (100%) rename {devtools => gems/devtools}/spec/integration/devtools/rake/flay/verify_spec.rb (100%) rename {devtools => gems/devtools}/spec/spec_helper.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools/config/yardstick_spec.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools/config_spec.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools/flay/file_list/call_spec.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools/flay/scale/flay_report_spec.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools/flay/scale/measure_spec.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools/project/initializer/rake_spec.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools/project/initializer/rspec_spec.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools/project_spec.rb (100%) rename {devtools => gems/devtools}/spec/unit/devtools_spec.rb (100%) rename {devtools => gems/devtools}/tasks/metrics/ci.rake (100%) rename {devtools => gems/devtools}/tasks/metrics/coverage.rake (100%) rename {devtools => gems/devtools}/tasks/metrics/flay.rake (100%) rename {devtools => gems/devtools}/tasks/metrics/flog.rake (100%) rename {devtools => gems/devtools}/tasks/metrics/mutant.rake (100%) rename {devtools => gems/devtools}/tasks/metrics/reek.rake (100%) rename {devtools => gems/devtools}/tasks/metrics/rubocop.rake (100%) rename {devtools => gems/devtools}/tasks/metrics/yardstick.rake (100%) rename {devtools => gems/devtools}/tasks/spec.rake (100%) rename {devtools => gems/devtools}/tasks/yard.rake (100%) diff --git a/.rubocop.yml b/.rubocop.yml index e2954e0b..8d3812d6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ AllCops: DisplayCopNames: true Exclude: - - 'devtools/**/*' + - 'gems/**/*' - 'test_app/**/*' - 'tmp/**/*' - 'vendor/**/*' diff --git a/Gemfile b/Gemfile index 87cc4a8d..ac70c0db 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,6 @@ source 'https://rubygems.org' gemspec name: 'mutant' -gem 'devtools', path: 'devtools' +gem 'devtools', path: 'gems/devtools' eval_gemfile File.expand_path('Gemfile.shared', __dir__) diff --git a/Gemfile.lock b/Gemfile.lock index 6541c7fa..2e58ab79 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -21,7 +21,7 @@ PATH rspec-core (>= 3.4.0, < 4.0.0) PATH - remote: devtools + remote: gems/devtools specs: devtools (0.1.22) abstract_type (~> 0.0.7) diff --git a/devtools/.circleci/config.yml b/gems/devtools/.circleci/config.yml similarity index 100% rename from devtools/.circleci/config.yml rename to gems/devtools/.circleci/config.yml diff --git a/devtools/.gitignore b/gems/devtools/.gitignore similarity index 100% rename from devtools/.gitignore rename to gems/devtools/.gitignore diff --git a/devtools/.rspec b/gems/devtools/.rspec similarity index 100% rename from devtools/.rspec rename to gems/devtools/.rspec diff --git a/devtools/.rubocop.yml b/gems/devtools/.rubocop.yml similarity index 100% rename from devtools/.rubocop.yml rename to gems/devtools/.rubocop.yml diff --git a/devtools/Gemfile b/gems/devtools/Gemfile similarity index 100% rename from devtools/Gemfile rename to gems/devtools/Gemfile diff --git a/devtools/LICENSE b/gems/devtools/LICENSE similarity index 100% rename from devtools/LICENSE rename to gems/devtools/LICENSE diff --git a/devtools/README.md b/gems/devtools/README.md similarity index 100% rename from devtools/README.md rename to gems/devtools/README.md diff --git a/devtools/Rakefile b/gems/devtools/Rakefile similarity index 100% rename from devtools/Rakefile rename to gems/devtools/Rakefile diff --git a/devtools/config/devtools.yml b/gems/devtools/config/devtools.yml similarity index 100% rename from devtools/config/devtools.yml rename to gems/devtools/config/devtools.yml diff --git a/devtools/config/flay.yml b/gems/devtools/config/flay.yml similarity index 100% rename from devtools/config/flay.yml rename to gems/devtools/config/flay.yml diff --git a/devtools/config/flog.yml b/gems/devtools/config/flog.yml similarity index 100% rename from devtools/config/flog.yml rename to gems/devtools/config/flog.yml diff --git a/devtools/config/mutant.yml b/gems/devtools/config/mutant.yml similarity index 100% rename from devtools/config/mutant.yml rename to gems/devtools/config/mutant.yml diff --git a/devtools/config/reek.yml b/gems/devtools/config/reek.yml similarity index 100% rename from devtools/config/reek.yml rename to gems/devtools/config/reek.yml diff --git a/devtools/config/rubocop.yml b/gems/devtools/config/rubocop.yml similarity index 100% rename from devtools/config/rubocop.yml rename to gems/devtools/config/rubocop.yml diff --git a/devtools/config/yardstick.yml b/gems/devtools/config/yardstick.yml similarity index 100% rename from devtools/config/yardstick.yml rename to gems/devtools/config/yardstick.yml diff --git a/devtools/devtools.gemspec b/gems/devtools/devtools.gemspec similarity index 100% rename from devtools/devtools.gemspec rename to gems/devtools/devtools.gemspec diff --git a/devtools/lib/devtools.rb b/gems/devtools/lib/devtools.rb similarity index 100% rename from devtools/lib/devtools.rb rename to gems/devtools/lib/devtools.rb diff --git a/devtools/lib/devtools/config.rb b/gems/devtools/lib/devtools/config.rb similarity index 100% rename from devtools/lib/devtools/config.rb rename to gems/devtools/lib/devtools/config.rb diff --git a/devtools/lib/devtools/flay.rb b/gems/devtools/lib/devtools/flay.rb similarity index 100% rename from devtools/lib/devtools/flay.rb rename to gems/devtools/lib/devtools/flay.rb diff --git a/devtools/lib/devtools/project.rb b/gems/devtools/lib/devtools/project.rb similarity index 100% rename from devtools/lib/devtools/project.rb rename to gems/devtools/lib/devtools/project.rb diff --git a/devtools/lib/devtools/project/initializer.rb b/gems/devtools/lib/devtools/project/initializer.rb similarity index 100% rename from devtools/lib/devtools/project/initializer.rb rename to gems/devtools/lib/devtools/project/initializer.rb diff --git a/devtools/lib/devtools/project/initializer/rake.rb b/gems/devtools/lib/devtools/project/initializer/rake.rb similarity index 100% rename from devtools/lib/devtools/project/initializer/rake.rb rename to gems/devtools/lib/devtools/project/initializer/rake.rb diff --git a/devtools/lib/devtools/project/initializer/rspec.rb b/gems/devtools/lib/devtools/project/initializer/rspec.rb similarity index 100% rename from devtools/lib/devtools/project/initializer/rspec.rb rename to gems/devtools/lib/devtools/project/initializer/rspec.rb diff --git a/devtools/lib/devtools/rake/flay.rb b/gems/devtools/lib/devtools/rake/flay.rb similarity index 100% rename from devtools/lib/devtools/rake/flay.rb rename to gems/devtools/lib/devtools/rake/flay.rb diff --git a/devtools/lib/devtools/spec_helper.rb b/gems/devtools/lib/devtools/spec_helper.rb similarity index 100% rename from devtools/lib/devtools/spec_helper.rb rename to gems/devtools/lib/devtools/spec_helper.rb diff --git a/devtools/shared/spec/shared/abstract_type_behavior.rb b/gems/devtools/shared/spec/shared/abstract_type_behavior.rb similarity index 100% rename from devtools/shared/spec/shared/abstract_type_behavior.rb rename to gems/devtools/shared/spec/shared/abstract_type_behavior.rb diff --git a/devtools/shared/spec/shared/command_method_behavior.rb b/gems/devtools/shared/spec/shared/command_method_behavior.rb similarity index 100% rename from devtools/shared/spec/shared/command_method_behavior.rb rename to gems/devtools/shared/spec/shared/command_method_behavior.rb diff --git a/devtools/shared/spec/shared/each_method_behaviour.rb b/gems/devtools/shared/spec/shared/each_method_behaviour.rb similarity index 100% rename from devtools/shared/spec/shared/each_method_behaviour.rb rename to gems/devtools/shared/spec/shared/each_method_behaviour.rb diff --git a/devtools/shared/spec/shared/idempotent_method_behavior.rb b/gems/devtools/shared/spec/shared/idempotent_method_behavior.rb similarity index 100% rename from devtools/shared/spec/shared/idempotent_method_behavior.rb rename to gems/devtools/shared/spec/shared/idempotent_method_behavior.rb diff --git a/devtools/shared/spec/support/ice_nine_config.rb b/gems/devtools/shared/spec/support/ice_nine_config.rb similarity index 100% rename from devtools/shared/spec/support/ice_nine_config.rb rename to gems/devtools/shared/spec/support/ice_nine_config.rb diff --git a/devtools/spec/integration/devtools/rake/flay/verify_spec.rb b/gems/devtools/spec/integration/devtools/rake/flay/verify_spec.rb similarity index 100% rename from devtools/spec/integration/devtools/rake/flay/verify_spec.rb rename to gems/devtools/spec/integration/devtools/rake/flay/verify_spec.rb diff --git a/devtools/spec/spec_helper.rb b/gems/devtools/spec/spec_helper.rb similarity index 100% rename from devtools/spec/spec_helper.rb rename to gems/devtools/spec/spec_helper.rb diff --git a/devtools/spec/unit/devtools/config/yardstick_spec.rb b/gems/devtools/spec/unit/devtools/config/yardstick_spec.rb similarity index 100% rename from devtools/spec/unit/devtools/config/yardstick_spec.rb rename to gems/devtools/spec/unit/devtools/config/yardstick_spec.rb diff --git a/devtools/spec/unit/devtools/config_spec.rb b/gems/devtools/spec/unit/devtools/config_spec.rb similarity index 100% rename from devtools/spec/unit/devtools/config_spec.rb rename to gems/devtools/spec/unit/devtools/config_spec.rb diff --git a/devtools/spec/unit/devtools/flay/file_list/call_spec.rb b/gems/devtools/spec/unit/devtools/flay/file_list/call_spec.rb similarity index 100% rename from devtools/spec/unit/devtools/flay/file_list/call_spec.rb rename to gems/devtools/spec/unit/devtools/flay/file_list/call_spec.rb diff --git a/devtools/spec/unit/devtools/flay/scale/flay_report_spec.rb b/gems/devtools/spec/unit/devtools/flay/scale/flay_report_spec.rb similarity index 100% rename from devtools/spec/unit/devtools/flay/scale/flay_report_spec.rb rename to gems/devtools/spec/unit/devtools/flay/scale/flay_report_spec.rb diff --git a/devtools/spec/unit/devtools/flay/scale/measure_spec.rb b/gems/devtools/spec/unit/devtools/flay/scale/measure_spec.rb similarity index 100% rename from devtools/spec/unit/devtools/flay/scale/measure_spec.rb rename to gems/devtools/spec/unit/devtools/flay/scale/measure_spec.rb diff --git a/devtools/spec/unit/devtools/project/initializer/rake_spec.rb b/gems/devtools/spec/unit/devtools/project/initializer/rake_spec.rb similarity index 100% rename from devtools/spec/unit/devtools/project/initializer/rake_spec.rb rename to gems/devtools/spec/unit/devtools/project/initializer/rake_spec.rb diff --git a/devtools/spec/unit/devtools/project/initializer/rspec_spec.rb b/gems/devtools/spec/unit/devtools/project/initializer/rspec_spec.rb similarity index 100% rename from devtools/spec/unit/devtools/project/initializer/rspec_spec.rb rename to gems/devtools/spec/unit/devtools/project/initializer/rspec_spec.rb diff --git a/devtools/spec/unit/devtools/project_spec.rb b/gems/devtools/spec/unit/devtools/project_spec.rb similarity index 100% rename from devtools/spec/unit/devtools/project_spec.rb rename to gems/devtools/spec/unit/devtools/project_spec.rb diff --git a/devtools/spec/unit/devtools_spec.rb b/gems/devtools/spec/unit/devtools_spec.rb similarity index 100% rename from devtools/spec/unit/devtools_spec.rb rename to gems/devtools/spec/unit/devtools_spec.rb diff --git a/devtools/tasks/metrics/ci.rake b/gems/devtools/tasks/metrics/ci.rake similarity index 100% rename from devtools/tasks/metrics/ci.rake rename to gems/devtools/tasks/metrics/ci.rake diff --git a/devtools/tasks/metrics/coverage.rake b/gems/devtools/tasks/metrics/coverage.rake similarity index 100% rename from devtools/tasks/metrics/coverage.rake rename to gems/devtools/tasks/metrics/coverage.rake diff --git a/devtools/tasks/metrics/flay.rake b/gems/devtools/tasks/metrics/flay.rake similarity index 100% rename from devtools/tasks/metrics/flay.rake rename to gems/devtools/tasks/metrics/flay.rake diff --git a/devtools/tasks/metrics/flog.rake b/gems/devtools/tasks/metrics/flog.rake similarity index 100% rename from devtools/tasks/metrics/flog.rake rename to gems/devtools/tasks/metrics/flog.rake diff --git a/devtools/tasks/metrics/mutant.rake b/gems/devtools/tasks/metrics/mutant.rake similarity index 100% rename from devtools/tasks/metrics/mutant.rake rename to gems/devtools/tasks/metrics/mutant.rake diff --git a/devtools/tasks/metrics/reek.rake b/gems/devtools/tasks/metrics/reek.rake similarity index 100% rename from devtools/tasks/metrics/reek.rake rename to gems/devtools/tasks/metrics/reek.rake diff --git a/devtools/tasks/metrics/rubocop.rake b/gems/devtools/tasks/metrics/rubocop.rake similarity index 100% rename from devtools/tasks/metrics/rubocop.rake rename to gems/devtools/tasks/metrics/rubocop.rake diff --git a/devtools/tasks/metrics/yardstick.rake b/gems/devtools/tasks/metrics/yardstick.rake similarity index 100% rename from devtools/tasks/metrics/yardstick.rake rename to gems/devtools/tasks/metrics/yardstick.rake diff --git a/devtools/tasks/spec.rake b/gems/devtools/tasks/spec.rake similarity index 100% rename from devtools/tasks/spec.rake rename to gems/devtools/tasks/spec.rake diff --git a/devtools/tasks/yard.rake b/gems/devtools/tasks/yard.rake similarity index 100% rename from devtools/tasks/yard.rake rename to gems/devtools/tasks/yard.rake