lib/model_log/version.rb in model_log-2.0.0 vs lib/model_log/version.rb in model_log-2.0.1

- old
+ new

@@ -1,3 +1,16 @@ module ModelLog - VERSION = "2.0.0" + module VERSION + MAJOR = 2 + MINOR = 0 + TINY = 1 + + # Set PRE to nil unless it's a pre-release (beta, rc, etc.) + PRE = nil + + STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".").freeze + + def self.to_s + STRING + end + end end