Skip to content

Upgrade Rails to ~> 8.1, Grape to ~> 3.3, update all dependencies - #114

Merged
dblock merged 1 commit into
ruby-grape:masterfrom
dblock:upgrade-rails-grape-and-deps
Sep 3, 2026
Merged

Upgrade Rails to ~> 8.1, Grape to ~> 3.3, update all dependencies#114
dblock merged 1 commit into
ruby-grape:masterfrom
dblock:upgrade-rails-grape-and-deps

Conversation

@dblock

@dblock dblock commented Sep 3, 2026

Copy link
Copy Markdown
Member

Description

  • Bump Rails constraint from ~> 8.0.3 to ~> 8.1.3 (now resolves to 8.1.3.1).
  • Bump Grape constraint from ~> 2.4 to ~> 3.3 (now resolves to 3.3.5), except in the rails-6-1 Appraisal, where grape ~> 2.4 is pinned since grape >= 3.2 requires activesupport >= 7.2, which is incompatible with Rails 6.1.
  • Ran bundle update to pick up all other outdated patch/minor gems (rubocop, rspec-rails, puma, pg, selenium-webdriver, bootsnap, jbuilder, importmap-rails, turbo-rails, web-console, etc.)
  • Regenerated all Appraisal gemfiles/lockfiles (bundle exec appraisal update).
  • Auto-fixed new RuboCop offenses introduced by newer rubocop-capybara (Capybara/RSpec/HaveContent: prefer have_text over have_content) and a quote-style difference from a newer Appraisal gem version regenerating gemfiles/rails_edge.gemfile with double quotes.

Testing

  • bundle exec rubocop - clean, no offenses.
  • bundle exec rspec - 15 examples, 0 failures, run against:
    • the default Gemfile (Rails 8.1 / Grape 3.3.5)
    • gemfiles/rails_6_1.gemfile (Rails 6.1 / Grape 2.4)
    • gemfiles/rails_7.gemfile (Rails 7.0 / Grape 3.3.5)
    • gemfiles/rails_8.gemfile (Rails 8.1 / Grape 3.3.5)

- Bump Rails constraint from ~> 8.0.3 to ~> 8.1.3 (now 8.1.3.1)
- Bump Grape constraint from ~> 2.4 to ~> 3.3 (now 3.3.5), except in the
  rails-6-1 appraisal where grape ~> 2.4 is pinned since grape >= 3.2
  requires activesupport >= 7.2, incompatible with Rails 6.1
- Run bundle update to pick up all other outdated patch/minor gems
  (rubocop, rspec-rails, puma, pg, selenium-webdriver, etc.)
- Regenerate all Appraisal gemfiles/lockfiles
- Auto-fix new RuboCop offenses (Capybara/RSpec/HaveContent: use have_text
  over have_content; quote style differences from a newer Appraisal gem
  version regenerating gemfiles/rails_edge.gemfile with double quotes)

Verified: full test suite passes (15 examples, 0 failures) against the
default Gemfile and against all three CI matrix appraisal gemfiles
(rails_6_1, rails_7, rails_8). RuboCop clean.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dblock
dblock force-pushed the upgrade-rails-grape-and-deps branch from 719acca to 998a25f Compare September 3, 2026 23:03
@dblock
dblock merged commit 51d1fe2 into ruby-grape:master Sep 3, 2026
4 checks passed
@dblock
dblock deleted the upgrade-rails-grape-and-deps branch September 3, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant