Skip to content

Commit

Permalink
switch to jeweler for the gem building
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Dec 6, 2009
1 parent 12e6673 commit 74284bf
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 504 deletions.
33 changes: 30 additions & 3 deletions Rakefile
@@ -1,15 +1,42 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require(File.join(File.dirname(__FILE__), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'

desc 'Removes trailing whitespace'
task :whitespace do
sh %{find . -name '*.*rb' -exec sed -i '' 's/\t/ /g' {} \\; -exec sed -i '' 's/ *$//g' {} \\; }
end

begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = %q{refinerycms}
s.description = %q{A beautiful open source Ruby on Rails content manager for small business. Easy to extend, easy to use, lightweight and all wrapped up in a super slick UI.}
s.summary = %q{A beautiful open source Ruby on Rails content manager for small business.}
s.email = %q{info@refinerycms.com}
s.homepage = %q{http://refinerycms.com}
s.authors = ["Resolve Digital", "David Jones", "Philip Arndt"]
s.extra_rdoc_files = %w(README CONTRIBUTORS LICENSE)
end

namespace :version do
namespace :bump do
desc "Bump the gemspec by a build version."
task :build => [:version_required, :version] do
version = Jeweler::VersionHelper.new(RAILS_ROOT)
version.update_to(version.major, version.minor, version.patch, ((version.build || 0).to_i + 1))
version.write
$stdout.puts "Updated version: #{version.to_s}"
end
end
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.0.0
0.9.5.19
2 changes: 1 addition & 1 deletion db/schema.rb
@@ -1,4 +1,4 @@
# This file is auto-generated from the current state of the database. Instead of editing this file,
# This file is auto-generated from the current state of the database. Instead of editing this file,
# please use the migrations feature of Active Record to incrementally modify your database, and
# then regenerate this schema definition.
#
Expand Down

0 comments on commit 74284bf

Please sign in to comment.