Show
Ignore:
Timestamp:
08/15/08 19:28:50 (5 months ago)
Author:
deveiant
Message:
  • Updated the build system
  • Started conversion of unit tests for Arrow::Session to Rspec
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/arrow/transaction.rb

    r452 r459  
    8484    ### objects. 
    8585    def initialize( request, config, broker ) 
    86         @request            = request 
    87         @config             = config 
    88         @broker             = broker 
    89         @handler_status     = Apache::OK 
    90  
    91         @serial             = make_transaction_serial( request ) 
     86        @request         = request 
     87        @config          = config 
     88        @broker          = broker 
     89        @handler_status  = Apache::OK 
     90 
     91        @serial          = make_transaction_serial( request ) 
    9292 
    9393        # Stuff that may be filled in later 
    94         @session            = nil # Lazily-instantiated 
    95         @applet_path        = nil # Added by the broker 
    96         @vargs              = nil # Filled in by the applet 
    97         @data               = {} 
    98         @request_cookies    = parse_cookies( request ) 
    99         @cookies            = Arrow::CookieSet.new() 
     94        @session         = nil # Lazily-instantiated 
     95        @applet_path     = nil # Added by the broker 
     96        @vargs           = nil # Filled in by the applet 
     97        @data            = {} 
     98        @request_cookies = parse_cookies( request ) 
     99        @cookies         = Arrow::CookieSet.new() 
    100100 
    101101        # Check for a "RubyOption root_dispatcher true" 
     
    525525    ### Parse cookies from the specified request and return them in a Hash. 
    526526    def parse_cookies( request ) 
    527         hash = Arrow::Cookie.parse(request.headers_in['cookie']) 
     527        hash = Arrow::Cookie.parse( request.headers_in['cookie'] ) 
    528528        return Arrow::CookieSet.new( hash.values ) 
    529529    end