From e860c09c81ebe324f3a3c1cd3d2ea1c2ae5643d7 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sat, 31 Oct 2026 16:56:35 +0300 Subject: [PATCH] ci: fix copyrights and rake jobs on master Update the copyright years in test.sh and bash/deploy.sh, drop the unused rubocop-rspec that crashes RuboCop, and use add_dependency in the gemspec. --- Gemfile | 1 - Rakefile | 1 - bash/deploy.sh | 2 +- jgd.gemspec | 4 ++-- test.sh | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 6b7e827..2e1a37a 100644 --- a/Gemfile +++ b/Gemfile @@ -11,4 +11,3 @@ gem 'rubocop', '~>1.59', require: false gem 'rubocop-minitest', '>0', require: false gem 'rubocop-performance', '>0', require: false gem 'rubocop-rake', '>0', require: false -gem 'rubocop-rspec', '~>2.31', require: false diff --git a/Rakefile b/Rakefile index 801cec9..a286840 100644 --- a/Rakefile +++ b/Rakefile @@ -22,5 +22,4 @@ task default: %i[clean rubocop] require 'rubocop/rake_task' RuboCop::RakeTask.new(:rubocop) do |task| task.fail_on_error = true - task.requires << 'rubocop-rspec' end diff --git a/bash/deploy.sh b/bash/deploy.sh index c5826f4..f902af9 100755 --- a/bash/deploy.sh +++ b/bash/deploy.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# SPDX-FileCopyrightText: Copyright (c) 2025 Yegor Bugayenko +# SPDX-FileCopyrightText: Copyright (c) 2014-2026 Yegor Bugayenko # SPDX-License-Identifier: MIT set -ex -o pipefail diff --git a/jgd.gemspec b/jgd.gemspec index 70acce5..aefd18a 100644 --- a/jgd.gemspec +++ b/jgd.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } s.rdoc_options = ['--charset=UTF-8'] s.extra_rdoc_files = ['README.md', 'LICENSE.txt'] - s.add_runtime_dependency('jekyll', '>=1') - s.add_runtime_dependency('trollop', '>=2') + s.add_dependency('jekyll', '>=1') + s.add_dependency('trollop', '>=2') s.metadata['rubygems_mfa_required'] = 'true' end diff --git a/test.sh b/test.sh index 320616f..5a6e985 100755 --- a/test.sh +++ b/test.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# SPDX-FileCopyrightText: Copyright (c) 2025 Yegor Bugayenko +# SPDX-FileCopyrightText: Copyright (c) 2014-2026 Yegor Bugayenko # SPDX-License-Identifier: MIT set -ex -o pipefail