Sha256: 26830d6359de635e52d3390425a36ba07afa1f843d71d4915dc4648d0e4431de

Contents?: true

Size: 1.29 KB

Versions: 13

Compression:

Stored size: 1.29 KB

Contents

require 'rake'
require 'spec/rake/spectask'

Dir.chdir File.dirname(__FILE__)	

# Specs
task :default => :spec

Spec::Rake::SpecTask.new('spec') do |t|
	t.spec_files = FileList["spec/**/*_spec.rb"]
	t.libs = ["lib", "spec"]
end

# Gem
require 'rake/clean'
require 'rake/gempackagetask'
require 'fileutils'

spec = Gem::Specification.new do |s|
	s.name = "RubyExt"
	s.version = "0.1.1"
	s.summary = "A set of Ruby language extensions, mainly for ActivePoint Project"
	s.description = "A set of Ruby language extensions, mainly for ActivePoint Project"
	s.author = "Alexey Petrushin"
	#	s.email = ""
	s.homepage = "http://www.bos-tec.com"
	s.rubyforge_project = "RubyExt"
	
	s.platform = Gem::Platform::RUBY
	s.has_rdoc = true
	s.extra_rdoc_files = ["README"]
	
	s.files = (%w{rakefile README} + Dir.glob("{lib,spec}/**/*"))\
	.select{|f| f !~ /^\./}
	#	s.executables = ['restclient']
	#	s.add_dependency("BlueCloth", ">= 0.0.4")
	s.add_dependency "facets"
	
	s.require_path = "lib"
end

Rake::GemPackageTask.new(spec) do |p|
	package_dir = "#{File.expand_path File.dirname(__FILE__)}/../build"
#	FileUtils.mkdir package_dir unless File.exist? package_dir	
	p.need_tar = true if RUBY_PLATFORM !~ /mswin/
	p.need_zip = true
	p.package_dir = package_dir
end

CLEAN.include [ 'pkg', '*.gem']

task :release => [:gem, :clean]

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ruby-ext-0.2.16 old/rakefile
ruby-ext-0.2.15 old/rakefile
ruby-ext-0.2.13 old/rakefile
ruby-ext-0.2.12 old/rakefile
ruby-ext-0.2.11 old/rakefile
ruby-ext-0.2.10 old/rakefile
ruby-ext-0.2.9 old/rakefile
ruby-ext-0.2.8 old/rakefile
ruby-ext-0.2.7 old/rakefile
ruby-ext-0.2.6 old/rakefile
ruby-ext-0.2.5 old/rakefile
ruby-ext-0.2.4 old/rakefile
ruby-ext-0.2.3 old/rakefile