Sha256: 6c39b5cf26558535287529b791fd77c65f6e226e85a2fe0f416256e4d3ce82b4
Contents?: true
Size: 501 Bytes
Versions: 56
Compression:
Stored size: 501 Bytes
Contents
# encoding: utf-8 require 'fedux_org_stdlib/require_files' require_library %w(versionomy forwardable) module FeduxOrgStdlib module VersionManagement # Software version class SoftwareVersion extend Forwardable def_delegators :@version, :to_s def initialize(version) @version = Versionomy.parse(version) end def update(*args) initialize(*args) end def bump(type) @version = @version.bump(type) end end end end
Version data entries
56 entries across 56 versions & 1 rubygems