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.7.12 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.11 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.10 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.8 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.7 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.6 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.5 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.4 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.3 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.2 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.1 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.7.0 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.54 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.53 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.52 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.51 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.50 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.48 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.47 lib/fedux_org_stdlib/version_management/version.rb
fedux_org-stdlib-0.6.46 lib/fedux_org_stdlib/version_management/version.rb