Skip to content

Commit

Permalink
add racc for ruby 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jenseng committed Jan 2, 2024
1 parent a6f8289 commit ff504ba
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -11,13 +12,15 @@ 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
gem "activerecord", "~> 7.0.0"
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
Expand All @@ -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
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions gemfiles/activerecord_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/activerecord_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/activerecord_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/activerecord_edge.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion hairtrigger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '[email protected]'
Expand Down

0 comments on commit ff504ba

Please sign in to comment.