Sha256: 806162d10cf4952eec15779bd33375dad2c7b60591bd4ace8d9eb6c40dccb3b6
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
module Bubbles class VersionInformation def self.package_name return 'bubbles-rest-client' end def self.version_name '0.1.0' end def self.version_code get_code_from_version_name version_name end def self.get_code_from_version_name(name) # The version code should be the patch version * 1 + the minor version * 2 + the major version * 4 splitVersion = name.split('.') 4 * splitVersion[0].to_i + 2 * splitVersion[1].to_i + splitVersion[2].to_i end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bubbles-rest-client-0.1.0 | lib/bubbles/version.rb |