Sha256: ecc869a16da444573c235c96c739157a9b59356aa1d02bf291cc6be251b16698
Contents?: true
Size: 917 Bytes
Versions: 1
Compression:
Stored size: 917 Bytes
Contents
require 'rubygems' require 'rake/gempackagetask' PLUGIN = "merb_helpers" NAME = "merb_helpers" VERSION = "0.4.0" AUTHOR = "Yehuda Katz" EMAIL = "wycats@gmail.com" HOMEPAGE = "http://merb.rubyforge.org/" SUMMARY = "Helper support for merb (similar to the Rails form helpers)" 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.requirements << 'merb' s.require_path = 'lib' s.autorequire = PLUGIN s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*") end spec.add_dependency("merb", ">=0.4") Rake::GemPackageTask.new(spec) do |pkg| pkg.gem_spec = spec end task :install => [:package] do sh %{sudo gem install pkg/#{NAME}-#{VERSION}} end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
merb_helpers-0.4.0 | Rakefile |