Sha256: 22195b1646f74a826c9fc84f2bcc68b25eab2dcd6cf54e893c71d2379423316a

Contents?: true

Size: 1.36 KB

Versions: 12

Compression:

Stored size: 1.36 KB

Contents

lib_dir = File.expand_path(File.join(File.dirname(__FILE__), "lib"))
$:.unshift(lib_dir)
$:.uniq!

require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/packagetask'
require 'rake/gempackagetask'
require 'spec/rake/spectask'

require File.join(File.dirname(__FILE__), 'lib/uuidtools', 'version')

PKG_DISPLAY_NAME   = 'UUIDTools'
PKG_NAME           = PKG_DISPLAY_NAME.downcase
PKG_VERSION        = UUID::VERSION::STRING
PKG_FILE_NAME      = "#{PKG_NAME}-#{PKG_VERSION}"

RELEASE_NAME       = "REL #{PKG_VERSION}"

RUBY_FORGE_PROJECT = PKG_NAME
RUBY_FORGE_USER    = "sporkmonger"
RUBY_FORGE_PATH    = "/var/www/gforge-projects/#{RUBY_FORGE_PROJECT}"
RUBY_FORGE_URL     = "http://#{RUBY_FORGE_PROJECT}.rubyforge.org/"

PKG_SUMMARY        = "UUID generator"
PKG_DESCRIPTION    = <<-TEXT
A simple universally unique ID generation library.
TEXT

PKG_FILES = FileList[
    "lib/**/*", "spec/**/*", "vendor/**/*",
    "tasks/**/*", "website/**/*",
    "[A-Z]*", "Rakefile"
].exclude(/database\.yml/).exclude(/[_\.]git$/)

RCOV_ENABLED = (RUBY_PLATFORM != "java" && RUBY_VERSION =~ /^1\.8/)
if RCOV_ENABLED
  task :default => "spec:verify"
else
  task :default => "spec"
end

WINDOWS = (RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/) rescue false
SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])

Dir['tasks/**/*.rake'].each { |rake| load rake }

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/uuidtools-2.1.2/Rakefile
sidekick-client-0.2.5 lib/ext/uuidtools-2.1.1/Rakefile
uuidtools-2.1.2 Rakefile
sidekick-client-0.2.4 lib/ext/uuidtools-2.1.1/Rakefile
sidekick-client-0.2.3 lib/ext/uuidtools-2.1.1/Rakefile
sidekick-client-0.2.2 lib/ext/uuidtools-2.1.1/Rakefile
sidekick-client-0.2.1 lib/ext/uuidtools-2.1.1/Rakefile
sidekick-client-0.2.0 lib/ext/uuidtools-2.1.1/Rakefile
sidekick-client-0.1.0 lib/ext/uuidtools-2.1.1/Rakefile
uuidtools-2.1.1 Rakefile
uuidtools-2.1.0 Rakefile
uuidtools-2.0.0 Rakefile