Permalink
Commits on Dec 15, 2016
  1. Merge pull request #51 from marketplacer/fix/handle-invalid-json-resp…

    freerobby committed Dec 15, 2016
    …onses-gracefully
    
    Add a custom parser to handle Sendgrid's 500 responses
  2. Add a custom parser to handle Sendgrid's 500 responses

    gerrywastaken committed Dec 15, 2016
    When Sendgrid returns a 502 they return it with a HTML error
    page for the body, even though we requested application/json.
    HTTParty will try to parse this response as JSON and then
    throw a parsing error, which hides the real response that we
    recieved from Sendgrid. This fix adds a custom parser which
    catches the JSON:ParseError and falls back to returning
    the body as it was given along with an error.
    
    This is the recommended solution by HTTParty devs:
    jnunemaker/httparty#78 (comment)
Commits on Oct 18, 2016
  1. Merge pull request #50 from AlexKlim/master

    freerobby committed Oct 18, 2016
    Update README.md
  2. Update README.md

    AlexKlim committed Oct 18, 2016
Commits on Feb 20, 2016
Commits on Feb 17, 2016
  1. add xit tests

    AlexKlim committed Feb 17, 2016
Commits on Feb 4, 2016
  1. remove pry require

    AlexKlim committed Feb 4, 2016
  2. revert ruby version

    AlexKlim committed Feb 4, 2016
Commits on Oct 14, 2015
  1. Merge pull request #44 from threedaymonk/fix-typo-in-error

    freerobby committed Oct 14, 2015
    Fix typo in error message
  2. Fix typo in error message

    threedaymonk committed Oct 14, 2015
    Change "sengrid" to "SendGrid": add the missing "d" and use the
    canonical capitalisation.
Commits on Jul 22, 2014
Commits on Jun 18, 2014
Commits on Jun 16, 2014
  1. Fixed tests after :query to :body switch

    David committed Jun 16, 2014
Commits on Jun 14, 2014
  1. Changed query to body

    David committed Jun 14, 2014
Commits on May 6, 2014
  1. Merge pull request #32 from djiang/master

    freerobby committed May 6, 2014
    Add Multiple Emails to Recipient Lists
Commits on May 2, 2014
  1. Update README

    David committed May 2, 2014
  2. Update README

    David committed May 2, 2014
Commits on Apr 1, 2014
  1. Merge pull request #31 from dlackty/patch-1

    freerobby committed Apr 1, 2014
    Update README with syntax highlighting
  2. Merge pull request #30 from nquinlan/updated-readme

    freerobby committed Apr 1, 2014
    Updated Readme
  3. Merge pull request #28 from dlackty/refactor

    freerobby committed Apr 1, 2014
    Refactor specs
  4. capitalized sendgrid

    nquinlan committed Apr 1, 2014
  5. Merge pull request #27 from dlackty/ruby21-travis

    freerobby committed Apr 1, 2014
    Add Ruby 2.1.0 to Travis CI
  6. Merge pull request #29 from dlackty/api-endpoint

    freerobby committed Apr 1, 2014
    Allow customizing BASE_URI
  7. Allow customizing base uri

    dlackty committed Apr 1, 2014
  8. Add Ruby 2.1.0 to Travis CI

    dlackty committed Apr 1, 2014
Commits on Mar 4, 2014
  1. Version bump to 1.4.0

    freerobby committed Mar 4, 2014