Skip to content

Update bundled gems, upgrade to support ruby 3.4.2#46

Merged
gangelo merged 1 commit intomainfrom
development
Jul 10, 2025
Merged

Update bundled gems, upgrade to support ruby 3.4.2#46
gangelo merged 1 commit intomainfrom
development

Conversation

@gangelo
Copy link
Owner

@gangelo gangelo commented Jul 9, 2025

No description provided.

@gangelo gangelo self-assigned this Jul 9, 2025
@gangelo gangelo requested a review from Copilot July 9, 2025 23:39
Copy link

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 gem to support Ruby 3.4.2 and addresses dependency changes. The changes primarily involve updating quoted string patterns in test files to match Ruby 3.4.2's error message format, adding the 'observer' gem dependency, and updating version references.

  • Updated test expectations to use single quotes instead of backticks in error message patterns
  • Added 'observer' gem as a runtime dependency to support Ruby 3.4.2
  • Updated Ruby version references and CI matrix to include newer Ruby versions

Reviewed Changes

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

Show a summary per file
File Description
spec/lib/LittleWeasel/modules/region_spec.rb Updated error message expectations to use single quotes
spec/lib/LittleWeasel/modules/locale_spec.rb Updated error message expectations to use single quotes
spec/lib/LittleWeasel/modules/language_spec.rb Updated error message expectations to use single quotes
lib/LittleWeasel/version.rb Bumped version from 5.0.13 to 5.0.14
LittleWeasel.gemspec Added 'observer' gem as runtime dependency
CHANGELOG.md Added changelog entry for version 5.0.14
.ruby-version Updated Ruby version from 3.0.1 to 3.4.2
.github/workflows/ruby.yml Expanded CI matrix to test against additional Ruby versions

spec.required_ruby_version = Gem::Requirement.new('>= 3.0.1', '< 4.0')

spec.add_runtime_dependency 'activesupport', '>= 7.0.8', '< 8.0'
spec.add_runtime_dependency 'observer'
Copy link

Copilot AI Jul 9, 2025

Choose a reason for hiding this comment

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

The 'observer' dependency is missing a version constraint. Consider adding version constraints for consistency and to prevent potential compatibility issues, e.g., 'observer', '~> 0.1'.

Suggested change
spec.add_runtime_dependency 'observer'
spec.add_runtime_dependency 'observer', '~> 0.1'

Copilot uses AI. Check for mistakes.
CHANGELOG.md Outdated
* Changes
* Update gems.
* Add 'observer' gem to dependencies.
* enhancements
Copy link

Copilot AI Jul 9, 2025

Choose a reason for hiding this comment

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

The word 'enhancements' should be capitalized to match the formatting of other changelog sections (e.g., 'Changes').

Suggested change
* enhancements
* Enhancements

Copilot uses AI. Check for mistakes.
@gangelo gangelo force-pushed the development branch 4 times, most recently from e7ad7f5 to 1ab2710 Compare July 10, 2025 00:16
@gangelo gangelo merged commit 45b882f into main Jul 10, 2025
3 checks passed
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