Skip to content

Commit b413bd7

Browse files
authored
Add explicit dependency to 'cgi' for ruby 4.0 support
2 parents a11f8a4 + 82f4fe9 commit b413bd7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
ruby: [ '2.6', '2.7', '3.0', '3.1', '3.2' ]
13+
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.4', '4.0' ]
1414

1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Ruby ${{ matrix.ruby }}
18-
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 #v1.190.0 tag
18+
uses: ruby/setup-ruby@d697be2f83c6234b20877c3b5eac7a7f342f0d0c #v1.269.0 tag
1919
with:
2020
ruby-version: ${{ matrix.ruby }}
2121
bundler-cache: true

secure_headers.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ Gem::Specification.new do |gem|
2929

3030
gem.extra_rdoc_files = Dir["README.md", "CHANGELOG.md", "LICENSE"]
3131

32+
gem.add_dependency "cgi", ">= 0.1"
33+
3234
gem.add_development_dependency "rake"
3335
end

0 commit comments

Comments
 (0)