From d19783372c7f6906bb0982de2027512a3c51cc28 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 25 Dec 2023 08:26:12 +0000 Subject: [PATCH 1/2] Adds Ruby 3.3 to test matrix --- .github/workflows/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 3ad8483..31c9349 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -6,7 +6,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', 'head', 'jruby-9.2', 'jruby-9.3', 'jruby-9.4', 'jruby-head', 'truffleruby' ] + ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'head', 'jruby-9.2', 'jruby-9.3', 'jruby-9.4', 'jruby-head', 'truffleruby' ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 From d2c5b27679d58a477b3ddb6ba7d8af7a194e2456 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 25 Dec 2023 08:30:20 +0000 Subject: [PATCH 2/2] Addresses Rubocop issues --- bin/ci_uy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/ci_uy b/bin/ci_uy index 75a69ce..9f90a28 100755 --- a/bin/ci_uy +++ b/bin/ci_uy @@ -6,11 +6,11 @@ require 'ci_uy' args = ARGV.dup case args[0] -when ('validate' || 'validate_ci') +when 'validate' || 'validate_ci' puts CiUY.validate args[1].dup -when ('random' || 'get_random_ci') +when 'random' || 'get_random_ci' puts CiUY.random -when ('validation_digit' || 'get_validation_digit') +when 'validation_digit' || 'get_validation_digit' puts CiUY.validation_digit args[1].dup else puts <<-MANUAL