Skip to content

Commit b9e424d

Browse files
committed
CVE-2024-39908: Upgrade rexml
1 parent 7a75480 commit b9e424d

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

.github/workflows/specs.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
rails: ["6.0", "6.1", "7.0", "7.1"]
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: Set up Ruby ${{ matrix.ruby }}
1919
uses: ruby/setup-ruby@v1
2020
with:
@@ -33,7 +33,6 @@ jobs:
3333
run: |
3434
bundle exec rake
3535
- name: Simplecov Report
36-
if: ${{ matrix.rails == '6.1' && matrix.ruby >= '3.0' }}
37-
uses: aki77/simplecov-report-action@v1
36+
uses: k1LoW/octocov-action@v1
3837
with:
39-
token: ${{ secrets.GITHUB_TOKEN }}
38+
github-token: ${{ secrets.GITHUB_TOKEN }}

.octocov.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# generated by octocov init
2+
coverage:
3+
if: true
4+
testExecutionTime:
5+
if: true
6+
diff:
7+
datastores:
8+
- artifact://${GITHUB_REPOSITORY}
9+
summary:
10+
if: true
11+
report:
12+
if: is_default_branch
13+
datastores:
14+
- artifact://${GITHUB_REPOSITORY}

Gemfile.lock

+2-4
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ GEM
166166
responders (3.1.0)
167167
actionpack (>= 5.2)
168168
railties (>= 5.2)
169-
rexml (3.2.9)
170-
strscan
169+
rexml (3.3.7)
171170
rspec (3.12.0)
172171
rspec-core (~> 3.12.0)
173172
rspec-expectations (~> 3.12.0)
@@ -228,7 +227,6 @@ GEM
228227
lint_roller (~> 1.0)
229228
rubocop-performance (~> 1.16.0)
230229
stringio (3.0.9)
231-
strscan (3.1.0)
232230
thor (1.3.0)
233231
timeout (0.4.1)
234232
tzinfo (2.0.6)
@@ -270,4 +268,4 @@ DEPENDENCIES
270268
webmock
271269

272270
BUNDLED WITH
273-
2.5.15
271+
2.5.18

spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
Rails.backtrace_cleaner.remove_silencers!
1717

18-
if Rails.gem_version >= Gem::Version.new("6.0.0")
18+
if Rails.gem_version < Gem::Version.new("7.0.0")
1919
ActiveRecord::MigrationContext.new(
2020
File.expand_path("../dummy_app/db/migrate", __FILE__),
2121
ActiveRecord::SchemaMigration

0 commit comments

Comments
 (0)