Removing ActiveSupport dependency
还没有人认领这个 Issue。
评估
调研方向
Start by auditing the uses of blank?, present?, in_time_zone, and Array.wrap, then compare the existing timezone aliases with TZInfo behavior. Done means removing ActiveSupport and its transitive dependencies while preserving the gem's existing behavior, including timezone support where possible.
由索引模型根据 Issue 内容生成。
描述
Hello!
We were looking for a gem to handle rrules, and found this one, which seems excellent. The only issue we found while trying it out is that it pulls ActiveSupport as a dependency. Internally, we try to keep dependencies as lean as possible, and this one is usually a no go due to issues we have had with it on previous projects.
Looking at the codebase, it also seems a bit disproportionate for what it is used for. As far as I've seen, it is used for blank?, present?, in_time_zone and Array.wrap; all of them easily replaceable in the standard library, or just with TZInfo (which ActiveSupport wraps). Changing this would remove quite a few transitive dependencies and a lot of code from ActiveSupport itself.
So, would there be any interest in merging a PR that aims to remove this dependency?
It would:
- Reduce the amount of dependencies of this gem significantly (from ActiveSupport and 11 transitive dependencies to just TZInfo).
- It would make this gem more accessible for non-rails Ruby users.
The only issue that I can think of with this change, would be the effort required to review it and that we currently support timezones through ActiveSupport aliases (e.g. Brisbane instead of Australia/Brisbane) which would be difficult to preserve.
- 主要语言
- Ruby
- 星标
- 187
- 派生
- 26
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
square/ruby-rrule 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
square/ruby-rrule#70 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
square/ruby-rrule#65 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
square/ruby-rrule#64 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
square/ruby-rrule#62 ·
-
难度 3/5 1-2 天 新手友好度 45/100
square/ruby-rrule#58 ·
查看 square/ruby-rrule 的全部 Issue
相似的 Issue
-
agent:triaged bug bughunt pm:bundler priority:p1
难度 2/5 1-3 小时 新手友好度 70/100
SocketDev/socket-patch#1573 · 1 条评论 ·
维护者通常 1 天内回复
-
bug chat verified
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 6 天内回复
-
🐞 bug pending triage
难度 2/5 1-3 小时 新手友好度 72/100
CircuitVerse/CircuitVerse#8031 · 2 条评论 ·
维护者通常 1 天内回复
-
Empty members in the Accept header cause a 500可能已有人在做 @koic 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
modelcontextprotocol/ruby-sdk#609 ·
维护者通常 1 天内回复
-
BazaRb::Fake#enter rejects dotted badges accepted by BazaRb#enter可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复