Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jan 11, 2012

  1. Larry Marburger

    refactor Typhoeus adapter into smaller methods

    lmarburger authored mislav committed
  2. Larry Marburger

    fix build_url to accept URI instance

    lmarburger authored mislav committed

Jan 09, 2012

  1. Mislav Marohnić

    cleanup & update gemspec, Rakefile

     - remove "date" and "rubyforge" fields from gemspec
     - remove obsolete "test:live" task
     - bring the file list in gemspec up to date
     - remove dumb validation task for gemspec
    mislav authored

Jan 06, 2012

  1. Mislav Marohnić

    add additional 2nd arg to get/head/delete(): a query params hash

    This is backwards-incompatible.
    
    The signature for these methods was:
      (url, headers)
    
    Now it is:
      (url, params, headers)
    
    The params hash adds values to the query string of the request.
    
    Closes #88
    mislav authored
  2. Mislav Marohnić

    remove hacks when conditionally forwarding blocks in methods

    Yes, named blocks (Procs) in methods are slow in Ruby. This is because
    of unfortunate performance penalty of instantiating and
    garbage-collecting these Proc objects, which happens even if we never
    use or even pass a block to the method. Certain methods in Faraday were
    optimized to avoid named blocks.
    
    This removes such optimizations. The rationale is that the performance
    penalty of named blocks is negligible to the overhead of HTTP requests
    over the network.
    mislav authored

Jan 02, 2012

  1. Mislav Marohnić

    escape square brackets in keys for nested query strings

    Closes #82
    mislav authored
  2. Mislav Marohnić

    ensure no regex warnings about UTF-8 strings

    This is a cherry-pick of 3dddbfc
    
    References #95
    mislav authored
  3. Mislav Marohnić

    add Faraday.register_middleware

    Allows 3rd-party libraries to register named shortcuts to resolve to
    fully qualified constant names for specific middleware.
    
    Usage:
      Faraday.register_middleware :aloha => MyModule::Aloha
      Faraday.register_middleware :response, :boom => MyModule::Boom
      Faraday.register_middleware :lazy => lambda { MyModule::LazyLoaded }
    
    Those shortcuts are then available in Builder:
      builder.use :aloha
      builder.response :boom
    mislav authored

Dec 30, 2011

  1. Mislav Marohnić

    RUBY_ENGINE doesn't have to be present

    It wasn't found on 1.8.7p352
    mislav authored
  2. Mislav Marohnić

    skip Excon tests on Rubinius

    mislav authored
  3. Mislav Marohnić

    try running test server on Travis

    mislav authored
  4. Mislav Marohnić

    enable GET requests with body in Patron

    They are still unsupported in Patron itself because of
    toland/patron#52
    mislav authored
  5. Mislav Marohnić

    thoroughly test GET requests with body

    mislav authored
  6. Jiren Patel

    enable GET requests with body for Net::HTTP adapter

    jiren authored mislav committed
  7. Mislav Marohnić

    remove dependency on Addressable::URI

    This is a potentially breaking change for 3rd party code that relies on
    env[:url] being specifically Addressable. After this change all urls are
    passed around as instances of URI::HTTP.
    mislav authored
  8. Mislav Marohnić

    Connection.new yields self after everything has been set up

    mislav authored

Dec 29, 2011

  1. Mislav Marohnić

    Connection.new with block yields self, not builder instance

    This allows:
      Faraday.new {|f| f.url_prefix = '...' }
    
    Backwards compatibility is kept for the most part because main Builder
    methods `use`, `request`, `response` and `adapter` are already forwarded
    from Connection:
    
      # will function as before:
      Faraday.new {|f| f.adapter :net_http }
    mislav authored
  2. Mislav Marohnić

    rename basic/token_authentication to "basic/token_auth"

    The symbols for middleware are supposed to be shortcuts; they don't need
    to be full names of corresponding classes.
    mislav authored
  3. Mislav Marohnić

    remove JSON request middleware

    mislav authored
  4. Erik Michaels-Ober

    Merge pull request #100 from technoweenie/no-rack

    Removed Rack dependency
    sferik authored
  5. risk danger olson

    only insert the faraday root path for faraday files

    technoweenie authored
  6. Mislav Marohnić

    use escape/unescape from CGI

    mislav authored
  7. Mislav Marohnić

    remove Rack dependency

    mislav authored
  8. Mislav Marohnić

    fix duplicated test method

    mislav authored
  9. Mislav Marohnić

    fix HEAD requests with Net:HTTP

    Net::HTTP on Ruby 1.9.3p0 would spend insane amount of time (~30s) per
    request waiting to get response body from a HEAD request.
    mislav authored

Dec 28, 2011

  1. risk danger olson

    dont hardcode the local test server. keep test:local as a companion t…

    …o test:live
    technoweenie authored
  2. risk danger olson

    remove rvmrc, dont force a ruby version on people

    technoweenie authored
  3. risk danger olson

    merrrrrge

    technoweenie authored
  4. risk danger olson

    Merge branch 'feature/em_synchrony_parallel' of https://github.com/ji…

    …meh/faraday into jimeh-feature/em_synchrony_parallel
    technoweenie authored
  5. risk danger olson

    test patron and net/http timeouts

    technoweenie authored
  6. risk danger olson

    fix an excon and rack error (headers should be strings, excon likes IPs)

    technoweenie authored
  7. risk danger olson

    remove timeout middleware

    technoweenie authored
  8. risk danger olson

    merge readme changes

    technoweenie authored
  9. Erik Michaels-Ober

    Disable Typhoeus tests on JRuby

    sferik authored
  10. Erik Michaels-Ober

    Relax dependencies

    sferik authored
Something went wrong with that request. Please try again.