Sha256: dca224948f5f329869fd5fefd28626c34892faf2ede500e8fd92a9e492cfcb7a

Contents?: true

Size: 1.58 KB

Versions: 3

Compression:

Stored size: 1.58 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require File.join(File.dirname(__FILE__), 'lib', 'ckeditor', 'version')

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

desc 'Test the rails-ckeditor 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 rails-ckeditor plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Rails Ckeditor'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.textile')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "ckeditor"
    gemspec.version = Ckeditor::Version.dup
    gemspec.summary = "Rails plugin for integration ckeditor 3.x"
    gemspec.description = "CKEditor is a text editor to be used inside web pages. It’s a WYSIWYG editor, which means that the text being edited on it looks as similar as possible to
                           the results users have when publishing it. It brings to the web common editing features found on desktop editing applications like Microsoft Word and OpenOffice."
    gemspec.email = "galeta.igor@gmail.com"
    gemspec.homepage = "http://github.com/galetahub/rails-ckeditor"
    gemspec.authors = ["Igor Galeta"]
    gemspec.files = FileList["[A-Z]*", "{app,config,lib}/**/*"]
    gemspec.rubyforge_project = "ckeditor"
  end
  
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ckeditor-3.2.4 Rakefile
ckeditor-3.2.3 Rakefile
ckeditor-3.2.1 Rakefile