Sha256: cec7e7f415df8ceb7fdc17dd7a5c111f84235ce624a638a68d2c2575939d91e5
Contents?: true
Size: 1.98 KB
Versions: 8
Compression:
Stored size: 1.98 KB
Contents
# encoding: utf-8 require 'rake' require 'rake/testtask' require 'rake/rdoctask' require File.join(File.dirname(__FILE__), 'lib', 'cells', 'version') desc 'Default: run unit tests.' task :default => :test desc 'Test the cells plugin.' Rake::TestTask.new(:test) do |test| test.libs << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end desc 'Generate documentation for the cells plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Cells Documentation' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('init.rb') rdoc.rdoc_files.include('lib/**/*.rb') end # rdoc -m "README.rdoc" init.rb lib/ generators/ README.rdoc # Gem managment tasks. # # == Bump gem version (any): # # rake version:bump:major # rake version:bump:minor # rake version:bump:patch # # == Generate gemspec, build & install locally: # # rake gemspec # rake build # sudo rake install # # == Git tag & push to origin/master # # rake release # # == Release to Gemcutter.org: # # rake gemcutter:release # begin gem 'jeweler' require 'jeweler' Jeweler::Tasks.new do |spec| spec.name = "cells" spec.version = ::Cells::VERSION spec.summary = %{Cells are lightweight controllers for Rails and can be rendered in controllers and views, providing an elegant and fast way for encapsulation and component-orientation.} spec.description = spec.summary spec.homepage = "http://cells.rubyforge.org" spec.authors = ["Nick Sutterer"] spec.email = "apotonick@gmail.com" spec.files = FileList["[A-Z]*", File.join(*%w[{lib,rails,rails_generators} ** *]).to_s] # spec.add_dependency 'activesupport', '>= 2.3.0' # Dependencies and minimum versions? end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler - or one of its dependencies - is not available. " << "Install it with: sudo gem install jeweler -s http://gemcutter.org" end
Version data entries
8 entries across 8 versions & 1 rubygems
Version | Path |
---|---|
cells-3.3.6 | Rakefile |
cells-3.3.5 | Rakefile |
cells-3.4.0.beta2 | Rakefile |
cells-3.4.0.beta1 | Rakefile |
cells-3.3.4 | Rakefile |
cells-3.3.3 | Rakefile |
cells-3.3.2 | Rakefile |
cells-3.3.1 | Rakefile |