diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc01f48..16439d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,24 +11,18 @@ jobs: fail-fast: false matrix: ruby: + - "3.3" + - "3.2" + - "3.1" - "3.0" - - "2.7" - - "2.6" - - "2.5" rails: - - "5.2" - - "6.0" - "6.1" + - "7.0" + - "7.1" - main exclude: - - ruby: 2.5 - rails: main - - ruby: 2.6 - rails: main - ruby: 3.0 - rails: "5.1" - - ruby: 3.0 - rails: "5.2" + rails: main runs-on: 'ubuntu-latest' diff --git a/Gemfile b/Gemfile index 4a76ae0..7f7e84a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,11 @@ # A sample Gemfile -source "http://rubygems.org" +source "https://rubygems.org" gemspec group :test do gem "rspec", "~> 3.0" - gem "activerecord", ">= 5.2.0" + gem "activerecord", ">= 5.2.8.1" gem "sqlite3", :platform => [:ruby, :mswin, :mingw] gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby end diff --git a/gemfiles/Gemfile.activerecord-5.2.x b/gemfiles/Gemfile.activerecord-7.0.x similarity index 59% rename from gemfiles/Gemfile.activerecord-5.2.x rename to gemfiles/Gemfile.activerecord-7.0.x index fa37d51..c89815c 100644 --- a/gemfiles/Gemfile.activerecord-5.2.x +++ b/gemfiles/Gemfile.activerecord-7.0.x @@ -3,7 +3,6 @@ source "http://rubygems.org" group :test do gem "rspec" - gem "activerecord", "~>5.2.0" + gem "activerecord", "~>7.0.0" gem "sqlite3", :platform => [:ruby, :mswin, :mingw] - gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby end diff --git a/gemfiles/Gemfile.activerecord-6.0.x b/gemfiles/Gemfile.activerecord-7.1.x similarity index 59% rename from gemfiles/Gemfile.activerecord-6.0.x rename to gemfiles/Gemfile.activerecord-7.1.x index 2b01e7d..801928d 100644 --- a/gemfiles/Gemfile.activerecord-6.0.x +++ b/gemfiles/Gemfile.activerecord-7.1.x @@ -3,7 +3,6 @@ source "http://rubygems.org" group :test do gem "rspec" - gem "activerecord", "~>6.0.0" + gem "activerecord", "~>7.1.0" gem "sqlite3", :platform => [:ruby, :mswin, :mingw] - gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby end diff --git a/simple_state_machine.gemspec b/simple_state_machine.gemspec index 4f5a6d3..1623d5a 100644 --- a/simple_state_machine.gemspec +++ b/simple_state_machine.gemspec @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require "simple_state_machine/version" +$:.push File.expand_path("../lib", __FILE__) +require "simple_state_machine/version" Gem::Specification.new do |s| s.name = %q{simple_state_machine}