Sha256: 833dc27f91c958f0c58f2ab66c326f62715e8982e66c3211cb83a0a8d1b18af9

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "sugar"
    gem.summary = %Q{Some sugar for rails apps}
    gem.email = "rotuka@tokak.ru"
    gem.homepage = "http://github.com/krasivotokak/sugar"
    gem.authors = ["Alexander Semyonov"]
    # 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 << 'lib' << '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 :default => :test

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end

desc "Bump patch version and release to github and gemcutter"
task :bump => %w(version:bump:patch git:release gemcutter:release install)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sugar-0.0.42 Rakefile
sugar-0.0.41 Rakefile