Permalink
Switch branches/tags
Commits on Jul 8, 2011
  1. Store new objects by lookupValue instead of primaryKeyValue. This avo…

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

    blakewatters committed Jul 7, 2011
    …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.
  2. Merge pull request 196

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

    blakewatters committed Jul 7, 2011
    …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
Commits on Jul 6, 2011
  1. Fix for missing prototype warnings due to not including void in the p…

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

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

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

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

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

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

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

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

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

    bmctigue committed Jul 1, 2011
    …fault seed database name.
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…

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

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

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

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