Sha256: b442fa9a49980a243b1a3451e0e360a43c9cf754121851fa899bed3c82e6d6ac

Contents?: true

Size: 1.86 KB

Versions: 2

Compression:

Stored size: 1.86 KB

Contents

require 'rubygems'
require 'rake'

$:.unshift( File.join(File.dirname(__FILE__), 'lib') )
require File.join(File.dirname(__FILE__), %w[ lib ruote worker.rb ])

begin

  require 'jeweler'

  Jeweler::Tasks.new do |gem|

    gem.version = Ruote::VERSION
    gem.name = 'ruote'
    gem.summary = 'an open source ruby workflow engine'
    gem.description = %{
ruote is an open source ruby workflow engine.
    }
    gem.email = 'jmettraux@gmail.com'
    gem.homepage = 'http://ruote.rubyforge.org'
    gem.authors = [ 'John Mettraux', 'Kenneth Kalmer' ]
    gem.rubyforge_project = 'ruote'
    gem.test_file = 'test/test.rb'

    gem.add_dependency 'rufus-json'
    gem.add_dependency 'rufus-cloche', '>= 0.1.13'
    gem.add_dependency 'rufus-dollar'
    gem.add_dependency 'rufus-lru'
    gem.add_dependency 'rufus-mnemo', '>= 1.1.0'
    gem.add_dependency 'rufus-scheduler', '>= 2.0.3'
    gem.add_dependency 'rufus-treechecker', '>= 1.0.3'

    gem.add_development_dependency 'json'
    gem.add_development_dependency 'yard'
    gem.add_development_dependency 'builder'
    gem.add_development_dependency 'mailtrap'

    # Gem::Specification http://www.rubygems.org/read/chapter/20
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new do |doc|
    doc.options = [ '-o', 'ruote_rdoc', '--title', "ruote #{Ruote::VERSION}" ]
  end
rescue LoadError
  task :yard do
    abort 'YARD is not available. In order to run yardoc, you must: sudo gem install yard'
  end
end

require 'rake/clean'
CLEAN.include('pkg', 'rdoc', 'work', 'logs')

task :default => [ :clean ]

desc 'Upload the documentation to rubyforge'
task :upload_rdoc => :rdoc do
  sh %{
    rsync -azv -e ssh \
      ruote_rdoc \
      jmettraux@rubyforge.org:/var/www/gforge-projects/ruote/
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruote-2.1.5 Rakefile
ruote-2.1.4 Rakefile