Commits on Jun 11, 2015
  1. Merge pull request #47 from biola/preserve_empty_params

    Don't remove parameters with empty values.
    committed Jun 11, 2015
Commits on Apr 14, 2015
  1. Merge pull request #48 from TomK32/patch-1

    Fix pass_values_onto_requestable to use method rather than the instance variable
    committed Apr 14, 2015
  2. Fix pass_values_onto_requestable to use method rather than the instan…

    …ce variable
    Possible that I should have used something else in weary but in the end I did monkey patch `pass_values_onto_requestable`. What I wanted was the same headers over a small number of clients. So in my BaseClient I did add a method headers, hoping this to be passed on to all requests. I have to run some authentication first and the header is thus dynamic.
    BaseClient < Weary::Client
      cattr_accessor :headers
      def headers
        return @@headers ||= {}
    It didn't pass the values because in `pass_values_onto_requestable` it is first looking at the instance variable `@headers` and only after that it calls the headers method. Despite the shared name they can be very different things
      def pass_values_onto_requestable(requestable)
          requestable.headers self.headers unless @headers.nil?
          requestable.adapter self.adapter unless @connection.nil?
    A simplified example to prove my point further:
    class A
      attr_accessor :b
      def initialize
        @b = "instance variable"
      def b
        return "method"
    puts # => method
    puts'@b') # => "instance variable"
    TomK32 committed Apr 14, 2015
Commits on Jul 8, 2014
  1. Don't remove parameters with empty values.

    Sometimes things need to be set to nil or an empty string.
    adamcrown committed Jul 8, 2014
Commits on Jan 15, 2014
  1. Ensure POST/PUT body inputs are always encoded properly

    Fixes #44 and LintErrors. Remove deprecated rspec matchers.
    committed Jan 15, 2014
Commits on Nov 19, 2013
  1. Merge pull request #42 from artempartos/feature/nested_hash_params

    Resource nested hash support
    committed Nov 19, 2013
Commits on May 3, 2013
  1. Merge pull request #37 from phulst/rack_ver

    loosened rack version requirement to 1.4.5 or higher
    committed May 3, 2013
Commits on Apr 15, 2013
  1. Update to v1.1.3

    committed Apr 15, 2013
  2. Loosen/update dependencies for Rack, Addressable, etc.

    The update to Rack ~> 1.5 removed a spec, since the Rack spec itself has
    changed. Rack no longer requires a Response to have the Content-Type
    It's likely other spec changes to accomodate the most recent Rack should
    committed Apr 15, 2013
  3. Merge pull request #32 from gabceb/weary-relax-dependencies

    Relax dependencies
    committed Apr 15, 2013
Commits on Mar 28, 2013
  1. Relax dependecies

    - Relax multi_json and webmock dependencies
    - Fix typhoueus to work with typhoeus > 0.5
    - Remove Gemfile.lock
    gabceb committed Mar 28, 2013
Commits on Mar 27, 2013
Commits on Mar 25, 2013
  1. Merge pull request #31 from imkmf/30-update-multi_json

    Fixes #30, updates multi_json
    committed Mar 25, 2013
Commits on Mar 23, 2013
  1. Update multi_json in Weary

    imkmf committed Mar 23, 2013
Commits on Feb 13, 2013
  1. Merge pull request #29 from sanemat/feature/bundle-update

    Update gem yard, yard-tomdoc
    committed Feb 13, 2013
  2. Update gem yard, yard-tomdoc

    loaded gem is no longer exist, so I can not complete bundle install.
    $ bundle
    Fetching gem metadata from
    Could not find loaded-0.0.1 in any of the sources
    Use command below:
    $ bundle update yard yard-tomdoc
    sanemat committed Feb 13, 2013
Commits on Oct 31, 2012
  1. Bump to v1.1.2

    + Fix issue with Mutex being undefined in 1.8.7
    committed Oct 31, 2012
Commits on Oct 3, 2012
  1. Bump to v1.1.1

    + Better handling of transformations btwn Hashes and Param query strings
    + Requestable is now included on the Client instance, allowing you to
    set adapters/headers/etc at that level.
    committed Oct 3, 2012
  2. Deconstruct query to hash by unescaping with ASCII-8BIT

    Fixes #25, and we don't have to get rid of SimpleOAuth.
    committed Oct 3, 2012
Commits on Oct 2, 2012
  1. True URI escaping.

    committed Oct 2, 2012