Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

standard license language

  • Loading branch information...
commit 10807cba9f264480abe87dabcd7791484aacf9ae 1 parent 9f42d93
Matt Jankowski mjankowski authored

Showing 1 changed file with 52 additions and 33 deletions. Show diff stats Hide diff stats

  1. +52 33 README.textile → README.md
85 README.textile → README.md
Source Rendered
@@ -5,64 +5,72 @@ A collection of useful rake tasks.
5 5
6 6 To use in a Rails app:
7 7
8   - $ ruby script/plugin install -f git://github.com/thoughtbot/limerick_rake.git
  8 + ruby script/plugin install -f git://github.com/thoughtbot/limerick_rake.git
9 9
10   -h2. Database
  10 +Database
  11 +--------
11 12
12 13 Read tasks/database.rake for details for configuration.
13 14
14   -* rake db:bootstrap:load - Load initial database fixtures (in db/bootstrap/*.yml) into the current environment's database. Load specific fixtures using FIXTURES=x,y
15   -* rake db:indexes:missing - Prints a list of unindexed foreign keys so you can index them.
16   -* rake db:shell - Launches the database shell using the values defined in config/database.yml.
17   -* rake db:validate_models - Run model validations on all model records in database.
  15 + rake db:bootstrap:load # Load initial database fixtures (in db/bootstrap/*.yml) into the current environment's database. Load specific fixtures using FIXTURES=x,y
  16 + rake db:indexes:missing # Prints a list of unindexed foreign keys so you can index them.
  17 + rake db:shell # Launches the database shell using the values defined in config/database.yml.
  18 + rake db:validate_models # Run model validations on all model records in database.
18 19
19   -h2. Git
  20 +Git
  21 +---
20 22
21   -* rake git:push:staging - Merge a branch into the origin/staging branch.
22   -* rake git:push:production - Merge the staging branch into origin/production for launch.
23   -* rake git:diff:staging - Show the difference between current branch and origin/staging.
24   -* rake git:diff:production - Show the difference between origin/staging and origin/production.
25   -* rake git:pull:suspenders - Pull updates from suspenders, the thoughtbot rails template.
26   -* rake git:branch:production - Branch origin/production into BRANCH locally.
  23 + rake git:push:staging # Merge a branch into the origin/staging branch.
  24 + rake git:push:production # Merge the staging branch into origin/production for launch.
  25 + rake git:diff:staging # Show the difference between current branch and origin/staging.
  26 + rake git:diff:production # Show the difference between origin/staging and origin/production.
  27 + rake git:pull:suspenders # Pull updates from suspenders, the thoughtbot rails template.
  28 + rake git:branch:production #Branch origin/production into BRANCH locally.
27 29
28   -h2. Backup
  30 +Backup
  31 +------
29 32
30   -* rake backup:db - Backup the current database. Timestamped file is created as :rails_root/../db-name-timestamp.sql
31   -* rake backup:assets - Backup all assets under public/system. File is created as :rails_root/../system.tgz
  33 + rake backup:db # Backup the current database. Timestamped file is created as :rails_root/../db-name-timestamp.sql
  34 + rake backup:assets # Backup all assets under public/system. File is created as :rails_root/../system.tgz
32 35
33   -h2. Haml & Sass
  36 +Haml & Sass
  37 +-----------
34 38
35   -* rake sass:all_css2sass - Convert all CSS files in public/stylesheets to Sass.
36   -* rake sass:all_sass2css - Convert all Sass files to CSS.
37   -* rake haml:all_html2haml - Convert all HTML files to Haml.
  39 + rake sass:all_css2sass # Convert all CSS files in public/stylesheets to Sass.
  40 + rake sass:all_sass2css # Convert all Sass files to CSS.
  41 + rake haml:all_html2haml # Convert all HTML files to Haml.
38 42
39   -h2. Rails 2+
  43 +Rails 2+
  44 +--------
40 45
41   -* rake rails_two:rename_views - Renames all .rhtml views to .html.erb, .rjs to .js.rjs, .rxml to .xml.builder and .haml to .html.haml.
  46 + rake rails_two:rename_views # Renames all .rhtml views to .html.erb, .rjs to .js.rjs, .rxml to .xml.builder and .haml to .html.haml.
42 47
43   -h2. Subversion
  48 +Subversion
  49 +----------
44 50
45   -* rake svn:add - Adds all files with an svn status flag of '?'
46   -* rake svn:delete - Deletes all files with an svn status flag of '!'
47   -* rake svn:log - Writes the log file to doc/svn_log.txt
48   -* rake svn:update\_svn\_ignore - Updates svn:ignore from .svnignore
  51 + rake svn:add # Adds all files with an svn status flag of '?'
  52 + rake svn:delete # Deletes all files with an svn status flag of '!'
  53 + rake svn:log # Writes the log file to doc/svn_log.txt
  54 + rake svn:update\_svn\_ignore # Updates svn:ignore from .svnignore
49 55
50   -h2. Test Coverage
  56 +Test Coverage
  57 +-------------
51 58
52 59 Install rcov from http://github.com/mergulhao/rcov
53 60
54   -* rake test:coverage - Uses rcov to provide reports about test coverage of your application.
  61 + rake test:coverage # Uses rcov to provide reports about test coverage of your application.
55 62
56   -h2. Mass Assignment
  63 +Mass Assignment
  64 +---------------
57 65
58 66 From "mhartl":http://github.com/mhartl/find_mass_assignment
59 67
60   -* rake find_mass_assignment
  68 + rake find_mass_assignment
61 69
62 70 The Limerick Rake
63 71 =================
64 72
65   -Traditional Irish song. "YouTube":http://www.youtube.com/v/e8moLHIW8xw
  73 +Traditional Irish song. [YouTube](http://www.youtube.com/v/e8moLHIW8xw)
66 74
67 75 I am a young fellow that's easy and bold,
68 76 In Castletown conners I'm very well known.
@@ -134,7 +142,18 @@ Traditional Irish song. "YouTube":http://www.youtube.com/v/e8moLHIW8xw
134 142 And their sons and their daughters will offer their prayer,
135 143 To the Lord for the soul of their father.
136 144
  145 +Credits
  146 +-------
  147 +
  148 +![thoughtbot](http://thoughtbot.com/images/tm/logo.png)
  149 +
  150 +Limerick Rake is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)
  151 +
  152 +Thank you to all [the contributors](https://github.com/thoughtbot/limerick_rake/contributors)!
  153 +
  154 +The names and logos for thoughtbot are trademarks of thoughtbot, inc.
  155 +
137 156 License
138 157 -------
139 158
140   -MIT License, under the same terms as Ruby.
  159 +Limerick Rake is Copyright © 2008-2011 thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.

0 comments on commit 10807cb

Please sign in to comment.
Something went wrong with that request. Please try again.