Sha256: 08c0d6627c9fdb1097c2dad5bfab06adf599983f21af33f7181b710c23c64523

Contents?: true

Size: 686 Bytes

Versions: 1

Compression:

Stored size: 686 Bytes

Contents

module CarrierWave
  module Aliyun
    class Version
      MAJOR, MINOR, PATCH = 0, 3, 6

      ##
      # 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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carrierwave-aliyun-0.3.6 lib/carrierwave/aliyun/version.rb