activeldap 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +15 -0
- data/README +4 -1
- data/Rakefile +1 -1
- data/TODO +1 -2
- data/data/locale/en/LC_MESSAGES/active-ldap.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/active-ldap.mo +0 -0
- data/examples/al-admin/app/models/user.rb +1 -1
- data/examples/al-admin/config/boot.rb +1 -1
- data/examples/al-admin/config/environment.rb +1 -15
- data/examples/al-admin/config/initializers/session_store.rb +23 -0
- data/examples/al-admin/config/session_secret.txt +1 -0
- data/examples/al-admin/db/schema.rb +23 -0
- data/examples/al-admin/locale/en/LC_MESSAGES/al-admin.mo +0 -0
- data/examples/al-admin/locale/ja/LC_MESSAGES/al-admin.mo +0 -0
- data/examples/al-admin/locale/nl/LC_MESSAGES/al-admin.mo +0 -0
- data/lib/active_ldap.rb +3 -3
- data/lib/active_ldap/acts/tree.rb +1 -1
- data/lib/active_ldap/adapter/base.rb +9 -1
- data/lib/active_ldap/adapter/ldap.rb +7 -1
- data/lib/active_ldap/association/belongs_to_many.rb +6 -2
- data/lib/active_ldap/association/children.rb +1 -1
- data/lib/active_ldap/association/has_many_utils.rb +2 -2
- data/lib/active_ldap/association/has_many_wrap.rb +6 -2
- data/lib/active_ldap/attributes.rb +5 -1
- data/lib/active_ldap/base.rb +133 -59
- data/lib/active_ldap/connection.rb +10 -3
- data/lib/active_ldap/distinguished_name.rb +33 -1
- data/lib/active_ldap/ldif.rb +1 -0
- data/lib/active_ldap/operations.rb +33 -14
- data/lib/active_ldap/populate.rb +21 -12
- data/lib/active_ldap/schema.rb +21 -0
- data/lib/active_ldap/validations.rb +49 -4
- data/po/active-ldap.pot +4030 -0
- data/po/en/active-ldap.po +57 -37
- data/po/ja/active-ldap.po +58 -38
- data/test-unit/History.txt +1 -1
- data/test-unit/Manifest.txt +2 -0
- data/test-unit/README.txt +1 -1
- data/test-unit/lib/test/unit/assertions.rb +1 -1
- data/test-unit/lib/test/unit/autorunner.rb +19 -4
- data/test-unit/lib/test/unit/collector/load.rb +3 -1
- data/test-unit/lib/test/unit/color-scheme.rb +5 -1
- data/test-unit/lib/test/unit/error.rb +7 -5
- data/test-unit/lib/test/unit/runner/tap.rb +8 -0
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +63 -8
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +92 -0
- data/test-unit/test/collector/test-load.rb +1 -5
- data/test-unit/test/test-color-scheme.rb +4 -0
- data/test/al-test-utils.rb +30 -2
- data/test/test_acts_as_tree.rb +6 -3
- data/test/test_associations.rb +3 -2
- data/test/test_base.rb +104 -5
- data/test/test_dn.rb +10 -0
- data/test/test_groupls.rb +1 -1
- data/test/test_lpasswd.rb +1 -1
- data/test/test_reflection.rb +23 -16
- data/test/test_schema.rb +33 -1
- data/test/test_useradd-binary.rb +1 -1
- data/test/test_useradd.rb +1 -1
- data/test/test_userdel.rb +1 -1
- data/test/test_userls.rb +1 -1
- data/test/test_usermod-binary-add-time.rb +1 -1
- data/test/test_usermod-binary-add.rb +1 -1
- data/test/test_usermod-binary-del.rb +1 -1
- data/test/test_usermod-lang-add.rb +1 -1
- data/test/test_usermod.rb +1 -1
- data/test/test_validation.rb +48 -10
- metadata +44 -35
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeldap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Drewry
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-
|
13
|
+
date: 2009-09-22 00:00:00 +09:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - "="
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 2.3.
|
24
|
+
version: 2.3.4
|
25
25
|
version:
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: locale
|
@@ -61,7 +61,7 @@ dependencies:
|
|
61
61
|
requirements:
|
62
62
|
- - ">="
|
63
63
|
- !ruby/object:Gem::Version
|
64
|
-
version: 2.3.
|
64
|
+
version: 2.3.3
|
65
65
|
version:
|
66
66
|
description: " 'Ruby/ActiveLdap' is a ruby extension library which provides a clean\n objected oriented interface to the Ruby/LDAP library. It was inspired\n by ActiveRecord. This is not nearly as clean or as flexible as\n ActiveRecord, but it is still trivial to define new objects and manipulate\n them with minimal difficulty.\n"
|
67
67
|
email:
|
@@ -154,14 +154,20 @@ files:
|
|
154
154
|
- examples/al-admin/config/initializers/exception_notifier.rb
|
155
155
|
- examples/al-admin/config/initializers/inflections.rb
|
156
156
|
- examples/al-admin/config/initializers/mime_types.rb
|
157
|
+
- examples/al-admin/config/initializers/session_store.rb
|
157
158
|
- examples/al-admin/config/ldap.yml.example
|
158
159
|
- examples/al-admin/config/routes.rb
|
160
|
+
- examples/al-admin/config/session_secret.txt
|
159
161
|
- examples/al-admin/db/migrate/001_create_users.rb
|
162
|
+
- examples/al-admin/db/schema.rb
|
160
163
|
- examples/al-admin/lib/authenticated_system.rb
|
161
164
|
- examples/al-admin/lib/authenticated_test_helper.rb
|
162
165
|
- examples/al-admin/lib/ldap_test_helper.rb
|
163
166
|
- examples/al-admin/lib/tasks/gettext.rake
|
164
167
|
- examples/al-admin/lib/tasks/testing.rake
|
168
|
+
- examples/al-admin/locale/en/LC_MESSAGES/al-admin.mo
|
169
|
+
- examples/al-admin/locale/ja/LC_MESSAGES/al-admin.mo
|
170
|
+
- examples/al-admin/locale/nl/LC_MESSAGES/al-admin.mo
|
165
171
|
- examples/al-admin/po/en/al-admin.po
|
166
172
|
- examples/al-admin/po/ja/al-admin.po
|
167
173
|
- examples/al-admin/po/nl/al-admin.po
|
@@ -466,6 +472,7 @@ files:
|
|
466
472
|
- lib/active_ldap/user_password.rb
|
467
473
|
- lib/active_ldap/validations.rb
|
468
474
|
- lib/active_ldap/xml.rb
|
475
|
+
- po/active-ldap.pot
|
469
476
|
- po/en/active-ldap.po
|
470
477
|
- po/ja/active-ldap.po
|
471
478
|
- rails/README
|
@@ -505,12 +512,14 @@ files:
|
|
505
512
|
- test-unit/lib/test/unit/priority.rb
|
506
513
|
- test-unit/lib/test/unit/runner/console.rb
|
507
514
|
- test-unit/lib/test/unit/runner/emacs.rb
|
515
|
+
- test-unit/lib/test/unit/runner/tap.rb
|
508
516
|
- test-unit/lib/test/unit/testcase.rb
|
509
517
|
- test-unit/lib/test/unit/testresult.rb
|
510
518
|
- test-unit/lib/test/unit/testsuite.rb
|
511
519
|
- test-unit/lib/test/unit/ui/console/outputlevel.rb
|
512
520
|
- test-unit/lib/test/unit/ui/console/testrunner.rb
|
513
521
|
- test-unit/lib/test/unit/ui/emacs/testrunner.rb
|
522
|
+
- test-unit/lib/test/unit/ui/tap/testrunner.rb
|
514
523
|
- test-unit/lib/test/unit/ui/testrunner.rb
|
515
524
|
- test-unit/lib/test/unit/ui/testrunnermediator.rb
|
516
525
|
- test-unit/lib/test/unit/ui/testrunnerutilities.rb
|
@@ -618,45 +627,45 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
618
627
|
requirements: []
|
619
628
|
|
620
629
|
rubyforge_project: ruby-activeldap
|
621
|
-
rubygems_version: 1.3.
|
630
|
+
rubygems_version: 1.3.5
|
622
631
|
signing_key:
|
623
632
|
specification_version: 3
|
624
633
|
summary: Ruby/ActiveLdap is a object-oriented API to LDAP
|
625
634
|
test_files:
|
626
|
-
- test/
|
627
|
-
- test/
|
628
|
-
- test/
|
629
|
-
- test/
|
630
|
-
- test/
|
631
|
-
- test/
|
632
|
-
- test/test_connection.rb
|
633
|
-
- test/test_usermod-binary-add.rb
|
635
|
+
- test/test_find.rb
|
636
|
+
- test/test_usermod.rb
|
637
|
+
- test/test_ldif.rb
|
638
|
+
- test/test_dn.rb
|
639
|
+
- test/test_useradd-binary.rb
|
640
|
+
- test/test_acts_as_tree.rb
|
634
641
|
- test/test_groupdel.rb
|
635
|
-
- test/test_bind.rb
|
636
642
|
- test/test_attributes.rb
|
637
|
-
- test/test_configuration.rb
|
638
|
-
- test/test_groupadd.rb
|
639
|
-
- test/test_usermod-binary-add-time.rb
|
640
|
-
- test/test_userls.rb
|
641
643
|
- test/test_validation.rb
|
642
|
-
- test/test_adapter.rb
|
643
|
-
- test/test_lpasswd.rb
|
644
|
-
- test/test_ldif.rb
|
645
|
-
- test/test_connection_per_dn.rb
|
646
|
-
- test/test_schema.rb
|
647
|
-
- test/test_groupls.rb
|
648
|
-
- test/test_useradd-binary.rb
|
649
|
-
- test/test_dn.rb
|
650
|
-
- test/test_base_per_instance.rb
|
651
|
-
- test/test_syntax.rb
|
652
|
-
- test/test_find.rb
|
653
644
|
- test/test_connection_per_class.rb
|
654
|
-
- test/test_user_password.rb
|
655
|
-
- test/test_usermod-binary-del.rb
|
656
645
|
- test/test_user.rb
|
646
|
+
- test/test_usermod-binary-add-time.rb
|
657
647
|
- test/test_load.rb
|
658
|
-
- test/
|
659
|
-
- test/
|
660
|
-
- test/
|
648
|
+
- test/test_connection.rb
|
649
|
+
- test/test_base_per_instance.rb
|
650
|
+
- test/test_configuration.rb
|
651
|
+
- test/test_base.rb
|
652
|
+
- test/test_adapter.rb
|
661
653
|
- test/test_useradd.rb
|
662
|
-
- test/
|
654
|
+
- test/test_bind.rb
|
655
|
+
- test/test_userls.rb
|
656
|
+
- test/test_userdel.rb
|
657
|
+
- test/test_groupmod.rb
|
658
|
+
- test/test_associations.rb
|
659
|
+
- test/test_schema.rb
|
660
|
+
- test/test_groupadd.rb
|
661
|
+
- test/test_object_class.rb
|
662
|
+
- test/test_usermod-lang-add.rb
|
663
|
+
- test/test_syntax.rb
|
664
|
+
- test/test_usermod-binary-del.rb
|
665
|
+
- test/test_usermod-binary-add.rb
|
666
|
+
- test/test_user_password.rb
|
667
|
+
- test/test_connection_per_dn.rb
|
668
|
+
- test/test_reflection.rb
|
669
|
+
- test/test_lpasswd.rb
|
670
|
+
- test/test_callback.rb
|
671
|
+
- test/test_groupls.rb
|