From 966575c97b9709b66ba337f6b3b1ddcde67c0960 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 17 May 2024 17:22:39 +0100 Subject: [PATCH] Prevent use of buggy parser gem https://github.com/inspec/inspec/issues/7029 --- Gemfile | 1 + Gemfile.lock | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index ec9eb03b0..b3ddc3de8 100644 --- a/Gemfile +++ b/Gemfile @@ -3,4 +3,5 @@ source "https://rubygems.org" gem "cookstyle" gem "kitchen-dokken" gem "kitchen-inspec" +gem "parser", "!= 3.3.1.0" gem "test-kitchen" diff --git a/Gemfile.lock b/Gemfile.lock index 24ff1f177..45b76e6c5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -505,7 +505,7 @@ GEM options (2.3.2) os (1.1.4) parallel (1.24.0) - parser (3.3.1.0) + parser (3.3.0.5) ast (~> 2.4.1) racc parslet (2.0.0) @@ -555,8 +555,8 @@ GEM rubocop-ast (>= 1.15.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.31.3) - parser (>= 3.3.1.0) + rubocop-ast (1.31.2) + parser (>= 3.3.0.4) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) rubyntlm (0.6.3) @@ -760,6 +760,7 @@ DEPENDENCIES cookstyle kitchen-dokken kitchen-inspec + parser (!= 3.3.1.0) test-kitchen BUNDLED WITH -- 2.39.5