Sha256: fbd95f58beb5ec675b10cef17230356fedd6d1632b67d2e0ef62310a99e63c8c

Contents?: true

Size: 760 Bytes

Versions: 28

Compression:

Stored size: 760 Bytes

Contents

# -*- encoding: UTF-8 -*-
require 'csd/container'

module CSD
  
  # This global variable holds the version number of this gem by trying to read the VERSION file.
  # If the VERSION file cannot be read, it will be defined to 0.0.0 as a fallback.
  # Ideally it would be hardcoded in this file, because it cannot be guaranteed that the VERSION
  # file exists (see http://weblog.rubyonrails.org/2009/9/1/gem-packaging-best-practices). But we
  # use it anyway, because Jeweler (a gem to create gems more easily) needs it and the risk is not that big.
  #
  Version = VERSION = begin
    File.read(File.join(Path.gem, 'VERSION'))
  rescue Errno::ENOENT => e
    UI.debug "The VERSION file could not be found. Setting `VersionĀ“ to 0.0.0"
    '0.0.0'
  end
  
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
csd-0.4.3 lib/csd/version.rb
csd-0.4.2 lib/csd/version.rb
csd-0.4.1 lib/csd/version.rb
csd-0.4.0 lib/csd/version.rb
csd-0.3.7 lib/csd/version.rb
csd-0.3.6 lib/csd/version.rb
csd-0.3.5 lib/csd/version.rb
csd-0.3.4 lib/csd/version.rb
csd-0.3.3 lib/csd/version.rb
csd-0.3.2 lib/csd/version.rb
csd-0.3.1 lib/csd/version.rb
csd-0.3.0 lib/csd/version.rb
csd-0.2.2 lib/csd/version.rb
csd-0.2.1 lib/csd/version.rb
csd-0.2.0 lib/csd/version.rb
csd-0.1.18 lib/csd/version.rb
csd-0.1.17 lib/csd/version.rb
csd-0.1.16 lib/csd/version.rb
csd-0.1.15 lib/csd/version.rb
csd-0.1.14 lib/csd/version.rb