Commit Graph

2357 Commits

Author SHA1 Message Date
Blake Watters
259e6c2fe5 Fix all test breakage in OS X Framework tests 2013-01-15 09:07:44 -05:00
Blake Watters
f33a8bb405 Rework Pods to restore execution of OS X Framework tests 2013-01-15 09:07:23 -05:00
Blake Watters
5b567b526b Bump to Cocoapods 0.16.1 2013-01-14 23:31:26 -05:00
Blake Watters
c98dd41c2f Reimplement predicate caching within the RKFetchRequestManagedObjectCache to avoid nasty crash due to malformed predicates. fixes #1141 2013-01-14 23:01:55 -05:00
Blake Watters
840b37a4f9 Fix bug in mapper delegate configuration and add missing test coverage for response mapper operation and both object request operation classes. closes #1156 2013-01-14 14:23:32 -05:00
Blake Watters
999edf82c7 Add mapping test for multi-part form upload. refs #1148 2013-01-12 11:23:45 -05:00
Blake Watters
3e425707fb Fixed problems with initial implementation of temporary managed objects visitor. The implementation was under tested and only worked with a single relationship. refs #1001 2013-01-11 15:56:36 -05:00
Eric Chamberlain
51d36fb635 Fixed documentation omission
The managed object store provides two managed object contexts, not two managed objects.
2013-01-11 14:28:11 -05:00
Jeff Arena
e0481096cf Fix a few issues identified via static analysis 2013-01-11 11:57:55 -05:00
Blake Watters
cfbd5d711e Add error handling and use of RKEnsureDirectoryExistsAtPath so that Core Data examples work well for OS X as well as iOS 2013-01-11 11:43:13 -05:00
Blake Watters
91b12aee34 Add an exception if you try to create managed object contexts without adding a persistent store 2013-01-11 11:42:40 -05:00
Blake Watters
c9a88c36e4 Move Testing doc to more discoverable place 2013-01-11 08:12:15 -05:00
Blake Watters
7e4be82d64 Update TESTING.md for 0.20.x and modern reality 2013-01-11 08:07:32 -05:00
Blake Watters
906e33dd55 Restore execution of Unit Tests via Rake 2013-01-10 23:13:08 -05:00
Alexander Waldmann
6b8a390cf5 Update README.md 2013-01-10 19:55:06 -05:00
Blake Watters
f1a35bb884 Style tweak 2013-01-10 19:54:18 -05:00
Blake Watters
281247f8c9 Merge branch 'master' of github.com:AntonPalich/RestKit into development 2013-01-09 22:45:23 -05:00
Blake Watters
f4b805ff52 Fix issues with implementation of error override in RKHTTPRequestOperation. fixes #1140 2013-01-09 22:42:39 -05:00
Blake Watters
139decbc36 Remove accidentally committed debug logging 2013-01-09 22:29:26 -05:00
Blake Watters
b61039c838 Use a visitor to identify all NSManagedObject instances being sent via the object manager which have a temporary managed object ID to avoid crashes during mapping. refs #1001 2013-01-09 21:11:38 -05:00
Blake Watters
bce692d08f Guard against crash due to Nil value retrieved for managedObjectClassName in the property inspector 2013-01-09 09:47:51 -05:00
Антон Щукин
3164c6d557 Fixed issue when body could be null on device
stringWithUTF8String accept NULL terminated C array of UTF8-encoded
bytes.
But NSData stores encoded data not like NULL terminated string.
2013-01-09 11:26:10 +04:00
Blake Watters
4612121ae5 Unify RKHTTPRequestOperation and RKObjectRequestOperation subclass customization via registration API's. closes #1131 2013-01-08 21:33:45 -05:00
Blake Watters
4c0e62a62a Add new RKManagedObjectStore method for assisting in performing migrations when you have made dynamic modifications to the managed object model (such as when you leverage the Search indexing support) 2013-01-08 18:26:05 -05:00
Blake Watters
70180022be Add support for customizing the RKObjectRequestOperation and RKManagedObjectRequestOperation instances built through the object manager using a registration API very similar to that of AFHTTPClient. closes #1131 2013-01-08 10:49:49 -05:00
Blake Watters
905048f737 Fix issue where unsaved managed object POST'd to the server with unsaved changes are not persisted if no mapping occurs. fixes #1130 2013-01-07 19:56:14 -05:00
Blake Watters
547b3af4f2 Bump OCHamcrest checksum 2013-01-07 14:20:15 -05:00
Blake Watters
3d1bb617e7 Fix test breakage when your ISP returns a custom HTTP response page for an invalid host 2013-01-07 14:19:57 -05:00
Blake Watters
a21213e9c1 Add a more informative assertion when an RKManagedObjectResponseMapperOperation instance is not configured properly 2013-01-07 14:17:53 -05:00
Blake Watters
e9d5a87f7b Drop unnecessary performBlockAndWait: invocation that may be correlated with occasional crashes seen in GateGuru 2013-01-07 13:50:03 -05:00
Blake Watters
9a935ba7e9 Pull the CoreData header into the PCH to trigger conditional compilation of Core Data specific bits. refs #1126
This is a distateful temporary workaround until I can find a better solution. To try and decouple components from Core Data,
I have introduced conditional compilation against the `_COREDATADEFINES_H` value. This enables you to opt into the Core Data specific
features by adding the import into your target's PCH file. Unfortunately at the moment on CocoaPods, there is no way to add the import
to the PCH only when you pull in the Core Data subspec. I have opened an issue on CocoaPods to pursue a solution.

