Sha256: 8251686c6be9d24b9fadbe41ae662e05d53dfa3097cf425b8c564a074d12cccb
Contents?: true
Size: 1.92 KB
Versions: 2
Compression:
Stored size: 1.92 KB
Contents
require "rubygems" require "bundler" require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the Apotomo plugin.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = true end namespace 'rdoc' do desc 'Generate documentation for Apotomo.' Rake::RDocTask.new(:build) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Apotomo API' rdoc.options << '--line-numbers' << '--inline-source' << '-m README' rdoc.rdoc_files.include('lib/**/*.rb') rdoc.rdoc_files.include('app/**/*.rb') rdoc.rdoc_files.include('test/*.rb') rdoc.rdoc_files.include('README') end desc 'Upload the rdocs to apotomo.rubyforge.org.' task :upload do sh %{ scp -r rdoc nix@rubyforge.org:/var/www/gforge-projects/apotomo/ } end end # 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 # require 'jeweler' require 'lib/apotomo/version' Jeweler::Tasks.new do |spec| spec.name = "apotomo" spec.version = ::Apotomo::VERSION spec.summary = %{Event-driven Widgets for Rails with optional Statefulness.} spec.description = "A generic widget framework for Rails. Event-driven. Clean. Fast. Free optional statefulness included." spec.homepage = "http://apotomo.de" spec.authors = ["Nick Sutterer"] spec.email = "apotonick@gmail.com" spec.files = FileList["[A-Z]*", File.join(*%w[{generators,lib,rails,app,config} ** *]).to_s] spec.add_dependency 'cells', '~> 3.3' spec.add_dependency 'activesupport', '>= 2.3.0' spec.add_dependency 'onfire', '>= 0.1.0' end Jeweler::GemcutterTasks.new
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apotomo-0.1.2 | Rakefile |
apotomo-0.1.1 | Rakefile |