我见过ruby的gem文件()中使用了旋转-瓦卡运算符(~>)来指定最后一个兼容的点版本,如下所示:
'~> 0.3.1' is satisfied by 0.3.1, 0.3.2, 0.3.3, etc.
'~> 0.3.1' is not satisfied by 0.3.0
'~> 0.3' is satisfied by 0.3.1, 0.4.0, 0.5.1, etc.
'~> 0.3' is not satisfied by 0.2.0, 0.2.1, etc.
我看到在requireme