Permalink
Commits on Jan 19, 2017
  1. Update README.md

    * Removed Typhoeus from the list of supported adapters
    * Added instructions on how to customise adapters
    iMacTia committed on GitHub Jan 19, 2017
  2. Issue #551 Revise Readme to be more accessible (#659)

    * Update README.md
    bcgoss committed with iMacTia Jan 19, 2017
Commits on Jan 13, 2017
  1. version bump (0.11.0)

    iMacTia committed on GitHub Jan 13, 2017
  2. Support adapter customization (#651)

    * add initializer on Faraday::Adapter that accept and store a block with custom configuration
    use the `@ config_block ` block on `net_http` and `net_http_persistent` adapters
    added tests
    
    * fixes warning in tests
    patron was supporting custom block already! Small refactoring to conform to other adapters
    
    * added implementation for httpclient
    excon and EM adapters now all support `connection_options` in the initializer
    
    * additional test for httpclient adapter
    iMacTia committed on GitHub Jan 13, 2017
  3. Ruby 2.4.0 and Minitest 6 support (#644)

    * Add Ruby 2.4 to Travis matrix
    
    * test against ruby 2.4.0-rc1
    
    * use `Integer` in place of `Fixnum` to be ruby-2.4 compliant
    use `assert_nil` in place of `assert_equal nil` to be MiniTest 6 compliant
    
    * use ruby 2.4.0 final release on travis matrix
    iMacTia committed on GitHub Jan 13, 2017
  4. Added filter method for logger middleware (#650)

    Allows you to filter sensitive information with a regex, allowing a gsub with redaction.
    petems committed with iMacTia Jan 13, 2017
  5. Default options appear overwritten once set on a Connection instance (#…

    …652)
    
    * Connection initialize always uses ConnectionOptions.from
    
    * Update options.rb
    
    As suggested by @Cohen-Carlisle
    
    Assert that the default is still correct when creating a Connection with a single string `url` argument
    alexford committed with iMacTia Jan 13, 2017
Commits on Dec 29, 2016
  1. version bump 0.10.1

    iMacTia committed on GitHub Dec 29, 2016
Commits on Dec 5, 2016
  1. handle default connection options set with hash (#629)

    * handle default connection options set with hash
    Cohen-Carlisle committed with iMacTia Dec 5, 2016
Commits on Nov 23, 2016
  1. Integration test: raise error when no live server is configured (#635)

    * Integration: point to CONTRIBUTING in warnings
    
    * Integration: change live_server check
    olleolleolle committed with iMacTia Nov 23, 2016
  2. Carry #579: Faraday::Utils::Headers YAML can be serialized (#634)

    * Bootstrap method that fixes deserializing with YAML
    
    * YAML encoding of Header
    
    * Utils.rb: Avoid relying on the #names method
    olleolleolle committed with iMacTia Nov 23, 2016
Commits on Nov 22, 2016
  1. Merge pull request #632 from lostisland/fix/#630-IOError

    Rescue IOError (fixes #630)
    iMacTia committed on GitHub Nov 22, 2016
  2. fixes #630

    Rescue IOError rather than EOFError to cover more exceptions
    iMacTia committed Nov 22, 2016
Commits on Nov 14, 2016
  1. HTTPClient adapter shouldn't reset SSL each request (#625)

    * HTTPClient adapter shouldn't reset SSL each request
    
    This fixes #624, in conjunction with nahi/httpclient#343. The same
    cert_store is passed to HTTPClient each request, so equality check
    inside HTTPClient will skip the reset.
    iMacTia committed on GitHub Nov 14, 2016
  2. Fix cert store initializer to avoid warning

    Dave Golombek committed Nov 14, 2016
Commits on Nov 13, 2016
  1. HTTPClient adapter shouldn't reset SSL each request

    This fixes #624, in conjunction with nahi/httpclient#343. The same
    cert_store is passed to HTTPClient each request, so equality check
    inside HTTPClient will skip the reset.
    Dave Golombek committed Nov 13, 2016
Commits on Nov 11, 2016
  1. Version bump to v0.10.0 in faraday.rb

    iMacTia committed on GitHub Nov 11, 2016
Commits on Nov 10, 2016
Commits on Oct 27, 2016
  1. Update net_http.rb (#594)

    Add recognition of uncaught `Errno::EPIPE: Broken pipe` error to `NET_HTTP_EXCEPTIONS`
    prokizzle committed with iMacTia Oct 27, 2016
Commits on Oct 26, 2016
  1. feature: uri pattern for test mocking (#552)

    * Add regex path support to test middleware
    * Add test for regex path support
    MidnightWonderer committed with iMacTia Oct 26, 2016
Commits on Oct 17, 2016
  1. Merge pull request #509 from subelsky/patch-1

    Add README link to rubydoc.info documentation
    mislav committed Oct 17, 2016
Commits on Oct 13, 2016
  1. Provide option to not log request/response headers (#530)

    Usage:
    
    Without the header option, both request / response headers are logged (backwards compatibility).
    
    ```ruby
    Faraday.new do |c|
      c.response :logger, Logger.new(STDOUT)
    end
    
    Faraday.new do |c|
      c.response :logger, Logger.new(STDOUT), headers: false
    end
    
    Faraday.new do |c|
      c.response :logger, Logger.new(STDOUT), headers: { request: false }
    end
    
    Faraday.new do |c|
      c.response :logger, Logger.new(STDOUT), headers: { response: false }
    end
    ```
    Zorbash committed with iMacTia Oct 13, 2016
Commits on Oct 11, 2016
Commits on Oct 9, 2016
Commits on Sep 30, 2016
  1. Object#tap no longer required after dropping 1.8.7 (#610)

    Since Faraday only supports Ruby 1.9+, `Object#tap` is a core method and
    this monkey patch is no longer needed.
    swalkinshaw committed with iMacTia Sep 30, 2016
  2. fixes ruby 1.9.3 tests (#611)

    ignore .idea folder from Rubymine
    iMacTia committed on GitHub Sep 30, 2016
Commits on Sep 22, 2016
  1. Correct parsing of uri with anchor in Request#url (#568)

    * right parsing of uri in Request#url
    
    * remove anchor from path
    hbda committed with iMacTia Sep 22, 2016
Commits on Sep 15, 2016
Commits on Aug 26, 2016
  1. Fix Ruby 1.9.3 tests on Travis. Drop support for Ruby 1.8.7. (#600)

    * Drop support for Ruby 1.9.2, which no-one should be using any more.
    
    * Constraint gem versions for Ruby 1.9.3
    
    * Drop support for Ruby 1.8.7. Many dependencies have dropped support for it.
    
    * Remove conditionals checking for Ruby 1.8.7
    
    * Document Ruby version dependency
    sbleon committed with iMacTia Aug 26, 2016
Commits on Aug 24, 2016
  1. Adds reason phrase support (#547)

    * Adds a `#reason_phrase` method to the Response class
    Implements the reason phrase for the Net::Http adapter ONLY
    
    * Reason phrase support for the Excon adapter
    
    This assumes that the reason phrase is also implemented into the
    Excon project
    
    * Implement reason phrase for patron, httpclient, em_http, em_synchrony adapters.
    
    * Don't test for reason phrase with Rack adapter, which doesn't make it available.
    
    * Don't test for reason phrase support in Typhoeus adapter.
    
    * Make reason_phrase nil in adapters that don't support it (instead of "")
    sbleon committed with iMacTia Aug 24, 2016
  2. Merge pull request #580 from boone/ruby_230

    Test against Ruby 2.3.
    sbleon committed on GitHub Aug 24, 2016