How should projects depend on ruby2_keywords?
未关闭
还没有人认领这个 Issue。
- 主要语言
- Ruby
- 星标
- 77
- 派生
- 13
- 平均合并
- 4 天 1 小时
- 30 天内合并 PR
- 2
描述
Hi, we would like to depend on ruby2_keywords in https://github.com/mongodb/mongoid/. To this end I have been researching what we should use in the gemspec for the version range of ruby2_keywords, and I would appreciate an official clarification on this:
- ruby2_keywords readme itself does not provide a version range
- Rails, despite using ruby2_keywords, does not appear to explicitly depend on it. However https://github.com/rails/rails/blob/main/Gemfile.lock contains two Rails dependencies that depend on ruby2_keywords, one of them uses
>= 0.0.4and another one uses~> 0.0.1. - Currently ruby2_keywords is at version 0.0.5. Are backwards breaking changes expected? What is preventing the version from being 1.0?
Any thoughts are appreciated.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue 中链接的 ruby2_keywords README 和 Rails Gemfile.lock 示例开始。记录受支持的依赖范围、兼容性预期以及版本策略的理由,以便 Mongoid 等项目选择 gemspec 约束。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- ruby
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100