Skip to content

Commit

Permalink
Get rid of Jeweler in favour of a simple gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieran Pilkington committed Apr 12, 2010
1 parent 62a2d70 commit fa6d02f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1,449 deletions.
30 changes: 0 additions & 30 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@ require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'tiny_mce'
gem.summary = %Q{TinyMCE editor for your rails applications}
gem.description = %Q{Gem that allows easy implementation of the TinyMCE editor into your applications.}
gem.email = 'kieran@katipo.co.nz'
gem.homepage = 'http://github.com/kete/tiny_mce'
gem.authors = ['Blake Watters', 'Kieran Pilkington', 'Sergio Cambra', 'Alexander Semyonov', 'Marian Theisen']
gem.extra_rdoc_files = ['README.rdoc', 'SPELLCHECKING_PLUGIN.rdoc', 'CHANGELOG_PLUGIN.rdoc', 'DEV_UPGRADE_NOTES.rdoc']
gem.rdoc_options << '--exclude=lib/tiny_mce/assets'
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

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

Expand All @@ -29,15 +11,3 @@ Rake::TestTask.new(:test) do |t|
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end

desc 'Generate documentation for the tiny_mce plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'TinyMce'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end

desc "Bump patch version and release to github and gemcutter"
task :bump => %w(version:bump:patch release gemcutter:release install)
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

0 comments on commit fa6d02f

Please sign in to comment.