版本号如何适用于MRI Ruby?

最近的一个问题“ 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)

相关文章

validates:conclusion,:presence=>true,:inclusion=>{...
一、redis集群搭建redis3.0以前,提供了Sentinel工具来监控各...
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣...
上一篇博文 ruby传参之引用类型 里边定义了一个方法名 mo...
一编程与编程语言 什么是编程语言? 能够被计算机所识别的表...
Ruby类和对象Ruby是一种完美的面向对象编程语言。面向对象编...