From ea2bd2193e907762649c26c7de5441d35a954c5a Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Mon, 29 Jun 2026 23:20:13 +1000 Subject: [PATCH] cimas-sync 2026-06-29: bump required_ruby_version to 3.3 and bring rake.yml / .rubocop.yml to current master template (refs metanorma/ci#274) request-checks: true --- .github/workflows/rake.yml | 3 +++ .rubocop.yml | 4 ++-- pubid-plateau.gemspec | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index b13a247..9a6f9b2 100644 --- a/.github/workflows/rake.yml +++ b/.github/workflows/rake.yml @@ -8,6 +8,9 @@ on: tags: [ v* ] pull_request: +permissions: + contents: write + jobs: rake: uses: metanorma/ci/.github/workflows/generic-rake.yml@main diff --git a/.rubocop.yml b/.rubocop.yml index b69d50f..ac0ef06 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,10 +1,10 @@ # Auto-generated by Cimas: Do not edit it manually! # See https://github.com/metanorma/cimas inherit_from: - - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml + - https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml # local repo-specific modifications # ... AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 3.4 diff --git a/pubid-plateau.gemspec b/pubid-plateau.gemspec index b2b5838..959e658 100644 --- a/pubid-plateau.gemspec +++ b/pubid-plateau.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |spec| spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") + spec.required_ruby_version = Gem::Requirement.new(">= 3.3.0") spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rspec", "~> 3.0"