From kou at cozmixng.org Fri Feb 6 09:55:38 2009 From: kou at cozmixng.org (Kouhei Sutou) Date: Fri, 06 Feb 2009 23:55:38 +0900 (JST) Subject: [Ruby-activeldap-discuss] 1.0.2? Message-ID: <20090206.235538.507490017429449665.kou@cozmixng.org> Hi will, In trunk, many bugs are reported and fixed them since 1.0.1. And I've added some improvements. It seems that it's good time to release 1.0.2? Will, what do you think about this? P.S. I've added 1.0.2 entry to CHANGES: 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] Thanks, -- kou From graf0 at post.pl Fri Feb 6 11:26:57 2009 From: graf0 at post.pl (=?ISO-8859-2?Q?Grzegorz_Marsza=B3ek?=) Date: Fri, 6 Feb 2009 17:26:57 +0100 Subject: [Ruby-activeldap-discuss] 1.0.2? In-Reply-To: <20090206.235538.507490017429449665.kou@cozmixng.org> References: <20090206.235538.507490017429449665.kou@cozmixng.org> Message-ID: <0F54A283-33B7-4ED5-9B40-E0AFBD02FAB3@post.pl> Hello! I think it's great idea - and main point is rails 2.2.2 support. At least I like to use newest rails, and 1.0.2 allows that in very simple way :) Cheers Wiadomo?? napisana w dniu 2009-02-06, o godz. 15:55, przez Kouhei Sutou: > Hi will, > > In trunk, many bugs are reported and fixed them since > 1.0.1. And I've added some improvements. > > It seems that it's good time to release 1.0.2? Will, what do > you think about this? > > P.S. > I've added 1.0.2 entry to CHANGES: > > 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] > > > Thanks, > -- > kou > > _______________________________________________ > Ruby-activeldap-discuss mailing list > Ruby-activeldap-discuss at rubyforge.org > http://rubyforge.org/mailman/listinfo/ruby-activeldap-discuss From kou at cozmixng.org Sun Feb 8 20:43:21 2009 From: kou at cozmixng.org (Kouhei Sutou) Date: Mon, 9 Feb 2009 10:43:21 +0900 Subject: [Ruby-activeldap-discuss] 1.0.2? In-Reply-To: <2359eed20902081014p36edd943w4ed5b9991d572e7b@mail.gmail.com> References: <20090206.235538.507490017429449665.kou@cozmixng.org> <2359eed20902081014p36edd943w4ed5b9991d572e7b@mail.gmail.com> Message-ID: Hi will, I've confirmed that I can create a gem and use it with a small sample Rails application. Could you release the current trunk? P.S. ActiveLdap Rails plugin isn't need to be installed separately since 1.0.2. You just install activeldap gem. Because ActiveLdap 1.0.2 will include rails/init.rb in gem. Thanks, -- kou 2009/2/9 Will Drewry : > Hi kou! > > Sounds great to me -- the list of changes is impressive, as always! > If you're happy with the state of trunk, I'll tag and release. > > cheers, > will > > On Fri, Feb 6, 2009 at 8:55 AM, Kouhei Sutou wrote: >> Hi will, >> >> In trunk, many bugs are reported and fixed them since >> 1.0.1. And I've added some improvements. >> >> It seems that it's good time to release 1.0.2? Will, what do >> you think about this? >> >> P.S. >> I've added 1.0.2 entry to CHANGES: >> >> 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] >> >> >> Thanks, >> -- >> kou >> >> > From jared at kotfu.net Wed Feb 11 12:06:00 2009 From: jared at kotfu.net (Jared Crapo) Date: Wed, 11 Feb 2009 10:06:00 -0700 (MST) Subject: [Ruby-activeldap-discuss] Patch for Rails 2.2.2 Message-ID: <25007683.3031234371960239.JavaMail.root@zimbra> I have Rails 2.2.2, and checked out the trunk of activeldap in to vendor/activeldap-trunk. When I try and use the model_active_ldap generator, the following occurs: $ script/generate model_active_ldap user --backtrace You have a nil object when you didn't expect it! The error occurred while evaluating nil.demodulize /home/jared/src/amr/vendor/activeldap-trunk/rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb:57:in `default_prefix' /home/jared/src/amr/vendor/activeldap-trunk/rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb:40:in `add_options!' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails_generator/scripts/../options.rb:86:in `parse!' /usr/lib/ruby/1.8/optparse.rb:785:in `initialize' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails_generator/scripts/../options.rb:84:in `new' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails_generator/scripts/../options.rb:84:in `parse!' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails_generator/base.rb:103:in `initialize' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails_generator/base.rb:204:in `initialize' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails_generator/lookup.rb:140:in `new' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails_generator/lookup.rb:140:in `instance' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/rails_generator/scripts/../scripts.rb:31:in `run' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/generate.rb:6 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/generate:3 In Rails 2.2 the Inflector class has been moved into the ActiveSupport library, causing this generator to break. Here's a patch that fixes it: Index: rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb =================================================================== --- rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb (revision 829) +++ rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb (working copy) @@ -54,7 +54,7 @@ end def default_prefix - "ou=#{name.demodulize.pluralize}" + "ou=#{ActiveSupport::Inflector.pluralize(ActiveSupport::Inflector.demodulize(name))}" end def ldap_mapping(indent=' ') Regards, Jared -------------- next part -------------- An HTML attachment was scrubbed... URL: From kou at cozmixng.org Thu Feb 12 09:08:44 2009 From: kou at cozmixng.org (Kouhei Sutou) Date: Thu, 12 Feb 2009 23:08:44 +0900 (JST) Subject: [Ruby-activeldap-discuss] Patch for Rails 2.2.2 In-Reply-To: <25007683.3031234371960239.JavaMail.root@zimbra> References: <25007683.3031234371960239.JavaMail.root@zimbra> Message-ID: <20090212.230844.653026525707336539.kou@cozmixng.org> Hi, In <25007683.3031234371960239.JavaMail.root at zimbra> "[Ruby-activeldap-discuss] Patch for Rails 2.2.2" on Wed, 11 Feb 2009 10:06:00 -0700 (MST), Jared Crapo wrote: > I have Rails 2.2.2, and checked out the trunk of activeldap in to vendor/ > activeldap-trunk. When I try and use the model_active_ldap generator, the > following occurs: > > $ script/generate model_active_ldap user --backtrace > You have a nil object when you didn't expect it! > The error occurred while evaluating nil.demodulize This problem was already fixed in rails_generator/. rails/plugin/ will be obsoleted after ActiveLdap 1.0.2 release. You will not be need to install ActiveLdap plugin for Rails with ActiveLdap 1.0.2. I will remove rails/plugin/ from the repository after ActiveLdap 1.0.2 is released. > Index: rails/plugin/active_ldap/generators/model_active_ldap/ > model_active_ldap_generator.rb > =================================================================== > --- rails/plugin/active_ldap/generators/model_active_ldap/ > model_active_ldap_generator.rb (revision 829) > +++ rails/plugin/active_ldap/generators/model_active_ldap/ > model_active_ldap_generator.rb (working copy) > @@ -54,7 +54,7 @@ > end > > def default_prefix > - "ou=#{name.demodulize.pluralize}" > + "ou=#{ActiveSupport::Inflector.pluralize > (ActiveSupport::Inflector.demodulize(name))}" > end > > def ldap_mapping(indent=' ') Thanks, -- kou From kou at cozmixng.org Sun Feb 22 03:27:06 2009 From: kou at cozmixng.org (Kouhei Sutou) Date: Sun, 22 Feb 2009 17:27:06 +0900 (JST) Subject: [Ruby-activeldap-discuss] 1.0.2? In-Reply-To: <2359eed20902081014p36edd943w4ed5b9991d572e7b@mail.gmail.com> References: <20090206.235538.507490017429449665.kou@cozmixng.org> <2359eed20902081014p36edd943w4ed5b9991d572e7b@mail.gmail.com> Message-ID: <20090222.172706.1000278277145521903.kou@cozmixng.org> Hi will, Is there any problem? If you have a problem, please tell us. I may fix the problem. Thanks, -- kou In <2359eed20902081014p36edd943w4ed5b9991d572e7b at mail.gmail.com> "Re: 1.0.2?" on Sun, 8 Feb 2009 12:14:45 -0600, Will Drewry wrote: > Hi kou! > > Sounds great to me -- the list of changes is impressive, as always! > If you're happy with the state of trunk, I'll tag and release. > > cheers, > will > > On Fri, Feb 6, 2009 at 8:55 AM, Kouhei Sutou wrote: >> Hi will, >> >> In trunk, many bugs are reported and fixed them since >> 1.0.1. And I've added some improvements. >> >> It seems that it's good time to release 1.0.2? Will, what do >> you think about this? >> >> P.S. >> I've added 1.0.2 entry to CHANGES: >> >> 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] >> >> >> Thanks, >> -- >> kou >> >> From kou at cozmixng.org Mon Feb 23 07:03:13 2009 From: kou at cozmixng.org (Kouhei Sutou) Date: Mon, 23 Feb 2009 21:03:13 +0900 (JST) Subject: [Ruby-activeldap-discuss] 1.0.2? In-Reply-To: <2359eed20902221100p4d47d354k33cbc329a1b2f9b5@mail.gmail.com> References: <20090222.172706.1000278277145521903.kou@cozmixng.org> <2359eed20902221032x5cbb2e9ve80e2ef91966e9a3@mail.gmail.com> <2359eed20902221100p4d47d354k33cbc329a1b2f9b5@mail.gmail.com> Message-ID: <20090223.210313.119882392285743303.kou@cozmixng.org> Hi will, I've confirmed the gem. It looks good. I vote +1 to release. P.S. Will, it seems that your mails aren't sent to ruby-activeldap-discuss ML. Is there any problem? Thanks, -- kou In <2359eed20902221100p4d47d354k33cbc329a1b2f9b5 at mail.gmail.com> "Re: 1.0.2?" on Sun, 22 Feb 2009 13:00:38 -0600, Will Drewry wrote: > Cool - prior to push, would someone mind giving this gem a test run to > make sure I didn't drop out anything vital :) > > If it looks good, activeldap-1.0.2.gem will be pushed live and a news > post will be added. > > thanks! > will > > On Sun, Feb 22, 2009 at 12:32 PM, Will Drewry wrote: >> Hi kou, >> >> Sorry for the delay. I'm just a bit behind in everything right now. >> I'm checking out the latest tree now and will see if it goes smoothly. >> >> thanks! >> will >> >> On Sun, Feb 22, 2009 at 2:27 AM, Kouhei Sutou wrote: >>> Hi will, >>> >>> Is there any problem? If you have a problem, please tell >>> us. I may fix the problem. >>> >>> >>> Thanks, >>> -- >>> kou >>> >>> In <2359eed20902081014p36edd943w4ed5b9991d572e7b at mail.gmail.com> >>> "Re: 1.0.2?" on Sun, 8 Feb 2009 12:14:45 -0600, >>> Will Drewry wrote: >>> >>>> Hi kou! >>>> >>>> Sounds great to me -- the list of changes is impressive, as always! >>>> If you're happy with the state of trunk, I'll tag and release. >>>> >>>> cheers, >>>> will >>>> >>>> On Fri, Feb 6, 2009 at 8:55 AM, Kouhei Sutou wrote: >>>>> Hi will, >>>>> >>>>> In trunk, many bugs are reported and fixed them since >>>>> 1.0.1. And I've added some improvements. >>>>> >>>>> It seems that it's good time to release 1.0.2? Will, what do >>>>> you think about this? >>>>> >>>>> P.S. >>>>> I've added 1.0.2 entry to CHANGES: >>>>> >>>>> 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] >>>>> >>>>> >>>>> Thanks, >>>>> -- >>>>> kou >>>>> >>>>> >>> >> From kou at cozmixng.org Tue Feb 24 07:08:38 2009 From: kou at cozmixng.org (Kouhei Sutou) Date: Tue, 24 Feb 2009 21:08:38 +0900 (JST) Subject: [Ruby-activeldap-discuss] [ANN] ActiveLdap 1.0.2 Message-ID: <20090224.210838.645538350615338097.kou@cozmixng.org> Hi, will released ActiveLdap 1.0.2: http://rubyforge.org/projects/ruby-activeldap/ http://rubyforge.org/forum/forum.php?forum_id=30538 % sudo gem install activeldap # I hope that will can send mails to this ML successfully. :) 1.0.1 -> 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] Thanks to all contributors. -- kou