Skip to content

Commit 2091729

Browse files
author
Jerry Cheung
committed
add contributing guide
1 parent 0b73377 commit 2091729

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

CONTRIBUTING.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Contribution guide
2+
3+
Thank you for using net-ldap. If you'd like to help, keep these guidelines in
4+
mind.
5+
6+
## Submitting a New Issue
7+
8+
If you find a bug, or would like to propose an idea, file a [new issue][issues].
9+
Include as many details as possible:
10+
11+
- Ruby and Rubygem version
12+
- LDAP server version
13+
- Queries, connection information, any other input
14+
- output or error messages
15+
16+
## Sending a Pull Request
17+
18+
[Pull requests][pr] are always welcome!
19+
20+
Check out [the project's issues list][issues] for ideas on what could be improved.
21+
22+
Before sending, please add tests and ensure the test suite passes.
23+
24+
To run the full suite:
25+
26+
`bundle exec rake`
27+
28+
To run a specific test file:
29+
30+
`bundle exec ruby test/test_ldap.rb`
31+
32+
To run a specific test:
33+
34+
`bundle exec ruby test/test_ldap.rb -n test_instrument_bind`
35+
36+
Pull requests will trigger automatic continuous integration builds on
37+
[TravisCI][travis]. To run integration tests locally, see the `test/support`
38+
folder.
39+
40+
## Styleguide
41+
42+
```ruby
43+
# 1.9+ style hashes
44+
{key: "value"}
45+
46+
# Multi-line arguments with `\`
47+
MyClass.new \
48+
foo: 'bar',
49+
baz: 'garply'
50+
```
51+
52+
[issues]: https://github.com/jch/html-pipeline/issues
53+
[pr]: https://help.github.com/articles/using-pull-requests
54+
[travis]: https://travis-ci.org/ruby-ldap/ruby-net-ldap/

0 commit comments

Comments
 (0)