Sha256: a22d19f5957e492b4ea32c1569385bc9aafde37894bca978969a061bcec6230e

Contents?: true

Size: 476 Bytes

Versions: 56

Compression:

Stored size: 476 Bytes

Contents

# encoding: utf-8
require 'fedux_org_stdlib/require_files'
require_library %w{ versionomy forwardable }

module FeduxOrgStdlib
  module VersionManagement
    class Version
      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

Version Path
fedux_org-stdlib-0.6.45 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.44 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.43 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.40 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.39 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.38 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.37 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.34 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.33 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.32 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.31 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.30 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.29 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.28 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.27 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.26 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.25 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.23 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.22 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.21 lib/fedux_org_stdlib/version_management/version.rb