Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (30 sloc) 970 Bytes
# -*- ruby -*-
require 'rubygems'
require 'hoe'
require './lib/ldap/version.rb'
require 'spec'
require 'spec/rake/spectask'
require 'pathname'
Hoe.spec('dm-ldap-adapter') do |p|
p.version = "0.4.2"
p.description = "ldap adapter for datamapper which uses either net-ldap or ruby-ldap"
p.developer('mkristian', '')
p.url = ""
p.extra_deps = [['ruby-net-ldap', '=0.0.4'],['slf4r', '>=0'], ['dm-core', '~>1.0.0']]
p.remote_rdoc_dir = '' # Release to root
desc 'Install the package as a gem.'
task :install => [:clean, :package] do
gem = Dir['pkg/*.gem'].first
sh "gem install --local #{gem} --no-ri --no-rdoc"
desc 'Run specifications' do |t|
if File.exists?('spec/spec.opts')
t.spec_opts << '--options' << 'spec/spec.opts'
t.spec_files = Pathname.glob('./spec/**/*_spec.rb')
#require 'yard'
# vim: syntax=Ruby
Jump to Line
Something went wrong with that request. Please try again.