Permalink
Browse files

new rakefile from new version of newgem

  • Loading branch information...
fabiokung committed Jun 25, 2009
1 parent 2e2efbc commit 7feb7a73f630bd0d97bfb64be9a50419ea9750dc
Showing with 6 additions and 13 deletions.
  1. +5 −5 Rakefile
  2. +1 −0 lib/jetty_rails.rb
  3. +0 −8 lib/jetty_rails/version.rb
@@ -5,20 +5,20 @@ require File.dirname(__FILE__) + '/lib/jetty-rails'
# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.new('jetty-rails', JettyRails::VERSION) do |p|
p.developer('FIXME full name', 'fabio.kung@gmail.com')
p.developer('Fabio Kung', 'fabio.kung@gmail.com')
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
p.rubyforge_name = p.name # TODO this is default value
# p.extra_deps = [
# ['activesupport','>= 2.0.2'],
# ]
p.extra_deps = [
['activesupport','>= 2.0.2'],
]
p.extra_dev_deps = [
['newgem', ">= #{::Newgem::VERSION}"]
]

p.spec_extras['platform'] = 'jruby' # JRuby gem created, e.g. jetty-rails-X.Y.Z-jruby.gem

p.clean_globs |= %w[**/.DS_Store tmp *.log]
p.clean_globs |= %w[**/.DS_Store tmp *.log **/.*.sw? *.gem .config]
path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
p.rsync_args = '-av --delete --ignore-errors'
@@ -16,5 +16,6 @@
require "jetty_rails/config/command_line_reader"

module JettyRails
VERSION = '0.9'
JETTY_RAILS_HOME = File.dirname(__FILE__) + "/.." unless defined?(JETTY_RAILS_HOME)
end

This file was deleted.

Oops, something went wrong.

0 comments on commit 7feb7a7

Please sign in to comment.