Sha256: 852c658bc9d89962ab8a9fba780aeee948b3acdd4d49c84337dc628590b3b3b1

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

require 'rake/gempackagetask'

PKG_VERSION = "0.4.0"
PKG_NAME = "compages"
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"

spec = Gem::Specification.new do |s|
  s.name = PKG_NAME
  s.version = PKG_VERSION
  s.summary = "a small and lean content management & publishing system"
  s.description = %{Here are the main features/aims of the project:
    * A pleasant user interface
    * Drag-n-drop contents around the page
    * Change the content appearance with a click
    * Nearly NO user management/rights system
    * extra-basic content writing
    * Built using Ruby on Rails (which means that adapting Compges is as easy as any other Rails application)
    * Basic templating system (building a template means inserting a string like %%area:NameOfMyArea%% where you want to drop contents)}
  s.has_rdoc = false
  
  s.files = Dir.glob('**/*', File::FNM_DOTMATCH).reject do |f| 
     [ /\.$/, /config\/database.yml$/, /config\/database.yml-/, 
     /database\.sqlite/,
     /\.log$/, /^pkg/, /\.svn/, /^vendor\/rails/, /\~$/, 
     /\/\._/, /\/#/ ].any? {|regex| f =~ regex }
  end
  s.require_path = '.'
  s.author = "Elia Schito"
  s.email = "compges@gmail.com"
  s.homepage = "http://code.google.com/p/compages/"  
  s.rubyforge_project = "FIXME"
  s.platform = Gem::Platform::RUBY 
  s.executables = ['compages']
  
  s.add_dependency("rails", "= 1.1.6")
  s.add_dependency("mongrel", ">= 0.3.13.3")
  s.add_dependency("mongrel_cluster", ">= 0.2.0")
  s.add_dependency("sqlite3-ruby", ">= 1.1.0")
  s.add_dependency("rails-app-installer", ">= 0.1.0")
end

Rake::GemPackageTask.new(spec) do |p|
  p.gem_spec = spec
  p.need_tar = false
  p.need_zip = false
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
compages-0.4.0 lib/tasks/release.rake