This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Trevor Turk (author)
Fri Sep 11 08:40:58 -0700 2009
tweets /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed May 13 13:11:19 -0700 2009 | |
| |
README | Fri May 29 14:21:22 -0700 2009 | |
| |
Rakefile | Wed May 13 13:11:19 -0700 2009 | |
| |
app/ | Fri May 29 14:47:49 -0700 2009 | |
| |
config/ | Fri Sep 11 08:38:21 -0700 2009 | |
| |
db/ | Wed May 20 15:54:01 -0700 2009 | |
| |
lib/ | Tue May 26 15:25:13 -0700 2009 | |
| |
public/ | Wed May 20 14:16:40 -0700 2009 | |
| |
script/ | Wed May 13 13:11:19 -0700 2009 | |
| |
test/ | Fri Sep 11 08:40:58 -0700 2009 | |
| |
tmp/ | Wed May 13 13:11:19 -0700 2009 |
README
== Tweets Experimental Twitter clone with Postgres and (soon) CouchDB... == Stats $ rake stats 5/29/09 +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Controllers | 25 | 18 | 3 | 2 | 0 | 7 | | Helpers | 2 | 2 | 0 | 0 | 0 | 0 | | Models | 95 | 68 | 4 | 8 | 2 | 6 | | Libraries | 37 | 21 | 0 | 6 | 0 | 1 | | Integration tests | 0 | 0 | 0 | 0 | 0 | 0 | | Functional tests | 31 | 24 | 2 | 0 | 0 | 0 | | Unit tests | 241 | 204 | 4 | 0 | 0 | 0 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 431 | 337 | 13 | 16 | 1 | 19 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 109 Test LOC: 228 Code to Test Ratio: 1:2.1 == Installation cp config/database.example.yml config/database.yml cp config/config.example.yml config/config.yml rake db:create rake db:schema:load script/server fail/whale == NOTES This is simple ActiveRecord implementation of a semi-scalable Twitter-like following/feed system. Postgres work is in master branch now, saved in "pg" branch. Waiting for Zach's work with CouchDB, but might use pg system on Heroku for smaller projects. Zach's fork: http://github.com/zdzolton/tweets/tree/master == TODO when following is created, populate feed for follower with items from followed user when following is destroyed, remove feed items for unfollower that were created by formerly followed user database indexes front end for tweeting, following, unfollowing user login validations a la twitter (alphanumeric, 15 chars or less, etc) h escaping of users/tweets on front end proper user/login system == MIT LICENSE Copyright (c) 2009 Timelines, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.







