Permalink
Commits on Jul 14, 2014
  1. Merge pull request #90 from groman-me/not_cache_invalid_response

    Cache only cacheable status codes
    sferik committed Jul 14, 2014
Commits on Jul 1, 2014
  1. fixes #55: cache only cacheable status codes

    Roman Gusev committed Jun 13, 2014
Commits on Jun 23, 2014
  1. Update rspec dependency to >= 3

    sferik committed Jun 23, 2014
Commits on Apr 19, 2014
  1. Support milliseconds in parse_dates middleware

    Closes #72
    assembler committed with mislav Sep 5, 2013
  2. Merge pull request #88 from lostisland/faraday-0.9

    Faraday 0.9 compatibility
    mislav committed Apr 19, 2014
  3. Update middleware registry for Faraday 0.9

    The unified method `Faraday.register_middleware` for registering all
    kinds of middleware was gone in 0.9.
    
    lostisland/faraday@14b458a
    mislav committed Apr 18, 2014
  4. Make RackCompatible middleware compatible with Faraday 0.9

    We can't reuse the same `env` hash between Rack and Faraday since
    Faraday 0.9 operates with Faraday::Env object.
    
    Solve this by maintaining two distinct `env` objects; one for Rack and
    another for Faraday.
    mislav committed Apr 17, 2014
  5. Work around Faraday 0.9 query parsing incompatibility in OAuth2

    The query string 'access_token&q=hello` gets parsed with the token value
    `nil` in Faraday 0.8, but with value `true` in Faraday 0.9.
    
    This is most likely a regression in Faraday, but for now, simply check
    if an OAuth token quacks like a string before trying to treat it as one.
    mislav committed Apr 17, 2014
  6. Monkeypatch to support `request: { preserve_raw: true }`

    Faraday 0.9 doesn't support custom keys in RequestOptions. However, a
    faraday_middleware feature allowed people to set this option with
    earlier versions of Faraday.
    
    For now, a monkeypatch is necessary to retain this compatibility.
    mislav committed Apr 17, 2014
  7. Add Env compatibility layer to specs for Faraday 0.9

    Ensures that middleware in tests receives a proper Faraday::Env instance
    for Faraday 0.9, and a plain Hash for Faraday <= 0.8.
    mislav committed Apr 17, 2014
  8. Add `.rb` extension to alternate Gemfiles

    This way text editors will recognize them as Ruby scripts
    mislav committed Apr 19, 2014
  9. Mark compatible with Faraday 0.9

    mislav committed Apr 16, 2014
Commits on Apr 17, 2014
  1. Enable RackCompatible specs on Rubinius

    It used to be that those failed because of a Rubinius bug
    rubinius/rubinius#1522
    
    But it's been 2 years since then, so assume that it's fixed.
    mislav committed Apr 17, 2014
  2. Tolerate 98.9% code coverage

    Coverage dropped slightly below 99% because in caching middleware there
    is a code path that is only effective during parallelism, but it's not
    trivial to setup parallel requests to exercise that scenario.
    mislav committed Apr 17, 2014
  3. Improve mashify/rashify specs

    The specs used to be isolated from the `call(env)` cycle by means of
    using the `on_complete` method directly. Since that method is not
    considered part of the public API of Faraday::Response::Middleware, this
    switches away from using that method and makes the middleware process
    responses the standard way, via `call()`.
    
    This gets rid of the need for "integration tests" because the middleware
    is exercised exactly as it would during a real request/response cycle.
    mislav committed Apr 17, 2014
  4. Show all failing tests

    pengwynn committed with mislav Oct 14, 2013
Commits on Apr 16, 2014
  1. Test with Ruby 2.1.1 on CI

    mislav committed Apr 16, 2014
  2. Enable coverage & quality test only with default Gemfile

    Speeds up CI build for non-standard Gemfiles
    mislav committed Apr 16, 2014
  3. Test against Faraday 0.7.x on CI

    mislav committed Apr 16, 2014
  4. gitignore `.ruby-version` & `bin/`

    The bin directory may contain bundler binstubs for development
    mislav committed Apr 16, 2014
Commits on Mar 9, 2014
  1. Merge branch '84-gzip'

    mislav committed Mar 9, 2014
  2. fixup private

    mislav committed Mar 9, 2014
Commits on Mar 8, 2014
  1. Add a Gzip middleware

    romanbsd committed Feb 25, 2014
Commits on Feb 12, 2014
  1. Update Travis settings for Rubinius

    sferik committed Feb 12, 2014
Commits on Jan 21, 2014
  1. Actually fix tests on Rubinius

    The rubysl-json gem has been yanked so use the json gem instead.
    sferik committed Jan 21, 2014
  2. Merge pull request #80 from akilb/gitignore-rubymine-tempfolder

    Update .gitignore to the .idea/ folder created by RubyMine IDE
    sferik committed Jan 21, 2014
Commits on Dec 7, 2013
  1. Fix tests on Rubinius

    sferik committed Dec 7, 2013
  2. Update build matrix

    sferik committed Dec 7, 2013
  3. Merge pull request #78 from lolindrath/master

    Fix typo in RFC number
    sferik committed Dec 7, 2013
Commits on Dec 6, 2013
  1. Fix typo in RFC number

    lolindrath committed Dec 6, 2013
Commits on Oct 6, 2013