Sha256: b7cdbaabb988e86f7595e4c9b681ae82fc06d5570a0315a642ecee5800ac5a3c

Contents?: true

Size: 752 Bytes

Versions: 4

Compression:

Stored size: 752 Bytes

Contents

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

    unless defined? MAJOR
      MAJOR  = 0
      MINOR  = 8
      TINY   = 2
      # RELEASE_CANDIDATE = "RC1"
      
      # RANDOM_TOKEN: 0.375509844656552
      REV = "$LastChangedRevision: 2283 $".match(/LastChangedRevision: (\d+)/)[1]

      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}"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-0.23.0 test/lib/spec/version.rb
puppet-0.22.4 test/lib/spec/version.rb
puppet-0.23.1 test/lib/spec/version.rb
puppet-0.23.2 test/lib/spec/version.rb