lib/roda/version.rb in roda-3.7.0 vs lib/roda/version.rb in roda-3.8.0

- old
+ new

@@ -2,14 +2,17 @@ # The major version of Roda, updated only for major changes that are # likely to require modification to Roda apps. RodaMajorVersion = 3 # The minor version of Roda, updated for new feature releases of Roda. - RodaMinorVersion = 7 + RodaMinorVersion = 8 # The patch version of Roda, updated only for bug fixes from the last # feature release. RodaPatchVersion = 0 # The full version of Roda as a string. RodaVersion = "#{RodaMajorVersion}.#{RodaMinorVersion}.#{RodaPatchVersion}".freeze + + # The full version of Roda as a number (3.7.0 => 30070) + RodaVersionNumber = RodaMajorVersion*10000 + RodaMinorVersion*10 + RodaPatchVersion end