Sha256: 86e57bc2f1ff547d10bd2ebc2d2869641efad3d71b2ae7d1e47b361144c78053

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

#
# = bio/version.rb - BioRuby version information
#
# Copyright::	Copyright (C) 2001-2012
#		Toshiaki Katayama <k@bioruby.org>,
#               Naohisa Goto <ng@bioruby.org>
# License::	The Ruby License
#

module Bio

  # BioRuby version (Array containing Integer)
  BIORUBY_VERSION = [1, 5, 2].extend(Comparable).freeze

  # Extra version specifier (String or nil).
  # Existance of the value indicates development version.
  #
  # nil                 :: Release version.
  # "-dev"              :: Development version (with YYYYMMDD digits).
  # ".20150630"         :: Development version (specify the date digits).
  #
  # By default, if the third digit (teeny) of BIORUBY_VERSION is 0,
  # the version is regarded as a development version.
  BIORUBY_EXTRA_VERSION =
    nil #"-dev" #(BIORUBY_VERSION[2] == 0) ? "-dev" : nil

  # Version identifier, including extra version string (String)
  # Unlike BIORUBY_VERSION, it is not comparable.
  BIORUBY_VERSION_ID =
    (BIORUBY_VERSION.join('.') + BIORUBY_EXTRA_VERSION.to_s).freeze

end #module Bio

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bio-1.5.2 lib/bio/version.rb