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, March 05 2009
12 No nil reader/writers was updated
  • bahuvrihi
    • Assigned user set to bahuvrihi
    • State changed from new to resolved
    by bahuvrihi at 6:34 PM
  • bahuvrihi
    bahuvrihi created the ticket at 11:28 AM

    Having a nil reader/writer for a Delegate means the DelegateHash will not delegate get/set operations and instead stores the value internally. For example

    
      ...
13 Slimmer DelegateHash was created
  • bahuvrihi
    bahuvrihi created the ticket at 11:29 AM

    In almost all cases the DelegateHash store will not be used. Perhaps it should be memoized:

    
      def store
        @store ||= {}
      end
    
Tuesday, February 17 2009
11 require path nonsense was created
  • bahuvrihi
    bahuvrihi created the ticket at 11:50 AM

    Require paths are a bit tangled. On windows and fedora, testing provides an error due to:

    
    [option_test.rb]
    require  File.join(File.dirname(__FILE__), '../ta...
Wednesday, February 11 2009
10 Delegates should allow a :to_s attribute was created
  • bahuvrihi
    bahuvrihi created the ticket at 11:29 PM

    This to_s attribute would point to a block that stringifies a value into a format acceptable to the attr_writer. In the case of most Validation blocks, a defaul...

Monday, February 09 2009
3 Use nested keys in ConfigParser was updated
  • bahuvrihi
    bahuvrihi commented at 2:07 PM

    What's more, the nested_config method is pretty confusing to use... and easy to miss.

Tuesday, January 27 2009
7 Allow specification of nested instance was updated
  • bahuvrihi
    • State changed from new to resolved
    by bahuvrihi at 3:06 PM

    Solved by using :map_default => false and then set the instance manually during initialize.

9 Extra newlines on DOS was created
  • bahuvrihi
    bahuvrihi created the ticket at 2:20 PM

    In the windows command prompt, the newlines in config documentation add extra, unsightly spaces:

    
            --dta-to-mgf:proton-mass DTA_TO_MGF:PROTON_MASS
    
     ...
8 Utils#dump_file loses order when recurse=false was created
  • bahuvrihi
    bahuvrihi created the ticket at 1:32 PM

    The issue is in the default dump block which calls

    
      default = default.to_hash if delegate.is_nest?
    end
    
    In this case default is a DelegateHash and to_has...
Saturday, January 03 2009
7 Allow specification of nested instance was created
  • bahuvrihi
    bahuvrihi created the ticket at 1:33 PM

    Nested initialization blocks are great, but there is currently no good way to manually specify the instance accessed by a nested reader.

    Perhaps allow an instan...

5 Nested config dump/load was updated
  • bahuvrihi
    • State changed from new to resolved
    • Assigned user set to bahuvrihi
    by bahuvrihi at 1:31 PM
Friday, December 26 2008
6 Extendable validation block interface was created
  • bahuvrihi
    bahuvrihi created the ticket at 10:31 AM

    Configuable should have a way to add new blocks for validation/transform, with options. Perhaps make the interface general so default options may be modified.

    N...

4 Updates for CDoc was updated
  • bahuvrihi
    bahuvrihi commented at 10:26 AM

    Additional error example:

    
      class Sample < Tap::Task
        config :default_attributes, {}, &c.hash    # ...
      end
    

    produces rdoc like:

    
      ... ({) 
    

    Rathe...

  • bahuvrihi
    bahuvrihi created the ticket at 10:22 AM

    A variety of issues exist with CDoc. Some attributes are not mentioned:

    • path_config
    • manifest
    • declare
    • dependencies

    While in other cases, there are formatting e...

5 Nested config dump/load was created
  • bahuvrihi
    bahuvrihi created the ticket at 10:25 AM

    To better facilitate nested workflow configurations, load_config should be extended to load subfiles:

    
      name.yml
      name/field.yaml
    

    This will require a che...

Friday, December 12 2008
3 Use nested keys in ConfigParser was created
  • bahuvrihi
    bahuvrihi created the ticket at 11:09 AM

    ConfigParser should get away from the nested, string-based keys that it currently uses. No reason not to have a setup_nested block for nested attributes.

    
      d...
Monday, December 08 2008
2 Can this be more efficient? was created
  • bahuvrihi
    bahuvrihi created the ticket at 3:25 PM

    Seems like the answer is yes:

    
      # Initializes config. Default config values
      # are overridden as specified by overrides.
      def initialize_config(overrides={...
1 Add a selection validation (value must be in selection) was created
Sunday, December 07 2008
Home was created by bahuvrihi in Configurable at 12:44 PM