Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Apr 26, 2009
  1. Documented interaction between .get and base_uri.

    authored
    If a user specifies a base_uri with a trailing slash, he may think he can pass
    .get a path without the leading slash under the belief that the path is simply
    appended to the base URI. In reality, when the base_uri is normalised the
    trailing slash is removed, breaking this assumption.
    
    I have expanded the Rdoc for the .get method to explain this gotcha, although
    we should probably do more. It may make sense to always concatenate the
    base_uri and path unless the path starts with a protocol specification.
  2. lib/httparty.rb: Fixed typo in .headers RDoc.

    authored
    The RDoc for the .headers method described it as setting the base_uri.
    Corrected the description.
  3. lib/httparty.rb: Improve HTTParty::Unsuported msg.

    authored
    If an unsupported format is specified a HTTParty::Unsupported exception is
    raised along with an error message enumerating the allowed formats. Valid
    formats are specified as symbols, e.g. :yaml, but the error message
    stringifies the symbols. This can be misleading.
    
    For example, if a user specifies `format
    'yaml'` he is confronted with an error message reading "Must be one of:
    json, xml, html, yaml, plain". From his perspective, his format is in this
    list, so the error is confusing.
    
    This patch simply modifies the error message to read "Must be one of: :json,
    :xml, :html, :yaml, :plain", which is hopefully clearer.
Commits on Apr 23, 2009
  1. @jnunemaker

    Prepped for 0.4.3 release.

    jnunemaker authored
  2. @jnunemaker
Commits on Apr 2, 2009
  1. @jnunemaker
  2. @jnunemaker

    Fixed failing spec.

    jnunemaker authored
  3. @jnunemaker

    Switched to crack rubyforge gem from jnunemaker-crack github gem as r…

    jnunemaker authored
    …ubyforge project was finally approved.
  4. @jnunemaker

    Updated history.

    jnunemaker authored
Commits on Mar 30, 2009
  1. @jnunemaker

    HTTParty.baseuri should not modify the parameters.

    Matt Scilipoti authored jnunemaker committed
    HTTParty.baseuri is modifying the passed parameters.  This can cause
    unexpected "side-effects".  For example: if you pass a value from a
    configuration hash, the value in the configuratiuon hash is changed.
    
    Signed-off-by: John Nunemaker <nunemaker@gmail.com>
  2. @jgeiger @jnunemaker

    only show the acceptable format one time per format on exception

    jgeiger authored jnunemaker committed
    Signed-off-by: John Nunemaker <nunemaker@gmail.com>
  3. @jgeiger @jnunemaker

    allow a format :plain option

    jgeiger authored jnunemaker committed
    Signed-off-by: John Nunemaker <nunemaker@gmail.com>
  4. @jqr @jnunemaker

    Fixing the response code is a string issue in the story steps too.

    jqr authored jnunemaker committed
    Signed-off-by: John Nunemaker <nunemaker@gmail.com>
  5. @jqr @jnunemaker

    Forcing code to a Fixnum/Integer.

    jqr authored jnunemaker committed
    Signed-off-by: John Nunemaker <nunemaker@gmail.com>
Commits on Mar 29, 2009
  1. @jnunemaker
  2. @jnunemaker

    Prepped for 0.4.0 release.

    jnunemaker authored
  3. @jnunemaker

    Now using crack for xml and json parsing instead of bundling that in …

    jnunemaker authored
    …HTTParty. Hopefully panic will not ensue.
Commits on Feb 11, 2009
  1. @jnunemaker

    Prepped for 0.3.1 release.

    jnunemaker authored
  2. @jnunemaker

    Updated history

    jnunemaker authored
  3. @jnunemaker
  4. @plusplus @jnunemaker

    Moved character encoding test from core_extensions_spec.rb into hash_…

    plusplus authored jnunemaker committed
    …spec.rb and deleted now redundant core_extensions_spac.rb
    
    Signed-off-by: John Nunemaker <nunemaker@gmail.com>
  5. @mfilej @jnunemaker

    Added yaml response parsing

    mfilej authored jnunemaker committed
    Signed-off-by: John Nunemaker <nunemaker@gmail.com>
Commits on Jan 31, 2009
  1. @jnunemaker

    Prepped for 0.3.0 release.

    jnunemaker authored
  2. @jnunemaker
  3. @jnunemaker

    updated history

    jnunemaker authored
  4. @jnunemaker
  5. @jnunemaker

    Doc updates

    jnunemaker authored
  6. @jnunemaker

    updated manifest

    jnunemaker authored
  7. @jnunemaker

    Documentation updates.

    jnunemaker authored
  8. @jnunemaker
  9. @jnunemaker
  10. @jnunemaker

    Added multiple specs and fixed bug where snake_case was not defined f…

    jnunemaker authored
    …or string.
    
    Hash, String and HTTParty::XML all got spec additions.
  11. @jnunemaker
  12. @jnunemaker

    Removed as buggery spec as it is no longer needed.

    jnunemaker authored
    Was only needed when I had Hash#from_xml method but
    that is long gone.
Something went wrong with that request. Please try again.