版本号如何适用于MRI Ruby?
发布时间:2020-12-16 20:52:58 所属栏目:百科 来源:网络整理
导读:最近的一个问题“ What happened with Ruby 1.9.2?”让我对MRI Ruby的版本号感到疑惑. MRI Ruby使用的方案与semver.org的方案不同. 版本控制如何在MRI Ruby中工作,主要(1),次要(9),少数(3)和补丁级别(448)值在ruby 1.9.3p448中意味着什么?例如,补丁级别的增
最近的一个问题“
What happened with Ruby 1.9.2?”让我对MRI Ruby的版本号感到疑惑.
MRI Ruby使用的方案与semver.org的方案不同. 版本控制如何在MRI Ruby中工作,主要(1),次要(9),少数(3)和补丁级别(448)值在ruby 1.9.3p448中意味着什么?例如,补丁级别的增加允许进行哪些更改,以及在少量增加时允许哪种更改? 解决方法
从Ruby 2.1.0开始,它们已经改为准语义版本.有关详细信息,请参阅
https://www.ruby-lang.org/en/news/2013/12/21/semantic-versioning-after-2-1-0/,但版本号现在具有以下含义:
MAJOR: increased when incompatible change which can’t be released in MINOR Reserved for special events MINOR: increased every christmas,may be API incompatible TEENY: security or bug fix which maintains API compatibility May be increased more than 10 (such as 2.1.11),and will be released every 2-3 months. PATCH: number of commits since last MINOR release (will be reset at 0 when releasing MINOR) (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |