Skip to content

Commit

Permalink
Merge pull request #901 from github/ruby-3x
Browse files Browse the repository at this point in the history
Bring back proper support for Ruby 3.x
  • Loading branch information
yoannchaudet committed Feb 6, 2024
2 parents 3626b3a + 9a20094 commit 3fb2b08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
matrix:
ruby:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ RUN apt-get update \
make \
nodejs

# final version for rubygems-update to supoprt ruby 2.7, consider removing this after upgraded to ruby 3.0
RUN gem update --system

COPY .git /src/gh/pages-gem/.git
COPY Gemfile* /src/gh/pages-gem/
COPY github-pages.gemspec /src/gh/pages-gem
Expand Down
2 changes: 1 addition & 1 deletion lib/github-pages/dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def self.version_report
require "nokogiri"

{
"ruby" => "3.3",
"ruby" => RUBY_VERSION,

# Gem versions we're curious about
"github-pages" => VERSION.to_s,
Expand Down

0 comments on commit 3fb2b08

Please sign in to comment.