From c1df00840e07da53a7078f66de05624392da9642 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Mon, 29 Jun 2026 23:19:38 +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-iso.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 5a1a3d5..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: 3.1 + TargetRubyVersion: 3.4 diff --git a/pubid-iso.gemspec b/pubid-iso.gemspec index 41aaf69..3b1fdb7 100644 --- a/pubid-iso.gemspec +++ b/pubid-iso.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(">= 3.1.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"