Skip to content

gemspec: require Ruby 2.7+ and Rails 7+ related gems#99

Open
alagos wants to merge 2 commits intocharkost:mainfrom
alagos:main
Open

gemspec: require Ruby 2.7+ and Rails 7+ related gems#99
alagos wants to merge 2 commits intocharkost:mainfrom
alagos:main

Conversation

@alagos
Copy link
Copy Markdown

@alagos alagos commented Mar 11, 2026

- Prosopite uses `connection_db_config`, which is not available on older Active Record versions.
- Align runtime constraints with actual compatibility to avoid install-time/runtime mismatches (see charkost#98).
Copilot AI review requested due to automatic review settings March 11, 2026 00:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Prosopite’s gemspec constraints to match the runtime APIs it uses (notably ActiveRecord::Base.connection_db_config), preventing install-time success followed by runtime failures on older stacks.

Changes:

  • Bump required Ruby version to >= 2.7.0.
  • Add a runtime dependency on activerecord >= 7.0 and remove activerecord from development dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread prosopite.gemspec Outdated
- Prosopite references `Rails` at runtime (`Rails.logger`, `Rails.root`, `Rails.backtrace_cleaner`)
- Prevent install/runtime mismatch when only `activerecord` is present
- Move `railties` out of development dependencies into runtime dependencies
@alagos alagos changed the title gemspec: require Ruby 2.7+ and ActiveRecord 7+ gemspec: require Ruby 2.7+ and Rails 7+ related gems Mar 11, 2026
@alagos alagos requested a review from Copilot March 11, 2026 00:53
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants