From 7594bed88ac2b6d51939057860c8ea27ca09f740 Mon Sep 17 00:00:00 2001 From: Dylan Thacker-Smith Date: Mon, 6 Jun 2022 11:04:45 -0400 Subject: [PATCH 1/2] Rubocop autocorrect Gemspec/DeprecatedAttributeAssignment offense --- liquid.gemspec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/liquid.gemspec b/liquid.gemspec index 68f3db57..65176776 100644 --- a/liquid.gemspec +++ b/liquid.gemspec @@ -22,8 +22,7 @@ Gem::Specification.new do |s| s.metadata['allowed_push_host'] = 'https://rubygems.org' - s.test_files = Dir.glob("{test}/**/*") - s.files = Dir.glob("{lib}/**/*") + %w(LICENSE README.md) + s.files = Dir.glob("{lib}/**/*") + %w(LICENSE README.md) s.extra_rdoc_files = ["History.md", "README.md"] From f697093e940202465b23f84b002dac1c82fb5c95 Mon Sep 17 00:00:00 2001 From: Dylan Thacker-Smith Date: Mon, 6 Jun 2022 11:20:05 -0400 Subject: [PATCH 2/2] Use stricter rubocop-shopify version constraint to reduce CI failures being introduced without a code change. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 22da6c55..5a12d54a 100644 --- a/Gemfile +++ b/Gemfile @@ -18,7 +18,7 @@ group :benchmark, :test do end group :test do - gem 'rubocop-shopify', '~> 2.6', require: false + gem 'rubocop-shopify', '~> 2.7.0', require: false gem 'rubocop-performance', require: false platform :mri, :truffleruby do