Sha256: 669999a07db25f581d170dc9b8f1a8dbc97c9514a64b0489ff25f19013f09af5
Contents?: true
Size: 977 Bytes
Versions: 1
Compression:
Stored size: 977 Bytes
Contents
# -*- 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.0.alpha3" p.description = "ldap adapter for datamapper which uses either net-ldap or ruby-ldap" p.developer('mkristian', 'm.kristian@web.de') p.url = "http://dm-ldap-adapter.rubyforge.org" p.extra_deps = [['ruby-net-ldap', '=0.0.4'],['slf4r', '>=0'], ['dm-core', '~>1.0.0']] p.remote_rdoc_dir = '' # Release to root end 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" end desc 'Run specifications' Spec::Rake::SpecTask.new(:spec) do |t| if File.exists?('spec/spec.opts') t.spec_opts << '--options' << 'spec/spec.opts' end t.spec_files = Pathname.glob('./spec/**/*_spec.rb') end #require 'yard' #YARD::Rake::YardocTask.new # vim: syntax=Ruby
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm-ldap-adapter-0.4.0.alpha3 | Rakefile |