Skip to content

Commit 21bf237

Browse files
authored
Upgrade dependencies to more secure versions (#370)
* Upgrade dependencies to more secure versions * Bump version of ombu_labs-auth * Upgrade RuboCop and StandardRB to support Ruby 3.4 * Bumped ruby and rubocop/standard Also, use more modern defaults * Add next/else to Gemfile and correct ruby version for next CI job
1 parent 1a16f84 commit 21bf237

9 files changed

Lines changed: 230 additions & 174 deletions

File tree

.github/workflows/tests-next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Ruby
3636
uses: ruby/setup-ruby@v1
3737
with:
38-
ruby-version: "3.2.3"
38+
ruby-version: "3.4.10"
3939

4040
- name: Build App
4141
run: |

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Ruby
3636
uses: ruby/setup-ruby@v1
3737
with:
38-
ruby-version: "3.2.3"
38+
ruby-version: "3.4.10"
3939
bundler-cache: true
4040

4141
- name: Build App

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ inherit_gem:
77
AllCops:
88
SuggestExtensions: false
99
NewCops: enable
10+
TargetRubyVersion: 3.4
1011
Exclude: # ignore files in these directories when running the linter
1112
- bin/**/*
1213
- node_modules/**/*

Gemfile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,23 @@ def next?
44
File.basename(__FILE__) == "Gemfile.next"
55
end
66

7-
ruby "3.2.3"
7+
ruby "3.4.10"
88

99
git_source(:github) do |repo_name|
1010
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
1111
"https://github.com/#{repo_name}.git"
1212
end
1313

14-
gem "rails", "~> 8.0.0"
14+
if next?
15+
gem "rails", "~> 8.1.0"
16+
gem "mutex_m"
17+
else
18+
gem "rails", "~> 8.0.0"
19+
end
20+
1521
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
22+
gem "rails-observers"
23+
gem "csv"
1624

1725
gem "bootstrap-sass", "3.4.1"
1826

@@ -44,7 +52,7 @@ gem "jquery-rails"
4452

4553
gem "pg"
4654

47-
gem "jquery-ui-rails", "~> 6.0"
55+
gem "jquery-ui-rails", "~> 8.0"
4856
gem "acts_as_list"
4957

5058
gem "mimemagic", "~> 0.3.8"

0 commit comments

Comments
 (0)