Sha256: fdfb5f78947ea26ae5cb9ea95ceb98750c8e237262761afd84a73b33b58a0e31

Contents?: true

Size: 1.94 KB

Versions: 3

Compression:

Stored size: 1.94 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "padrino-admin"
    gem.summary = "Admin Dashboard for Padrino"
    gem.description = "Admin View for Padrino applications"
    gem.email = "nesquena@gmail.com"
    gem.homepage = "http://github.com/padrino/padrino-framework/tree/master/padrino-admin"
    gem.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"]
    gem.add_runtime_dependency     "json_pure",       ">= 1.2.0"
    gem.add_runtime_dependency     "padrino-core",    ">= 0.1.1"
    gem.add_development_dependency "dm-core",         ">= 0.10.2"
    gem.add_development_dependency "haml",            ">= 2.2.1"
    gem.add_development_dependency "shoulda",         ">= 0"
    gem.add_development_dependency "mocha",           ">= 0.9.7"
    gem.add_development_dependency "rack-test",       ">= 0.5.0"
    gem.add_development_dependency "webrat",          ">= 0.5.1"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

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

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
padrino-admin-0.5.0 Rakefile
padrino-admin-0.4.6 Rakefile
padrino-admin-0.4.5 Rakefile