Sha256: bcc9b581400b74d6748b2e461499f77b9c63fbeb6a53e92cbd9585d2ab95bc42
Contents?: true
Size: 1.04 KB
Versions: 11
Compression:
Stored size: 1.04 KB
Contents
require 'rubygems' require 'rake' require 'rcov' require 'spec/rake/spectask' task :default => 'rcov' desc "Run all specs and rcov in a non-sucky way" Spec::Rake::SpecTask.new(:rcov) do |t| t.spec_opts = IO.readlines("spec/spec.opts").map {|l| l.chomp.split " "}.flatten t.spec_files = FileList['spec/**/*_spec.rb'] t.rcov = true t.rcov_opts = IO.readlines("spec/rcov.opts").map {|l| l.chomp.split " "}.flatten end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "ruhl" gemspec.summary = "Ruby Hypertext Language" gemspec.description = "Make your HTML dynamic with the addition of a data-ruhl attribute." gemspec.email = "andy@stonean.com" gemspec.homepage = "http://github.com/stonean/ruhl" gemspec.authors = ["Andrew Stone"] gemspec.add_dependency('nokogiri','=1.4.0') gemspec.add_development_dependency('rspec') end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end
Version data entries
11 entries across 11 versions & 1 rubygems