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 (
Matthew (author)
Sat Aug 22 06:15:28 -0700 2009
spread /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Oct 22 09:24:42 -0700 2008 | |
| |
CHANGELOG | Wed Oct 22 09:24:42 -0700 2008 | |
| |
MIT-LICENSE | Mon Oct 27 08:55:46 -0700 2008 | |
| |
README | Sat Nov 08 09:40:08 -0800 2008 | |
| |
Rakefile | Wed Oct 22 09:24:42 -0700 2008 | |
| |
deleted_files | Mon Nov 03 19:04:56 -0800 2008 | |
| |
files/ | Wed Oct 22 13:38:52 -0700 2008 | |
| |
init.rb | Mon Nov 03 19:04:56 -0800 2008 | |
| |
install.rb | Mon Nov 03 19:04:56 -0800 2008 | |
| |
lib/ | Thu Nov 06 13:48:07 -0800 2008 | |
| |
spread.gemspec | Sat Aug 22 06:15:28 -0700 2009 | |
| |
tasks/ | Mon Nov 03 19:04:56 -0800 2008 | |
| |
templates/ | Wed Oct 22 14:26:11 -0700 2008 |
README
= spread
Makes it easy to add tell-a-friend functionality to any Rails app.
== Installation
Install the gem directly:
sudo gem install pelargir-spread --source=http://gems.github.com
Or install the gem in your Rails project as a plugin:
script/plugin install git://github.com/pelargir/spread.git
Or clone the project:
git clone git://github.com/pelargir/spread.git
== Usage
Use spread's view helper to embed a link on the page you want to share:
<%= spread :something %>
Let your controller know you're using spread:
class SomeController < ActionController::Base
spread :something
end
That's all there is to it! (Spread's templates are currently static.
I'm working on making them overrideable so expect that soon.)
== Resources
Repository: http://github.com/pelargir/spread
Blog: http://matthewbass.com
Author: Matthew Bass
Extraction work sponsored by Terralien







