This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
/
README_developers.txt
35 lines (17 loc) · 1.68 KB
/
README_developers.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
INSTRUCTIONS FOR DEVELOPERS:
Authorization and Git
All source code for the plugin is managed in a Git master repository. Currently this repository is hosted on GitHub, which is a great site that makes working with, and sharing, Git managed code so much better.
You can browse the master Git repo here:
http://github.com/DocSavage/rails-authorization-plugin/tree/master
Authorization @ GitHub
If you want to learn more about how you can use GitHub to create your own fork of the Authorization repository and use that as the base for your enhancements this excellent article provides a great start:
http://railsontherun.com/2008/3/3/how-to-use-github-and-submit-a-patch
Testing
We request that all patches be fully tested prior to submission and we would like all code changes to be accompanied wherever possible by valid passing tests. You can test the application by downloading our most recent test repository from Git and running the tests as instructed in the README. Please submit a separate patch against the test repo to accompany any plugin change patches.
http://github.com/grempe/rails-authorization-plugin-test/tree/master
Instructions for using the test app are available:
http://github.com/grempe/rails-authorization-plugin-test/tree/master/README
We also welcome any patches that would integrate a plugin testing framework (RSpec) into the plugin itself so we could use the test app only for demo purposes and be able to run the suite of tests directly in the plugin code base.
Submitting Patches
The recommended way to submit patches is to initiate a pull request from a Git fork @ GitHub.
However, we will also accept patches submitted on the Authorization Google Group, or by email.