Skip to content

Add explicit activesupport dependency#208

Merged
krororo merged 1 commit intokufu:masterfrom
krororo:add-activesupport-dependency
Jul 1, 2025
Merged

Add explicit activesupport dependency#208
krororo merged 1 commit intokufu:masterfrom
krororo:add-activesupport-dependency

Conversation

@krororo
Copy link
Copy Markdown
Collaborator

@krororo krororo commented Jun 28, 2025

This PR adds explicit activesupport dependency.

Previously, this gem relied on activesupport that was implicitly included through the activerecord dependency.

Since we directly require "active_support/core_ext/time/calculations" and use ActiveSupport::Concern and ActiveSupport::CurrentAttributes, we should declare an explicit dependency.

While it's unlikely that activesupport will be removed from activerecord's dependencies, we should have an explicit dependency since this gem uses it directly.

Previously, this gem relied on activesupport that was implicitly
included through the activerecord dependency.

Since we directly require "active_support/core_ext/time/calculations"
and use `ActiveSupport::Concern` and `ActiveSupport::CurrentAttributes`,
we should declare an explicit dependency.

While it's unlikely that activesupport will be removed from
activerecord's dependencies, we should have an explicit dependency
since this gem uses it directly.
@auto-assign auto-assign bot requested review from lighty and osyo-manga June 28, 2025 09:18
Copy link
Copy Markdown
Contributor

@mkmn mkmn left a comment

Choose a reason for hiding this comment

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

👍

@krororo krororo merged commit 6ff3e1f into kufu:master Jul 1, 2025
12 checks passed
@krororo krororo deleted the add-activesupport-dependency branch July 1, 2025 05:24
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.

3 participants