From d00e67272d3cb7c84d9165a10d0dfa7cf1fae702 Mon Sep 17 00:00:00 2001 From: arafat1802 <163821682+arh-wtag@users.noreply.github.com> Date: Tue, 25 Aug 2026 12:07:03 +0600 Subject: [PATCH 1/3] update ruby and re-install gemfile --- .ruby-version | 2 +- Dockerfile | 2 +- Gemfile.lock | 215 +++++++++++++++++++++++++++++++++----------------- 3 files changed, 144 insertions(+), 75 deletions(-) diff --git a/.ruby-version b/.ruby-version index be94e6f..84d6c67 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.2 +3.4.10 diff --git a/Dockerfile b/Dockerfile index 5f2c49b..d8dfd05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.2-alpine +FROM ruby:3.4-alpine # Runtime dependencies RUN apk --no-cache add \ diff --git a/Gemfile.lock b/Gemfile.lock index 439d148..39df093 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,68 +1,121 @@ GEM remote: https://rubygems.org/ specs: - activesupport (7.1.2) + activesupport (8.1.3.1) base64 bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) + concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + json + logger (>= 1.4.2) minitest (>= 5.1) - mutex_m - tzinfo (~> 2.0) - addressable (2.8.6) - public_suffix (>= 2.0.2, < 6.0) - ast (2.4.2) - base64 (0.2.0) - bigdecimal (3.1.4) - brakeman (6.1.0) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) + addressable (2.9.0) + public_suffix (>= 2.0.2, < 8.0) + ast (2.4.3) + base64 (0.3.0) + bigdecimal (4.1.2) + brakeman (8.0.6) + racc code_analyzer (0.5.5) sexp_processor - concurrent-ruby (1.2.2) - connection_pool (2.4.1) - drb (2.2.0) - ruby2_keywords - erubi (1.12.0) + concurrent-ruby (1.3.8) + connection_pool (3.0.2) + csv (3.3.6) + drb (2.2.3) + dry-configurable (1.4.0) + dry-core (~> 1.0) + zeitwerk (~> 2.6) + dry-core (1.2.0) + concurrent-ruby (~> 1.0) + logger + zeitwerk (~> 2.6) + dry-inflector (1.3.1) + dry-initializer (3.2.0) + dry-logic (1.6.0) + bigdecimal + concurrent-ruby (~> 1.0) + dry-core (~> 1.1) + zeitwerk (~> 2.6) + dry-schema (1.16.0) + concurrent-ruby (~> 1.0) + dry-configurable (~> 1.0, >= 1.0.1) + dry-core (~> 1.1) + dry-initializer (~> 3.2) + dry-logic (~> 1.6) + dry-types (~> 1.9, >= 1.9.1) + zeitwerk (~> 2.6) + dry-types (1.9.1) + bigdecimal (>= 3.0) + concurrent-ruby (~> 1.0) + dry-core (~> 1.0) + dry-inflector (~> 1.0) + dry-logic (~> 1.4) + zeitwerk (~> 2.6) + erubi (1.13.1) erubis (2.7.0) - faraday (2.7.12) - base64 - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.2) - ffi (1.16.3) - flay (2.13.1) + faraday (2.14.3) + faraday-net_http (>= 2.0, < 3.5) + json + logger + faraday-net_http (3.4.4) + net-http (~> 0.5) + ffi (1.17.4) + ffi (1.17.4-aarch64-linux-gnu) + ffi (1.17.4-aarch64-linux-musl) + ffi (1.17.4-arm-linux-gnu) + ffi (1.17.4-arm-linux-musl) + ffi (1.17.4-arm64-darwin) + ffi (1.17.4-x86-linux-gnu) + ffi (1.17.4-x86-linux-musl) + ffi (1.17.4-x86_64-darwin) + ffi (1.17.4-x86_64-linux-gnu) + ffi (1.17.4-x86_64-linux-musl) + flay (2.14.4) erubi (~> 1.10) - path_expander (~> 1.0) - ruby_parser (~> 3.0) + path_expander (~> 2.0) + prism (~> 1.7) sexp_processor (~> 4.0) - gitlab (4.19.0) + gitlab (4.20.1) httparty (~> 0.20) terminal-table (>= 1.5.1) - httparty (0.21.0) + httparty (0.24.2) + csv mini_mime (>= 1.0.0) multi_xml (>= 0.5.2) - i18n (1.14.1) + i18n (1.15.2) concurrent-ruby (~> 1.0) - json (2.7.1) - kwalify (0.7.2) - language_server-protocol (3.17.0.3) + json (2.21.2) + language_server-protocol (3.17.0.6) + lint_roller (1.1.0) + logger (1.7.0) mini_mime (1.1.5) - minitest (5.20.0) - multi_xml (0.6.0) - mutex_m (0.2.0) - octokit (7.2.0) + minitest (6.0.6) + drb (~> 2.0) + prism (~> 1.5) + multi_xml (0.9.1) + bigdecimal (>= 3.1, < 5) + net-http (0.9.1) + uri (>= 0.11.1) + octokit (10.0.0) faraday (>= 1, < 3) sawyer (~> 0.9) - parallel (1.23.0) - parser (3.2.2.4) + ostruct (0.6.3) + parallel (2.1.0) + parser (3.3.12.0) ast (~> 2.4.1) racc - path_expander (1.1.1) - pronto (0.11.2) + path_expander (2.0.1) + prism (1.9.0) + pronto (0.11.5) gitlab (>= 4.4.0, < 5.0) httparty (>= 0.13.7, < 1.0) - octokit (>= 4.7.0, < 8.0) + octokit (>= 4.7.0, < 11.0) + ostruct rainbow (>= 2.2, < 4.0) rexml (>= 3.2.5, < 4.0) rugged (>= 0.23.0, < 2.0) @@ -70,7 +123,7 @@ GEM pronto-brakeman (0.11.2) brakeman (>= 3.2.0) pronto (~> 0.11.0) - pronto-flay (0.11.1) + pronto-flay (0.11.2) flay (~> 2.8) pronto (~> 0.11.0) pronto-rails_best_practices (0.11.0) @@ -81,71 +134,87 @@ GEM pronto-reek (0.11.1) pronto (~> 0.11.0) reek (>= 4.2, < 7.0) - pronto-rubocop (0.11.5) + pronto-rubocop (0.11.6) pronto (~> 0.11.0) rubocop (>= 0.63.1, < 2.0) pronto-scss (0.11.0) pronto (~> 0.11.0) scss_lint (~> 0.43, >= 0.43.0) - public_suffix (5.0.4) - racc (1.7.3) - rails_best_practices (1.23.2) + public_suffix (7.0.5) + racc (1.8.1) + rails_best_practices (1.23.4) activesupport code_analyzer (~> 0.5.5) erubis i18n json + ostruct require_all (~> 3.0) ruby-progressbar rainbow (3.1.1) rb-fsevent (0.11.2) - rb-inotify (0.10.1) + rb-inotify (0.11.1) ffi (~> 1.0) - reek (6.1.4) - kwalify (~> 0.7.0) - parser (~> 3.2.0) + reek (6.5.0) + dry-schema (~> 1.13) + logger (~> 1.6) + parser (~> 3.3.0) rainbow (>= 2.0, < 4.0) - regexp_parser (2.8.3) + rexml (~> 3.1) + regexp_parser (2.12.0) require_all (3.0.0) - rexml (3.2.6) - rubocop (1.59.0) - json (~> 2.3) - language_server-protocol (>= 3.17.0) - parallel (~> 1.10) - parser (>= 3.2.2.4) + rexml (3.4.4) + rubocop (1.90.0) + json (>= 2.3) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) + parallel (>= 1.10) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.49.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.50.0) + parser (>= 3.3.7.2) + prism (~> 1.7) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) - ruby_parser (3.20.3) - sexp_processor (~> 4.16) - rugged (1.7.1) + rugged (1.9.6) sass (3.7.4) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.9.2) + sawyer (0.9.3) addressable (>= 2.3.5) faraday (>= 0.17.3, < 3) scss_lint (0.60.0) sass (~> 3.5, >= 3.5.5) - sexp_processor (4.17.0) - terminal-table (3.0.2) - unicode-display_width (>= 1.1.1, < 3) - thor (1.3.0) + securerandom (0.4.1) + sexp_processor (4.17.5) + terminal-table (4.0.0) + unicode-display_width (>= 1.1.1, < 4) + thor (1.5.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) + unicode-display_width (3.2.0) + unicode-emoji (~> 4.1) + unicode-emoji (4.2.0) + uri (1.1.1) + zeitwerk (2.8.3) PLATFORMS - aarch64-linux + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + ruby + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES pronto @@ -159,4 +228,4 @@ DEPENDENCIES rubocop (~> 1.50) BUNDLED WITH - 2.4.22 + 2.6.9 From c6ad5715876a3758e7de6c23f07e91ecd33fa53c Mon Sep 17 00:00:00 2001 From: arafat1802 <163821682+arh-wtag@users.noreply.github.com> Date: Tue, 25 Aug 2026 14:26:24 +0600 Subject: [PATCH 2/3] Update .rubocop.yml --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index d749781..6773411 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,3 @@ inherit_from: - - https://raw.githubusercontent.com/welldev-group/default-configs/master/rubocop-default-config-ruby3.2.yml + - https://raw.githubusercontent.com/welldev-group/default-configs/master/rubocop-default-config-ruby3.4.yml From 74dea4538638969e5f980fbfda90294e0a5ca145 Mon Sep 17 00:00:00 2001 From: arafat1802 <163821682+arh-wtag@users.noreply.github.com> Date: Tue, 25 Aug 2026 15:25:40 +0600 Subject: [PATCH 3/3] fixing pronto --- .rubocop.yml | 5 ++--- Gemfile | 2 +- Gemfile.lock | 17 ++++++++++++++++- action.yml | 2 +- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 6773411..dc9c9b4 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,2 @@ -inherit_from: - - https://raw.githubusercontent.com/welldev-group/default-configs/master/rubocop-default-config-ruby3.4.yml - +inherit_gem: + rubocop-rails-omakase: rubocop.yml diff --git a/Gemfile b/Gemfile index 966a002..d4a27e1 100644 --- a/Gemfile +++ b/Gemfile @@ -9,4 +9,4 @@ gem 'pronto-rails_schema', require: false gem 'pronto-reek', require: false gem 'pronto-scss', require: false -gem 'rubocop', '~> 1.50', require: false +gem "rubocop-rails-omakase", require: false diff --git a/Gemfile.lock b/Gemfile.lock index 39df093..342c07a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -142,6 +142,7 @@ GEM scss_lint (~> 0.43, >= 0.43.0) public_suffix (7.0.5) racc (1.8.1) + rack (3.2.7) rails_best_practices (1.23.4) activesupport code_analyzer (~> 0.5.5) @@ -178,6 +179,20 @@ GEM rubocop-ast (1.50.0) parser (>= 3.3.7.2) prism (~> 1.7) + rubocop-performance (1.27.0) + lint_roller (~> 1.1) + rubocop (>= 1.89.0, < 2.0) + rubocop-ast (>= 1.47.1, < 2.0) + rubocop-rails (2.37.0) + activesupport (>= 4.2.0) + lint_roller (~> 1.1) + rack (>= 1.1) + rubocop (>= 1.89.0, < 2.0) + rubocop-ast (>= 1.44.0, < 2.0) + rubocop-rails-omakase (1.1.0) + rubocop (>= 1.72) + rubocop-performance (>= 1.24) + rubocop-rails (>= 2.30) ruby-progressbar (1.13.0) rugged (1.9.6) sass (3.7.4) @@ -225,7 +240,7 @@ DEPENDENCIES pronto-reek pronto-rubocop pronto-scss - rubocop (~> 1.50) + rubocop-rails-omakase BUNDLED WITH 2.6.9 diff --git a/action.yml b/action.yml index 3545db3..12d124f 100644 --- a/action.yml +++ b/action.yml @@ -6,6 +6,6 @@ inputs: required: true runs: using: 'docker' - image: 'docker://welltravel/pronto-action:latest' + image: 'docker://welltravel/pronto-action:v14_ruby_3.4.10' args: - ${{ inputs.github_token }}