activesambaldap 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.en +6 -1
- data/NEWS.ja +6 -1
- data/README.en +2 -2
- data/README.ja +2 -2
- data/Rakefile +9 -1
- data/lib/active_samba_ldap/account.rb +2 -0
- data/lib/active_samba_ldap/base.rb +3 -1
- data/lib/active_samba_ldap/computer.rb +1 -1
- data/lib/active_samba_ldap/configuration_files +2 -0
- data/lib/active_samba_ldap/dc.rb +3 -1
- data/lib/active_samba_ldap/group.rb +1 -1
- data/lib/active_samba_ldap/idmap.rb +3 -1
- data/lib/active_samba_ldap/ou.rb +3 -1
- data/lib/active_samba_ldap/reloadable.rb +13 -0
- data/lib/active_samba_ldap/samba_computer.rb +1 -1
- data/lib/active_samba_ldap/samba_group.rb +1 -1
- data/lib/active_samba_ldap/samba_user.rb +1 -1
- data/lib/active_samba_ldap/unix_id_pool.rb +3 -1
- data/lib/active_samba_ldap/user.rb +1 -1
- data/lib/active_samba_ldap/version.rb +1 -1
- data/lib/active_samba_ldap.rb +5 -1
- data/setup.rb +1585 -0
- metadata +11 -8
data/NEWS.en
CHANGED
data/NEWS.ja
CHANGED
data/README.en
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
= README.en
|
4
4
|
|
5
|
-
$Id: README.en
|
5
|
+
$Id: README.en 63 2006-11-21 13:26:46Z kou $
|
6
6
|
|
7
7
|
== Name
|
8
8
|
|
@@ -35,7 +35,7 @@ asl-devel@rubyforge.org
|
|
35
35
|
|
36
36
|
== Dependency libraries
|
37
37
|
|
38
|
-
* ActiveLdap >= 0.8.0
|
38
|
+
* ActiveLdap >= 0.8.0
|
39
39
|
|
40
40
|
== Usage
|
41
41
|
|
data/README.ja
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
= README.ja
|
4
4
|
|
5
|
-
$Id: README.ja
|
5
|
+
$Id: README.ja 63 2006-11-21 13:26:46Z kou $
|
6
6
|
|
7
7
|
== 名前
|
8
8
|
|
@@ -32,7 +32,7 @@ asl-devel-ja@rubyforge.org
|
|
32
32
|
|
33
33
|
== 依存ライブラリ
|
34
34
|
|
35
|
-
* ActiveLdap >= 0.8.0
|
35
|
+
* ActiveLdap >= 0.8.0
|
36
36
|
|
37
37
|
== 使用法
|
38
38
|
|
data/Rakefile
CHANGED
@@ -17,7 +17,7 @@ manifest_contents = []
|
|
17
17
|
base_dir_included_components = %w(README.ja README.en NEWS.ja NEWS.en setup.rb
|
18
18
|
Rakefile)
|
19
19
|
excluded_components = %w(.svn .test-result .config Manifest.txt config.yml doc
|
20
|
-
pkg
|
20
|
+
pkg html config.yaml)
|
21
21
|
excluded_suffixes = %w(.help)
|
22
22
|
Find.find(base_dir) do |target|
|
23
23
|
target = truncate_base_dir[target]
|
@@ -93,3 +93,11 @@ project.bin_files.each do |bin|
|
|
93
93
|
FileUtils.rm_f(bin_help)
|
94
94
|
end
|
95
95
|
end
|
96
|
+
|
97
|
+
desc 'Tag the repository for release.'
|
98
|
+
task :tag do
|
99
|
+
version = ActiveSambaLdap::VERSION
|
100
|
+
message = "Released ActiveSambaLdap #{version}!"
|
101
|
+
base = "svn+ssh://#{ENV['USER']}@rubyforge.org/var/svn/asl/"
|
102
|
+
run("svn copy -m #{message.dump} #{base}/trunk #{base}/tags/#{version}")
|
103
|
+
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'active_samba_ldap/reloadable'
|
2
|
+
|
1
3
|
module ActiveSambaLdap
|
2
4
|
class Error < StandardError
|
3
5
|
end
|
@@ -102,7 +104,7 @@ module ActiveSambaLdap
|
|
102
104
|
end
|
103
105
|
|
104
106
|
class Base < ActiveLdap::Base
|
105
|
-
include Reloadable
|
107
|
+
include Reloadable
|
106
108
|
|
107
109
|
class << self
|
108
110
|
def restart_nscd
|
data/lib/active_samba_ldap/dc.rb
CHANGED
data/lib/active_samba_ldap/ou.rb
CHANGED
data/lib/active_samba_ldap.rb
CHANGED
@@ -8,7 +8,11 @@ require_gem_if_need = Proc.new do |library_name, gem_name, *options|
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
-
require_gem_if_need.call("active_ldap", "activeldap", ">= 0.8.0")
|
11
|
+
require_gem_if_need.call("active_ldap", "ruby-activeldap", ">= 0.8.0")
|
12
|
+
|
13
|
+
if Dependencies.respond_to?(:load_paths)
|
14
|
+
Dependencies.load_paths << File.expand_path(File.dirname(__FILE__))
|
15
|
+
end
|
12
16
|
|
13
17
|
require 'active_samba_ldap/version'
|
14
18
|
require 'active_samba_ldap/base'
|