From c43e60629e145b0c4d9f22bea1abb2a68c896c80 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Sun, 24 Nov 2024 01:27:19 +0100 Subject: [PATCH 1/2] Extend test matrix to cover all supported ruby versions --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 181c788..dd579d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,10 @@ jobs: strategy: matrix: ruby: + - '3.0.0' # using 3.0.0 instead of latest patch as 3.0.0 is the minimum specified in the gemspec + - '3.1.6' - '3.2.2' + - '3.3.6' steps: - uses: actions/checkout@v4 From 9b7f7a16c3adf7bc8e15185f35a34cd63d44160f Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Sun, 24 Nov 2024 01:34:33 +0100 Subject: [PATCH 2/2] Update required ruby version to match actual state --- .github/workflows/main.yml | 3 +-- .rubocop.yml | 5 ++++- code0-identities.gemspec | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dd579d2..9334843 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,8 +14,7 @@ jobs: strategy: matrix: ruby: - - '3.0.0' # using 3.0.0 instead of latest patch as 3.0.0 is the minimum specified in the gemspec - - '3.1.6' + - '3.1.2' # using 3.1.2 instead of latest patch as 3.1.2 is the minimum specified in the gemspec - '3.2.2' - '3.3.6' diff --git a/.rubocop.yml b/.rubocop.yml index d5538f2..0b0dde1 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ require: - rubocop-rspec AllCops: - TargetRubyVersion: 3.0.0 + TargetRubyVersion: 3.1.2 NewCops: enable Gemspec/DevelopmentDependencies: @@ -38,6 +38,9 @@ RSpec/ExampleLength: Style/Documentation: Enabled: false +Style/HashSyntax: + EnforcedShorthandSyntax: never + RSpec/MultipleMemoizedHelpers: Enabled: false RSpec/MultipleExpectations: diff --git a/code0-identities.gemspec b/code0-identities.gemspec index 560fde5..8f9fb79 100644 --- a/code0-identities.gemspec +++ b/code0-identities.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| spec.summary = "Library to manage external identities" spec.homepage = "https://github.com/code0-tech/code0-identities" spec.license = "MIT" - spec.required_ruby_version = ">= 3.0.0" + spec.required_ruby_version = ">= 3.1.2" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage