Sha256: 152f707c3825ef4142b7d55c56cfaede108b2b6064c0235cad56043f507e374b

Contents?: true

Size: 973 Bytes

Versions: 1

Compression:

Stored size: 973 Bytes

Contents

require 'rubygems'
require 'rake/gempackagetask'

PLUGIN = "merb_data_mapper"
NAME = "merb_data_mapper"
VERSION = "0.4.0"
AUTHOR = "Jason Toy"
EMAIL = "jtoy@rubynow.com"
HOMEPAGE = "http://merb-plugins.rubyforge.org/merb_data_mapper/"
SUMMARY = "Merb plugin that provides DataMapper support for 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.requirements << 'merb'
  s.require_path = 'lib'
  s.autorequire = PLUGIN
  s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs,data_mapper_generators}/**/*")
end

spec.add_dependency("merb", ">=0.4")

Rake::GemPackageTask.new(spec) do |pkg|
  pkg.gem_spec = spec
end

task :install do
  sh %{rake package}
  sh %{sudo gem install pkg/#{NAME}-#{VERSION}}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merb_data_mapper-0.4.0 Rakefile