File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Contributing
2
+
3
+ Thanks for using and improving ` HTML::Pipeline ` !
4
+
5
+ - [ Submitting a New Issue] ( #submitting-a-new-issue )
6
+ - [ Sending a Pull Request] ( #sending-a-pull-request )
7
+
8
+ ## Submitting a New Issue
9
+
10
+ If there's an idea you'd like to propose, or a design change, feel free to file a new issue.
11
+
12
+ If you have an implementation question or believe you've found a bug, please provide as many details as possible:
13
+
14
+ - Input document
15
+ - Output HTML document
16
+ - the exact ` HTML::Pipeline ` code you are using
17
+ - output of the following from your project
18
+
19
+ ```
20
+ ruby -v
21
+ bundle exec nokogiri -v
22
+ ```
23
+
24
+ ## Sending a Pull Request
25
+
26
+ [ Pull requests] [ pr ] are always welcome!
27
+
28
+ Check out [ the project's issues list] [ issues ] for ideas on what could be improved.
29
+
30
+ Before sending, please add tests and ensure the test suite passes.
31
+
32
+ ### Running the Tests
33
+
34
+ To run the full suite:
35
+
36
+ ` bundle exec rake `
37
+
38
+ To run a specific test file:
39
+
40
+ ` bundle exec ruby -Itest test/html/pipeline_test.rb `
41
+
42
+ To run a specific test:
43
+
44
+ ` bundle exec ruby -Itest test/html/pipeline/markdown_filter_test.rb -n test_disabling_gfm `
45
+
46
+ To run the full suite with all [ supported rubies] [ travisyaml ] in bash:
47
+
48
+ ``` bash
49
+ rubies=(ree-1.8.7-2011.03 1.9.2-p290 1.9.3-p429 2.0.0-p247)
50
+ for r in ${rubies[*]}
51
+ do
52
+ rbenv local $r # switch to your version manager of choice
53
+ bundle install
54
+ bundle exec rake
55
+ done
56
+ ```
57
+
58
+ [ issues ] : https://github.com/jch/html-pipeline/issues
59
+ [ pr ] : https://help.github.com/articles/using-pull-requests
60
+ [ travisyaml ] : https://github.com/jch/html-pipeline/blob/master/.travis.yml
You can’t perform that action at this time.
0 commit comments