You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the semver spec, for pre-release tags:
Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-]
However, Versionomy seems to accept only certain letters rc0 is accepted, but abc is not:
irb(main):004:0> Versionomy.parse('1.2.3-rc0')
=> #<Versionomy::Value:0x1cb4c "1.2.3-rc0">
irb(main):005:0> Versionomy.parse('1.2.3-abc')
/opt/homebrew/lib/ruby/gems/3.2.0/gems/versionomy-0.5.0/lib/versionomy/format/delimiter.rb:199:in `parse': Extra characters: "-abc" (Versionomy::Errors::ParseError)
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/versionomy-0.5.0/lib/versionomy/interface.rb:130:in `parse'
from (irb):5:in `<main>'
from /opt/homebrew/Cellar/ruby/3.2.2_1/lib/ruby/gems/3.2.0/gems/irb-1.6.2/exe/irb:11:in `<top (required)>'
from /opt/homebrew/opt/ruby/bin/irb:25:in `load'
from /opt/homebrew/opt/ruby/bin/irb:25:in `<main>'
The text was updated successfully, but these errors were encountered:
According to the semver spec, for pre-release tags:
However, Versionomy seems to accept only certain letters
rc0
is accepted, butabc
is not:The text was updated successfully, but these errors were encountered: