lib/keepassx/version.rb in keepassx-1.0.0 vs lib/keepassx/version.rb in keepassx-1.1.0
- old
+ new
@@ -1,5 +1,17 @@
# frozen_string_literal: true
module Keepassx
- VERSION = '1.0.0'
+
+ def self.gem_version
+ Gem::Version.new VERSION::STRING
+ end
+
+ module VERSION
+ MAJOR = 1
+ MINOR = 1
+ TINY = 0
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
+ end
end