Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [pull_request]
on: [push]

jobs:
test:
Expand All @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3' ]
ruby: [ '3.0', '3.1', '3.2', '3.3', '3.4' ]
database: [ 'mysql', 'postgresql', 'sqlite' ]

services:
Expand Down
23 changes: 8 additions & 15 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
# frozen_string_literal: true

appraise "rails_5_2" do
gem "rails", "~> 5.2.0"
gem "rspec-rails", "~> 5.1"
gem "pg", "~> 1.0", :platform => :ruby
gem "mysql2", "~> 0.5.0", :platform => :ruby
end if RUBY_VERSION.to_f <= 2.7

if RUBY_PLATFORM != "java"
appraise "rails_6_0" do
gem "rails", "~> 6.0.0"
gem "rspec-rails", "~> 5.1"
gem "pg", "~> 1.0", :platform => :ruby
gem "mysql2", "~> 0.5.0", :platform => :ruby
gem "sqlite3", "~> 1.4", :platform => :ruby
end if RUBY_VERSION.to_f <= 2.7

appraise "rails_6_1" do
gem "rails", "~> 6.1.0"
gem "rspec-rails", "~> 6.1"
Expand Down Expand Up @@ -55,4 +40,12 @@ if RUBY_PLATFORM != "java"
gem "mysql2", "~> 0.5.0", :platform => :ruby
gem "sqlite3", "~> 2.3", :platform => :ruby
end if RUBY_VERSION.to_f >= 3.2

appraise "rails_8_1" do
gem "rails", "~> 8.1.0"
gem "rspec-rails", "~> 8.0"
gem "pg", "~> 1.0", :platform => :ruby
gem "mysql2", "~> 0.5.0", :platform => :ruby
gem "sqlite3", "~> 2.3", :platform => :ruby
end if RUBY_VERSION.to_f >= 3.2
end
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ gem "activerecord", [">= 5.2"] if RUBY_PLATFORM == "java"
gem "net-smtp" if RUBY_VERSION.to_f > 3.0
# mutex_m is no longer a default gem in MRI 3.4, warnings in 3.3
gem "mutex_m" if RUBY_VERSION.to_f > 3.2
# drb is no longer a default gem in MRI 4.0, warnings in 3.4
gem "drb" if RUBY_VERSION.to_f > 3.3
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ Gutentag::Tag.names_for_scope(Article.order(created_at: :desc).limit(2))

### Dependencies

These are the versions the test suite runs against. It's possible it may work on older versions of Ruby, but it definitely won't work on older versions of Rails.
These are the versions the current test suite runs against. It's possible that the gem may work on slightly older versions (Ruby 2.7, Rails 5.2).

* Ruby: MRI v2.7-v3.3
* Rails/ActiveRecord: v5.2-v8.0
* Ruby: MRI v3.0-v3.4
* Rails/ActiveRecord: v6.1-v8.0

If you're using MRI v2.2 and/or ActiveRecord v3.2, the last version of Gutentag that fully supported those versions is v2.4.1.

Expand Down