Commit Graph

21 Commits

Author SHA1 Message Date
Blake Watters
188f2ad4b4 Quote server path when executing test server. fixes #608 2012-03-20 19:30:08 -04:00
Blake Watters
4142ffdb42 Reorganization and cleanups of Unit Tests
* Reorganized tests to accommodate split into Logic & Application.
* Eliminated 'Spec' naming in favor of 'Test' as the suite is entirely based on SenTest.
* Pulled majority of testing support classes up into the library and documented them.
* Introduced RKApplicationTests app for running the RKTableController UI tests
2012-02-10 17:32:23 -05:00
Blake Watters
3d0f0ab39e Introduced the RKTableController component for iOS.
RKTableController provides a flexible, integrated system for driving iOS table views using
the RestKit object mapping engine. Local domain objects can be mapped into table cells within a
collection or presented for editing as part of a form. There are three flavors of table controllers
available:

* Static Tables: RKTableController can be used to render simple static tables that are composed of RKTableItems
presented in RKTableSections. Table items can quickly be built and added to a table without a backing model
or can have content object mapped into them for presentation.
* Network Tables: RKTableController can also render a table with the results of a network load. The typical use
case here is to have RestKit retrieve a JSON/XML payload from your remote system and then render the content into
a table.
* Core Data Tables: RKFetchedResultsTableController can efficiently drive a table view using objects pulled from a
Core Data managed object context. Typical use-cases here are for the presentation of large collections that are
pulled from a remote system, offering offline access, or speeding up a UI by using Core Data as a fast local cache.

RKTableController supports a number of bells and whistles including integrated searching/filtering and pull to refresh.
2012-02-10 16:30:54 -05:00
Blake Watters
8a39f93e62 Add support for handling 204 'No Content' responses. fixes #450 2011-12-02 09:27:22 -05:00
Blake Watters
5f47c3d127 Bump UISpecRunner 2011-10-14 08:37:55 -04:00
Blake Watters
d81079168c Expanded rake validate task to build all the example projects. fixes #300 2011-08-16 21:11:21 -04:00
Blake Watters
7c7ddf2558 Added .rvmrc for setting up Ruby spec environment. Replace shotgun with Sinatra reloader and enabled spec server code reloading. Wrote some file uploads specs for RKParams. 2011-08-03 20:01:06 -04:00
Blake Watters
ac5d2d58c1 Don't fail out rake docs:install when Appledoc exits with warning exitstatus 2011-08-02 10:15:24 -04:00
Blake Watters
db0b97621b Allow exit status of 1 (Warning) for rake docs:generate 2011-08-02 10:06:20 -04:00
Blake Watters
946c558675 Updated appledoc binary and templates. Fixed ampersands in some comments that were blocking Docset generation. Updated Appledoc rake tasks to reflect the exit statuses emitted by appledoc. Pushed 0.9.3 appledoc to restkit.org 2011-08-02 08:42:59 -04:00
Blake Watters
6f4058749c Updated appledoc binary 2011-06-30 13:59:28 -04:00
Blake Watters
0ca4a0feea Added unit tests to loaders to investigate loading an array bug reports 2011-06-23 08:49:20 -04:00
Blake Watters
f3c0995d5e Implementation of Object Mapping 2.0 design:
* Removed RestKit from inheritance hierarchy
  * Mappings are implemented as concrete classes
  * Mapper is much more flexible & powerful
  * Much more robust error handling
  * Serialization is reimplemented as an object mapping operation
  * Added ability to serialize to JSON natively
  * Reworked Core Data integration
  * Simplified the codebase substantially
2011-06-11 19:26:56 -04:00
Blake Watters
dede096d61 Fixed missing semi-colon from warnings cleanup. Added Three20 and RKCatalog to the rake validate task. 2011-04-22 14:45:48 -04:00
Blake Watters
1437026e43 Fail out build process when run_command encounters non-zero exit status. Fixed OS X compile issues introduced by automatic network activity indicator. refs #57 2011-04-19 13:13:34 -04:00
Blake Watters
462cf35be4 Implemented Rake tasks for generating documentation via Appledoc very simply. refs #48
* Implemented `rake docs:install` for generating and installing a docset
* Implemented `rake docs:upload` for posting generated documentation to restkit.org
* Introduced new VERSION file for coordinating the version of the library. To be used in forthcoming release automation.
* Added notes about API documentation to the README
2011-04-14 22:57:43 -04:00
Blake Watters
9af6a59c79 Initial implementation of documentation generation using the Appledoc parser. refs #48
* Cleaned up various mismatches in method signatures that were preventing documentation generation
* Removed naked ampersands from comments as they cause XML parser failures during docset generation via appledoc
2011-04-14 22:55:58 -04:00
Blake Watters
9593612aab Closes gh-47. Initial implementation of OS X build integrating changes submitted by Felix Holmgren (https://github.com/Felixyz/RestKit).
* Factored out display of alerts into RKAlert interface that hides the differences between UIKit and OS X Cocoa.
* Added macosx to supported platforms to enable build on OS X.
* Configured project to use conditional architectures to enable building on OS X and iOS from the same targets.
* Implemented a bare-bones OS X example app.
* Create `rake build` task for building RestKit against iOS and OS X SDK for quick testing.
2011-04-12 21:02:25 -04:00
Blake Watters
b65e93cebb Updated response loader to handle RKResponse and object arrays 2011-03-24 22:53:49 -04:00
Blake Watters
af387fe4e0 Reorganized the Specs subdirectories to mirror the layout of Code/. Added new rake task for running the test server. Introduced dependence on Shotgun and Thin for the Spec server. Infrastructure is all in place, now to get the tests themselves healthy. 2011-03-09 20:05:22 -05:00
Blake Watters
0a93b377d6 Upgraded to UISpecRunner 0.4.0. Added Rakefile for running all the specs. 2011-03-09 15:07:20 -05:00