Sha256: 91eee0a4e3403cbac63c30f8858b1b2b75a4127dd5c41e4f1b38e5cc7fcec761

Contents?: true

Size: 1.32 KB

Versions: 13

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 release gemcutter:release install)

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
krasivotokak-sugar-0.0.29 Rakefile
krasivotokak-sugar-0.0.31 Rakefile
sugar-0.0.40 Rakefile
sugar-0.0.39 Rakefile
sugar-0.0.38 Rakefile
sugar-0.0.37 Rakefile
sugar-0.0.36 Rakefile
sugar-0.0.35 Rakefile
sugar-0.0.34 Rakefile
sugar-0.0.33 Rakefile
sugar-0.0.32 Rakefile
sugar-0.0.31 Rakefile
sugar-0.0.29 Rakefile