Sha256: e47cf73b294e13051aca3d11e7ed342b4262868cb0cc0deecad4159de126f55b

Contents?: true

Size: 686 Bytes

Versions: 1

Compression:

Stored size: 686 Bytes

Contents

module CarrierWave
  module Aliyun
    class Version
      MAJOR, MINOR, PATCH = 0, 3, 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.3.1 lib/carrierwave/aliyun/version.rb