Skip to content

Commit

Permalink
Add support to Ruby 3.2 (no changes needed)
Browse files Browse the repository at this point in the history
This also reverts 7bf546c, using the
"latest" rubygems is now making older combos of Ruby + Rails to fail due
to the rubygems version, removing it gets us back to green.
  • Loading branch information
carlosantoniodasilva committed Jan 16, 2023
1 parent 7bf546c commit 367dbe5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- gemfiles/Gemfile-rails-6-0
- gemfiles/Gemfile-rails-5-2
ruby:
- '3.2'
- '3.1'
- '3.0'
- '2.7'
Expand All @@ -26,8 +27,12 @@ jobs:
ruby: '2.6'
- gemfile: gemfiles/Gemfile-rails-main
ruby: '2.5'
- gemfile: gemfiles/Gemfile-rails-6-0
ruby: '3.2'
- gemfile: gemfiles/Gemfile-rails-6-0
ruby: '3.1'
- gemfile: gemfiles/Gemfile-rails-5-2
ruby: '3.2'
- gemfile: gemfiles/Gemfile-rails-5-2
ruby: '3.1'
- gemfile: gemfiles/Gemfile-rails-5-2
Expand All @@ -38,10 +43,9 @@ jobs:
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs bundle install and caches installed gems automatically
rubygems: 'latest'
- run: bundle exec rake
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Unreleased

* Add support for Rails 7.0 and Ruby 3.1 (no changes required)
* Add support for Rails 7.0 and Ruby 3.1/3.2 (no changes required)

## 0.8.0

Expand Down
20 changes: 10 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,29 @@ GEM
builder (3.2.4)
concurrent-ruby (1.1.10)
crass (1.0.6)
erubi (1.11.0)
erubi (1.12.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
loofah (2.19.0)
loofah (2.19.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
metaclass (0.0.4)
mini_portile2 (2.8.0)
minitest (5.16.3)
mini_portile2 (2.8.1)
minitest (5.17.0)
mocha (1.0.0)
metaclass (~> 0.0.1)
nokogiri (1.13.9)
nokogiri (1.14.0)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
racc (1.6.0)
rack (2.2.4)
racc (1.6.2)
rack (2.2.5)
rack-test (2.0.2)
rack (>= 1.3)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.3)
loofah (~> 2.3)
rails-html-sanitizer (1.4.4)
loofah (~> 2.19, >= 2.19.1)
rake (13.0.6)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
Expand All @@ -67,4 +67,4 @@ DEPENDENCIES
rake

BUNDLED WITH
2.3.24
2.4.3

0 comments on commit 367dbe5

Please sign in to comment.