Sha256: c16d8ea30fae472e49ce801bb46b41ce7dcde91e502b76436ca1b8153009ce1e

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

begin 
  require 'jeweler' 
  Jeweler::Tasks.new do |s| 
    s.name = "micronaut-rails" 
    s.summary = "An excellent replacement for the wheel on rails..."
    s.email = "chad@spicycode.com" 
    s.homepage = "http://github.com/spicycode/micronaut-rails" 
    s.description = "An excellent replacement for the wheel on rails..."
    s.authors = ["Chad Humphries"] 
    s.files =  FileList["[A-Z]*", "{bin,lib,examples}/**/*"] 
    s.add_dependency "actionpack", '>= 2.3.0'
    s.add_dependency "micronaut", '>= 0.3.0'
  end 
rescue LoadError 
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" 
end

gem 'micronaut'
require 'micronaut/rake_task'

desc "Run all micronaut examples"
Micronaut::RakeTask.new :examples do |t|
  t.pattern = "examples/**/*_example.rb"
end

namespace :examples do
  
  desc "Run all micronaut examples using rcov"
  Micronaut::RakeTask.new :coverage do |t|
    t.pattern = "examples/**/*_example.rb"
    t.rcov = true
    t.rcov_opts = %[--exclude "examples/*,gems/*,db/*,/Library/Ruby/*,config/*" --text-summary  --sort coverage]
  end

end

task :default => 'examples:coverage'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
micronaut-rails-0.3.3 Rakefile