Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
aantix committed Nov 30, 2010
1 parent 9caea66 commit 39955c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions README.rdoc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ Now we need to copy over the needed migration :


== Displaying Images == Displaying Images


If you want to display a random image for the term 'dog', do the following. If you want to display a random image for the term 'dog', first add the following to your Rakefile :

Add the following to your Rakefile :
require 'tasks/sex_it_up' require 'tasks/sex_it_up'


Once you have the rake task available, you can issue the following to warm the image cache for a given term : Once you have the rake task available, you can issue the following rake command to warm the image cache for a given term :
rake sex_it_up:cache[<Term>] rake sex_it_up:cache[<Term>]


e.g. : e.g. :
Expand All @@ -35,7 +33,7 @@ If you wanted to replace your boring default user avatars, you could do the foll
user.icon = SexItUp::SexItUpImage.find_all('dog').random.first user.icon = SexItUp::SexItUpImage.find_all('dog').random.first


== Sample Screenshot == Sample Screenshot
![Sample website using SexItUp](http://imgur.com/bmHvj.png) [http://imgur.com/bmHvj.png]


== Copyright == Copyright


Expand Down
2 changes: 1 addition & 1 deletion sex_it_up.gemspec
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|


s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jim Jones"] s.authors = ["Jim Jones"]
s.date = %q{2010-11-29} s.date = %q{2010-11-30}
s.description = %q{SexItUp allows for the easy drop-in of public domain images for site mockups and user avatars.} s.description = %q{SexItUp allows for the easy drop-in of public domain images for site mockups and user avatars.}
s.email = %q{jjones@aantix.com} s.email = %q{jjones@aantix.com}
s.extra_rdoc_files = [ s.extra_rdoc_files = [
Expand Down

0 comments on commit 39955c0

Please sign in to comment.