Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 11, 2012
  1. @lmarburger @mislav

    refactor Typhoeus adapter into smaller methods

    lmarburger authored mislav committed
  2. @lmarburger @mislav

    fix build_url to accept URI instance

    lmarburger authored mislav committed
Commits on Jan 9, 2012
  1. @mislav

    cleanup & update gemspec, Rakefile

    mislav authored
     - 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
Commits on Jan 6, 2012
  1. @mislav

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

    mislav authored
    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
  2. @mislav

    remove hacks when conditionally forwarding blocks in methods

    mislav authored
    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.
Commits on Jan 2, 2012
  1. @mislav
  2. @mislav

    ensure no regex warnings about UTF-8 strings

    mislav authored
    This is a cherry-pick of 3dddbfc
    References #95
  3. @mislav

    add Faraday.register_middleware

    mislav authored
    Allows 3rd-party libraries to register named shortcuts to resolve to
    fully qualified constant names for specific middleware.
      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
Commits on Dec 30, 2011
  1. @mislav

    RUBY_ENGINE doesn't have to be present

    mislav authored
    It wasn't found on 1.8.7p352
  2. @mislav

    skip Excon tests on Rubinius

    mislav authored
  3. @mislav
  4. @mislav

    enable GET requests with body in Patron

    mislav authored
    They are still unsupported in Patron itself because of
  5. @mislav
  6. @jiren @mislav

    enable GET requests with body for Net::HTTP adapter

    jiren authored mislav committed
  7. @mislav

    remove dependency on Addressable::URI

    mislav authored
    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.
  8. @mislav
Commits on Dec 29, 2011
  1. @mislav with block yields self, not builder instance

    mislav authored
    This allows: {|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: {|f| f.adapter :net_http }
  2. @mislav

    rename basic/token_authentication to "basic/token_auth"

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

    remove JSON request middleware

    mislav authored
  4. @sferik

    Merge pull request #100 from technoweenie/no-rack

    sferik authored
    Removed Rack dependency
  5. @technoweenie
  6. @mislav

    use escape/unescape from CGI

    mislav authored
  7. @mislav

    remove Rack dependency

    mislav authored
  8. @mislav

    fix duplicated test method

    mislav authored
  9. @mislav

    fix HEAD requests with Net:HTTP

    mislav authored
    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.
Commits on Dec 28, 2011
  1. @technoweenie
  2. @technoweenie
  3. @technoweenie


    technoweenie authored
  4. @technoweenie

    Merge branch 'feature/em_synchrony_parallel' of…

    technoweenie authored
    …meh/faraday into jimeh-feature/em_synchrony_parallel
  5. @technoweenie
  6. @technoweenie
  7. @technoweenie

    remove timeout middleware

    technoweenie authored
  8. @technoweenie

    merge readme changes

    technoweenie authored
  9. @sferik

    Disable Typhoeus tests on JRuby

    sferik authored
  10. @sferik

    Relax dependencies

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