Alternative Semver in Ruby Ecosystem

Is there a function (that is, I can use it with bundlerand rubygems), an alternative SemVer inside the ruby ​​ecosystem (or even somewhere else)?

My problem with SemVer ( MAJOR.MINOR.PATCH ) is that it is trying to quantify two incompatible things:

  • resize ( PATCH - small change)
  • backward compatibility ( MINOR - unsuitable, BASIC - violation)

PATCH is still likely to be a change, making it equal to MAJOR , although it is less than MINOR and MINOR less than MAJOR . So:

  PATCH == MAJOR  && MAJOR > MINOR && MINOR > PATCH

This means that PATCH <> MINOR at the same time, which can never be true.

Ideally, I would like to have two version control lines - one based on backward compatibility (for example, without breaking, potentially inconspicuous breaking (== patches), breaking ) and one based on the size of the change (excluding backward compatibility), friendly to people version if you want. And I would like to be able to use them at the same time.

( , , "hello world" , "hello world" .)

..: H , B - , :

  • ~ > H2.0 (== H2.X; H3.0, 200 , , , make H2.0)
  • ~ > B0.1 (== ( , Semver 2- ) ( , SemVer))
+4
1

rubygems/bundler , .

, semver. . Bundler rubygems "x.y.z" "x.y" "x.y.z.a.b", . "", , , . ( , , , "" , , , ).

, , , "" , , . - , , - . .

, semver. Semver , . "PATCH , , , ", semver. semver, . - , semver, , , , , semver.

, semver , , "" ( "bigness" "", , , , ). ; ; ( , , ) . Semver - , , , " ", . , semver, .

, " ". , - , , " ", , , , , , ? . Semver , " " ( , ?).

. . , , . , " , , , H2.0" - , , , "" ?

, , , . _H Widget_B, ? , git ? , , , . , , , - , , rubygems/bundler?

semver spec, , , semver .

+5

All Articles