Commit Graph

2467 Commits

Author SHA1 Message Date
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
Blake Watters
f36dcded83 Change system import into user import for RestKit/Network.h. closes #1244 2013-02-21 23:10:07 -05:00
Blake Watters
15cc733bfa Add missing operation start in README.md example. closes #1217 2013-02-21 23:05:54 -05:00
Blake Watters
47eed616ef Fix crash due to execution of RKDeleteInvalidNewManagedObject from outside of the dispatch queue of the NSManagedObjectContext that owns the object. fixes #1251 2013-02-21 23:02:23 -05:00
Blake Watters
c7a53f370c Update xcoder gem to pick up colored output 2013-02-21 22:55:18 -05:00
Blake Watters
45c70292e6 Adjust RKSearchIndexer logging to ensure output is emitted when the indexer hits 100% 2013-02-19 12:40:06 -05:00
Blake Watters
80b3cd378a Merge pull request #1242 from alimoeeny/patch-1
removed a stray ] in the sample source code
2013-02-18 11:03:12 -08:00
Ali Moeeny
972ea56cfb removed a stray ] in the sample source code
In the README file, at line 193, at the end there is a stray ] which I removed, nothing major :)
2013-02-18 14:01:39 -05:00
Blake Watters
524a9f400d Merge pull request #1238 from geon/patch-2
The relationship variables are missing.
2013-02-15 11:09:00 -08:00
Victor Widell
2fa9b52dba The "teamMembers" variable was not used.
The variable "relationship" is not defined, and looks like it should be "teamMembers" instead.

This is a bit inconsequent with the example above, that is named "userRelationship". Either both or neither of them should include the word "relationship".
2013-02-15 18:27:28 +01:00
Victor Widell
429a5d36f1 The relationship variable was missing.
In the example, a variable named "relationship" is used, but not created. On the line above, another variable "userRelationship" is created but not used.

I'm assuming this is a typo, and they are supposed to be the same?
2013-02-15 18:18:10 +01:00
Blake Watters
6feb49c8cd Merge pull request #1237 from geon/patch-1
addAttributeMappings: doesn't exist.
2013-02-15 06:51:17 -08:00
Victor Widell
888efff2e7 addAttributeMappings: doesn't exist.
I'm guessing it's a typo and the intended method is addAttributeMappingsFromArray:.
2013-02-15 14:12:15 +01:00
Blake Watters
88246423bb Fix invalid selector usage in managed object data source. fixes #1236 2013-02-14 22:55:12 -05:00
Blake Watters
240a2adb46 Reorder CocoaPods Copy Resources script to execute before tests 2013-02-08 10:41:26 -05:00
Blake Watters
a19f1a5ff1 Allow assertion to pass if localObject is returned nil 2013-02-07 17:37:14 -05:00
Blake Watters
e7352f7919 Clarify logging for HTTP operation when cancelled 2013-02-07 17:36:50 -05:00
Blake Watters
1aea448289 Switch to release version of Xcoder Gem 2013-02-07 17:35:36 -05:00
Blake Watters
68536636b5 Fix incorrect anchor on the Overview link in README.md 2013-02-07 16:33:14 -05:00
Blake Watters
9a011357c5 Disable intermittently failing concurrency test until we can tackle it post 0.20.0 2013-02-07 12:47:56 -05:00
Blake Watters
986399f937 Fix test breakage related to use of dispatch_async within RKEntityByAttributeCache 2013-02-07 12:44:51 -05:00
Blake Watters
5f918a8f81 Don't publish the feed when Jenkins regenerates the documentation 2013-02-07 12:04:28 -05:00
Blake Watters
1add8f5410 Don't generate docs if we can't determine a Git branch 2013-02-07 11:54:54 -05:00
Blake Watters
7416a0f19c Add pod install to cibuild script 2013-02-07 11:45:51 -05:00
Blake Watters
c4beb1bd07 Ditch custom RunPlatformUnitTests script 2013-02-07 11:36:26 -05:00
Blake Watters
4684479310 Fix typo in README.md 2013-02-06 12:38:01 -05:00
Blake Watters
3ca8d38424 Bumping Ruby dependencies for test execution 2013-02-05 23:03:41 -05:00
Blake Watters
4759a90cdc Add more cancellation backstopping to avoid NSObjectInaccessibleException crashes when executing RKManagedObjectRequestOperation instances that have been cancelled and the Core Data environment has shifted underneath them (i.e. records have been deleted from the store) 2013-02-05 14:07:46 -05:00
Jeff Arena
91ede3b9b6 Add a few isCancelled checks to ensure we are not performing unnecessary work after being cancelled. 2013-02-05 12:06:33 -05:00
Blake Watters
00412cfebb Add rescue for NSObjectInaccessibleException within RKRelationshipConnectionOperation 2013-02-04 12:39:59 -05:00
Blake Watters
558c9bee83 Adjust implementation of async dispatching when managing cache entries so that there is only a single dispatch instead of N 2013-02-04 12:38:42 -05:00
Blake Watters
79150ad51e Guard against a potential "Could not fulfill a fault" crash during relationship connection if the object being connected has been deleted before the operation executes 2013-02-04 11:08:55 -05:00