Commits on Aug 10, 2011
  1. Allow a configurable port number for starting servers during tests, a…

    radsaq committed Aug 10, 2011
    …nd by default use a port other than the default for non-test usage. Also remove some of the repetition in test_helper.rb.
Commits on Aug 9, 2011
  1. Merge pull request #77 from sleeper/rake_test_fix

    dj2 committed Aug 9, 2011
    Rake test fix
  2. Merge pull request #74 from postrank-labs/new_aroundware

    Philip (flip) Kromer committed Aug 9, 2011
    Refactored aroundware
Commits on Aug 8, 2011
  1. Fix "rake test"

    sleeper committed Aug 8, 2011
    Sets back the environment to 'test' whenever a spec does
    change it.
  2. rake test now works again

    sleeper committed Aug 8, 2011
    The environment was not correctly set before running
    the 'template' spec. Now it is forced to 'test' before
    actually running the specs
Commits on Jul 31, 2011
  1. Refactoring aroundware, Part VI (the last): documentation cleanup in …

    Philip (flip) Kromer committed Jul 31, 2011
    …lib/; also, examples/auth_and_rate_limit now checks credentials beforehand (on non-GET/HEAD) or does so in parallel on idempotent requests
  2. Refactoring aroundware, Part V: Moved all the aroundware examples ove…

    Philip (flip) Kromer committed Jul 31, 2011
    …r to use the new aroundware, doing necessary cleanup along the way.
    * BarrierAroundware now store [req, resp] in the successes / failures hashes
    * mongo things now work with both old and future em-mongo gems, at the cost of a big conditional 'if' statement in the file
    * Added enqueue_acceptor to let you enqueue activities that take a block without yielding a deferrable
  3. Added a favicon interceptor to the examples, and used it in the raste…

    Philip (flip) Kromer committed Jul 31, 2011
    …rizer examples
Commits on Jul 30, 2011
  1. Refactoring aroundware, Part IV: Deprecated old AsyncAroundware, Resp…

    Philip (flip) Kromer committed Jul 30, 2011
    …onseReceiver, MultiReceiver, MongoReceiver. Examples still work with the old aroundwarez.
  2. Refactoring aroundware, Part III: added new SimpleAroundware and Barr…

    Philip (flip) Kromer committed Jul 30, 2011
    …ierAroundware, to replace the soon-deprecated (but still functional) AsyncAroundware and cronies.
    * In AsyncMiddleware, moved callback hook into own method making it easier to follow; also, post_process executes in a safely{} block, avoiding a source of hung calls.
    * Created two pairs of base modules for aroundware: SimpleAroundware and SimpleAroundwareFactory handle the case where you *may* want to share information across pre- and post-processing, but don't need to have a barrier to clear pending calls.
    * BarrierAroundware and BarrierAroundwareFactory respect the same interface, but add equivalent functionality to EM::Multi.
      - Any deferrable you #enqueue goes into a pending_requests pool; once #pre_process returns, the downstream callback's response also goes in the pending_requests pool.
      - The BarrierAroundware's post_process method will not resume until all pending_requests (the aroundware's and the downstream response) have completed.
      - You're free to at any time also call #perform!, which concurrently waits for the pending pool to clear and then resume.
      - Completed requests are added to the succeses or failures hash as appropriate; and passed to the instance setter named for that handle if any (so, enqueue(:shortened_url, su_req) will eventually call self.shortened_url = su_req on completion).
    In a following commit, I'll move AsyncAroundware, ResponseReceiver, MongoReciever to a deprecated/ directory and explain the differences
  3. Refactoring async_aroundware, Part II. Refactored to make the control…

    Philip (flip) Kromer committed Jul 30, 2011
    … flow clearer. This is mostly cosmetic, and sets the stage for a new interface that will reduce the distinction between AsyncAroundware and normal middleware.
  4. mongo aroundware must be 0.3.x version with current setup

    Philip (flip) Kromer committed Jul 30, 2011
  5. Refactoring async_aroundware, Part I. in ResponseReceiver, the defaul…

    Philip (flip) Kromer committed Jul 30, 2011
    …t pre_process returns Goliath::Connection::AsyncResponse; env is an attr_reader not attr_accessor; in examples/async_aroundware_demo.rb added a missing include. Otherwise, this commit is largely cosmetic.
  6. minor misspelling in async_middleware

    Philip (flip) Kromer committed Jul 30, 2011
Commits on Jul 28, 2011
  1. Merge pull request #73 from dougal/master

    dj2 committed Jul 28, 2011
    Fixed README typo
  2. Fixed typo.

    dougal committed Jul 28, 2011
Commits on Jul 24, 2011
Commits on Jul 23, 2011
  1. update to latest router

    joshbuddy committed Jul 23, 2011
Commits on Jul 22, 2011
  1. bump version number

    dj2 committed Jul 22, 2011
  2. restrict to running under application for now. we can make this more …

    dj2 committed Jul 22, 2011
    …robust later if needed
Commits on Jul 21, 2011
  1. Merge pull request #69 from fnando/added-delete_request-method

    igrigorik committed Jul 21, 2011
    Added Goliath::TestHelper#delete_request method.
Commits on Jul 20, 2011
Commits on Jul 13, 2011
  1. add staging boolean

    dj2 committed Jul 13, 2011
  2. Merge pull request #66 from PlasticLizard/master

    joshbuddy committed Jul 13, 2011
    Simply added staging to the array of acceptable environments.
Commits on Jul 12, 2011
Commits on Jul 5, 2011
  1. more explicit 404 handling

    joshbuddy committed Jul 5, 2011
  2. Merge pull request #64 from Foodtree/master

    Philip (flip) Kromer committed Jul 5, 2011
    missing require for response_receiver
Commits on Jul 4, 2011
Commits on Jul 2, 2011
  1. Allow to namespace the app's name

    ddebernardy committed Jul 2, 2011
    Automatically detect which class is inheriting from Goliath::API, and configure Goliath::Application accordingly.
    This avoids problems related to situations wherein the launcher is not named after the app, is located in a bootstrap folder, or is namespaced.
Commits on Jun 26, 2011