Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8774e42783
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (30 sloc) 0.906 kB
require 'rubygems'
require 'rake/gempackagetask'
PLUGIN = "attachmerb_fu"
NAME = "attachmerb_fu"
VERSION = "0.0.1"
AUTHOR = "Michael Siebert"
EMAIL = "siebertm85@googlemail.com"
HOMEPAGE = "http://merb-plugins.rubyforge.org/attachmerb_fu/"
SUMMARY = "Merb plugin that provides a port of attachment_fu to merb"
spec = Gem::Specification.new do |s|
s.name = NAME
s.version = VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README", "LICENSE", 'TODO']
s.summary = SUMMARY
s.description = s.summary
s.author = AUTHOR
s.email = EMAIL
s.homepage = HOMEPAGE
s.add_dependency('merb-core', '>= 0.5.0')
s.require_path = 'lib'
s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*")
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
task :install => [:package] do
sh %{sudo gem install pkg/#{NAME}-#{VERSION}}
end
Jump to Line
Something went wrong with that request. Please try again.