require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "easy_admin_ui" gem.summary = "Easy Admin UI." gem.description = "Very simple DRY admin UI." gem.email = "martin@wulffeld.org" gem.homepage = "http://github.com/wulffeld/easy_admin_ui" gem.authors = ["Martin Moen Wulffeld"] gem.add_dependency(%q, ">= 0.12.4") gem.add_dependency(%q, ">= 2.2.1") end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end desc "New release" task :new_release do |t| `rake version:bump:patch` `rake gemspec` `git commit -am "Preparing new release."` `rm -f pkg/*` `rake build` `rake release` `cat VERSION` end