Sha256: 56132fd3f0b0f3a1f406ff2000cf9dff4371702843d9badfd1ff16bf717dabd9
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.0.6' 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.0.6 | lib/bubbles/version.rb |