diff --git a/Appraisals b/Appraisals index 4ba9dc9..23c303c 100644 --- a/Appraisals +++ b/Appraisals @@ -3,6 +3,7 @@ appraise "activerecord-6.1" do gem "mysql2", "~> 0.5" gem "pg", ">= 0.18", "< 2.0" gem "sqlite3", "~> 1.4.0" + gem "racc", '~> 1.7.3', platforms: [:ruby_33] end appraise "activerecord-7.0" do @@ -11,6 +12,7 @@ appraise "activerecord-7.0" do gem "mysql2", "~> 0.5" gem "pg", ">= 0.18", "< 2.0" gem "sqlite3", "~> 1.4.0" + gem "racc", '~> 1.7.3', platforms: [:ruby_33] end appraise "activerecord-7.1" do @@ -18,6 +20,7 @@ appraise "activerecord-7.1" do gem "mysql2", "~> 0.5" gem "pg", ">= 0.18", "< 2.0" gem "sqlite3", "~> 1.4.0" + gem "racc", '~> 1.7.3', platforms: [:ruby_33] end appraise "activerecord-edge" do @@ -26,4 +29,5 @@ appraise "activerecord-edge" do gem "mysql2", "~> 0.5" gem "pg", ">= 0.18", "< 2.0" gem "sqlite3", "~> 1.4.0" + gem "racc", '~> 1.7.3', platforms: [:ruby_33] end diff --git a/Gemfile b/Gemfile index a0d3878..a76356d 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,8 @@ source "https://rubygems.org" gemspec +# TODO: seems like this should be fixed in ruby_parser 🤔 +gem "racc", '~> 1.7.3', platforms: [:ruby_33] group :development do gem 'appraisal' diff --git a/gemfiles/activerecord_6.1.gemfile b/gemfiles/activerecord_6.1.gemfile index a31243f..8d60f7a 100644 --- a/gemfiles/activerecord_6.1.gemfile +++ b/gemfiles/activerecord_6.1.gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" +gem "racc", "~> 1.7.3", platforms: [:ruby_33] gem "activerecord", "~> 6.1.0" gem "mysql2", "~> 0.5" gem "pg", ">= 0.18", "< 2.0" diff --git a/gemfiles/activerecord_7.0.gemfile b/gemfiles/activerecord_7.0.gemfile index 5a31a32..4edc4e2 100644 --- a/gemfiles/activerecord_7.0.gemfile +++ b/gemfiles/activerecord_7.0.gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" +gem "racc", "~> 1.7.3", platforms: [:ruby_33] gem "activerecord", "~> 7.0.0" gem "activerecord-trilogy-adapter", "~> 3.0.0" gem "mysql2", "~> 0.5" diff --git a/gemfiles/activerecord_7.1.gemfile b/gemfiles/activerecord_7.1.gemfile index 921e018..d386057 100644 --- a/gemfiles/activerecord_7.1.gemfile +++ b/gemfiles/activerecord_7.1.gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" +gem "racc", "~> 1.7.3", platforms: [:ruby_33] gem "activerecord", "~> 7.0.0" gem "mysql2", "~> 0.5" gem "pg", ">= 0.18", "< 2.0" diff --git a/gemfiles/activerecord_edge.gemfile b/gemfiles/activerecord_edge.gemfile index 0db6068..f72e482 100644 --- a/gemfiles/activerecord_edge.gemfile +++ b/gemfiles/activerecord_edge.gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" +gem "racc", "~> 1.7.3", platforms: [:ruby_33] gem "arel", github: "rails/arel" gem "activerecord", github: "rails/rails", branch: "main" gem "mysql2", "~> 0.5" diff --git a/hairtrigger.gemspec b/hairtrigger.gemspec index 9c28fad..b3899ec 100644 --- a/hairtrigger.gemspec +++ b/hairtrigger.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.summary = 'easy database triggers for active record' s.description = 'allows you to declare database triggers in ruby in your models, and then generate appropriate migrations as they change' - s.required_ruby_version = '>= 2.5.0' + s.required_ruby_version = '>= 3.0' s.author = 'Jon Jensen' s.email = 'jenseng@gmail.com'