Sha256: cd98ad6c7fb594bcaef00eca6c23fae8a209ff80e71b1382450f088dbe25d5f7

Contents?: true

Size: 959 Bytes

Versions: 1

Compression:

Stored size: 959 Bytes

Contents

require 'rubygems'
require 'rake/gempackagetask'

PLUGIN = "do_postgres"
NAME = "do_postgres"
VERSION = "0.2.3"
AUTHOR = "Yehuda Katz"
EMAIL = "wycats@gmail.com"
HOMEPAGE = "http://dataobjects.devjavu.com"
SUMMARY = "A DataObject.rb driver for postgres"

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('data_objects')
  s.require_path = 'lib'
  s.autorequire = PLUGIN
  s.extensions = ["ext/extconf.rb"]
  s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs,ext}/**/*").reject {|x| x =~ /\.(o|bundle)$/ }
end

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

task :install => [:package] do
  sh %{sudo gem install pkg/#{NAME}-#{VERSION}}, :verbose => false
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
do_postgres-0.2.3 Rakefile