From a4d1f4e1ed7c831c7130ea91e9f1d2ae79e1cd84 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 19:01:24 +0000 Subject: [PATCH 1/2] Update rubocop requirement from ~> 1.82.1 to ~> 1.86.0 Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.82.1...v1.86.0) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.86.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- publify_textfilter_code.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publify_textfilter_code.gemspec b/publify_textfilter_code.gemspec index f007faf..a721f9c 100644 --- a/publify_textfilter_code.gemspec +++ b/publify_textfilter_code.gemspec @@ -24,7 +24,7 @@ Gem::Specification.new do |s| s.add_development_dependency "appraisal", "~> 2.3" s.add_development_dependency "rspec-rails", "~> 7.1" - s.add_development_dependency "rubocop", "~> 1.82.1" + s.add_development_dependency "rubocop", "~> 1.86.0" s.add_development_dependency "rubocop-capybara", "~> 2.22.1" s.add_development_dependency "rubocop-factory_bot", "~> 2.28.0" s.add_development_dependency "rubocop-performance", "~> 1.26.1" From 8a1a4ccc36b14026de3586dd83d8941aa65bf914 Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Sat, 9 May 2026 13:09:06 +0200 Subject: [PATCH 2/2] Correct Style/FileOpen offenses --- lib/tasks/manifest.rake | 2 +- publify_textfilter_code.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/manifest.rake b/lib/tasks/manifest.rake index 771db43..7403c6e 100644 --- a/lib/tasks/manifest.rake +++ b/lib/tasks/manifest.rake @@ -12,7 +12,7 @@ namespace :manifest do end def manifest_files - File.open("Manifest.txt").readlines.map(&:chomp) + File.readlines("Manifest.txt").map(&:chomp) end desc "Create manifest" diff --git a/publify_textfilter_code.gemspec b/publify_textfilter_code.gemspec index a721f9c..9a892c2 100644 --- a/publify_textfilter_code.gemspec +++ b/publify_textfilter_code.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.description = "Code text filter sidebar for the Publify blogging system." s.license = "MIT" - s.files = File.open("Manifest.txt").readlines.map(&:chomp) + s.files = File.readlines("Manifest.txt").map(&:chomp) s.required_ruby_version = ">= 3.2.0"