Skip to content

Gemfile updates#6713

Open
compwron wants to merge 3 commits intomainfrom
gemfile-feb-2026
Open

Gemfile updates#6713
compwron wants to merge 3 commits intomainfrom
gemfile-feb-2026

Conversation

@compwron
Copy link
Collaborator

@compwron compwron commented Feb 13, 2026

gem cleanups

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Feb 13, 2026
Gemfile Outdated
gem "byebug", platforms: %i[mri mingw x64_mingw] # Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem "dotenv-rails"
gem "factory_bot_rails"
gem "faker" # creates realistic seed data, valuable for staging and demos
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do we really use this in staging? I don't think we should because what if we use it in prod and break things

compwron and others added 2 commits February 13, 2026 08:10
Reorganize and standardize Gemfile for better maintainability: alphabetize gems within sections, standardize comment formatting, move gems to appropriate groups (faker and brakeman to dev/test), and update version constraints (puma and web-console). Remove redundant rake dependency and add descriptive comments to previously undocumented gems.

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
@compwron compwron requested a review from Copilot February 13, 2026 16:15
@compwron compwron marked this pull request as ready for review February 13, 2026 16:16
Copy link
Contributor

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

This PR updates the Gemfile and Gemfile.lock to improve dependency version constraints and enhance code documentation through better inline comments.

Changes:

  • Updated version constraints for puma, web-console from exact/minimum versions to flexible patch-level versions
  • Reorganized gem declarations by moving shared gems out of specific groups
  • Enhanced inline comments throughout the Gemfile for better clarity and consistency

Reviewed changes

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

File Description
Gemfile Updated gem version constraints, reorganized gem groupings, and improved inline comment formatting and clarity
Gemfile.lock Reflected dependency changes from Gemfile updates including puma and web-console version constraint changes, and rake removal from test group

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

gem "dotenv-rails" # Environment variable management
gem "erb_lint", require: false # ERB linter
gem "factory_bot_rails" # Test data factories
gem "faker" # Creates realistic seed data, valuable for staging and demos
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

The faker gem should remain in the :test group only, not in :development, :test. Faker is primarily used for generating test data and should not be included in development environments to keep the dependency footprint minimal.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not currently true

gem "pghero"
gem "pg_query"
group :development, :test do
gem "brakeman" # Security inspection
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

Brakeman is a static analysis security tool that should be in the :development or :test group only, not in both :development, :test. Moving it to the :test group (where it was originally) is more appropriate as it's typically run as part of CI/test pipelines.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

disagree

@compwron
Copy link
Collaborator Author

CI passes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant