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.20 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.18 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.17 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.16 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.15 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.14 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.13 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.12 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.11 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.9 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.8 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.7 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.6 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.5 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.4 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.3 lib/fedux_org_stdlib/version_management/version.rb