From 372e3d205e05dbe7bcb1c317ead8e6cd036523d1 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 22 Jun 2020 12:18:32 -0700 Subject: [PATCH] Update Foodcritic to 16.3 to remove gherkin/cucumber/backports Nukes a large pile of deps and slims down the app a bit. backports 671 files / 2.5MB on disk gherkin: 23 files / 209k on disk cucumber-core: 55 files / 221k on disk cucumber-tag-expressions: 10 files / 25k on disk ~3 megs shaved off the install and 759 files Signed-off-by: Tim Smith --- components/gems/Gemfile | 2 +- components/gems/Gemfile.lock | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/components/gems/Gemfile b/components/gems/Gemfile index 4881d650a..6cbca4187 100644 --- a/components/gems/Gemfile +++ b/components/gems/Gemfile @@ -28,7 +28,7 @@ group(:omnibus_package, :development, :test) do gem "yard" gem "guard" gem "cookstyle", "~> 6.8" - gem "foodcritic", ">= 16.2" + gem "foodcritic", ">= 16.3" gem "ffi-libarchive" end diff --git a/components/gems/Gemfile.lock b/components/gems/Gemfile.lock index cc63fc677..89a2a78ad 100644 --- a/components/gems/Gemfile.lock +++ b/components/gems/Gemfile.lock @@ -182,7 +182,6 @@ GEM ms_rest_azure (~> 0.12.0) azure_mgmt_storage (0.21.1) ms_rest_azure (~> 0.12.0) - backports (3.18.0) bcrypt_pbkdf (1.1.0.rc1) bcrypt_pbkdf (1.1.0.rc1-x64-mingw32) bcrypt_pbkdf (1.1.0.rc1-x86-mingw32) @@ -354,11 +353,6 @@ GEM mixlib-archive (>= 0.4, < 2.0) cookstyle (6.8.0) rubocop (= 0.85.1) - cucumber-core (3.2.1) - backports (>= 3.8.0) - cucumber-tag_expressions (~> 1.1.0) - gherkin (~> 5.0) - cucumber-tag_expressions (1.1.1) debug_inspector (0.0.3) declarative (0.0.10) declarative-option (0.1.0) @@ -422,8 +416,7 @@ GEM fog-core (~> 2.1) fog-json (>= 1.0) ipaddress (>= 0.8) - foodcritic (16.2.0) - cucumber-core (>= 1.3, < 4.0) + foodcritic (16.3.0) erubis ffi-yajl (~> 2.0) nokogiri (>= 1.5, < 2.0) @@ -434,7 +427,6 @@ GEM fuzzyurl (0.9.0) gcewinpass (1.1.0) google-api-client (~> 0.13) - gherkin (5.1.0) google-api-client (0.34.1) addressable (~> 2.5, >= 2.5.1) googleauth (~> 0.9) @@ -1059,7 +1051,7 @@ DEPENDENCIES fauxhai-ng (~> 8) ffi-libarchive ffi-rzmq-core - foodcritic (>= 16.2) + foodcritic (>= 16.3) guard inspec (~> 4.20) inspec-bin (~> 4.20)