From c157e757ebb9cde3c92063195a28412cd5d8d7c3 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Sat, 31 Aug 2024 19:24:05 +0200 Subject: [PATCH] Generate frozen_string_literal comments in appraisals automatically --- Appraisals | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Appraisals b/Appraisals index 335661926..cf71bf9ae 100644 --- a/Appraisals +++ b/Appraisals @@ -1,5 +1,14 @@ # frozen_string_literal: true +# HACK: This uses odd syntax to make appraisal customization work on newer Rubies. +# See https://github.com/thoughtbot/appraisal/pull/214. Once that one has been +# released, we should use customize_gemfiles instead. +Customize.new heading: <<~HEADING.chomp + frozen_string_literal: true + + This file was generated by Appraisal +HEADING + appraise "cucumber_8" do gem "cucumber", "~> 8.0" end