See https://github.com/CocoaPods/CocoaPods/issues/723
2013-01-07 11:48:22 -05:00
Blake Watters
7f8320c514 Add helpful error message if you call requestMapping on an RKObjectMapping subclass 2013-01-06 01:11:09 -05:00
Blake Watters
0d74946808 Add another mention about the objectClass in RKRequestDescriptor 2013-01-06 00:46:43 -05:00
Blake Watters
226f3f7dc7 Fix static analyzer warning about uninitialized success variable in RKMappingTest 2013-01-06 00:46:14 -05:00
Blake Watters
d4c8db97ad Fix typo in README.md registration of response descriptor. closes #1125 2013-01-05 11:33:00 -05:00
Blake Watters
5b60338d93 Merge branch 'release/0.20.0-pre6' into development 2013-01-03 23:09:39 -05:00
Blake Watters
22dd9ab40d Merge branch 'release/0.20.0-pre6' v0.20.0-pre6 2013-01-03 23:09:05 -05:00
Blake Watters
ee00e59854 Bump VERSION to 0.20.0-pre6 2013-01-03 23:06:31 -05:00
Blake Watters
422768f6b1 Add support for dynamic nesting key serialization. closes #684 2013-01-03 23:02:49 -05:00
Blake Watters
896eef1a1b Add test case for failure to load due to unsupported URL. refs #1122 2013-01-03 22:06:26 -05:00
Blake Watters
1423f77a51 Add test case for failure to load due to invalid hostname. refs #1122 2013-01-03 22:03:01 -05:00
Blake Watters
c62e962d9d Add test verifying extra parameters are sent without a request descriptor. refs #1123 2013-01-03 21:56:12 -05:00
Blake Watters
9005bd573c Add test coverage and fixes for RKMappingTest. closes #1086 2013-01-03 18:19:50 -05:00
Blake Watters
bf63a77bc1 Add support for parameterizing an array of objects. closes #398 2013-01-03 11:11:25 -05:00
Blake Watters
38a190b7c0 Merge pull request #1120 from jeanregisser/bump_afnetworking_version
Bumped AFNetworking to 1.1.0
2013-01-02 10:56:21 -08:00
Jean Regisser
688ef760f4 Bumped AFNetworking to 1.1.0 2013-01-02 19:49:02 +01:00
Blake Watters
c06347d5c5 Add support for customizing the HTTP request operation class used by RKPaginator. closes #1067 2013-01-02 00:27:40 -05:00
Blake Watters
879ffd73e6 Add support for deleting Core Data managed objects that fail validation out of the mapping context. This enables you to silently drop mapping for managed objects that fail validation. fixes #691 closes #694 2013-01-01 23:56:58 -05:00
Blake Watters
a30263b196 Fix issues with using the Paginator as documented in the headers. fixes #1117 2013-01-01 22:38:18 -05:00
Blake Watters
c08909761e Adjust completion block implementation for RKPaginator to enable completion block to be invoked when used without a strong reference. fixes #1119 fixes #1093 2013-01-01 22:21:47 -05:00