Sha256: be1c9ac862f2281f081eb3d3f467c1de87bbb5969335a1424204fd42e1483c83

Contents?: true

Size: 886 Bytes

Versions: 1

Compression:

Stored size: 886 Bytes

Contents

# encoding: utf-8

module Backup
  class Version

    ##
    # Change the MAJOR, MINOR and PATCH constants below
    # to adjust the version of the Backup gem
    #
    # MAJOR:
    #  Defines the major version
    # MINOR:
    #  Defines the minor version
    # PATCH:
    #  Defines the patch version
    MAJOR, MINOR, PATCH = 3, 0, 5

    ##
    # Returns the major version ( big release based off of multiple minor releases )
    def self.major
      MAJOR
    end

    ##
    # Returns the minor version ( small release based off of multiple patches )
    def self.minor
      MINOR
    end

    ##
    # Returns the patch version ( updates, features and (crucial) bug fixes )
    def self.patch
      PATCH
    end

    ##
    # Returns the current version of the Backup gem ( qualified for the gemspec )
    def self.current
      "#{major}.#{minor}.#{patch}"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
backup-3.0.5 lib/backup/version.rb