From codesite-noreply at google.com Sun Feb 1 03:00:31 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Sun, 01 Feb 2009 08:00:31 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r813 - in trunk: lib/active_ldap test Message-ID: <001636163fc5038fe10461d6d5de@google.com> Author: koutou Date: Sat Jan 31 23:44:33 2009 New Revision: 813 Modified: trunk/lib/active_ldap/base.rb trunk/test/test_validation.rb Log: * accept attribute set even if DN is invalid. [#9] Modified: trunk/lib/active_ldap/base.rb ============================================================================== --- trunk/lib/active_ldap/base.rb (original) +++ trunk/lib/active_ldap/base.rb Sat Jan 31 23:44:33 2009 @@ -1166,7 +1166,14 @@ # Set the value of the attribute called by method_missing? def set_attribute(name, value) real_name = to_real_attribute_name(name) - if real_name == dn_attribute + _dn_attribute = nil + valid_dn_attribute = true + begin + _dn_attribute = dn_attribute + rescue DistinguishedNameInvalid + valid_dn_attribute = false + end + if valid_dn_attribute and real_name == _dn_attribute real_name, value = register_new_dn_attribute(real_name, value) end raise UnknownAttribute.new(name) if real_name.nil? Modified: trunk/test/test_validation.rb ============================================================================== --- trunk/test/test_validation.rb (original) +++ trunk/test/test_validation.rb Sat Jan 31 23:44:33 2009 @@ -6,6 +6,15 @@ include ActiveLdap::Helper priority :must + def test_set_attribute_to_invalid_dn_attribute_value_object + user = @user_class.new("=") + assert_nothing_raised do + user.uid_number = 11111 + end + assert_equal(11111, user.uid_number) + end + + priority :normal def test_dn_validate_on_new user = @user_class.new("=") assert(!user.valid?) @@ -18,7 +27,6 @@ user.errors.full_messages.find_all {|m| /DN/ =~ m}) end - priority :normal def test_dn_validate make_temporary_user do |user,| user.uid = "=" From codesite-noreply at google.com Mon Feb 2 20:16:52 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 03 Feb 2009 01:16:52 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r814 - trunk/lib/active_ldap/adapter Message-ID: <0015174becfc222c0b0461f96d92@google.com> Author: koutou Date: Mon Feb 2 17:15:58 2009 New Revision: 814 Modified: trunk/lib/active_ldap/adapter/base.rb Log: * fix a typo. Modified: trunk/lib/active_ldap/adapter/base.rb ============================================================================== --- trunk/lib/active_ldap/adapter/base.rb (original) +++ trunk/lib/active_ldap/adapter/base.rb Mon Feb 2 17:15:58 2009 @@ -169,7 +169,7 @@ targets.each do |target| begin yield(target) - rescue LdapError::UnwillingToPerform, LdapError::InsuffifientAccess + rescue LdapError::UnwillingToPerform, LdapError::InsufficientAccess raise OperationNotPermitted, _("%s: %s") % [$!.message, target] end end From codesite-noreply at google.com Mon Feb 2 21:34:08 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 03 Feb 2009 02:34:08 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r816 - in trunk/lib/active_ldap: . adapter Message-ID: <00163628373673b5900461fa8134@google.com> Author: koutou Date: Mon Feb 2 18:17:06 2009 New Revision: 816 Modified: trunk/lib/active_ldap/adapter/jndi.rb trunk/lib/active_ldap/adapter/ldap.rb trunk/lib/active_ldap/ldif.rb Log: * detect binary value. Modified: trunk/lib/active_ldap/adapter/jndi.rb ============================================================================== --- trunk/lib/active_ldap/adapter/jndi.rb (original) +++ trunk/lib/active_ldap/adapter/jndi.rb Mon Feb 2 18:17:06 2009 @@ -153,8 +153,12 @@ mod_type = ensure_mod_type(type) binary = schema.attribute(key).binary? attributes.each do |name, values| + real_binary = binary + if values.any? {|value| Ldif::Attribute.binary_value?(value)} + real_binary = true + end result << JndiConnection::ModifyRecord.new(mod_type, name, - values, binary) + values, real_binary) end end result Modified: trunk/lib/active_ldap/adapter/ldap.rb ============================================================================== --- trunk/lib/active_ldap/adapter/ldap.rb (original) +++ trunk/lib/active_ldap/adapter/ldap.rb Mon Feb 2 18:17:06 2009 @@ -257,7 +257,11 @@ binary = schema.attribute(key).binary? mod_type |= LDAP::LDAP_MOD_BVALUES if binary attributes.each do |name, values| - result << LDAP.mod(mod_type, name, values) + additional_mod_type = 0 + if values.any? {|value| Ldif::Attribute.binary_value?(value)} + additional_mod_type |= LDAP::LDAP_MOD_BVALUES + end + result << LDAP.mod(mod_type | additional_mod_type, name, values) end end result Modified: trunk/lib/active_ldap/ldif.rb ============================================================================== --- trunk/lib/active_ldap/ldif.rb (original) +++ trunk/lib/active_ldap/ldif.rb Mon Feb 2 18:17:06 2009 @@ -31,11 +31,19 @@ SIZE = 75 module_function + def binary_value?(value) + if /\A#{Parser::SAFE_STRING}\z/u =~ value + false + else + true + end + end + def encode(name, value) return "#{name}:\n" if value.blank? result = "#{name}:" - if value[-1, 1] == ' ' or /\A#{Parser::SAFE_STRING}\z/u !~ value + if value[-1, 1] == ' ' or binary_value?(value) result << ":" value = [value].pack("m").gsub(/\n/u, '') end From codesite-noreply at google.com Mon Feb 2 21:38:10 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 03 Feb 2009 02:38:10 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r817 - trunk/test Message-ID: <000e0cd486c4db79020461fa8fd8@google.com> Author: koutou Date: Mon Feb 2 18:19:30 2009 New Revision: 817 Modified: trunk/test/test_connection_per_dn.rb Log: * follow the recent changes. Modified: trunk/test/test_connection_per_dn.rb ============================================================================== --- trunk/test/test_connection_per_dn.rb (original) +++ trunk/test/test_connection_per_dn.rb Mon Feb 2 18:19:30 2009 @@ -87,7 +87,7 @@ assert_not_equal(group1.connection, user.connection) assert_equal(user.groups[0].connection, user.connection) - assert_raise(ActiveLdap::LdapError::InsufficientAccess) do + assert_raise(ActiveLdap::OperationNotPermitted) do user.groups << group2 end assert_equal([group1.cn], user.groups.collect(&:cn)) From codesite-noreply at google.com Mon Feb 2 21:42:12 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 03 Feb 2009 02:42:12 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r815 - trunk/lib/active_ldap/adapter Message-ID: <0016e645b9044daefe0461fa9e0d@google.com> Author: koutou Date: Mon Feb 2 17:24:14 2009 New Revision: 815 Modified: trunk/lib/active_ldap/adapter/base.rb Log: * add a error check. Modified: trunk/lib/active_ldap/adapter/base.rb ============================================================================== --- trunk/lib/active_ldap/adapter/base.rb (original) +++ trunk/lib/active_ldap/adapter/base.rb Mon Feb 2 17:24:14 2009 @@ -202,7 +202,11 @@ def modify(dn, entries, options={}) begin operation(options) do - yield(dn, entries) + begin + yield(dn, entries) + rescue LdapError::UnwillingToPerform, LdapError::InsufficientAccess + raise OperationNotPermitted, _("%s: %s") % [$!.message, target] + end end rescue LdapError::UndefinedType raise From codesite-noreply at google.com Tue Feb 3 08:17:30 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 03 Feb 2009 13:17:30 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r818 - in trunk: . lib/active_ldap test Message-ID: <00163628373657c1c60462037e8e@google.com> Author: koutou Date: Tue Feb 3 05:13:55 2009 New Revision: 818 Modified: trunk/README trunk/lib/active_ldap/attributes.rb trunk/test/test_validation.rb Log: * accept mass attributes assignment even if DN attribute value is invalid. [#9] Reported by Alexey.Chebotar. Thanks!!! Modified: trunk/README ============================================================================== --- trunk/README (original) +++ trunk/README Tue Feb 3 05:13:55 2009 @@ -119,3 +119,4 @@ * danger1986: A suggestion. * michael.j.konopka: Bug reports. * ingersoll: A suggestion. +* Alexey.Chebotar: Bug reports. Modified: trunk/lib/active_ldap/attributes.rb ============================================================================== --- trunk/lib/active_ldap/attributes.rb (original) +++ trunk/lib/active_ldap/attributes.rb Tue Feb 3 05:13:55 2009 @@ -126,7 +126,12 @@ end def attributes_protected_by_default - [dn_attribute, 'objectClass'] + _dn_attribute = nil + begin + _dn_attribute = dn_attribute + rescue DistinguishedNameInvalid + end + [_dn_attribute, 'objectClass'].compact end def normalize_attribute_name(name) Modified: trunk/test/test_validation.rb ============================================================================== --- trunk/test/test_validation.rb (original) +++ trunk/test/test_validation.rb Tue Feb 3 05:13:55 2009 @@ -6,6 +6,15 @@ include ActiveLdap::Helper priority :must + def test_set_attributes_with_invalid_dn_attribute_value + user = nil + assert_nothing_raised do + user = @user_class.new(:uid => "=", :cn => "#") + end + assert(!user.valid?) + end + + priority :normal def test_set_attribute_to_invalid_dn_attribute_value_object user = @user_class.new("=") assert_nothing_raised do @@ -14,7 +23,6 @@ assert_equal(11111, user.uid_number) end - priority :normal def test_dn_validate_on_new user = @user_class.new("=") assert(!user.valid?) From codesite-noreply at google.com Tue Feb 3 08:56:43 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 03 Feb 2009 13:56:43 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r819 - in trunk: lib/active_ldap lib/active_ldap/adapter rails_generators/scaffold_active_ldap/te... Message-ID: <00163628395e92a2590462040a54@google.com> Author: koutou Date: Tue Feb 3 05:33:53 2009 New Revision: 819 Modified: trunk/lib/active_ldap/adapter/base.rb trunk/lib/active_ldap/configuration.rb trunk/rails_generators/scaffold_active_ldap/templates/ldap.yml Log: * guess default port from method. Modified: trunk/lib/active_ldap/adapter/base.rb ============================================================================== --- trunk/lib/active_ldap/adapter/base.rb (original) +++ trunk/lib/active_ldap/adapter/base.rb Tue Feb 3 05:33:53 2009 @@ -40,8 +40,9 @@ def connect(options={}) host = options[:host] || @host - port = options[:port] || @port - method = ensure_method(options[:method] || @method) + method = options[:method] || @method || :plain + port = options[:port] || @port || ensure_port(method) + method = ensure_method(method) @disconnected = false @connection, @uri, @with_start_tls = yield(host, port, method) prepare_connection(options) @@ -229,6 +230,14 @@ end private + def ensure_port(method) + if method == :ssl + URI::LDAPS::DEFAULT_PORT + else + URI::LDAP::DEFAULT_PORT + end + end + def prepare_connection(options) end Modified: trunk/lib/active_ldap/configuration.rb ============================================================================== --- trunk/lib/active_ldap/configuration.rb (original) +++ trunk/lib/active_ldap/configuration.rb Tue Feb 3 05:33:53 2009 @@ -23,7 +23,7 @@ DEFAULT_CONFIG = {} DEFAULT_CONFIG[:host] = '127.0.0.1' - DEFAULT_CONFIG[:port] = 389 + DEFAULT_CONFIG[:port] = nil DEFAULT_CONFIG[:method] = :plain # :ssl, :tls, :plain allowed DEFAULT_CONFIG[:bind_dn] = nil Modified: trunk/rails_generators/scaffold_active_ldap/templates/ldap.yml ============================================================================== --- trunk/rails_generators/scaffold_active_ldap/templates/ldap.yml (original) +++ trunk/rails_generators/scaffold_active_ldap/templates/ldap.yml Tue Feb 3 05:33:53 2009 @@ -1,20 +1,17 @@ development: host: 127.0.0.1 - port: 389 base: dc=devel,dc=local,dc=net bind_dn: cn=admin,dc=local,dc=net password: secret test: host: 127.0.0.1 - port: 389 base: dc=test,dc=local,dc=net bind_dn: cn=admin,dc=local,dc=net password: secret production: host: 127.0.0.1 - port: 389 method: :tls base: dc=production,dc=local,dc=net bind_dn: cn=admin,dc=local,dc=net From codesite-noreply at google.com Tue Feb 3 09:00:45 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 03 Feb 2009 14:00:45 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r820 - wiki Message-ID: <000e0cd3525efe9348046204186c@google.com> Author: koutou Date: Tue Feb 3 05:37:51 2009 New Revision: 820 Modified: wiki/TroubleShooting.wiki Log: Edited wiki page through web user interface. Modified: wiki/TroubleShooting.wiki ============================================================================== --- wiki/TroubleShooting.wiki (original) +++ wiki/TroubleShooting.wiki Tue Feb 3 05:37:51 2009 @@ -24,6 +24,20 @@ ... }}} += How to connect to LDAPS server = + +Use the ":ssl" method in your configuration file: + +{{{ +production: + ... + port: 636 + method: :ssl + ... +}}} + +Note that "port: 636" is optional if you are using ActiveLdap >= 1.0.2 or trunk. In the version, ActiveLdap guesses suitable port number from "method" configuration. + = Next problem... = The answer of this problem... From codesite-noreply at google.com Wed Feb 4 07:24:05 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Wed, 04 Feb 2009 12:24:05 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r821 - in trunk: lib/active_ldap test Message-ID: <000e0cd3525e23b599046216dd68@google.com> Author: koutou Date: Wed Feb 4 04:00:36 2009 New Revision: 821 Modified: trunk/lib/active_ldap/connection.rb trunk/test/test_associations.rb Log: * don't raise DistinguishedNameInvalid on reload. [#9] Reported by Alexey.Chebotar. Thanks!!! Modified: trunk/lib/active_ldap/connection.rb ============================================================================== --- trunk/lib/active_ldap/connection.rb (original) +++ trunk/lib/active_ldap/connection.rb Wed Feb 4 04:00:36 2009 @@ -213,11 +213,14 @@ conn = @connection return conn if conn - if @dn or - (attribute_name_resolvable_without_connection? and - get_attribute_before_type_cast(dn_attribute)[1]) - conn = self.class.active_connections[dn] || retrieve_connection + have_dn = !@dn.nil? + if !have_dn and attribute_name_resolvable_without_connection? + begin + have_dn = !get_attribute_before_type_cast(dn_attribute)[1].nil? + rescue DistinguishedNameInvalid + end end + conn = self.class.active_connections[dn] || retrieve_connection if have_dn conn || self.class.connection end Modified: trunk/test/test_associations.rb ============================================================================== --- trunk/test/test_associations.rb (original) +++ trunk/test/test_associations.rb Wed Feb 4 04:00:36 2009 @@ -4,6 +4,19 @@ include AlTestUtils priority :must + def test_belongs_to_with_invalid_dn_attribute_value + make_temporary_user do |user,| + make_temporary_group do |group| + user.primary_group = group + user.uid = "#" + assert_nothing_raised do + user.primary_group.reload + end + end + end + end + + priority :normal def test_has_many_wrap_with_nonexistent_entry @user_class.has_many :references, :wrap => "seeAlso", :primary_key => "dn" @user_class.set_associated_class(:references, @group_class) @@ -32,7 +45,6 @@ end end - priority :normal def test_has_many_wrap_with_dn_value @user_class.has_many :references, :wrap => "seeAlso", :primary_key => "dn" @user_class.set_associated_class(:references, @group_class) From codesite-noreply at google.com Wed Feb 4 07:47:11 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Wed, 04 Feb 2009 12:47:11 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r822 - in trunk: lib/active_ldap test Message-ID: <00151750d940b4f96e0462172f55@google.com> Author: koutou Date: Wed Feb 4 04:44:32 2009 New Revision: 822 Modified: trunk/lib/active_ldap/base.rb trunk/test/test_base.rb Log: * fix a type error bug on computing DN. [#15] Reported by ery.lee. Thanks!!! Modified: trunk/lib/active_ldap/base.rb ============================================================================== --- trunk/lib/active_ldap/base.rb (original) +++ trunk/lib/active_ldap/base.rb Wed Feb 4 04:44:32 2009 @@ -1281,7 +1281,7 @@ message = format % [self.inspect, dn_attribute] raise DistinguishedNameNotSetError.new, message end - dn_value = DN.escape_value(dn_value) if escape_dn_value + dn_value = DN.escape_value(dn_value.to_s) if escape_dn_value _base = base _base = nil if _base.blank? ["#{dn_attribute}=#{dn_value}", _base].compact.join(",") Modified: trunk/test/test_base.rb ============================================================================== --- trunk/test/test_base.rb (original) +++ trunk/test/test_base.rb Wed Feb 4 04:44:32 2009 @@ -6,6 +6,17 @@ include AlTestUtils priority :must + def test_non_string_dn_attribute_value + user = @user_class.new("uidNumber=10110") + user.uid = user.cn = user.sn = "test-user" + user.gid_number = 10000 + user.home_directory = "/home/test-user" + assert_nothing_raised do + user.save! + end + end + + priority :normal def test_set_dn_with_unnormalized_dn_attribute make_temporary_user do |user,| assert_not_equal("ZZZ", user.cn) @@ -14,7 +25,6 @@ end end - priority :normal def test_destroy_with_empty_base_of_class make_temporary_user do |user,| base = user.class.base From codesite-noreply at google.com Thu Feb 5 10:40:32 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Thu, 05 Feb 2009 15:40:32 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r823 - trunk Message-ID: <0016361e891e87fb7e04622db95c@google.com> Author: koutou Date: Thu Feb 5 04:35:15 2009 New Revision: 823 Modified: trunk/README Log: * add ery.lee to thanks list. Thanks!!! Modified: trunk/README ============================================================================== --- trunk/README (original) +++ trunk/README Thu Feb 5 04:35:15 2009 @@ -120,3 +120,4 @@ * michael.j.konopka: Bug reports. * ingersoll: A suggestion. * Alexey.Chebotar: Bug reports. +* ery.lee: A bug report. From codesite-noreply at google.com Thu Feb 5 10:47:41 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Thu, 05 Feb 2009 15:47:41 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r824 - in trunk: lib/active_ldap test Message-ID: <0016e642d3761aaee104622dd32e@google.com> Author: koutou Date: Thu Feb 5 04:36:35 2009 New Revision: 824 Modified: trunk/lib/active_ldap/attributes.rb trunk/lib/active_ldap/base.rb trunk/test/test_base.rb Log: * Base#id works even if DN attribute value is invalid. [#16] Reported by Alexey.Chebotar. Thanks!!! Modified: trunk/lib/active_ldap/attributes.rb ============================================================================== --- trunk/lib/active_ldap/attributes.rb (original) +++ trunk/lib/active_ldap/attributes.rb Thu Feb 5 04:36:35 2009 @@ -128,7 +128,7 @@ def attributes_protected_by_default _dn_attribute = nil begin - _dn_attribute = dn_attribute + _dn_attribute = dn_attribute_with_fallback rescue DistinguishedNameInvalid end [_dn_attribute, 'objectClass'].compact Modified: trunk/lib/active_ldap/base.rb ============================================================================== --- trunk/lib/active_ldap/base.rb (original) +++ trunk/lib/active_ldap/base.rb Thu Feb 5 04:36:35 2009 @@ -692,7 +692,7 @@ end def id - get_attribute(dn_attribute) + get_attribute(dn_attribute_with_fallback) end def to_param @@ -700,7 +700,7 @@ end def dn=(value) - set_attribute(dn_attribute, value) + set_attribute(dn_attribute_with_fallback, value) @dn = nil end alias_method(:id=, :dn=) @@ -1004,6 +1004,17 @@ end private + def dn_attribute_with_fallback + begin + dn_attribute + rescue DistinguishedNameInvalid + _dn_attribute = @dn_attribute || dn_attribute_of_class + _dn_attribute = to_real_attribute_name(_dn_attribute) || _dn_attribute + raise if _dn_attribute.nil? + _dn_attribute + end + end + def inspect_attribute(name) values = get_attribute(name, true) values.collect do |value| Modified: trunk/test/test_base.rb ============================================================================== --- trunk/test/test_base.rb (original) +++ trunk/test/test_base.rb Thu Feb 5 04:36:35 2009 @@ -6,6 +6,13 @@ include AlTestUtils priority :must + def test_id_with_invalid_dn_attribute_value + user = @user_class.new("#") + assert_equal("#", user.uid) + assert_equal("#", user.id) + end + + priority :normal def test_non_string_dn_attribute_value user = @user_class.new("uidNumber=10110") user.uid = user.cn = user.sn = "test-user" @@ -16,7 +23,6 @@ end end - priority :normal def test_set_dn_with_unnormalized_dn_attribute make_temporary_user do |user,| assert_not_equal("ZZZ", user.cn) From codesite-noreply at google.com Fri Feb 6 11:38:51 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Fri, 06 Feb 2009 16:38:51 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r825 - trunk Message-ID: <0016368e1c09f27035046242a744@google.com> Author: koutou Date: Fri Feb 6 06:51:44 2009 New Revision: 825 Modified: trunk/CHANGES Log: * add 1.0.2 entry. Modified: trunk/CHANGES ============================================================================== --- trunk/CHANGES (original) +++ trunk/CHANGES Fri Feb 6 06:51:44 2009 @@ -1,3 +1,35 @@ +1.0.2: + * Removed Base64 module use. + * Improved LDIF parser. + * Improved scheme parser. + * Supported Base64 in XML serialization. + * Supported TLS options. + * Supported ActiveRecord 2.2.2. + * Supported Ruby on Rails 2.2.2. + * Used rails/init.rb and rails_generators/ directory structure convention + for Rails and gem. rails/ directory will be removed after 1.0.2 is released. + * AL-Admin migrated to Ruby on Rails 2.2.2 form 2.0.2. + * Improved ActiveDirectory integration. + * Accepted :class_name for belong_to and has_many option. + * Improved default port guess. + * Bug fixes: + * [#4] ModifyRecord#load doesn't operate atomic. [gwarf12] + * [#5] to_xml supports :except option. [baptiste.grenier] + * [#6] to_xml uses ActiveResource format. [baptiste.grenier] + * Out of ranged GeneralizedTime uses Time.at(0) as fallback value. + [Richard Nicholas] + * ActiveLdap::Base#to_s uses #to_ldif. [Kazuhiro NISHIYAMA] + * Fixed excess prefix extraction. [Grzegorz Marsza?ek] + * Skiped read only attribute validation. [???????] + * Treated "" as empty value. [Ted Lepich] + * [#9][#16] Reduced raising when DN value is invalid. + [danger1986][Alexey.Chebotar] + * [#10][#12] Fixed needless ',' is appeared. [michael.j.konopka] + * [#11] Required missing 'active_ldap/user_password'. [michael.j.konopka] + * [#13] Returned entries if has_many :wrap has nonexistent entry. + [ingersoll] + * [#15] Fixed type error on computing DN. [ery.lee] + 1.0.1: * Fixed GetText integration. * Fixed ActiveLdap::Base.find with ActiveLdap::DN. (Reported by Jeremy Pruitt) From codesite-noreply at google.com Sun Feb 8 17:02:08 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Sun, 08 Feb 2009 22:02:08 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r826 - trunk Message-ID: <0016368e1d8ac874f704626f6776@google.com> Author: koutou Date: Sun Feb 8 14:01:35 2009 New Revision: 826 Modified: trunk/Rakefile Log: * update whitelist. Modified: trunk/Rakefile ============================================================================== --- trunk/Rakefile (original) +++ trunk/Rakefile Sun Feb 8 14:01:35 2009 @@ -21,7 +21,8 @@ excluded_suffixes = %w(.help .sqlite3) white_list_paths = [ - "rails/plugin/active_ldap/generators/scaffold_al/templates/ldap.yml" + "rails/plugin/active_ldap/generators/scaffold_al/templates/ldap.yml", + "rails_generators/scaffold_active_ldap/templates/ldap.yml", ] Find.find(base_dir + File::SEPARATOR) do |target| target = truncate_base_dir[target] From codesite-noreply at google.com Sun Feb 8 17:46:18 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Sun, 08 Feb 2009 22:46:18 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r827 - trunk/rails_generators/model_active_ldap Message-ID: <0016e642d376b764940462700519@google.com> Author: koutou Date: Sun Feb 8 14:11:10 2009 New Revision: 827 Modified: trunk/rails_generators/model_active_ldap/model_active_ldap_generator.rb Log: * require 'active_ldap'. Modified: trunk/rails_generators/model_active_ldap/model_active_ldap_generator.rb ============================================================================== --- trunk/rails_generators/model_active_ldap/model_active_ldap_generator.rb (original) +++ trunk/rails_generators/model_active_ldap/model_active_ldap_generator.rb Sun Feb 8 14:11:10 2009 @@ -1,3 +1,5 @@ +require 'active_ldap' + class ModelActiveLdapGenerator < Rails::Generator::NamedBase include ActiveLdap::GetTextSupport From codesite-noreply at google.com Sun Feb 8 20:43:52 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Mon, 09 Feb 2009 01:43:52 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r829 - trunk/benchmark Message-ID: <0016e644d622c26e8704627280b0@google.com> Author: koutou Date: Sun Feb 8 17:38:34 2009 New Revision: 829 Modified: trunk/benchmark/bench-al.rb Log: * guess default port. Modified: trunk/benchmark/bench-al.rb ============================================================================== --- trunk/benchmark/bench-al.rb (original) +++ trunk/benchmark/bench-al.rb Sun Feb 8 17:38:34 2009 @@ -21,12 +21,16 @@ config = ActiveLdap::Base.configuration LDAP_HOST = config[:host] -LDAP_PORT = config[:port] +LDAP_METHOD = config[:method] +if LDAP_METHOD == :ssl + LDAP_PORT = config[:port] || URI::LDAPS::DEFAULT_PORT +else + LDAP_PORT = config[:port] || URI::LDAP::DEFAULT_PORT +end LDAP_BASE = config[:base] LDAP_PREFIX = options.prefix LDAP_USER = config[:bind_dn] LDAP_PASSWORD = config[:password] -LDAP_METHOD = config[:method] class ALUser < ActiveLdap::Base ldap_mapping :dn_attribute => 'uid', :prefix => LDAP_PREFIX, From codesite-noreply at google.com Sun Feb 8 21:12:57 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Mon, 09 Feb 2009 02:12:57 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r828 - in trunk/rails_generators/model_active_ldap: . templates Message-ID: <0016e644df4cbde3fd046272e8e3@google.com> Author: koutou Date: Sun Feb 8 17:23:21 2009 New Revision: 828 Removed: trunk/rails_generators/model_active_ldap/templates/fixtures.yml Modified: trunk/rails_generators/model_active_ldap/model_active_ldap_generator.rb trunk/rails_generators/model_active_ldap/templates/unit_test.rb Log: * don't create fixture. Modified: trunk/rails_generators/model_active_ldap/model_active_ldap_generator.rb ============================================================================== --- trunk/rails_generators/model_active_ldap/model_active_ldap_generator.rb (original) +++ trunk/rails_generators/model_active_ldap/model_active_ldap_generator.rb Sun Feb 8 17:23:21 2009 @@ -10,19 +10,16 @@ # Check for class naming collisions. m.class_collisions class_path, class_name, "#{class_name}Test" - # Model, test, and fixture directories. + # Model and test directories. m.directory File.join('app/models', class_path) m.directory File.join('test/unit', class_path) - m.directory File.join('test/fixtures', class_path) - # Model class, unit test, and fixtures. + # Model class and unit test. m.template('model_active_ldap.rb', File.join('app/models', class_path, "#{file_name}.rb"), :assigns => {:ldap_mapping => ldap_mapping}) m.template('unit_test.rb', File.join('test/unit', class_path, "#{file_name}_test.rb")) - m.template('fixtures.yml', - File.join('test/fixtures', class_path, "#{table_name}.yml")) end end @@ -33,20 +30,20 @@ opt.on("--dn-attribute=ATTRIBUTE", _("Use ATTRIBUTE as default DN attribute for " \ "instances of this model"), - _("(default: %s)") % options[:dn_attribute]) do |attribute| + _("(default: %s)") % default_options[:dn_attribute]) do | attribute| options[:dn_attribute] = attribute end opt.on("--prefix=PREFIX", _("Use PREFIX as prefix for this model"), - _("(default: %s)") % default_prefix) do |prefix| + _("(default: %s)") % "ou=Names") do |prefix| options[:prefix] = prefix end opt.on("--classes=CLASS,CLASS,...", Array, "Use CLASSES as required objectClass for instances of this model", - "(default: %s)" % options[:classes]) do |classes| + "(default: %s)" % default_options[:classes]) do |classes| options[:classes] = classes end end Modified: trunk/rails_generators/model_active_ldap/templates/unit_test.rb ============================================================================== --- trunk/rails_generators/model_active_ldap/templates/unit_test.rb (original) +++ trunk/rails_generators/model_active_ldap/templates/unit_test.rb Sun Feb 8 17:23:21 2009 @@ -1,8 +1,6 @@ -require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' +require 'test_helper' class <%= class_name %>Test < Test::Unit::TestCase - fixtures :<%= table_name %> - # Replace this with your real tests. def test_truth assert true From codesite-noreply at google.com Fri Feb 13 21:07:33 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Sat, 14 Feb 2009 02:07:33 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r830 - in trunk: . lib/active_ldap/adapter test Message-ID: <0016368e1e059f466b0462d76ace@google.com> Author: koutou Date: Fri Feb 13 18:06:10 2009 New Revision: 830 Modified: trunk/CHANGES trunk/README trunk/lib/active_ldap/adapter/base.rb trunk/test/test_adapter.rb Log: * fix a typo: "=>" -> ">=". Reported by id:dicdak. Thanks!!! Modified: trunk/CHANGES ============================================================================== --- trunk/CHANGES (original) +++ trunk/CHANGES Fri Feb 13 18:06:10 2009 @@ -29,6 +29,7 @@ * [#13] Returned entries if has_many :wrap has nonexistent entry. [ingersoll] * [#15] Fixed type error on computing DN. [ery.lee] + * ">=" filter operator doesn't work. [id:dicdak] 1.0.1: * Fixed GetText integration. Modified: trunk/README ============================================================================== --- trunk/README (original) +++ trunk/README Fri Feb 13 18:06:10 2009 @@ -121,3 +121,4 @@ * ingersoll: A suggestion. * Alexey.Chebotar: Bug reports. * ery.lee: A bug report. +* id:dicdak: A bug report. Modified: trunk/lib/active_ldap/adapter/base.rb ============================================================================== --- trunk/lib/active_ldap/adapter/base.rb (original) +++ trunk/lib/active_ldap/adapter/base.rb Fri Feb 13 18:06:10 2009 @@ -405,7 +405,7 @@ when Hash options = value[0] value = value[1] - when "=", "~=", "<=", "=>" + when "=", "~=", "<=", ">=" options[:operator] = value[0] if value.size > 2 value = value[1..-1] Modified: trunk/test/test_adapter.rb ============================================================================== --- trunk/test/test_adapter.rb (original) +++ trunk/test/test_adapter.rb Fri Feb 13 18:06:10 2009 @@ -11,7 +11,10 @@ priority :must def test_operator + assert_parse_filter("(uid=Alice)", ["uid", "=", "Alice"]) assert_parse_filter("(uid~=Alice)", ["uid", "~=", "Alice"]) + assert_parse_filter("(uidNumber>=1000)", ["uidNumber", ">=", "1000"]) + assert_parse_filter("(uidNumber<=1000)", ["uidNumber", "<=", "1000"]) assert_parse_filter("(&(uid~=Alice)(uid~=Bob))", ["uid", "~=", "Alice", "Bob"]) assert_parse_filter("(uid~=Alice)", [["uid", "~=", "Alice"]]) From codesite-noreply at google.com Tue Feb 17 08:10:23 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 17 Feb 2009 13:10:23 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r831 - trunk Message-ID: <0016369202cba8e17204631d06e4@google.com> Author: koutou Date: Tue Feb 17 04:49:04 2009 New Revision: 831 Modified: trunk/TODO Log: * add TODO: [1.1.x] ActiveLdap::Base#dn returns ActiveLdap::DN. [#23932] [Marc Dequ?ne] Modified: trunk/TODO ============================================================================== --- trunk/TODO (original) +++ trunk/TODO Tue Feb 17 04:49:04 2009 @@ -1,3 +1,4 @@ +- [1.1.x] ActiveLdap::Base#dn returns ActiveLdap::DN. [#23932] [Marc Dequ?nes] - How to support dSCorePropagationData? ignore it? all systemOnly == "TRUE" attribute can be ignored? - Add parsing position to DistinguishedNameInvalid error like From codesite-noreply at google.com Tue Feb 17 09:54:10 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Tue, 17 Feb 2009 14:54:10 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r832 - in trunk: lib/active_ldap test Message-ID: <0016e644d622d2964b04631e79bb@google.com> Author: koutou Date: Tue Feb 17 05:56:10 2009 New Revision: 832 Modified: trunk/lib/active_ldap/validations.rb trunk/test/test_base.rb Log: * fix a bug that ActiveLdap::Base.create raises exception. [#17] Reported by Alexey.Chebotar. Thanks!!! Modified: trunk/lib/active_ldap/validations.rb ============================================================================== --- trunk/lib/active_ldap/validations.rb (original) +++ trunk/lib/active_ldap/validations.rb Tue Feb 17 05:56:10 2009 @@ -80,7 +80,7 @@ _dn = nil begin _dn = dn - rescue DistinguishedNameInvalid + rescue DistinguishedNameInvalid, DistinguishedNameNotSetError return end if _dn and exist? @@ -93,6 +93,8 @@ dn rescue DistinguishedNameInvalid errors.add("dn", _("is invalid: %s") % $!.message) + rescue DistinguishedNameNotSetError + errors.add("dn", _("isn't set: %s") % $!.message) end def validate_excluded_classes Modified: trunk/test/test_base.rb ============================================================================== --- trunk/test/test_base.rb (original) +++ trunk/test/test_base.rb Tue Feb 17 05:56:10 2009 @@ -6,13 +6,18 @@ include AlTestUtils priority :must + def test_create_invalid + user = @user_class.create + assert_not_predicate(user.errors, :empty?) + end + + priority :normal def test_id_with_invalid_dn_attribute_value user = @user_class.new("#") assert_equal("#", user.uid) assert_equal("#", user.id) end - priority :normal def test_non_string_dn_attribute_value user = @user_class.new("uidNumber=10110") user.uid = user.cn = user.sn = "test-user" From codesite-noreply at google.com Tue Feb 17 20:00:53 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Wed, 18 Feb 2009 01:00:53 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r834 - trunk Message-ID: <000e0cd4d97e9dcaf2046326f3f7@google.com> Author: koutou Date: Tue Feb 17 16:56:57 2009 New Revision: 834 Modified: trunk/CHANGES Log: * add: [#17] ActiveLdap::Base.create doesn't raise exception. [Alexey.Chebotar] Modified: trunk/CHANGES ============================================================================== --- trunk/CHANGES (original) +++ trunk/CHANGES Tue Feb 17 16:56:57 2009 @@ -30,6 +30,7 @@ [ingersoll] * [#15] Fixed type error on computing DN. [ery.lee] * ">=" filter operator doesn't work. [id:dicdak] + * [#17] ActiveLdap::Base.create doesn't raise exception. [Alexey.Chebotar] 1.0.1: * Fixed GetText integration. From codesite-noreply at google.com Tue Feb 17 20:04:54 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Wed, 18 Feb 2009 01:04:54 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r833 - in trunk: lib/active_ldap/schema test Message-ID: <00163691fefcf4865904632701ef@google.com> Author: koutou Date: Tue Feb 17 16:55:32 2009 New Revision: 833 Modified: trunk/lib/active_ldap/schema/syntaxes.rb trunk/test/test_syntax.rb Log: * handle lower out of range value for GeneralizedTime. This is for ActiveDirectory. ActiveDirectory may return time of 1601 year but Time doesn't support the value on 32bit environment. Modified: trunk/lib/active_ldap/schema/syntaxes.rb ============================================================================== --- trunk/lib/active_ldap/schema/syntaxes.rb (original) +++ trunk/lib/active_ldap/schema/syntaxes.rb Tue Feb 17 16:55:32 2009 @@ -193,7 +193,9 @@ time_zone, Time.now) rescue ArgumentError raise if year >= 1700 - raise if $!.message != "argument out of range" + out_of_range_messages = ["argument out of range", + "time out of range"] + raise unless out_of_range_messages.include?($!.message) Time.at(0) rescue RangeError raise if year >= 1700 Modified: trunk/test/test_syntax.rb ============================================================================== --- trunk/test/test_syntax.rb (original) +++ trunk/test/test_syntax.rb Tue Feb 17 16:55:32 2009 @@ -93,9 +93,17 @@ assert_type_cast(Time.parse("1994/12/16 10:32:12.345 +09:00"), "19941216103212.345+0900", "Generalized Time") - assert_type_cast(Time.parse("1970/01/01 09:00:00 +09:00"), - "19700101090000+0900", - "Generalized Time") + begin + Time.utc(1601) + assert_type_cast(Time.utc(1601, 1, 1, 0, 4, 17), + "16010101000417.0Z", + "Generalized Time") + rescue ArgumentError + assert_type_cast(Time.at(0), + "16010101000417.0Z", + "Generalized Time") + end + begin Time.at(-1) rescue ArgumentError From codesite-noreply at google.com Sun Feb 22 14:23:16 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Sun, 22 Feb 2009 19:23:16 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r835 - in trunk: examples/al-admin/po/en examples/al-admin/po/ja examples/al-admin/po/nl po/en po/ja Message-ID: <0016e645b7645f7c9e046386d1a9@google.com> Author: wad Date: Sun Feb 22 10:36:24 2009 New Revision: 835 Modified: trunk/examples/al-admin/po/en/al-admin.po trunk/examples/al-admin/po/ja/al-admin.po trunk/examples/al-admin/po/nl/al-admin.po trunk/po/en/active-ldap.po trunk/po/ja/active-ldap.po Log: update stragglers versions to 1.0.2 in prep for release Modified: trunk/examples/al-admin/po/en/al-admin.po ============================================================================== --- trunk/examples/al-admin/po/en/al-admin.po (original) +++ trunk/examples/al-admin/po/en/al-admin.po Sun Feb 22 10:36:24 2009 @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: AL Admin 1.0.1\n" +"Project-Id-Version: AL Admin 1.0.2\n" "POT-Creation-Date: 2008-02-09 14:25+0900\n" "PO-Revision-Date: 2007-08-19 09:44+0900\n" "Last-Translator: Kouhei Sutou \n" Modified: trunk/examples/al-admin/po/ja/al-admin.po ============================================================================== --- trunk/examples/al-admin/po/ja/al-admin.po (original) +++ trunk/examples/al-admin/po/ja/al-admin.po Sun Feb 22 10:36:24 2009 @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: AL Admin 1.0.1\n" +"Project-Id-Version: AL Admin 1.0.2\n" "POT-Creation-Date: 2008-02-09 14:25+0900\n" "PO-Revision-Date: 2007-11-04 16:02+0900\n" "Last-Translator: Kouhei Sutou \n" Modified: trunk/examples/al-admin/po/nl/al-admin.po ============================================================================== --- trunk/examples/al-admin/po/nl/al-admin.po (original) +++ trunk/examples/al-admin/po/nl/al-admin.po Sun Feb 22 10:36:24 2009 @@ -6,7 +6,7 @@ # Ace Suares , 2007,2008. msgid "" msgstr "" -"Project-Id-Version: AL Admin 1.0.1\n" +"Project-Id-Version: AL Admin 1.0.2\n" "POT-Creation-Date: 2008-02-09 14:25+0900\n" "PO-Revision-Date: 2007-08-24 22:03+0900\n" "Last-Translator: Ace Suares \n" Modified: trunk/po/en/active-ldap.po ============================================================================== --- trunk/po/en/active-ldap.po (original) +++ trunk/po/en/active-ldap.po Sun Feb 22 10:36:24 2009 @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Ruby/ActiveLdap 1.0.1\n" +"Project-Id-Version: Ruby/ActiveLdap 1.0.2\n" "POT-Creation-Date: 2008-06-17 21:42+0900\n" "PO-Revision-Date: 2007-08-19 09:49+0900\n" "Last-Translator: Kouhei Sutou \n" Modified: trunk/po/ja/active-ldap.po ============================================================================== --- trunk/po/ja/active-ldap.po (original) +++ trunk/po/ja/active-ldap.po Sun Feb 22 10:36:24 2009 @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Ruby/ActiveLdap 1.0.1\n" +"Project-Id-Version: Ruby/ActiveLdap 1.0.2\n" "POT-Creation-Date: 2008-06-17 21:42+0900\n" "PO-Revision-Date: 2008-06-17 21:53+0900\n" "Last-Translator: Kouhei Sutou \n" From codesite-noreply at google.com Sun Feb 22 14:27:18 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Sun, 22 Feb 2009 19:27:18 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r836 - tags/r1.0.2 Message-ID: <0016364ed0d0c7ce96046386dff5@google.com> Author: wad Date: Sun Feb 22 10:58:11 2009 New Revision: 836 Added: tags/r1.0.2/ - copied from r835, /trunk/ Log: New release tag From codesite-noreply at google.com Tue Feb 24 19:37:38 2009 From: codesite-noreply at google.com (codesite-noreply at google.com) Date: Wed, 25 Feb 2009 00:37:38 +0000 Subject: [Ruby-activeldap-commit] [ruby-activeldap commit] r837 - in trunk: examples/al-admin/po/en examples/al-admin/po/ja examples/al-admin/po/nl lib po/e... Message-ID: <001636164ad15af4e20463b3713d@google.com> Author: koutou Date: Tue Feb 24 15:44:33 2009 New Revision: 837 Modified: trunk/examples/al-admin/po/en/al-admin.po trunk/examples/al-admin/po/ja/al-admin.po trunk/examples/al-admin/po/nl/al-admin.po trunk/lib/active_ldap.rb trunk/po/en/active-ldap.po trunk/po/ja/active-ldap.po Log: * 1.0.2 -> 1.1.0. Modified: trunk/examples/al-admin/po/en/al-admin.po ============================================================================== --- trunk/examples/al-admin/po/en/al-admin.po (original) +++ trunk/examples/al-admin/po/en/al-admin.po Tue Feb 24 15:44:33 2009 @@ -1,13 +1,13 @@ # English translations for AL Admin package. -# Copyright (C) 2007,2008 Kouhei Sutou +# Copyright (C) 2007-2009 Kouhei Sutou # This file is distributed under the same license as the AL Admin package. -# Kouhei Sutou , 2007,2008. +# Kouhei Sutou , 2007. # msgid "" msgstr "" -"Project-Id-Version: AL Admin 1.0.2\n" +"Project-Id-Version: AL Admin 1.1.0\n" "POT-Creation-Date: 2008-02-09 14:25+0900\n" -"PO-Revision-Date: 2007-08-19 09:44+0900\n" +"PO-Revision-Date: 2009-02-25 08:41+0900\n" "Last-Translator: Kouhei Sutou \n" "Language-Team: English\n" "MIME-Version: 1.0\n" Modified: trunk/examples/al-admin/po/ja/al-admin.po ============================================================================== --- trunk/examples/al-admin/po/ja/al-admin.po (original) +++ trunk/examples/al-admin/po/ja/al-admin.po Tue Feb 24 15:44:33 2009 @@ -1,13 +1,13 @@ # AL Admin's translated messages for Japanese. -# Copyright (C) 2007,2008 Kouhei Sutou +# Copyright (C) 2007-2009 Kouhei Sutou # This file is distributed under the same license as the AL Admin package. -# Kouhei Sutou , 2007,2008. +# Kouhei Sutou , 2007. # msgid "" msgstr "" -"Project-Id-Version: AL Admin 1.0.2\n" +"Project-Id-Version: AL Admin 1.1.0\n" "POT-Creation-Date: 2008-02-09 14:25+0900\n" -"PO-Revision-Date: 2007-11-04 16:02+0900\n" +"PO-Revision-Date: 2009-02-25 08:41+0900\n" "Last-Translator: Kouhei Sutou \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" Modified: trunk/examples/al-admin/po/nl/al-admin.po ============================================================================== --- trunk/examples/al-admin/po/nl/al-admin.po (original) +++ trunk/examples/al-admin/po/nl/al-admin.po Tue Feb 24 15:44:33 2009 @@ -3,12 +3,12 @@ # Copyright (C) 2007,2008 Ace Suares # This file is distributed under the same license as the AL Admin package. # -# Ace Suares , 2007,2008. +# Ace Suares , 2007. msgid "" msgstr "" -"Project-Id-Version: AL Admin 1.0.2\n" +"Project-Id-Version: AL Admin 1.1.0\n" "POT-Creation-Date: 2008-02-09 14:25+0900\n" -"PO-Revision-Date: 2007-08-24 22:03+0900\n" +"PO-Revision-Date: 2009-02-25 08:42+0900\n" "Last-Translator: Ace Suares \n" "Language-Team: Nederlands \n" "MIME-Version: 1.0\n" Modified: trunk/lib/active_ldap.rb ============================================================================== --- trunk/lib/active_ldap.rb (original) +++ trunk/lib/active_ldap.rb Tue Feb 24 15:44:33 2009 @@ -931,7 +931,7 @@ end module ActiveLdap - VERSION = "1.0.2" + VERSION = "1.1.0" end if RUBY_PLATFORM.match('linux') Modified: trunk/po/en/active-ldap.po ============================================================================== --- trunk/po/en/active-ldap.po (original) +++ trunk/po/en/active-ldap.po Tue Feb 24 15:44:33 2009 @@ -1,13 +1,13 @@ -# English translations for Ruby/ActiveLdap package. -# Copyright (C) 2007 Kouhei Sutou -# This file is distributed under the same license as the Ruby/ActiveLdap package. +# English translations for ActiveLdap package. +# Copyright (C) 2007-2009 Kouhei Sutou +# This file is distributed under the same license as the ActiveLdap package. # Kouhei Sutou , 2007. # msgid "" msgstr "" -"Project-Id-Version: Ruby/ActiveLdap 1.0.2\n" +"Project-Id-Version: ActiveLdap 1.1.0\n" "POT-Creation-Date: 2008-06-17 21:42+0900\n" -"PO-Revision-Date: 2007-08-19 09:49+0900\n" +"PO-Revision-Date: 2009-02-25 08:40+0900\n" "Last-Translator: Kouhei Sutou \n" "Language-Team: English\n" "MIME-Version: 1.0\n" Modified: trunk/po/ja/active-ldap.po ============================================================================== --- trunk/po/ja/active-ldap.po (original) +++ trunk/po/ja/active-ldap.po Tue Feb 24 15:44:33 2009 @@ -1,13 +1,13 @@ -# Japanese translations for Ruby/ActiveLdap. -# Copyright (C) 2007 Kouhei Sutou -# This file is distributed under the same license as the Ruby/ActiveLdap package. +# Japanese translations for ActiveLdap. +# Copyright (C) 2007-2009 Kouhei Sutou +# This file is distributed under the same license as the ActiveLdap package. # Kouhei Sutou , 2007. # msgid "" msgstr "" -"Project-Id-Version: Ruby/ActiveLdap 1.0.2\n" +"Project-Id-Version: ActiveLdap 1.1.0\n" "POT-Creation-Date: 2008-06-17 21:42+0900\n" -"PO-Revision-Date: 2008-06-17 21:53+0900\n" +"PO-Revision-Date: 2009-02-25 08:40+0900\n" "Last-Translator: Kouhei Sutou \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n"