Sha256: b107caf72f5f838decce6ba7d2bb0b7d885b82194e1acc090ce163d832910c1f

Contents?: true

Size: 1.28 KB

Versions: 5

Compression:

Stored size: 1.28 KB

Contents

# encoding: utf-8
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name        = "ext_direct"
    gem.summary     = "Ext Direct router to call server-side methods on the client-side"
    gem.description = "The Ext Direct plugin is a simple implementation of Ext Direct router to call server-side methods on the client-side."
    gem.email       = "marcin.martio.lewandowski@gmail.com"
    gem.homepage    = "http://github.com/martio/ext_direct"
    gem.authors     = ["Marcin Lewandowski"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the Ext Direct plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the Ext Direct plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
  
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Ext Direct #{version}'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ext_direct-0.3.0 Rakefile
ext_direct-0.2.0 Rakefile
ext_direct-0.1.1 Rakefile
ext_direct-0.1.0 Rakefile
ext_direct-0.0.0 Rakefile