Skip to content

Commit 8bf790f

Browse files
authored
Merge pull request #158 from oivoodoo/copilot/fix-ae9def7a-9876-4593-9f98-5edbb30a203b
Security: Update dependencies to fix 6 security vulnerabilities and modernize CI
2 parents c919557 + 66efbd8 commit 8bf790f

File tree

7 files changed

+118
-99
lines changed

7 files changed

+118
-99
lines changed

.github/workflows/brakeman-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ jobs:
3939
4040
# Upload the SARIF file generated in the previous step
4141
- name: Upload SARIF
42-
uses: github/codeql-action/upload-sarif@v2
42+
uses: github/codeql-action/upload-sarif@v4
4343
with:
4444
sarif_file: output.sarif.json

.github/workflows/rubocop-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010

1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414

1515
# If running on a self-hosted runner, check it meets the requirements
1616
# listed at https://github.com/ruby/setup-ruby#using-self-hosted-runners
1717
- name: Set up Ruby
1818
uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: 2.7
20+
ruby-version: 3.2
2121

2222
# This step is not necessary if you add the gem to your Gemfile
2323
- name: Install Code Scanning integration
@@ -34,6 +34,6 @@ jobs:
3434
"
3535
3636
- name: Upload Sarif output
37-
uses: github/codeql-action/upload-sarif@v1
37+
uses: github/codeql-action/upload-sarif@v4
3838
with:
3939
sarif_file: rubocop.sarif

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: ruby
22
rvm:
3-
- 2.7.7
43
- 3.0.4
4+
- 3.1.4
5+
- 3.2.0
56
script: time ./script/travis.sh
67
addons:
78
apt:

Gemfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ gemspec
55

66
group :test do
77
gem 'activerecord', '>= 8.0.2.1'
8+
89
gem 'actionmailer', '>= 8.0.2.1'
910
gem 'bson_ext', '~> 1.3'
1011
gem 'sqlite3'
@@ -29,12 +30,18 @@ group :test do
2930
gem 'shoulda'
3031
gem 'rb-fsevent'
3132
gem 'factory_bot_rails', '>= 5.2.0'
32-
gem 'database_cleaner', '< 1.1.0'
33+
gem 'database_cleaner', '>= 2.0.0'
3334
gem 'cucumber'
3435
gem 'capybara', '>= 3.38.0'
3536
gem 'cucumber-rails', '>= 2.1.0'
3637
gem 'selenium-webdriver'
37-
gem 'chromedriver-helper'
38+
gem 'webdrivers'
3839
gem 'launchy'
3940
gem 'nokogiri', '>= 1.18.8'
41+
42+
# Security updates
43+
gem 'rack', '>= 3.1.16'
44+
gem 'rack-session', '>= 2.1.1'
45+
gem 'thor', '>= 1.4.0'
46+
gem 'net-imap', '>= 0.5.7'
4047
end

0 commit comments

Comments
 (0)