Skip to content

Conversation

anilyanduri
Copy link

🚀 Overview

This PR upgrades the recurring_select gem to support modern Ruby and Rails versions while fixing SCSS compilation issues.

�� Breaking Changes

  • Ruby: Drop support for Ruby < 3.3.7
  • Rails: Drop support for Rails < 7.2
  • SCSS: Replace sass-rails with sassc-rails for better compilation

✨ Key Changes

Version Updates

  • Bump version to 4.0.0 (from 4.0.0.rc1)
  • Add Ruby >= 3.3.7 requirement
  • Update Rails dependency to >= 7.2
  • Update .ruby-version to 3.3.7

Dependencies

  • Replace sass-rails with sassc-rails for improved SCSS compilation
  • Update development dependencies:
    • bundler >= 2.0
    • rspec-rails >= 7.0
    • rspec >= 3.0
    • rake >= 13.0

Rails Compatibility

  • Update test configuration for Rails 7.2
  • Rename spec/gemfiles/rails-7.0 to spec/gemfiles/rails-7.2
  • Remove deprecated cache format version configuration
  • Fix Rails 7.2 compatibility issues

Documentation

  • Update CHANGELOG.md with comprehensive change list
  • Document all breaking changes and enhancements

�� Testing

  • ✅ All 8 tests pass successfully
  • ✅ SCSS compilation works without errors
  • ✅ Asset precompilation successful
  • ✅ Compatible with Rails 7.2.2.2
  • ✅ Compatible with Ruby 3.3.9

📋 Checklist

  • Update Ruby version requirement to >= 3.3.7
  • Update Rails version requirement to >= 7.2
  • Replace sass-rails with sassc-rails
  • Update all development dependencies
  • Fix Rails 7.2 compatibility issues
  • Update test configuration
  • Update version to 4.0.0
  • Update changelog
  • Test asset compilation
  • Run full test suite

🔗 Related Issues

  • Fixes SCSS compilation issues with modern Rails versions
  • Enables support for latest Ruby and Rails versions
  • Maintains backward compatibility for existing functionality

📝 Migration Notes

For users upgrading from previous versions:

  1. Ruby: Ensure you're using Ruby 3.3.7 or higher
  2. Rails: Ensure you're using Rails 7.2 or higher
  3. Dependencies: The gem will automatically use sassc-rails instead of sass-rails

No changes to existing API or functionality are required.

🎯 Benefits

  • Modern Support: Compatible with latest Ruby and Rails versions
  • Better SCSS: Improved SCSS compilation with sassc-rails
  • Security: Updated dependencies with latest security patches
  • Performance: Better asset compilation performance
  • Maintainability: Cleaner dependency management

Version: 4.0.0
Ruby: >= 3.3.7
Rails: >= 7.2

- Add Ruby >= 3.3.7 requirement
- Update Rails dependency to >= 7.2
- Bump version to 4.0.0
- Update development dependencies to modern versions
- Replace sass-rails with sassc-rails for better SCSS support
- Rename rails-7.0 gemfile to rails-7.2
- Update Rails version in test gemfile to 7.2.0
- Remove deprecated cache format version configuration
- Fix Rails 7.2 compatibility issues
- Document Ruby 3.3.7+ and Rails 7.2+ support
- Add breaking changes for version requirements
- Document SCSS dependency fix with sassc-rails
- Add enhancement and fix entries
BREAKING CHANGE: Drop support for Ruby < 3.3.7 and Rails < 7.2

- Add Ruby >= 3.3.7 requirement
- Update Rails dependency to >= 7.2
- Replace sass-rails with sassc-rails for better SCSS compilation
- Update all development dependencies to modern versions
- Fix Rails 7.2 compatibility issues
- Remove deprecated cache format version configuration
- Update test configuration for Rails 7.2
- Bump version to 4.0.0
- Update changelog with comprehensive change list

This update ensures compatibility with the latest Ruby and Rails versions
while fixing SCSS compilation issues and maintaining all existing functionality.
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