Sha256: db7bbb71416fcc15af00b69cfee669bc7c6e643835b83f34a873f6d273220c70

Contents?: true

Size: 686 Bytes

Versions: 1

Compression:

Stored size: 686 Bytes

Contents

module CarrierWave
  module Aliyun
    class Version
      MAJOR, MINOR, PATCH = 0, 4, 1

      ##
      # 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.4.1 lib/carrierwave/aliyun/version.rb