Skip to content

Commit

Permalink
chore: Support for Rails 8
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmoss committed Jan 4, 2025
1 parent 81efdc4 commit 45fe13d
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 66 deletions.
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ appraise 'rails-7.2' do
end

appraise 'rails-8' do
gem 'rails', '~> 8.0.0'
gem 'rails', '~> 8.0.1'
end
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ PATH
remote: .
specs:
proscenium (0.19.0.beta4)
activesupport (>= 7.1.0, < 8.0)
activesupport (>= 7.1.0, < 9.0)
ffi (~> 1.17.0)
literal (~> 1.0)
oj (~> 3.13)
railties (>= 7.1.0, < 8.0)
railties (>= 7.1.0, < 9.0)
ruby-next (~> 1.0.1)

PATH
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ group :test do
gem "gem2", path: "../fixtures/external/gem2"
gem "gem3", path: "../fixtures/dummy/vendor/gem3"
gem "gem4", path: "../fixtures/external/gem4"
gem "gem5", path: "../fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5"
gem "maxitest"
gem "minitest-focus"
gem "minitest-spec-rails"
Expand Down
9 changes: 8 additions & 1 deletion gemfiles/rails_7.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
PATH
remote: ../fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5
specs:
gem5 (0.1.0)
rails (>= 7.0.4)

PATH
remote: ../fixtures/dummy/vendor/gem1
specs:
Expand Down Expand Up @@ -25,7 +31,7 @@ PATH
PATH
remote: ..
specs:
proscenium (0.18.0)
proscenium (0.19.0.beta4)
activesupport (>= 7.1.0, < 9.0)
ffi (~> 1.17.0)
literal (~> 1.0)
Expand Down Expand Up @@ -345,6 +351,7 @@ DEPENDENCIES
gem2!
gem3!
gem4!
gem5!
htmlbeautifier
maxitest
minitest-focus
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ group :test do
gem "gem2", path: "../fixtures/external/gem2"
gem "gem3", path: "../fixtures/dummy/vendor/gem3"
gem "gem4", path: "../fixtures/external/gem4"
gem "gem5", path: "../fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5"
gem "maxitest"
gem "minitest-focus"
gem "minitest-spec-rails"
Expand Down
9 changes: 8 additions & 1 deletion gemfiles/rails_7.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
PATH
remote: ../fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5
specs:
gem5 (0.1.0)
rails (>= 7.0.4)

PATH
remote: ../fixtures/dummy/vendor/gem1
specs:
Expand Down Expand Up @@ -25,7 +31,7 @@ PATH
PATH
remote: ..
specs:
proscenium (0.18.0)
proscenium (0.19.0.beta4)
activesupport (>= 7.1.0, < 9.0)
ffi (~> 1.17.0)
literal (~> 1.0)
Expand Down Expand Up @@ -339,6 +345,7 @@ DEPENDENCIES
gem2!
gem3!
gem4!
gem5!
htmlbeautifier
maxitest
minitest-focus
Expand Down
3 changes: 2 additions & 1 deletion gemfiles/rails_8.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source "https://rubygems.org"

gem "debug"
gem "rails", "~> 8.0.0"
gem "rails", "~> 8.0.1"
gem "appraisal"
gem "htmlbeautifier"
gem "phlexible"
Expand All @@ -29,6 +29,7 @@ group :test do
gem "gem2", path: "../fixtures/external/gem2"
gem "gem3", path: "../fixtures/dummy/vendor/gem3"
gem "gem4", path: "../fixtures/external/gem4"
gem "gem5", path: "../fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5"
gem "maxitest"
gem "minitest-focus"
gem "minitest-spec-rails"
Expand Down
123 changes: 65 additions & 58 deletions gemfiles/rails_8.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
PATH
remote: ../fixtures/dummy/vendor/bundle/ruby/3.3.0/bundler/gems/gem5
specs:
gem5 (0.1.0)
rails (>= 7.0.4)

