@@ -3,36 +3,35 @@ We love pull requests. Here's a quick guide:
331 . Fork the repo.
44
552 . Run the tests. We only take pull requests with passing tests, and it's great
6- to know that you have a clean slate: ` bundle && rake `
6+ to know that you have a clean slate: ` bundle && rake `
77
883 . Add a test for your change. Only refactoring and documentation changes
9- require no new tests. If you are adding functionality or fixing a bug, we need
10- a test!
9+ require no new tests. If you are adding functionality or fixing a bug, we need
10+ a test!
1111
12124 . Make the test pass.
1313
14145 . Push to your fork and submit a pull request.
1515
16-
1716At this point you're waiting on us. We like to at least comment on, if not
1817accept, pull requests within three business days (and, typically, one business
1918day). We may suggest some changes or improvements or alternatives.
2019
2120Some things that will increase the chance that your pull request is accepted,
2221taken straight from the Ruby on Rails guide:
2322
24- * Use Rails idioms and helpers
25- * Include tests that fail without your code, and pass with it
26- * Update the documentation, the surrounding one, examples elsewhere, guides,
23+ - Use Rails idioms and helpers
24+ - Include tests that fail without your code, and pass with it
25+ - Update the documentation, the surrounding one, examples elsewhere, guides,
2726 whatever is affected by your contribution
2827
2928Syntax:
3029
31- * Two spaces, no tabs.
32- * No trailing whitespace. Blank lines should not have any space.
33- * Prefer &&/|| over and/or.
34- * MyClass.my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
35- * a = b and not a=b.
36- * Follow the conventions you see used in the source already.
30+ - Two spaces, no tabs.
31+ - No trailing whitespace. Blank lines should not have any space.
32+ - Prefer &&/|| over and/or.
33+ - MyClass.my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
34+ - a = b and not a=b.
35+ - Follow the conventions you see used in the source already.
3736
3837And in case we didn't emphasize it enough: we love tests!
0 commit comments