Class: Backup::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/backup/version.rb

Class Method Summary collapse

Class Method Details

.currentObject

Returns the current version of the Backup gem ( qualified for the gemspec )



38
39
40
# File 'lib/backup/version.rb', line 38

def self.current
  "#{major}.#{minor}.#{patch}"
end

.majorObject

Returns the major version ( big release based off of multiple minor releases )



20
21
22
# File 'lib/backup/version.rb', line 20

def self.major
  MAJOR
end

.minorObject

Returns the minor version ( small release based off of multiple patches )



26
27
28
# File 'lib/backup/version.rb', line 26

def self.minor
  MINOR
end

.patchObject

Returns the patch version ( updates, features and (crucial) bug fixes )



32
33
34
# File 'lib/backup/version.rb', line 32

def self.patch
  PATCH
end