Commit Graph

2498 Commits

Author SHA1 Message Date
Blake Watters
255c1c74f9 Update Podspec to v0.20.0 2013-03-20 20:38:05 -04:00
Blake Watters
f9964dfab8 Bump version to 0.20.0 2013-03-20 20:37:54 -04:00
Blake Watters
24c0a25519 Fix incorrect serialization of a single object inputted as an array. closes #1289 2013-03-20 10:39:14 -04:00
Blake Watters
407b879a52 Fix small typo in README 2013-03-20 09:24:57 -04:00
Blake Watters
499071925b Added test cases attempting to reproduce duplicated objects issue. refs #1228 2013-03-17 16:17:05 -04:00
Blake Watters
420d140484 Fix test breakage under Mac OS X 2013-03-16 18:04:27 -04:00
Blake Watters
29f6e7cc08 Added test case for NSMutableSet mapping on managed object. refs #1201 2013-03-16 15:39:13 -04:00
Blake Watters
a0a0adf7d1 Make deletion of newly inserted objects that fail validation configurable. closes #1281 2013-03-16 15:26:04 -04:00
Doug Tabuchi
2f11970432 Add currentOffset to RKPaginator 2013-03-14 22:55:59 -04:00
Blake Watters
96b9d6f683 Rework deletion operations to avoid deleting objects that would be valid if mapping we allowed to assign them to the desintation relationship. refs #1225 2013-03-14 20:13:32 -04:00
Blake Watters
8ff6f62297 Add assertions to RKMIMETypeSerialization and RKTestFixture 2013-03-14 11:49:50 -04:00
Blake Watters
10ad79a352 Bump Gem dependencies 2013-03-13 23:02:41 -04:00
Blake Watters
beeaf9acd5 Bump CocoaPods to 0.16.4 2013-03-13 22:33:21 -04:00
Blake Watters
e831e03ccb Add workaround to avoid potential crash during execution of deletion operations on iOS 5. closes #1266 2013-03-13 22:28:24 -04:00
Blake Watters
58d67c2229 Update project settings to enable easier symbolication. closes #1277 2013-03-13 21:52:56 -04:00
Blake Watters
90fe39e8e9 Fix issue with RKPathAndQueryStringFromURLRelativeToURL function dropping trailing slashes due to reliance on [NSURL path]. fixes #1220 2013-03-12 18:57:13 -04:00
Blake Watters
34b8a30b06 Improve RKPathMatcher so that it only evaluates a path match positively if the number of slashes in the source string matches the number of slashes in the pattern. closes #1212, closes #1192 2013-03-10 16:37:35 -04:00
Blake Watters
334085def5 Drop the NSBundle category and instead migrate the functionality directly into RKTestFixture. This category seems unnecessary. 2013-03-10 15:09:43 -04:00
Blake Watters
2003715e2e Switch to using non-overlapping property and ivar for RKHTTPRequestOperation HTTP error. refs #1140 2013-03-10 14:52:50 -04:00
Blake Watters
e62a9862d7 Rework RKManagedObjectMappingOperationDataSource to avoid performing mutable(Array|Set|OrderedSet)ValueForKeyPath: unless there are existing objects and the identificationAttributes are nil. refs #1232 2013-03-10 14:22:38 -04:00
Blake Watters
2581d21762 Add test case covering deletion of object before use in managed object request operation. refs #1252 2013-03-10 13:30:47 -04:00
Blake Watters
dd74867c79 Fix issue where targetObject was not set appropriately when mapping a non-managed object via RKManagedObjectResponseMapperOperation. fixes #1268 2013-03-10 13:12:17 -04:00
Blake Watters
59ced3b32a Obtain a permanent NSManagedObjectID when adding a newly created NSManagedObject to the RKInMemoryManagedObjectCache to avoid potential for duplicated objects during concurrent mapping. refs #1260 2013-03-10 11:48:31 -04:00
Blake Watters
ca3828f6ef Add workaround for logging crash under iOS 5. closes #1256 2013-03-10 00:28:21 -05:00
Blake Watters
f00e309619 Add conditional passing of parameters into the AFHTTPClient to support OAuth signing. fixes #1200 2013-03-09 23:48:01 -05:00
Blake Watters
5d31166509 Revert "Pass parameters into AFHTTPClient instance to help with OAuth signing. closes #1200"
This reverts commit 4634d66e53.
2013-03-09 23:43:00 -05:00
Blake Watters
4634d66e53 Pass parameters into AFHTTPClient instance to help with OAuth signing. closes #1200 2013-03-09 23:41:27 -05:00
Blake Watters
fd265420b9 Add support for RKRequestMethodAny in relationship routes. fixes #1205 2013-03-09 23:35:47 -05:00
Charlie Savage
6375eecc25 Add countermeasure to prevent occurrence of NSObjectInaccessibleException on ios 5. closes #1208 2013-03-09 23:27:13 -05:00
Blake Watters
de5aed6bde Fix incorrect type transformation when the destination class is a mutable class. fixes #1201 2013-03-09 23:03:06 -05:00
Blake Watters
1c2cdc4eef Configure RKManagedObjectImporter to set the mapper operation instance as the parent operation for the RKManagedObjectMappingOperationDataSource instance. This enables relationship connection between objects that are created without an intervening save. 2013-03-09 17:49:53 -05:00
Panupan Sriautharawong
be7ccc7404 Add test coverage for connection of objects with temporary ID's. closes #1227 2013-03-09 17:49:14 -05:00
Blake Watters
cb108d28ba Fix broken test coverage for 304 (Not Modified) optimization 2013-03-09 10:15:21 -05:00
Blake Watters
3ac8d162f8 Add documentation regarding revised implementation of 304 (Not Modified) optimization in RKManagedObjectRequestOperation 2013-03-09 10:15:06 -05:00
Blake Watters
5329ef450e Fix function declaration for RKCacheableStatusCodes 2013-03-07 21:17:51 -05:00
Yannick Reifschneider
7f5b0fec97 Unescape URL metadata mapping parameters if route required parameter escaping 2013-03-07 21:17:51 -05:00
Blake Watters
e805bbc41e Improve documentation regarding registration of transformation blocks. closes #1270 2013-03-07 21:00:45 -05:00
Charlie Savage
535255a686 Fix RKReplaceAssignmentPolicy. The problem was that new values for the relationship were gathered before the old values were deleted. Therefore if one of the new values was the same as the old value, the valueForRelationship collection would contain a deleted managed - not good.
Also fixed:
* The if statement near line 674 was incorrectly negated
 * Setting the relationship value around line 676 was redundant since it was done in the mapCoreDataToManyRelationshipValue:withMapping method.