PATH
remote: ../fixtures/dummy/vendor/gem1
specs:
Expand Down Expand Up @@ -25,7 +31,7 @@ PATH
PATH
remote: ..
specs:
proscenium (0.18.0)
proscenium (0.19.0.beta4)
activesupport (>= 7.1.0, < 9.0)
ffi (~> 1.17.0)
literal (~> 1.0)
Expand All @@ -36,65 +42,65 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actioncable (8.0.0)
actionpack (= 8.0.0)
activesupport (= 8.0.0)
actioncable (8.0.1)
actionpack (= 8.0.1)
activesupport (= 8.0.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (8.0.0)
actionpack (= 8.0.0)
activejob (= 8.0.0)
activerecord (= 8.0.0)
activestorage (= 8.0.0)
activesupport (= 8.0.0)
actionmailbox (8.0.1)
actionpack (= 8.0.1)
activejob (= 8.0.1)
activerecord (= 8.0.1)
activestorage (= 8.0.1)
activesupport (= 8.0.1)
mail (>= 2.8.0)
actionmailer (8.0.0)
actionpack (= 8.0.0)
actionview (= 8.0.0)
activejob (= 8.0.0)
activesupport (= 8.0.0)
actionmailer (8.0.1)
actionpack (= 8.0.1)
actionview (= 8.0.1)
activejob (= 8.0.1)
activesupport (= 8.0.1)
mail (>= 2.8.0)
rails-dom-testing (~> 2.2)
actionpack (8.0.0)
actionview (= 8.0.0)
activesupport (= 8.0.0)
actionpack (8.0.1)
actionview (= 8.0.1)
activesupport (= 8.0.1)
nokogiri (>= 1.8.5)
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actiontext (8.0.0)
actionpack (= 8.0.0)
activerecord (= 8.0.0)
activestorage (= 8.0.0)
activesupport (= 8.0.0)
actiontext (8.0.1)
actionpack (= 8.0.1)
activerecord (= 8.0.1)
activestorage (= 8.0.1)
activesupport (= 8.0.1)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (8.0.0)
activesupport (= 8.0.0)
actionview (8.0.1)
activesupport (= 8.0.1)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (8.0.0)
activesupport (= 8.0.0)
activejob (8.0.1)
activesupport (= 8.0.1)
globalid (>= 0.3.6)
activemodel (8.0.0)
activesupport (= 8.0.0)
activerecord (8.0.0)
activemodel (= 8.0.0)
activesupport (= 8.0.0)
activemodel (8.0.1)
activesupport (= 8.0.1)
activerecord (8.0.1)
activemodel (= 8.0.1)
activesupport (= 8.0.1)
timeout (>= 0.4.0)
activestorage (8.0.0)
actionpack (= 8.0.0)
activejob (= 8.0.0)
activerecord (= 8.0.0)
activesupport (= 8.0.0)
activestorage (8.0.1)
actionpack (= 8.0.1)
activejob (= 8.0.1)
activerecord (= 8.0.1)
activesupport (= 8.0.1)
marcel (~> 1.0)
activesupport (8.0.0)
activesupport (8.0.1)
base64
benchmark (>= 0.3)
bigdecimal
Expand Down Expand Up @@ -135,7 +141,7 @@ GEM
cuprite (0.15.1)
capybara (~> 3.0)
ferrum (~> 0.15.0)
date (3.4.0)
date (3.4.1)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
Expand Down Expand Up @@ -182,7 +188,7 @@ GEM
minitest-spec-rails (7.4.1)
minitest (>= 5.0)
railties (>= 4.1)
net-imap (0.5.1)
net-imap (0.5.5)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -226,30 +232,30 @@ GEM
rack (>= 1.3)
rackup (2.2.1)
rack (>= 3)
rails (8.0.0)
actioncable (= 8.0.0)
actionmailbox (= 8.0.0)
actionmailer (= 8.0.0)
actionpack (= 8.0.0)
actiontext (= 8.0.0)
actionview (= 8.0.0)
activejob (= 8.0.0)
activemodel (= 8.0.0)
activerecord (= 8.0.0)
activestorage (= 8.0.0)
activesupport (= 8.0.0)
rails (8.0.1)
actioncable (= 8.0.1)
actionmailbox (= 8.0.1)
actionmailer (= 8.0.1)
actionpack (= 8.0.1)
actiontext (= 8.0.1)
actionview (= 8.0.1)
activejob (= 8.0.1)
activemodel (= 8.0.1)
activerecord (= 8.0.1)
activestorage (= 8.0.1)
activesupport (= 8.0.1)
bundler (>= 1.15.0)
railties (= 8.0.0)
railties (= 8.0.1)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (8.0.0)
actionpack (= 8.0.0)
activesupport (= 8.0.0)
railties (8.0.1)
actionpack (= 8.0.1)
activesupport (= 8.0.1)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down Expand Up @@ -300,7 +306,7 @@ GEM
sqlite3 (2.2.0-arm64-darwin)
stringio (3.1.2)
thor (1.3.2)
timeout (0.4.2)
timeout (0.4.3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.6.0)
Expand Down Expand Up @@ -340,6 +346,7 @@ DEPENDENCIES
gem2!
gem3!
gem4!
gem5!
htmlbeautifier
maxitest
minitest-focus
Expand All @@ -348,7 +355,7 @@ DEPENDENCIES
phlexible
proscenium!
puma
rails (~> 8.0.0)
rails (~> 8.0.1)
rouge
rubocop
rubocop-minitest
Expand Down
4 changes: 2 additions & 2 deletions proscenium.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Gem::Specification.new do |spec|
'LICENSE.txt']
spec.require_paths = ['lib']

spec.add_dependency 'activesupport', ['>= 7.1.0', '< 8.0']
spec.add_dependency 'activesupport', ['>= 7.1.0', '< 9.0']
spec.add_dependency 'ffi', '~> 1.17.0'
spec.add_dependency 'literal', '~> 1.0'
spec.add_dependency 'oj', '~> 3.13'
spec.add_dependency 'railties', ['>= 7.1.0', '< 8.0']
spec.add_dependency 'railties', ['>= 7.1.0', '< 9.0']
spec.add_dependency 'ruby-next', '~> 1.0.1'
end

0 comments on commit 45fe13d

Please sign in to comment.