Permalink
Commits on Jun 9, 2011
  1. Release 0.7.1

    committed Jun 9, 2011
  2. fix test stubs so extra get params not specified in the stub path are…

    … allowed. also, the parsed query string is available in the yielded stub env so you can test those in the stub block.
    committed Jun 9, 2011
Commits on Jun 8, 2011
  1. Test against Rubinius 2.0

    sferik committed Jun 8, 2011
Commits on May 23, 2011
  1. Merge pull request #61 from steveburkett/master

    204, 304 must not have a body
    sferik committed May 23, 2011
  2. remove the xml file

    steveburkett committed May 23, 2011
Commits on May 20, 2011
  1. Return true for any 2xx HTTP response status

    Closes #58.
    sferik committed May 20, 2011
  2. Link to LICENSE

    sferik committed May 20, 2011
Commits on May 15, 2011
  1. Separate dependency specification in the gemspec from the Gemfile

    This is probably a bad idea, but it's necessary to get Faraday tests
    passing on Ruby 1.8.6, since Rack 1.2.1 and 1.2.2 break on 1.8.6.
    Unfortunately, Action Pack 3 depends on rack ~> 1.2.1, so specifying a
    version of Rack < 1.2.1 would have prevented the next release of Faraday
    from being used with Rails 3.
    
    *Sigh*
    sferik committed May 15, 2011
  2. Revert to using leftright

    sferik committed May 15, 2011
  3. Use turn instead of leftright

    sferik committed May 15, 2011
  4. Revert "removed ruby 1.8.6 from CI due to Rack 1.2.2 not being compat…

    …ible"
    
    This reverts commit 1f0537f.
    sferik committed May 15, 2011
Commits on May 13, 2011
Commits on May 10, 2011
  1. Release 0.7.0

    sferik committed May 10, 2011
  2. Bump version to 0.7.0

    sferik committed May 10, 2011
Commits on May 9, 2011
  1. Merge pull request #55 from mislav/requests

    Caches middleware stack; refactors Request class
    sferik committed May 9, 2011
  2. support PATCH and OPTIONS methods

    Added a `patch` helper method, but OPTIONS requests need to be done manually.
    mislav committed May 9, 2011
Commits on May 8, 2011
  1. refactor how Requests are ran

    The Request class is not responsible for running itself anymore.
    Its `run` methods (both class and instance) are gone.
    
    The actual running of the request is handled by Connection in the
    `run_request` method.
    mislav committed May 8, 2011
  2. cache middleware stack instead of rebuilding it on every request

    The downside is, middleware can't be modified after making the first request:
    
      conn.use MyMiddleware       # => OK
      conn.get('/')
      conn.use AnotherMiddleware  # => raises a Builder::StackLocked error
    
    On the plus side, the middleware stack is built only once and then cached as
    the Connection#app object.
    
    The Connection instance can always be "forked off" with the `dup` method and
    modified as if it were fresh.
    mislav committed May 8, 2011
  3. refactor query params hash handling

     - Connection#params is now an instance of Faraday::Utils::ParamsHash
     - get rid of `merge_params`, `merge_headers` methods
     - don't mix in Faraday::Utils into Connection
    
    Fixes #48
    mislav committed May 7, 2011