From 73458512f6527b6a9f7be583a4cbc56ad7b78212 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Tue, 1 Oct 2013 11:33:11 -0300 Subject: [PATCH] ldap: create install file --- plugins/ldap/dependencies.rb | 1 + plugins/ldap/install.rb | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/ldap/dependencies.rb b/plugins/ldap/dependencies.rb index 8fa1559..4a0593d 100644 --- a/plugins/ldap/dependencies.rb +++ b/plugins/ldap/dependencies.rb @@ -1 +1,2 @@ +require 'rubygems' require 'net/ldap' diff --git a/plugins/ldap/install.rb b/plugins/ldap/install.rb index f960f51..ec00696 100644 --- a/plugins/ldap/install.rb +++ b/plugins/ldap/install.rb @@ -1 +1,5 @@ -raise "Not ready yet" +system "gem install --user-install net-ldap -v 0.3.1" +puts "\nWARNING: This plugin is not setting up a ldap test server automatically. +Some tests may not be running. If you want to fully test this plugin, please +setup the ldap test server and make the proper configurations on +fixtures/ldap.yml.\n\n" -- libgit2 0.21.2