Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Thursday, May 14 2009
DelegateHash#to_hash now takes a bloc... was committed by Simon Chiang at 8:53 PM
added attributes for validation block... was committed by Simon Chiang at 6:34 PM
converted values option to options in... was committed by Simon Chiang at 6:34 PM
converted num to numeric in Validatio... was committed by Simon Chiang at 12:09 PM
Wednesday, May 06 2009
ConfigParser may now be initialized w... was committed by Simon Chiang at 7:50 PM
optimization of parse! (traded dup fo... was committed by Simon Chiang at 7:45 PM
updated ConfigParser#parse syntax to ... was committed by Simon Chiang at 7:45 PM
added ability for config_parser to ig... was committed by Simon Chiang at 7:45 PM
Sunday, May 03 2009
updates for version 0.4.3 http://gith... was committed by Simon Chiang at 11:43 PM
24 Allow :long => nil/false for short-only options was created
  • bahuvrihi
    bahuvrihi created the ticket at 4:21 PM
    
      config :load_paths, [], :long => nil :short => :I, &c.list
    

    Should only give an -I options.

21 List should have validation was updated
  • bahuvrihi
    • Assigned user set to bahuvrihi
    • State changed from new to resolved
    by bahuvrihi at 9:09 AM
Friday, May 01 2009
now configs may be defined in modules... was committed by Simon Chiang at 2:27 PM
Monday, April 27 2009
added api validation http://github.co... was committed by Simon Chiang at 9:29 PM
Friday, April 24 2009
added validation block to lists http:... was committed by Simon Chiang at 7:09 PM
Thursday, April 23 2009
added the ability for DelegateHash to... was committed by Simon Chiang at 8:03 PM
Thursday, April 02 2009
updated Validation parsing of strings... was committed by Simon Chiang at 11:23 AM
Wednesday, April 01 2009
modified open_io to return block resu... was committed by Simon Chiang at 2:27 PM
fixed :hidden option type for nested ... was committed by Simon Chiang at 12:14 PM
fixed io validation to prevent flush ... was committed by Simon Chiang at 12:14 PM
Tuesday, March 31 2009
23 Update list config was created
  • bahuvrihi
    bahuvrihi created the ticket at 4:28 PM

    Make the list configuration accept single values and convert them into an array. This is an issue for capture where sometimes a single value is captured for a l...

Monday, March 30 2009
22 Build validation feedback was created
  • bahuvrihi
    bahuvrihi created the ticket at 10:53 PM

    So that for instance you can set configurations and get meaningful information about the configuration that failed and why.

    This will be especially useful for t...

21 List should have validation was created
  • bahuvrihi
    bahuvrihi created the ticket at 9:51 PM

    Much like list_select.

    
        def list(&validation); LIST; end
        list_block = lambda do |input|
          args = validate(input, [Array]).collect do |arg|
        ...
incremented version to 0.4.2 http://g... was committed by Simon Chiang at 2:48 PM
Friday, March 27 2009
now open_io makes parent directories ... was committed by Simon Chiang at 12:24 AM
fixed io_or_nil with api bug http://g... was committed by Simon Chiang at 12:24 AM
added the ability to specify an io AP... was committed by Simon Chiang at 12:24 AM
Thursday, March 26 2009
added io validation http://github.com... was committed by Simon Chiang at 11:14 PM
20 Temporary Attribute Registration was created
  • bahuvrihi
    bahuvrihi created the ticket at 9:35 PM

    select and list_select validations register some attributes, but the attributes will only be used once. There should be a way to remove these attributes from DE...

1 Add a selection validation (value must be in selection) was updated
  • bahuvrihi
    • State changed from new to resolved
    • Assigned user set to bahuvrihi
    by bahuvrihi at 9:32 PM

    (from [a064a8e2fc7a0695c69b7cf37206ebdf4a1fc679]) added select and list_select validations [#1 state:resolved responsible:bahuvrihi] http://github.com/bahuvrih...

added select and list_select validati... was committed by Simon Chiang at 9:32 PM
standardized formatting of options ht... was committed by Simon Chiang at 9:32 PM
added :duplicate_default attribute to... was committed by Simon Chiang at 9:32 PM
made delegate no longer freeze defaul... was committed by Simon Chiang at 9:32 PM
17 Updates for ConfigParser Output was updated
  • bahuvrihi
    bahuvrihi commented at 9:15 PM

    Also, list select values and default values. This may require some updates/standarization of the setup_x methods (ie pass the default in, dope!).

    Hopefully some...

10 Delegates should allow a :to_s attribute was updated
  • bahuvrihi
    • State changed from new to invalid
    by bahuvrihi at 8:38 PM

    Nope... this is a special case that should be handled by the server.

2 Can this be more efficient? was updated
  • bahuvrihi
    • State changed from new to resolved
    by bahuvrihi at 7:41 PM
Monday, March 23 2009
removed nested class initializer in p... was committed by Simon Chiang at 1:00 PM
incremented version to 0.4.1 http://g... was committed by Simon Chiang at 12:45 PM
Friday, March 20 2009
made OrderedHashPatch preserve order ... was committed by Simon Chiang at 11:59 PM
added serialization test http://githu... was committed by Simon Chiang at 3:54 PM
Saturday, March 14 2009
19 Add example for using Validation outside of c was created
  • bahuvrihi
    bahuvrihi created the ticket at 10:24 PM

    Thanks to Greg:

    
      extend Configurable::Validation
      
      config :key, 2 do |input|
        num[ integer[input] ]
      end
    
Saturday, March 07 2009
modifed nested config_writer so that ... was committed by Simon Chiang at 8:42 PM
18 DelegateHash#map_to(receiver) was created
  • bahuvrihi
    bahuvrihi created the ticket at 3:28 PM

    Implement something akin to this:

    
      mechanize.config.dup.bind(agent)  # reconfigures agent
    

    But optimized. Don't map to/from store just for the hell of if. ...

17 Updates for ConfigParser Output was created
  • bahuvrihi
    bahuvrihi created the ticket at 3:27 PM

    Split up nested configurations into documented sections on the command line.

    
      --nest:                # configs for nest
        a                    # a
        b...
Friday, March 06 2009
refactored :map_default to :set_defau... was committed by Simon Chiang at 12:15 AM
Thursday, March 05 2009
14 Add :hidden type was updated
  • bahuvrihi
    • State changed from new to resolved
    • Assigned user set to bahuvrihi
    by bahuvrihi at 11:39 PM

    (from [212ee5317c6c3c1a0e9d84634f88b76b9750ddff]) added :hidden type to prevent the creation of an option [#14 state:resolved responsible:bahuvrihi] http://git...

  • bahuvrihi
    bahuvrihi created the ticket at 6:35 PM

    So that configurations can be hidden from the command line.

    
        block = case attributes[:type]
        when :switch
    ...
        when :hidden then return nil
        ...
added :hidden type to prevent the cre... was committed by Simon Chiang at 11:39 PM
16 Allow nests to declare their nest str was created
  • bahuvrihi
    bahuvrihi created the ticket at 6:42 PM

    Such that:

    
      nest :a, :long => 'blah' do
        config :b, 'value'
      end
    

    Would map like:

    
      --blah:b
    
15 DelegateHash doesn't respect indifferent access unless bound was created
  • bahuvrihi
    bahuvrihi created the ticket at 6:38 PM

    This is because the key gets used to store the config when the delegate is unbound. To truly solve this you might need to do something like:

    
      unless bound?
    ...