Sha256: 3a4b5e18a755ddc91e24c2f7a52b859c0805998b5df0b82af1bdc3ea153992bd
Contents?: true
Size: 1.31 KB
Versions: 3
Compression:
Stored size: 1.31 KB
Contents
require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec') # If you want to make this the default task task :default => :spec require 'rubygems' require 'bundler' 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 = "blocks" gem.homepage = "http://github.com/hunterae/blocks" gem.license = "MIT" gem.summary = "Blocks is an intricate way of rendering blocks of code and adding several new features that go above and beyond what a simple content_for with yield is capable of doing." gem.description = "Blocks goes beyond blocks and partials" gem.email = "hunterae@gmail.com" gem.authors = ["Andrew Hunter"] # 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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blocks-2.3.0 | Rakefile |
blocks-2.2.1 | Rakefile |
blocks-2.2.0 | Rakefile |