Module: Spec::VERSION

Defined in:
lib/spec/version.rb

Constant Summary collapse

MAJOR =
0
MINOR =
8
TINY =
0
REV =

RANDOM_TOKEN: 0.714915709821417

STRING =
[MAJOR, MINOR, TINY].join('.')
FULL_VERSION =
"#{STRING} (r#{REV})"
TAG =
build_tag
NAME =
"RSpec"
URL =
"http://rspec.rubyforge.org/"
DESCRIPTION =
"#{NAME}-#{FULL_VERSION} - BDD for Ruby\n#{URL}"

Class Method Summary collapse

Class Method Details

.build_tagObject



3
4
5
6
7
8
9
# File 'lib/spec/version.rb', line 3

def self.build_tag
  tag = "REL_" + [MAJOR, MINOR, TINY].join('_')
  if defined?(RELEASE_CANDIDATE)
    tag << "_" << RELEASE_CANDIDATE
  end
  tag
end