Permalink
Switch branches/tags
Commits on Jul 12, 2011
  1. Allow multiple mappings for each keyPath and select the mapping by lo…

    …oking into the parsed object
    Sascha Konietzke committed Jul 12, 2011
Commits on Jul 8, 2011
  1. Store new objects by lookupValue instead of primaryKeyValue. This avo…

    …ids creation of duplicated objects the are manufactured by findOrCreateInstanceOfEntity:
    blakewatters committed Jul 8, 2011
Commits on Jul 7, 2011
  1. Reworked object mapping behaviors to better accommodate situations wh…

    …ere the server side responds with a successful status code and a payload that does not contain any mappable attributes or relationships. We now consider this to be successful. If a mapping operation is performed that does not result in any mappings being applied, it will return NO without setting an error. If an instance of RKObjectMapper is invoked that does not find any mappable content in the payload, this will result in an unmappable content error. The object loader guards against this by not attempting to map any empty payloads. This should ensure that you only get the unmappable content error if you have asked RK to load and map a payload it cannot find an object mapping for.
    blakewatters committed Jul 7, 2011
  2. Merge pull request 196

    commit 802d477
    Author: Cédric Luthi <cedric.luthi@gmail.com>
    Date:   Thu Jul 7 02:56:09 2011 +0200
    
        Use stringByAppendingPathComponent: for concatenating paths
    blakewatters committed Jul 7, 2011
  3. Don't generate an unmappable content error if a successful status cod…

    …e is returned along with an empty response body. This enables the use of the status code to indicate success without any content for mapping. In these cases, we wrap the targetObject of the loader into a RKObjectMappingResult at the @"" keyPath so that the delegates are invoked as expected. closes #189
    blakewatters committed Jul 7, 2011
Commits on Jul 6, 2011
  1. Fix for missing prototype warnings due to not including void in the p…

    …arameters list for C functions that take no arguments.
    blakewatters committed Jul 6, 2011
Commits on Jul 5, 2011
  1. Unwind nil behavior introduced in previous commit and add test covera…

    …ge for asObject behaviors.
    blakewatters committed Jul 5, 2011
  2. Fix for crash when coercing an empty object mapping result set into a…

    … singular result with asObject. closes #190
    blakewatters committed Jul 5, 2011
  3. Fix for inappropriate suspension of the main queue when using an IP a…

    …ddress instead of a hostname.
    blakewatters committed Jul 5, 2011
Commits on Jul 4, 2011
  1. modified README.md to allow the #import lines to be recognized as a c…

    …ode block
    Gal Steinitz committed with blakewatters Jul 4, 2011
Commits on Jul 2, 2011
  1. Coerce primary keys to strings in the thread-local lookup cache to ha…

    …ndle lookups for numeric or string keys coming back in the JSON
    blakewatters committed Jul 2, 2011
  2. Respect the root keyPath when constructing a temporary object mapping…

    … provider. Covers the case where an object mapping targeting nested content is being directly specified.
    blakewatters committed Jul 2, 2011
Commits on Jul 1, 2011
  1. Updating README

    blakewatters committed Jul 1, 2011
  2. Merge pull request #187 from bmctigue/patch-1

    Adjusted seed database code so the seed database is saved with the defaul
    Blake Watters committed Jul 1, 2011
  3. Adjusted seed database code so the seed database is saved with the de…

    …fault seed database name.
    bmctigue committed Jul 1, 2011
Commits on Jun 30, 2011
  1. Updated appledoc binary

    blakewatters committed Jun 30, 2011
  2. fix indentation

    jeremyellison committed with blakewatters Jun 30, 2011
  3. Fix crash when trying to call HTTPBody on params objects that do no r…

    …espond to it.
    
    Solution is to not cache _params objects using HTTPBodyStreams in stead of HTTPBody.
    jeremyellison committed with blakewatters Jun 29, 2011
  4. Allow Timeout caching and ETag caching to play nice with each other. …

    …Update the internal cache date when we get a 304 back.
    jeremyellison committed with blakewatters Jun 28, 2011
  5. add missing spec module

    jeremyellison committed with blakewatters Jun 27, 2011
  6. If the RKObjectLoaderTTModel wants to load without Disk cache (TTURLR…

    …equestCachePolicyDisk), tell the object loader not to use the RK cache.
    jeremyellison committed with blakewatters Jun 27, 2011