Sha256: 3cdd2ca722bab25c7747aec6697865f459aef4be0f95fc03fc45ec9791e27e61

Contents?: true

Size: 1.41 KB

Versions: 24

Compression:

Stored size: 1.41 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
# require 'rdoc'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "milia"
  gem.homepage = "http://github.com/dsaronin/milia"
  gem.license = "MIT"
  gem.summary = %Q{Multi-tenanting for hosted Rails 3.1+ applications}
  gem.description = %Q{Transparent Multi-tenanting for hosted Rails 3.1+/Ruby 1.9.2 applications}
  gem.email = "dsaronin@gmail.com"
  gem.authors = ["David Anderson"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
  test.libs << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
  test.rcov_opts << '--exclude "gems/*"'
end

task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "milia #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
milia-0.3.9 Rakefile
milia-0.3.8 Rakefile
milia-0.3.7 Rakefile
milia-0.3.2 Rakefile