diff --git a/.gitignore b/.gitignore index ba178e8..e0b2cda 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,4 @@ build # Ignore the server app's git repo - for my own use when pushing to Heroku. -extras/nsrails.com/.git/ \ No newline at end of file +demos/nsrails.com/.git/ \ No newline at end of file diff --git a/extras/autogen/generate b/autogen/generate similarity index 100% rename from extras/autogen/generate rename to autogen/generate diff --git a/extras/autogen/readme.md b/autogen/readme.md similarity index 100% rename from extras/autogen/readme.md rename to autogen/readme.md diff --git a/nsrails/demo/Supporting Files/Demo-Info.plist b/demos/ios - objective-c/Auxiliary/NSRailsDemo-Info.plist similarity index 100% rename from nsrails/demo/Supporting Files/Demo-Info.plist rename to demos/ios - objective-c/Auxiliary/NSRailsDemo-Info.plist diff --git a/nsrails/demo/Supporting Files/Demo-Prefix.pch b/demos/ios - objective-c/Auxiliary/NSRailsDemo-Prefix.pch similarity index 70% rename from nsrails/demo/Supporting Files/Demo-Prefix.pch rename to demos/ios - objective-c/Auxiliary/NSRailsDemo-Prefix.pch index 4191698..a12021d 100644 --- a/nsrails/demo/Supporting Files/Demo-Prefix.pch +++ b/demos/ios - objective-c/Auxiliary/NSRailsDemo-Prefix.pch @@ -1,5 +1,5 @@ // -// Prefix header for all source files of the 'Demo' target in the 'Demo' project +// Prefix header for all source files of the 'NSRailsDemo' target in the 'NSRailsDemo' project // #import diff --git a/nsrails/demo/Supporting Files/main.m b/demos/ios - objective-c/Auxiliary/main.m similarity index 77% rename from nsrails/demo/Supporting Files/main.m rename to demos/ios - objective-c/Auxiliary/main.m index c1bc489..2935f45 100644 --- a/nsrails/demo/Supporting Files/main.m +++ b/demos/ios - objective-c/Auxiliary/main.m @@ -1,9 +1,9 @@ // // main.m -// Demo +// NSRailsDemo // // Created by Dan Hassin on 5/10/12. -// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// Copyright (c) 2012 InContext LLC. All rights reserved. // #import diff --git a/nsrails/demo/AppDelegate.h b/demos/ios - objective-c/Classes/AppDelegate.h similarity index 94% rename from nsrails/demo/AppDelegate.h rename to demos/ios - objective-c/Classes/AppDelegate.h index a11c0da..7bab68e 100644 --- a/nsrails/demo/AppDelegate.h +++ b/demos/ios - objective-c/Classes/AppDelegate.h @@ -1,6 +1,6 @@ // // AppDelegate.h -// Demo +// NSRailsDemo // // Created by Dan Hassin on 2/20/12. // Copyright (c) 2012 InContext LLC. All rights reserved. diff --git a/nsrails/demo/AppDelegate.m b/demos/ios - objective-c/Classes/AppDelegate.m similarity index 99% rename from nsrails/demo/AppDelegate.m rename to demos/ios - objective-c/Classes/AppDelegate.m index 51ace50..47b2c75 100644 --- a/nsrails/demo/AppDelegate.m +++ b/demos/ios - objective-c/Classes/AppDelegate.m @@ -1,6 +1,6 @@ // // AppDelegate.m -// NSRailsApp +// NSRailsDemo // // Created by Dan Hassin on 2/20/12. // Copyright (c) 2012 InContext LLC. All rights reserved. diff --git a/nsrails/demo/Controllers/InputViewController.h b/demos/ios - objective-c/Classes/Controllers/InputViewController.h similarity index 98% rename from nsrails/demo/Controllers/InputViewController.h rename to demos/ios - objective-c/Classes/Controllers/InputViewController.h index fdbdcbc..dd98055 100644 --- a/nsrails/demo/Controllers/InputViewController.h +++ b/demos/ios - objective-c/Classes/Controllers/InputViewController.h @@ -1,6 +1,6 @@ // // InputViewController.h -// NSRailsApp +// NSRailsDemo // // Created by Dan Hassin on 2/20/12. // Copyright (c) 2012 InContext LLC. All rights reserved. diff --git a/nsrails/demo/Controllers/InputViewController.m b/demos/ios - objective-c/Classes/Controllers/InputViewController.m similarity index 99% rename from nsrails/demo/Controllers/InputViewController.m rename to demos/ios - objective-c/Classes/Controllers/InputViewController.m index 7fe5bb5..70fda5a 100644 --- a/nsrails/demo/Controllers/InputViewController.m +++ b/demos/ios - objective-c/Classes/Controllers/InputViewController.m @@ -1,6 +1,6 @@ // // InputViewController.m -// NSRailsApp +// NSRailsDemo // // Created by Dan Hassin on 2/20/12. // Copyright (c) 2012 InContext LLC. All rights reserved. diff --git a/nsrails/demo/Controllers/InputViewController.xib b/demos/ios - objective-c/Classes/Controllers/InputViewController.xib similarity index 100% rename from nsrails/demo/Controllers/InputViewController.xib rename to demos/ios - objective-c/Classes/Controllers/InputViewController.xib diff --git a/nsrails/demo/Controllers/PostsViewController.h b/demos/ios - objective-c/Classes/Controllers/PostsViewController.h similarity index 93% rename from nsrails/demo/Controllers/PostsViewController.h rename to demos/ios - objective-c/Classes/Controllers/PostsViewController.h index d3f2db8..33e387c 100644 --- a/nsrails/demo/Controllers/PostsViewController.h +++ b/demos/ios - objective-c/Classes/Controllers/PostsViewController.h @@ -1,6 +1,6 @@ // // PostsViewController.h -// NSRailsApp +// NSRailsDemo // // Created by Dan Hassin on 2/20/12. // Copyright (c) 2012 InContext LLC. All rights reserved. diff --git a/nsrails/demo/Controllers/PostsViewController.m b/demos/ios - objective-c/Classes/Controllers/PostsViewController.m similarity index 99% rename from nsrails/demo/Controllers/PostsViewController.m rename to demos/ios - objective-c/Classes/Controllers/PostsViewController.m index efdcbd9..218db91 100644 --- a/nsrails/demo/Controllers/PostsViewController.m +++ b/demos/ios - objective-c/Classes/Controllers/PostsViewController.m @@ -1,6 +1,6 @@ // // PostsViewController.m -// NSRailsApp +// NSRailsDemo // // Created by Dan Hassin on 2/20/12. // Copyright (c) 2012 InContext LLC. All rights reserved. diff --git a/nsrails/demo/Controllers/ResponsesViewController.h b/demos/ios - objective-c/Classes/Controllers/ResponsesViewController.h similarity index 94% rename from nsrails/demo/Controllers/ResponsesViewController.h rename to demos/ios - objective-c/Classes/Controllers/ResponsesViewController.h index e81baee..589f413 100644 --- a/nsrails/demo/Controllers/ResponsesViewController.h +++ b/demos/ios - objective-c/Classes/Controllers/ResponsesViewController.h @@ -1,6 +1,6 @@ // // ResponsesViewController.h -// NSRailsApp +// NSRailsDemo // // Created by Dan Hassin on 2/20/12. // Copyright (c) 2012 InContext LLC. All rights reserved. diff --git a/nsrails/demo/Controllers/ResponsesViewController.m b/demos/ios - objective-c/Classes/Controllers/ResponsesViewController.m similarity index 97% rename from nsrails/demo/Controllers/ResponsesViewController.m rename to demos/ios - objective-c/Classes/Controllers/ResponsesViewController.m index e2a3981..246b76e 100644 --- a/nsrails/demo/Controllers/ResponsesViewController.m +++ b/demos/ios - objective-c/Classes/Controllers/ResponsesViewController.m @@ -1,6 +1,6 @@ // // ResponsesViewController.m -// NSRailsApp +// NSRailsDemo // // Created by Dan Hassin on 2/20/12. // Copyright (c) 2012 InContext LLC. All rights reserved. @@ -134,7 +134,7 @@ - (NSString *) tableView:(UITableView *)tableView titleForFooterInSection:(NSInt { NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat:@"MM/dd/yy"]; - NSString *timestamp = [@"Posted on " stringByAppendingString:[formatter stringFromDate:post.createdAt]]; + NSString *timestamp = [NSString stringWithFormat:@"(Posted on %@)",[formatter stringFromDate:post.createdAt]]; NSString *encouragement = @"There are no responses to this post.\nSay something!\n\n"; diff --git a/nsrails/demo/Models/Post.h b/demos/ios - objective-c/Classes/Models/Post.h similarity index 100% rename from nsrails/demo/Models/Post.h rename to demos/ios - objective-c/Classes/Models/Post.h diff --git a/nsrails/demo/Models/Post.m b/demos/ios - objective-c/Classes/Models/Post.m similarity index 100% rename from nsrails/demo/Models/Post.m rename to demos/ios - objective-c/Classes/Models/Post.m diff --git a/nsrails/demo/Models/Response.h b/demos/ios - objective-c/Classes/Models/Response.h similarity index 100% rename from nsrails/demo/Models/Response.h rename to demos/ios - objective-c/Classes/Models/Response.h diff --git a/nsrails/demo/Models/Response.m b/demos/ios - objective-c/Classes/Models/Response.m similarity index 100% rename from nsrails/demo/Models/Response.m rename to demos/ios - objective-c/Classes/Models/Response.m diff --git a/demos/ios - objective-c/NSRailsDemo.xcodeproj/project.pbxproj b/demos/ios - objective-c/NSRailsDemo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..30c2b76 --- /dev/null +++ b/demos/ios - objective-c/NSRailsDemo.xcodeproj/project.pbxproj @@ -0,0 +1,452 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 5975A4A3156364200088E453 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5975A4A2156364200088E453 /* UIKit.framework */; }; + 5975A4A5156364200088E453 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5975A4A4156364200088E453 /* Foundation.framework */; }; + 5975A4A7156364200088E453 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5975A4A6156364200088E453 /* CoreGraphics.framework */; }; + 5975A5261563684C0088E453 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A5231563684C0088E453 /* main.m */; }; + 5975A5651563686F0088E453 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A5571563686F0088E453 /* AppDelegate.m */; }; + 5975A5661563686F0088E453 /* InputViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A55A1563686F0088E453 /* InputViewController.m */; }; + 5975A5671563686F0088E453 /* InputViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5975A55B1563686F0088E453 /* InputViewController.xib */; }; + 5975A5681563686F0088E453 /* PostsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A55D1563686F0088E453 /* PostsViewController.m */; }; + 5975A5691563686F0088E453 /* ResponsesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A55F1563686F0088E453 /* ResponsesViewController.m */; }; + 5975A56A1563686F0088E453 /* Post.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A5621563686F0088E453 /* Post.m */; }; + 5975A56B1563686F0088E453 /* Response.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A5641563686F0088E453 /* Response.m */; }; + 5975A6BF156374430088E453 /* NSData+Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A697156374420088E453 /* NSData+Additions.m */; }; + 5975A6C0156374430088E453 /* NSObject+Properties.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A699156374420088E453 /* NSObject+Properties.m */; }; + 5975A6C1156374430088E453 /* NSString+Inflection.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A69B156374420088E453 /* NSString+Inflection.m */; }; + 5975A6C2156374430088E453 /* NSObject+SBJson.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A69E156374420088E453 /* NSObject+SBJson.m */; }; + 5975A6C3156374430088E453 /* NSRails+SBJson.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6A0156374420088E453 /* NSRails+SBJson.m */; }; + 5975A6C4156374430088E453 /* SBJsonParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6A3156374420088E453 /* SBJsonParser.m */; }; + 5975A6C5156374430088E453 /* SBJsonStreamParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6A5156374420088E453 /* SBJsonStreamParser.m */; }; + 5975A6C6156374430088E453 /* SBJsonStreamParserAccumulator.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6A7156374420088E453 /* SBJsonStreamParserAccumulator.m */; }; + 5975A6C7156374430088E453 /* SBJsonStreamParserAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6A9156374420088E453 /* SBJsonStreamParserAdapter.m */; }; + 5975A6C8156374430088E453 /* SBJsonStreamParserState.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6AB156374420088E453 /* SBJsonStreamParserState.m */; }; + 5975A6C9156374430088E453 /* SBJsonStreamWriter.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6AD156374420088E453 /* SBJsonStreamWriter.m */; }; + 5975A6CA156374430088E453 /* SBJsonStreamWriterAccumulator.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6AF156374420088E453 /* SBJsonStreamWriterAccumulator.m */; }; + 5975A6CB156374430088E453 /* SBJsonStreamWriterState.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6B1156374420088E453 /* SBJsonStreamWriterState.m */; }; + 5975A6CC156374430088E453 /* SBJsonTokeniser.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6B3156374420088E453 /* SBJsonTokeniser.m */; }; + 5975A6CD156374430088E453 /* SBJsonUTF8Stream.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6B5156374420088E453 /* SBJsonUTF8Stream.m */; }; + 5975A6CE156374430088E453 /* SBJsonWriter.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6B7156374420088E453 /* SBJsonWriter.m */; }; + 5975A6CF156374430088E453 /* NSRailsModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6BA156374420088E453 /* NSRailsModel.m */; }; + 5975A6D0156374430088E453 /* NSRConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6BC156374420088E453 /* NSRConfig.m */; }; + 5975A6D1156374430088E453 /* NSRPropertyCollection.m in Sources */ = {isa = PBXBuildFile; fileRef = 5975A6BE156374420088E453 /* NSRPropertyCollection.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 5975A49E156364200088E453 /* NSRailsDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NSRailsDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 5975A4A2156364200088E453 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 5975A4A4156364200088E453 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 5975A4A6156364200088E453 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 5975A5231563684C0088E453 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 5975A5241563684C0088E453 /* NSRailsDemo-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "NSRailsDemo-Info.plist"; sourceTree = ""; }; + 5975A5251563684C0088E453 /* NSRailsDemo-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSRailsDemo-Prefix.pch"; sourceTree = ""; }; + 5975A5561563686F0088E453 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Classes/AppDelegate.h; sourceTree = SOURCE_ROOT; }; + 5975A5571563686F0088E453 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Classes/AppDelegate.m; sourceTree = SOURCE_ROOT; }; + 5975A5591563686F0088E453 /* InputViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InputViewController.h; sourceTree = ""; }; + 5975A55A1563686F0088E453 /* InputViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InputViewController.m; sourceTree = ""; }; + 5975A55B1563686F0088E453 /* InputViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = InputViewController.xib; sourceTree = ""; }; + 5975A55C1563686F0088E453 /* PostsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PostsViewController.h; sourceTree = ""; }; + 5975A55D1563686F0088E453 /* PostsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PostsViewController.m; sourceTree = ""; }; + 5975A55E1563686F0088E453 /* ResponsesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResponsesViewController.h; sourceTree = ""; }; + 5975A55F1563686F0088E453 /* ResponsesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ResponsesViewController.m; sourceTree = ""; }; + 5975A5611563686F0088E453 /* Post.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Post.h; sourceTree = ""; }; + 5975A5621563686F0088E453 /* Post.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Post.m; sourceTree = ""; }; + 5975A5631563686F0088E453 /* Response.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Response.h; sourceTree = ""; }; + 5975A5641563686F0088E453 /* Response.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Response.m; sourceTree = ""; }; + 5975A696156374420088E453 /* NSData+Additions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+Additions.h"; sourceTree = ""; }; + 5975A697156374420088E453 /* NSData+Additions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+Additions.m"; sourceTree = ""; }; + 5975A698156374420088E453 /* NSObject+Properties.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+Properties.h"; sourceTree = ""; }; + 5975A699156374420088E453 /* NSObject+Properties.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+Properties.m"; sourceTree = ""; }; + 5975A69A156374420088E453 /* NSString+Inflection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+Inflection.h"; sourceTree = ""; }; + 5975A69B156374420088E453 /* NSString+Inflection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+Inflection.m"; sourceTree = ""; }; + 5975A69D156374420088E453 /* NSObject+SBJson.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+SBJson.h"; sourceTree = ""; }; + 5975A69E156374420088E453 /* NSObject+SBJson.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject+SBJson.m"; sourceTree = ""; }; + 5975A69F156374420088E453 /* NSRails+SBJson.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSRails+SBJson.h"; sourceTree = ""; }; + 5975A6A0156374420088E453 /* NSRails+SBJson.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSRails+SBJson.m"; sourceTree = ""; }; + 5975A6A1156374420088E453 /* SBJson.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJson.h; sourceTree = ""; }; + 5975A6A2156374420088E453 /* SBJsonParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonParser.h; sourceTree = ""; }; + 5975A6A3156374420088E453 /* SBJsonParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonParser.m; sourceTree = ""; }; + 5975A6A4156374420088E453 /* SBJsonStreamParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonStreamParser.h; sourceTree = ""; }; + 5975A6A5156374420088E453 /* SBJsonStreamParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonStreamParser.m; sourceTree = ""; }; + 5975A6A6156374420088E453 /* SBJsonStreamParserAccumulator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonStreamParserAccumulator.h; sourceTree = ""; }; + 5975A6A7156374420088E453 /* SBJsonStreamParserAccumulator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonStreamParserAccumulator.m; sourceTree = ""; }; + 5975A6A8156374420088E453 /* SBJsonStreamParserAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonStreamParserAdapter.h; sourceTree = ""; }; + 5975A6A9156374420088E453 /* SBJsonStreamParserAdapter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonStreamParserAdapter.m; sourceTree = ""; }; + 5975A6AA156374420088E453 /* SBJsonStreamParserState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonStreamParserState.h; sourceTree = ""; }; + 5975A6AB156374420088E453 /* SBJsonStreamParserState.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonStreamParserState.m; sourceTree = ""; }; + 5975A6AC156374420088E453 /* SBJsonStreamWriter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonStreamWriter.h; sourceTree = ""; }; + 5975A6AD156374420088E453 /* SBJsonStreamWriter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonStreamWriter.m; sourceTree = ""; }; + 5975A6AE156374420088E453 /* SBJsonStreamWriterAccumulator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonStreamWriterAccumulator.h; sourceTree = ""; }; + 5975A6AF156374420088E453 /* SBJsonStreamWriterAccumulator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonStreamWriterAccumulator.m; sourceTree = ""; }; + 5975A6B0156374420088E453 /* SBJsonStreamWriterState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonStreamWriterState.h; sourceTree = ""; }; + 5975A6B1156374420088E453 /* SBJsonStreamWriterState.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonStreamWriterState.m; sourceTree = ""; }; + 5975A6B2156374420088E453 /* SBJsonTokeniser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonTokeniser.h; sourceTree = ""; }; + 5975A6B3156374420088E453 /* SBJsonTokeniser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonTokeniser.m; sourceTree = ""; }; + 5975A6B4156374420088E453 /* SBJsonUTF8Stream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonUTF8Stream.h; sourceTree = ""; }; + 5975A6B5156374420088E453 /* SBJsonUTF8Stream.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonUTF8Stream.m; sourceTree = ""; }; + 5975A6B6156374420088E453 /* SBJsonWriter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonWriter.h; sourceTree = ""; }; + 5975A6B7156374420088E453 /* SBJsonWriter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonWriter.m; sourceTree = ""; }; + 5975A6B8156374420088E453 /* NSRails.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSRails.h; sourceTree = ""; }; + 5975A6B9156374420088E453 /* NSRailsModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSRailsModel.h; sourceTree = ""; }; + 5975A6BA156374420088E453 /* NSRailsModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSRailsModel.m; sourceTree = ""; }; + 5975A6BB156374420088E453 /* NSRConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSRConfig.h; sourceTree = ""; }; + 5975A6BC156374420088E453 /* NSRConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSRConfig.m; sourceTree = ""; }; + 5975A6BD156374420088E453 /* NSRPropertyCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSRPropertyCollection.h; sourceTree = ""; }; + 5975A6BE156374420088E453 /* NSRPropertyCollection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSRPropertyCollection.m; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 5975A49B156364200088E453 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 5975A4A3156364200088E453 /* UIKit.framework in Frameworks */, + 5975A4A5156364200088E453 /* Foundation.framework in Frameworks */, + 5975A4A7156364200088E453 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 5975A493156364200088E453 = { + isa = PBXGroup; + children = ( + 5975A4A8156364200088E453 /* NSRailsDemo */, + 5975A693156374420088E453 /* NSRails */, + 5975A5221563684C0088E453 /* Auxiliary */, + 5975A4A1156364200088E453 /* Frameworks */, + 5975A49F156364200088E453 /* Products */, + ); + sourceTree = ""; + }; + 5975A49F156364200088E453 /* Products */ = { + isa = PBXGroup; + children = ( + 5975A49E156364200088E453 /* NSRailsDemo.app */, + ); + name = Products; + sourceTree = ""; + }; + 5975A4A1156364200088E453 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 5975A4A2156364200088E453 /* UIKit.framework */, + 5975A4A4156364200088E453 /* Foundation.framework */, + 5975A4A6156364200088E453 /* CoreGraphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 5975A4A8156364200088E453 /* NSRailsDemo */ = { + isa = PBXGroup; + children = ( + 5975A5561563686F0088E453 /* AppDelegate.h */, + 5975A5571563686F0088E453 /* AppDelegate.m */, + 5975A5581563686F0088E453 /* Controllers */, + 5975A5601563686F0088E453 /* Models */, + ); + path = NSRailsDemo; + sourceTree = ""; + }; + 5975A5221563684C0088E453 /* Auxiliary */ = { + isa = PBXGroup; + children = ( + 5975A5231563684C0088E453 /* main.m */, + 5975A5241563684C0088E453 /* NSRailsDemo-Info.plist */, + 5975A5251563684C0088E453 /* NSRailsDemo-Prefix.pch */, + ); + path = Auxiliary; + sourceTree = ""; + }; + 5975A5581563686F0088E453 /* Controllers */ = { + isa = PBXGroup; + children = ( + 5975A5591563686F0088E453 /* InputViewController.h */, + 5975A55A1563686F0088E453 /* InputViewController.m */, + 5975A55B1563686F0088E453 /* InputViewController.xib */, + 5975A55C1563686F0088E453 /* PostsViewController.h */, + 5975A55D1563686F0088E453 /* PostsViewController.m */, + 5975A55E1563686F0088E453 /* ResponsesViewController.h */, + 5975A55F1563686F0088E453 /* ResponsesViewController.m */, + ); + name = Controllers; + path = Classes/Controllers; + sourceTree = SOURCE_ROOT; + }; + 5975A5601563686F0088E453 /* Models */ = { + isa = PBXGroup; + children = ( + 5975A5611563686F0088E453 /* Post.h */, + 5975A5621563686F0088E453 /* Post.m */, + 5975A5631563686F0088E453 /* Response.h */, + 5975A5641563686F0088E453 /* Response.m */, + ); + name = Models; + path = Classes/Models; + sourceTree = SOURCE_ROOT; + }; + 5975A693156374420088E453 /* NSRails */ = { + isa = PBXGroup; + children = ( + 5975A694156374420088E453 /* Helpers */, + 5975A6B8156374420088E453 /* NSRails.h */, + 5975A6B9156374420088E453 /* NSRailsModel.h */, + 5975A6BA156374420088E453 /* NSRailsModel.m */, + 5975A6BB156374420088E453 /* NSRConfig.h */, + 5975A6BC156374420088E453 /* NSRConfig.m */, + 5975A6BD156374420088E453 /* NSRPropertyCollection.h */, + 5975A6BE156374420088E453 /* NSRPropertyCollection.m */, + ); + name = NSRails; + path = ../../nsrails/Source; + sourceTree = ""; + }; + 5975A694156374420088E453 /* Helpers */ = { + isa = PBXGroup; + children = ( + 5975A695156374420088E453 /* Categories */, + 5975A69C156374420088E453 /* SBJson */, + ); + path = Helpers; + sourceTree = ""; + }; + 5975A695156374420088E453 /* Categories */ = { + isa = PBXGroup; + children = ( + 5975A696156374420088E453 /* NSData+Additions.h */, + 5975A697156374420088E453 /* NSData+Additions.m */, + 5975A698156374420088E453 /* NSObject+Properties.h */, + 5975A699156374420088E453 /* NSObject+Properties.m */, + 5975A69A156374420088E453 /* NSString+Inflection.h */, + 5975A69B156374420088E453 /* NSString+Inflection.m */, + ); + path = Categories; + sourceTree = ""; + }; + 5975A69C156374420088E453 /* SBJson */ = { + isa = PBXGroup; + children = ( + 5975A69D156374420088E453 /* NSObject+SBJson.h */, + 5975A69E156374420088E453 /* NSObject+SBJson.m */, + 5975A69F156374420088E453 /* NSRails+SBJson.h */, + 5975A6A0156374420088E453 /* NSRails+SBJson.m */, + 5975A6A1156374420088E453 /* SBJson.h */, + 5975A6A2156374420088E453 /* SBJsonParser.h */, + 5975A6A3156374420088E453 /* SBJsonParser.m */, + 5975A6A4156374420088E453 /* SBJsonStreamParser.h */, + 5975A6A5156374420088E453 /* SBJsonStreamParser.m */, + 5975A6A6156374420088E453 /* SBJsonStreamParserAccumulator.h */, + 5975A6A7156374420088E453 /* SBJsonStreamParserAccumulator.m */, + 5975A6A8156374420088E453 /* SBJsonStreamParserAdapter.h */, + 5975A6A9156374420088E453 /* SBJsonStreamParserAdapter.m */, + 5975A6AA156374420088E453 /* SBJsonStreamParserState.h */, + 5975A6AB156374420088E453 /* SBJsonStreamParserState.m */, + 5975A6AC156374420088E453 /* SBJsonStreamWriter.h */, + 5975A6AD156374420088E453 /* SBJsonStreamWriter.m */, + 5975A6AE156374420088E453 /* SBJsonStreamWriterAccumulator.h */, + 5975A6AF156374420088E453 /* SBJsonStreamWriterAccumulator.m */, + 5975A6B0156374420088E453 /* SBJsonStreamWriterState.h */, + 5975A6B1156374420088E453 /* SBJsonStreamWriterState.m */, + 5975A6B2156374420088E453 /* SBJsonTokeniser.h */, + 5975A6B3156374420088E453 /* SBJsonTokeniser.m */, + 5975A6B4156374420088E453 /* SBJsonUTF8Stream.h */, + 5975A6B5156374420088E453 /* SBJsonUTF8Stream.m */, + 5975A6B6156374420088E453 /* SBJsonWriter.h */, + 5975A6B7156374420088E453 /* SBJsonWriter.m */, + ); + path = SBJson; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 5975A49D156364200088E453 /* NSRailsDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5975A4B6156364200088E453 /* Build configuration list for PBXNativeTarget "NSRailsDemo" */; + buildPhases = ( + 5975A49A156364200088E453 /* Sources */, + 5975A49B156364200088E453 /* Frameworks */, + 5975A49C156364200088E453 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = NSRailsDemo; + productName = NSRailsDemo; + productReference = 5975A49E156364200088E453 /* NSRailsDemo.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 5975A495156364200088E453 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0430; + }; + buildConfigurationList = 5975A498156364200088E453 /* Build configuration list for PBXProject "NSRailsDemo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 5975A493156364200088E453; + productRefGroup = 5975A49F156364200088E453 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 5975A49D156364200088E453 /* NSRailsDemo */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 5975A49C156364200088E453 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5975A5671563686F0088E453 /* InputViewController.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 5975A49A156364200088E453 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5975A5261563684C0088E453 /* main.m in Sources */, + 5975A5651563686F0088E453 /* AppDelegate.m in Sources */, + 5975A5661563686F0088E453 /* InputViewController.m in Sources */, + 5975A5681563686F0088E453 /* PostsViewController.m in Sources */, + 5975A5691563686F0088E453 /* ResponsesViewController.m in Sources */, + 5975A56A1563686F0088E453 /* Post.m in Sources */, + 5975A56B1563686F0088E453 /* Response.m in Sources */, + 5975A6BF156374430088E453 /* NSData+Additions.m in Sources */, + 5975A6C0156374430088E453 /* NSObject+Properties.m in Sources */, + 5975A6C1156374430088E453 /* NSString+Inflection.m in Sources */, + 5975A6C2156374430088E453 /* NSObject+SBJson.m in Sources */, + 5975A6C3156374430088E453 /* NSRails+SBJson.m in Sources */, + 5975A6C4156374430088E453 /* SBJsonParser.m in Sources */, + 5975A6C5156374430088E453 /* SBJsonStreamParser.m in Sources */, + 5975A6C6156374430088E453 /* SBJsonStreamParserAccumulator.m in Sources */, + 5975A6C7156374430088E453 /* SBJsonStreamParserAdapter.m in Sources */, + 5975A6C8156374430088E453 /* SBJsonStreamParserState.m in Sources */, + 5975A6C9156374430088E453 /* SBJsonStreamWriter.m in Sources */, + 5975A6CA156374430088E453 /* SBJsonStreamWriterAccumulator.m in Sources */, + 5975A6CB156374430088E453 /* SBJsonStreamWriterState.m in Sources */, + 5975A6CC156374430088E453 /* SBJsonTokeniser.m in Sources */, + 5975A6CD156374430088E453 /* SBJsonUTF8Stream.m in Sources */, + 5975A6CE156374430088E453 /* SBJsonWriter.m in Sources */, + 5975A6CF156374430088E453 /* NSRailsModel.m in Sources */, + 5975A6D0156374430088E453 /* NSRConfig.m in Sources */, + 5975A6D1156374430088E453 /* NSRPropertyCollection.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 5975A4B4156364200088E453 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 5975A4B5156364200088E453 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_ENABLE_OBJC_ARC = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 5.1; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 5975A4B7156364200088E453 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Auxiliary/NSRailsDemo-Prefix.pch"; + INFOPLIST_FILE = "Auxiliary/NSRailsDemo-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 5975A4B8156364200088E453 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Auxiliary/NSRailsDemo-Prefix.pch"; + INFOPLIST_FILE = "Auxiliary/NSRailsDemo-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 5975A498156364200088E453 /* Build configuration list for PBXProject "NSRailsDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5975A4B4156364200088E453 /* Debug */, + 5975A4B5156364200088E453 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 5975A4B6156364200088E453 /* Build configuration list for PBXNativeTarget "NSRailsDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5975A4B7156364200088E453 /* Debug */, + 5975A4B8156364200088E453 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 5975A495156364200088E453 /* Project object */; +} diff --git a/extras/rubymotion/Rakefile b/demos/ios - rubymotion/Rakefile similarity index 80% rename from extras/rubymotion/Rakefile rename to demos/ios - rubymotion/Rakefile index ce825e0..6415176 100644 --- a/extras/rubymotion/Rakefile +++ b/demos/ios - rubymotion/Rakefile @@ -3,8 +3,8 @@ require 'motion/project' Motion::Project::App.setup do |app| # Use `rake config' to see complete project settings. - app.name = 'NSRails Ruby' + app.name = 'NSRails-Ruby' # Add NSRails as a vendor project - app.vendor_project('../../nsrails', :xcode, :target => "NSRails", :headers_dir => 'source') + app.vendor_project('../../nsrails', :xcode, :target => "NSRails", :headers_dir => 'Source') end \ No newline at end of file diff --git a/extras/rubymotion/app/app_delegate.rb b/demos/ios - rubymotion/app/app_delegate.rb similarity index 100% rename from extras/rubymotion/app/app_delegate.rb rename to demos/ios - rubymotion/app/app_delegate.rb diff --git a/extras/rubymotion/app/controllers/input_view_controller.rb b/demos/ios - rubymotion/app/controllers/input_view_controller.rb similarity index 100% rename from extras/rubymotion/app/controllers/input_view_controller.rb rename to demos/ios - rubymotion/app/controllers/input_view_controller.rb diff --git a/extras/rubymotion/app/controllers/posts_view_controller.rb b/demos/ios - rubymotion/app/controllers/posts_view_controller.rb similarity index 100% rename from extras/rubymotion/app/controllers/posts_view_controller.rb rename to demos/ios - rubymotion/app/controllers/posts_view_controller.rb diff --git a/extras/rubymotion/app/controllers/responses_view_controller.rb b/demos/ios - rubymotion/app/controllers/responses_view_controller.rb similarity index 98% rename from extras/rubymotion/app/controllers/responses_view_controller.rb rename to demos/ios - rubymotion/app/controllers/responses_view_controller.rb index 2f6ecab..40ab795 100644 --- a/extras/rubymotion/app/controllers/responses_view_controller.rb +++ b/demos/ios - rubymotion/app/controllers/responses_view_controller.rb @@ -81,7 +81,7 @@ def tableView(tableView, titleForFooterInSection:section) if @post.responses.empty? str += "There are no responses to this post.\nSay something!\n\n" end - str += "Posted on #{@post.created_at.strftime("%m/%d/%y")}" + str += "(Posted on #{@post.created_at.strftime("%m/%d/%y")})" end def tableView(tableView, titleForHeaderInSection:section) diff --git a/extras/rubymotion/app/models/post.rb b/demos/ios - rubymotion/app/models/post.rb similarity index 100% rename from extras/rubymotion/app/models/post.rb rename to demos/ios - rubymotion/app/models/post.rb diff --git a/extras/rubymotion/app/models/response.rb b/demos/ios - rubymotion/app/models/response.rb similarity index 100% rename from extras/rubymotion/app/models/response.rb rename to demos/ios - rubymotion/app/models/response.rb diff --git a/extras/rubymotion/readme.md b/demos/ios - rubymotion/readme.md similarity index 100% rename from extras/rubymotion/readme.md rename to demos/ios - rubymotion/readme.md diff --git a/extras/nsrails.com/app/mailers/.gitkeep b/demos/ios - rubymotion/resources/.gitkeep similarity index 100% rename from extras/nsrails.com/app/mailers/.gitkeep rename to demos/ios - rubymotion/resources/.gitkeep diff --git a/extras/rubymotion/spec/main_spec.rb b/demos/ios - rubymotion/spec/main_spec.rb similarity index 100% rename from extras/rubymotion/spec/main_spec.rb rename to demos/ios - rubymotion/spec/main_spec.rb diff --git a/extras/nsrails.com/.gitignore b/demos/nsrails.com/.gitignore similarity index 100% rename from extras/nsrails.com/.gitignore rename to demos/nsrails.com/.gitignore diff --git a/extras/nsrails.com/Gemfile b/demos/nsrails.com/Gemfile similarity index 100% rename from extras/nsrails.com/Gemfile rename to demos/nsrails.com/Gemfile diff --git a/extras/nsrails.com/Gemfile.lock b/demos/nsrails.com/Gemfile.lock similarity index 100% rename from extras/nsrails.com/Gemfile.lock rename to demos/nsrails.com/Gemfile.lock diff --git a/extras/nsrails.com/README b/demos/nsrails.com/README similarity index 100% rename from extras/nsrails.com/README rename to demos/nsrails.com/README diff --git a/extras/nsrails.com/Rakefile b/demos/nsrails.com/Rakefile similarity index 100% rename from extras/nsrails.com/Rakefile rename to demos/nsrails.com/Rakefile diff --git a/extras/nsrails.com/app/assets/images/bg.png b/demos/nsrails.com/app/assets/images/bg.png similarity index 100% rename from extras/nsrails.com/app/assets/images/bg.png rename to demos/nsrails.com/app/assets/images/bg.png diff --git a/extras/nsrails.com/app/assets/images/browser.png b/demos/nsrails.com/app/assets/images/browser.png similarity index 100% rename from extras/nsrails.com/app/assets/images/browser.png rename to demos/nsrails.com/app/assets/images/browser.png diff --git a/extras/nsrails.com/app/assets/images/forkme.png b/demos/nsrails.com/app/assets/images/forkme.png similarity index 100% rename from extras/nsrails.com/app/assets/images/forkme.png rename to demos/nsrails.com/app/assets/images/forkme.png diff --git a/extras/nsrails.com/app/assets/images/notes.png b/demos/nsrails.com/app/assets/images/notes.png similarity index 100% rename from extras/nsrails.com/app/assets/images/notes.png rename to demos/nsrails.com/app/assets/images/notes.png diff --git a/extras/nsrails.com/app/assets/images/railsphone.png b/demos/nsrails.com/app/assets/images/railsphone.png similarity index 100% rename from extras/nsrails.com/app/assets/images/railsphone.png rename to demos/nsrails.com/app/assets/images/railsphone.png diff --git a/extras/nsrails.com/app/assets/images/settings.png b/demos/nsrails.com/app/assets/images/settings.png similarity index 100% rename from extras/nsrails.com/app/assets/images/settings.png rename to demos/nsrails.com/app/assets/images/settings.png diff --git a/extras/nsrails.com/app/assets/javascripts/application.js b/demos/nsrails.com/app/assets/javascripts/application.js similarity index 100% rename from extras/nsrails.com/app/assets/javascripts/application.js rename to demos/nsrails.com/app/assets/javascripts/application.js diff --git a/extras/nsrails.com/app/assets/javascripts/home.js.coffee b/demos/nsrails.com/app/assets/javascripts/home.js.coffee similarity index 100% rename from extras/nsrails.com/app/assets/javascripts/home.js.coffee rename to demos/nsrails.com/app/assets/javascripts/home.js.coffee diff --git a/extras/nsrails.com/app/assets/javascripts/posts.js.coffee b/demos/nsrails.com/app/assets/javascripts/posts.js.coffee similarity index 100% rename from extras/nsrails.com/app/assets/javascripts/posts.js.coffee rename to demos/nsrails.com/app/assets/javascripts/posts.js.coffee diff --git a/extras/nsrails.com/app/assets/javascripts/responses.js.coffee b/demos/nsrails.com/app/assets/javascripts/responses.js.coffee similarity index 100% rename from extras/nsrails.com/app/assets/javascripts/responses.js.coffee rename to demos/nsrails.com/app/assets/javascripts/responses.js.coffee diff --git a/extras/nsrails.com/app/assets/stylesheets/application.css b/demos/nsrails.com/app/assets/stylesheets/application.css similarity index 100% rename from extras/nsrails.com/app/assets/stylesheets/application.css rename to demos/nsrails.com/app/assets/stylesheets/application.css diff --git a/extras/nsrails.com/app/assets/stylesheets/home.css.scss b/demos/nsrails.com/app/assets/stylesheets/home.css.scss similarity index 100% rename from extras/nsrails.com/app/assets/stylesheets/home.css.scss rename to demos/nsrails.com/app/assets/stylesheets/home.css.scss diff --git a/extras/nsrails.com/app/assets/stylesheets/posts.css.scss b/demos/nsrails.com/app/assets/stylesheets/posts.css.scss similarity index 100% rename from extras/nsrails.com/app/assets/stylesheets/posts.css.scss rename to demos/nsrails.com/app/assets/stylesheets/posts.css.scss diff --git a/extras/nsrails.com/app/assets/stylesheets/responses.css.scss b/demos/nsrails.com/app/assets/stylesheets/responses.css.scss similarity index 100% rename from extras/nsrails.com/app/assets/stylesheets/responses.css.scss rename to demos/nsrails.com/app/assets/stylesheets/responses.css.scss diff --git a/extras/nsrails.com/app/controllers/application_controller.rb b/demos/nsrails.com/app/controllers/application_controller.rb similarity index 100% rename from extras/nsrails.com/app/controllers/application_controller.rb rename to demos/nsrails.com/app/controllers/application_controller.rb diff --git a/extras/nsrails.com/app/controllers/home_controller.rb b/demos/nsrails.com/app/controllers/home_controller.rb similarity index 100% rename from extras/nsrails.com/app/controllers/home_controller.rb rename to demos/nsrails.com/app/controllers/home_controller.rb diff --git a/extras/nsrails.com/app/controllers/posts_controller.rb b/demos/nsrails.com/app/controllers/posts_controller.rb similarity index 100% rename from extras/nsrails.com/app/controllers/posts_controller.rb rename to demos/nsrails.com/app/controllers/posts_controller.rb diff --git a/extras/nsrails.com/app/controllers/responses_controller.rb b/demos/nsrails.com/app/controllers/responses_controller.rb similarity index 100% rename from extras/nsrails.com/app/controllers/responses_controller.rb rename to demos/nsrails.com/app/controllers/responses_controller.rb diff --git a/extras/nsrails.com/app/helpers/application_helper.rb b/demos/nsrails.com/app/helpers/application_helper.rb similarity index 100% rename from extras/nsrails.com/app/helpers/application_helper.rb rename to demos/nsrails.com/app/helpers/application_helper.rb diff --git a/extras/nsrails.com/app/helpers/home_helper.rb b/demos/nsrails.com/app/helpers/home_helper.rb similarity index 100% rename from extras/nsrails.com/app/helpers/home_helper.rb rename to demos/nsrails.com/app/helpers/home_helper.rb diff --git a/extras/nsrails.com/app/helpers/posts_helper.rb b/demos/nsrails.com/app/helpers/posts_helper.rb similarity index 100% rename from extras/nsrails.com/app/helpers/posts_helper.rb rename to demos/nsrails.com/app/helpers/posts_helper.rb diff --git a/extras/nsrails.com/app/helpers/responses_helper.rb b/demos/nsrails.com/app/helpers/responses_helper.rb similarity index 100% rename from extras/nsrails.com/app/helpers/responses_helper.rb rename to demos/nsrails.com/app/helpers/responses_helper.rb diff --git a/extras/nsrails.com/app/models/.gitkeep b/demos/nsrails.com/app/mailers/.gitkeep similarity index 100% rename from extras/nsrails.com/app/models/.gitkeep rename to demos/nsrails.com/app/mailers/.gitkeep diff --git a/extras/nsrails.com/lib/assets/.gitkeep b/demos/nsrails.com/app/models/.gitkeep similarity index 100% rename from extras/nsrails.com/lib/assets/.gitkeep rename to demos/nsrails.com/app/models/.gitkeep diff --git a/extras/nsrails.com/app/models/post.rb b/demos/nsrails.com/app/models/post.rb similarity index 100% rename from extras/nsrails.com/app/models/post.rb rename to demos/nsrails.com/app/models/post.rb diff --git a/extras/nsrails.com/app/models/response.rb b/demos/nsrails.com/app/models/response.rb similarity index 100% rename from extras/nsrails.com/app/models/response.rb rename to demos/nsrails.com/app/models/response.rb diff --git a/extras/nsrails.com/app/views/home/index.html.haml b/demos/nsrails.com/app/views/home/index.html.haml similarity index 100% rename from extras/nsrails.com/app/views/home/index.html.haml rename to demos/nsrails.com/app/views/home/index.html.haml diff --git a/extras/nsrails.com/app/views/layouts/application.html.haml b/demos/nsrails.com/app/views/layouts/application.html.haml similarity index 100% rename from extras/nsrails.com/app/views/layouts/application.html.haml rename to demos/nsrails.com/app/views/layouts/application.html.haml diff --git a/extras/nsrails.com/config.ru b/demos/nsrails.com/config.ru similarity index 100% rename from extras/nsrails.com/config.ru rename to demos/nsrails.com/config.ru diff --git a/extras/nsrails.com/config/application.rb b/demos/nsrails.com/config/application.rb similarity index 100% rename from extras/nsrails.com/config/application.rb rename to demos/nsrails.com/config/application.rb diff --git a/extras/nsrails.com/config/boot.rb b/demos/nsrails.com/config/boot.rb similarity index 100% rename from extras/nsrails.com/config/boot.rb rename to demos/nsrails.com/config/boot.rb diff --git a/extras/nsrails.com/config/database.yml b/demos/nsrails.com/config/database.yml similarity index 100% rename from extras/nsrails.com/config/database.yml rename to demos/nsrails.com/config/database.yml diff --git a/extras/nsrails.com/config/environment.rb b/demos/nsrails.com/config/environment.rb similarity index 100% rename from extras/nsrails.com/config/environment.rb rename to demos/nsrails.com/config/environment.rb diff --git a/extras/nsrails.com/config/environments/development.rb b/demos/nsrails.com/config/environments/development.rb similarity index 100% rename from extras/nsrails.com/config/environments/development.rb rename to demos/nsrails.com/config/environments/development.rb diff --git a/extras/nsrails.com/config/environments/production.rb b/demos/nsrails.com/config/environments/production.rb similarity index 100% rename from extras/nsrails.com/config/environments/production.rb rename to demos/nsrails.com/config/environments/production.rb diff --git a/extras/nsrails.com/config/environments/test.rb b/demos/nsrails.com/config/environments/test.rb similarity index 100% rename from extras/nsrails.com/config/environments/test.rb rename to demos/nsrails.com/config/environments/test.rb diff --git a/extras/nsrails.com/config/initializers/backtrace_silencers.rb b/demos/nsrails.com/config/initializers/backtrace_silencers.rb similarity index 100% rename from extras/nsrails.com/config/initializers/backtrace_silencers.rb rename to demos/nsrails.com/config/initializers/backtrace_silencers.rb diff --git a/extras/nsrails.com/config/initializers/inflections.rb b/demos/nsrails.com/config/initializers/inflections.rb similarity index 100% rename from extras/nsrails.com/config/initializers/inflections.rb rename to demos/nsrails.com/config/initializers/inflections.rb diff --git a/extras/nsrails.com/config/initializers/mime_types.rb b/demos/nsrails.com/config/initializers/mime_types.rb similarity index 100% rename from extras/nsrails.com/config/initializers/mime_types.rb rename to demos/nsrails.com/config/initializers/mime_types.rb diff --git a/extras/nsrails.com/config/initializers/secret_token.rb b/demos/nsrails.com/config/initializers/secret_token.rb similarity index 100% rename from extras/nsrails.com/config/initializers/secret_token.rb rename to demos/nsrails.com/config/initializers/secret_token.rb diff --git a/extras/nsrails.com/config/initializers/session_store.rb b/demos/nsrails.com/config/initializers/session_store.rb similarity index 100% rename from extras/nsrails.com/config/initializers/session_store.rb rename to demos/nsrails.com/config/initializers/session_store.rb diff --git a/extras/nsrails.com/config/initializers/wrap_parameters.rb b/demos/nsrails.com/config/initializers/wrap_parameters.rb similarity index 100% rename from extras/nsrails.com/config/initializers/wrap_parameters.rb rename to demos/nsrails.com/config/initializers/wrap_parameters.rb diff --git a/extras/nsrails.com/config/locales/en.yml b/demos/nsrails.com/config/locales/en.yml similarity index 100% rename from extras/nsrails.com/config/locales/en.yml rename to demos/nsrails.com/config/locales/en.yml diff --git a/extras/nsrails.com/config/routes.rb b/demos/nsrails.com/config/routes.rb similarity index 100% rename from extras/nsrails.com/config/routes.rb rename to demos/nsrails.com/config/routes.rb diff --git a/extras/nsrails.com/db/migrate/20120221022827_create_posts.rb b/demos/nsrails.com/db/migrate/20120221022827_create_posts.rb similarity index 100% rename from extras/nsrails.com/db/migrate/20120221022827_create_posts.rb rename to demos/nsrails.com/db/migrate/20120221022827_create_posts.rb diff --git a/extras/nsrails.com/db/migrate/20120221031424_create_responses.rb b/demos/nsrails.com/db/migrate/20120221031424_create_responses.rb similarity index 100% rename from extras/nsrails.com/db/migrate/20120221031424_create_responses.rb rename to demos/nsrails.com/db/migrate/20120221031424_create_responses.rb diff --git a/extras/nsrails.com/db/schema.rb b/demos/nsrails.com/db/schema.rb similarity index 100% rename from extras/nsrails.com/db/schema.rb rename to demos/nsrails.com/db/schema.rb diff --git a/extras/nsrails.com/db/seeds.rb b/demos/nsrails.com/db/seeds.rb similarity index 100% rename from extras/nsrails.com/db/seeds.rb rename to demos/nsrails.com/db/seeds.rb diff --git a/extras/nsrails.com/lib/tasks/.gitkeep b/demos/nsrails.com/lib/assets/.gitkeep similarity index 100% rename from extras/nsrails.com/lib/tasks/.gitkeep rename to demos/nsrails.com/lib/assets/.gitkeep diff --git a/extras/nsrails.com/log/.gitkeep b/demos/nsrails.com/lib/tasks/.gitkeep similarity index 100% rename from extras/nsrails.com/log/.gitkeep rename to demos/nsrails.com/lib/tasks/.gitkeep diff --git a/extras/nsrails.com/test/fixtures/.gitkeep b/demos/nsrails.com/log/.gitkeep similarity index 100% rename from extras/nsrails.com/test/fixtures/.gitkeep rename to demos/nsrails.com/log/.gitkeep diff --git a/extras/nsrails.com/public/404.html b/demos/nsrails.com/public/404.html similarity index 100% rename from extras/nsrails.com/public/404.html rename to demos/nsrails.com/public/404.html diff --git a/extras/nsrails.com/public/422.html b/demos/nsrails.com/public/422.html similarity index 100% rename from extras/nsrails.com/public/422.html rename to demos/nsrails.com/public/422.html diff --git a/extras/nsrails.com/public/500.html b/demos/nsrails.com/public/500.html similarity index 100% rename from extras/nsrails.com/public/500.html rename to demos/nsrails.com/public/500.html diff --git a/extras/nsrails.com/public/favicon.ico b/demos/nsrails.com/public/favicon.ico similarity index 100% rename from extras/nsrails.com/public/favicon.ico rename to demos/nsrails.com/public/favicon.ico diff --git a/extras/nsrails.com/public/robots.txt b/demos/nsrails.com/public/robots.txt similarity index 100% rename from extras/nsrails.com/public/robots.txt rename to demos/nsrails.com/public/robots.txt diff --git a/extras/nsrails.com/script/rails b/demos/nsrails.com/script/rails similarity index 100% rename from extras/nsrails.com/script/rails rename to demos/nsrails.com/script/rails diff --git a/extras/nsrails.com/test/functional/.gitkeep b/demos/nsrails.com/test/fixtures/.gitkeep similarity index 100% rename from extras/nsrails.com/test/functional/.gitkeep rename to demos/nsrails.com/test/fixtures/.gitkeep diff --git a/extras/nsrails.com/test/fixtures/posts.yml b/demos/nsrails.com/test/fixtures/posts.yml similarity index 100% rename from extras/nsrails.com/test/fixtures/posts.yml rename to demos/nsrails.com/test/fixtures/posts.yml diff --git a/extras/nsrails.com/test/fixtures/responses.yml b/demos/nsrails.com/test/fixtures/responses.yml similarity index 100% rename from extras/nsrails.com/test/fixtures/responses.yml rename to demos/nsrails.com/test/fixtures/responses.yml diff --git a/extras/nsrails.com/test/integration/.gitkeep b/demos/nsrails.com/test/functional/.gitkeep similarity index 100% rename from extras/nsrails.com/test/integration/.gitkeep rename to demos/nsrails.com/test/functional/.gitkeep diff --git a/extras/nsrails.com/test/functional/home_controller_test.rb b/demos/nsrails.com/test/functional/home_controller_test.rb similarity index 100% rename from extras/nsrails.com/test/functional/home_controller_test.rb rename to demos/nsrails.com/test/functional/home_controller_test.rb diff --git a/extras/nsrails.com/test/functional/posts_controller_test.rb b/demos/nsrails.com/test/functional/posts_controller_test.rb similarity index 100% rename from extras/nsrails.com/test/functional/posts_controller_test.rb rename to demos/nsrails.com/test/functional/posts_controller_test.rb diff --git a/extras/nsrails.com/test/functional/responses_controller_test.rb b/demos/nsrails.com/test/functional/responses_controller_test.rb similarity index 100% rename from extras/nsrails.com/test/functional/responses_controller_test.rb rename to demos/nsrails.com/test/functional/responses_controller_test.rb diff --git a/extras/nsrails.com/test/unit/.gitkeep b/demos/nsrails.com/test/integration/.gitkeep similarity index 100% rename from extras/nsrails.com/test/unit/.gitkeep rename to demos/nsrails.com/test/integration/.gitkeep diff --git a/extras/nsrails.com/test/performance/browsing_test.rb b/demos/nsrails.com/test/performance/browsing_test.rb similarity index 100% rename from extras/nsrails.com/test/performance/browsing_test.rb rename to demos/nsrails.com/test/performance/browsing_test.rb diff --git a/extras/nsrails.com/test/test_helper.rb b/demos/nsrails.com/test/test_helper.rb similarity index 100% rename from extras/nsrails.com/test/test_helper.rb rename to demos/nsrails.com/test/test_helper.rb diff --git a/extras/nsrails.com/vendor/assets/stylesheets/.gitkeep b/demos/nsrails.com/test/unit/.gitkeep similarity index 100% rename from extras/nsrails.com/vendor/assets/stylesheets/.gitkeep rename to demos/nsrails.com/test/unit/.gitkeep diff --git a/extras/nsrails.com/test/unit/helpers/home_helper_test.rb b/demos/nsrails.com/test/unit/helpers/home_helper_test.rb similarity index 100% rename from extras/nsrails.com/test/unit/helpers/home_helper_test.rb rename to demos/nsrails.com/test/unit/helpers/home_helper_test.rb diff --git a/extras/nsrails.com/test/unit/helpers/questions_helper_test.rb b/demos/nsrails.com/test/unit/helpers/questions_helper_test.rb similarity index 100% rename from extras/nsrails.com/test/unit/helpers/questions_helper_test.rb rename to demos/nsrails.com/test/unit/helpers/questions_helper_test.rb diff --git a/extras/nsrails.com/test/unit/helpers/responses_helper_test.rb b/demos/nsrails.com/test/unit/helpers/responses_helper_test.rb similarity index 100% rename from extras/nsrails.com/test/unit/helpers/responses_helper_test.rb rename to demos/nsrails.com/test/unit/helpers/responses_helper_test.rb diff --git a/extras/nsrails.com/test/unit/post_test.rb b/demos/nsrails.com/test/unit/post_test.rb similarity index 100% rename from extras/nsrails.com/test/unit/post_test.rb rename to demos/nsrails.com/test/unit/post_test.rb diff --git a/extras/nsrails.com/test/unit/response_test.rb b/demos/nsrails.com/test/unit/response_test.rb similarity index 100% rename from extras/nsrails.com/test/unit/response_test.rb rename to demos/nsrails.com/test/unit/response_test.rb diff --git a/extras/nsrails.com/vendor/plugins/.gitkeep b/demos/nsrails.com/vendor/assets/stylesheets/.gitkeep similarity index 100% rename from extras/nsrails.com/vendor/plugins/.gitkeep rename to demos/nsrails.com/vendor/assets/stylesheets/.gitkeep diff --git a/extras/rubymotion/resources/.gitkeep b/demos/nsrails.com/vendor/plugins/.gitkeep similarity index 100% rename from extras/rubymotion/resources/.gitkeep rename to demos/nsrails.com/vendor/plugins/.gitkeep diff --git a/extras/docs/com.danhassin.NSRails.docset/Contents/Resources/Documents/Classes/NSRConfig.html b/docs/html/Classes/NSRConfig.html similarity index 99% rename from extras/docs/com.danhassin.NSRails.docset/Contents/Resources/Documents/Classes/NSRConfig.html rename to docs/html/Classes/NSRConfig.html index 1260e6e..c8043ee 100644 --- a/extras/docs/com.danhassin.NSRails.docset/Contents/Resources/Documents/Classes/NSRConfig.html +++ b/docs/html/Classes/NSRConfig.html @@ -1797,7 +1797,7 @@

Declared In