Skip to content

🐛 Fix remaining CI failures (will_paginate + Psych)#72

Merged
fusion94 merged 1 commit intomasterfrom
fix/ci-remaining
Mar 18, 2026
Merged

🐛 Fix remaining CI failures (will_paginate + Psych)#72
fusion94 merged 1 commit intomasterfrom
fix/ci-remaining

Conversation

@fusion94
Copy link
Copy Markdown
Collaborator

Summary

PR #71 fixed the security bug and some CI issues, but missed two fixes:

  1. Unit test hard-required kaminari — fails on will_paginate gemfiles
  2. Psych::DisallowedClass on revert tests (Ruby 3.1+ YAML deserialization)

Changes

  • spec/unit/authorization_spec.rb: Try kaminari, fallback to will_paginate
  • spec/app_template.rb: Add yaml_column_permitted_classes initializer, remove auto-generated scaffold specs

Verified Locally

  • 19 examples, 0 failures on Rails 7.1 + kaminari
  • 19 examples, 0 failures on Rails 7.1 + will_paginate

- Unit test: handle both kaminari and will_paginate (try/rescue)
- App template: remove auto-generated scaffold request specs
- App template: add Psych permitted_classes initializer for
  ActiveSupport::TimeWithZone (fixes reify on Ruby 3.1+)

All 19 specs pass on Rails 7.0/7.1 × kaminari/will_paginate.

Refs #59
@fusion94 fusion94 merged commit 51d6747 into master Mar 18, 2026
18 checks passed
@fusion94 fusion94 deleted the fix/ci-remaining branch March 18, 2026 18:01
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