2013-03-07 20:55:42 -05:00
Blake Watters
a9ef1fe39d Introduce a new heuristic based approach for determining if a response can skip the mapping process. Also introduces a new Network + CoreData logging component and reduces the chattiness of the debug logging level for Core Data Network events. 2013-03-07 19:25:14 -05:00
Blake Watters
02247695b1 Fix intermittent crashes during test execution 2013-03-07 15:33:11 -05:00
Christian Himmelsbach
4c1d010e91 fix: To one relationships, that have a nested destination keypath are not correctly mapped to JSON 2013-03-07 14:55:07 -05:00
Blake Watters
318f9659f6 Move management of RKResponseHasBeenMapped to RKObjectRequestOperation instead of RKManagedObjectRequestOperation. Add unit tests. 2013-03-07 14:39:31 -05:00
Blake Watters
248d1d3779 Remove noisy params logging from test server actions 2013-03-07 13:59:02 -05:00
Blake Watters
d47a0c9ffd Add support for retrying RKObjectRequestOperation and RKManagedObjectRequestOperation by conforming to NSCopying. closes #1224 2013-03-07 13:55:11 -05:00
Jeff Arena
948209b254 Remove wasNotModified method in favor of setting a flag on cached response entries to determine if mapping can be skipped. 2013-03-07 13:08:30 -05:00
Blake Watters
0e19f5deb1 Add NSURLConnectionDataDelegate to protocol declaration for AFURLConnectionOperation to avoid compiler error in some cases. closes #1249 2013-03-07 10:24:49 -05:00
Blake Watters
15a898a849 Update baseURLs to fix issues with Twitter example projects. closes #1273 2013-03-07 09:48:48 -05:00
Jeff Arena
0a9a57101c Bump pod lock file per new cocoapods version 2013-03-07 09:46:20 -05:00
Jeff Arena
5956cca22e Bump versions on bundler and debugger gems 2013-03-07 09:44:53 -05:00
Blake Watters
490b233daf Add countermeasure to avoid crash in cxx_destruct during deallocation of mapping result 2013-02-25 11:28:50 -05:00