‘pre’似乎是惯例,但任何文字都很好,只需添加任何文本字符到版本号,然后被认为是预发行版本.
gem.version = "1.0.0.pre" # convention used by rubygems itself gem.version = "1.0.0.beta" gem.version = "1.0.0.rc1" gem.version = "1.0.0.bacon"
参考:http://guides.rubygems.org/patterns/#prerelease-gems