gitlab-markup 1.5.0.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/.gitlab-ci.yml +27 -0
  4. data/.kick +26 -0
  5. data/.travis.yml +21 -0
  6. data/CONTRIBUTING.md +49 -0
  7. data/Gemfile +13 -0
  8. data/HISTORY.md +128 -0
  9. data/LICENSE +20 -0
  10. data/README.md +58 -0
  11. data/Rakefile +17 -0
  12. data/bin/github-markup +10 -0
  13. data/gitlab-markup.gemspec +25 -0
  14. data/lib/github-markup.rb +6 -0
  15. data/lib/github/commands/rest2html +200 -0
  16. data/lib/github/markup.rb +55 -0
  17. data/lib/github/markup/command_implementation.rb +71 -0
  18. data/lib/github/markup/gem_implementation.rb +30 -0
  19. data/lib/github/markup/implementation.rb +28 -0
  20. data/lib/github/markup/markdown.rb +60 -0
  21. data/lib/github/markup/rdoc.rb +26 -0
  22. data/lib/github/markups.rb +50 -0
  23. data/script/bootstrap +8 -0
  24. data/script/cibuild +20 -0
  25. data/test/fixtures/fail.sh +3 -0
  26. data/test/markup_test.rb +116 -0
  27. data/test/markups/README.asciidoc +23 -0
  28. data/test/markups/README.asciidoc.html +59 -0
  29. data/test/markups/README.creole +34 -0
  30. data/test/markups/README.creole.html +20 -0
  31. data/test/markups/README.litcoffee +59 -0
  32. data/test/markups/README.litcoffee.html +66 -0
  33. data/test/markups/README.markdown +2 -0
  34. data/test/markups/README.markdown.html +4 -0
  35. data/test/markups/README.mediawiki +30 -0
  36. data/test/markups/README.mediawiki.html +60 -0
  37. data/test/markups/README.noformat +2 -0
  38. data/test/markups/README.noformat.html +2 -0
  39. data/test/markups/README.org +131 -0
  40. data/test/markups/README.org.html +139 -0
  41. data/test/markups/README.pod +88 -0
  42. data/test/markups/README.pod.html +85 -0
  43. data/test/markups/README.rdoc +6 -0
  44. data/test/markups/README.rdoc.html +12 -0
  45. data/test/markups/README.rmd +3 -0
  46. data/test/markups/README.rmd.html +6 -0
  47. data/test/markups/README.rst +79 -0
  48. data/test/markups/README.rst.html +91 -0
  49. data/test/markups/README.rst.txt +21 -0
  50. data/test/markups/README.rst.txt.html +37 -0
  51. data/test/markups/README.textile +2 -0
  52. data/test/markups/README.textile.html +4 -0
  53. data/test/markups/README.toc.rst +30 -0
  54. data/test/markups/README.toc.rst.html +32 -0
  55. data/test/markups/README.txt +2 -0
  56. data/test/markups/README.txt.html +2 -0
  57. metadata +216 -0
@@ -0,0 +1,21 @@
1
+ Header 1
2
+ ========
3
+
4
+ Example text.
5
+
6
+ Header 2
7
+ --------
8
+
9
+ 1. Blah blah ``code`` blah
10
+
11
+ 2. More ``code``, hooray
12
+
13
+ 3. Somé UTF-8°
14
+
15
+ ============== ==========================================================
16
+ Travis http://travis-ci.org/tony/pullv
17
+ Docs http://pullv.rtfd.org
18
+ API http://pullv.readthedocs.org/en/latest/api.html
19
+ Issues https://github.com/tony/pullv/issues
20
+ Source https://github.com/tony/pullv
21
+ ============== ==========================================================
@@ -0,0 +1,37 @@
1
+ <h1>Header 1</h1>
2
+ <p>Example text.</p>
3
+ <a name="header-2"></a>
4
+ <h2>Header 2</h2>
5
+ <ol>
6
+ <li>Blah blah <code>code</code> blah</li>
7
+ <li>More <code>code</code>, hooray</li>
8
+ <li>Somé UTF-8°</li>
9
+ </ol>
10
+ <table>
11
+
12
+
13
+
14
+
15
+ <tbody valign="top">
16
+ <tr>
17
+ <td>Travis</td>
18
+ <td><a href="http://travis-ci.org/tony/pullv">http://travis-ci.org/tony/pullv</a></td>
19
+ </tr>
20
+ <tr>
21
+ <td>Docs</td>
22
+ <td><a href="http://pullv.rtfd.org">http://pullv.rtfd.org</a></td>
23
+ </tr>
24
+ <tr>
25
+ <td>API</td>
26
+ <td><a href="http://pullv.readthedocs.org/en/latest/api.html">http://pullv.readthedocs.org/en/latest/api.html</a></td>
27
+ </tr>
28
+ <tr>
29
+ <td>Issues</td>
30
+ <td><a href="https://github.com/tony/pullv/issues">https://github.com/tony/pullv/issues</a></td>
31
+ </tr>
32
+ <tr>
33
+ <td>Source</td>
34
+ <td><a href="https://github.com/tony/pullv">https://github.com/tony/pullv</a></td>
35
+ </tr>
36
+ </tbody>
37
+ </table>
@@ -0,0 +1,2 @@
1
+ * One
2
+ * Two
@@ -0,0 +1,4 @@
1
+ <ul>
2
+ <li>One</li>
3
+ <li>Two</li>
4
+ </ul>
@@ -0,0 +1,30 @@
1
+ .. contents::
2
+ :backlinks: none
3
+
4
+ .. sectnum::
5
+
6
+ Introduction
7
+ ============
8
+
9
+ What is pycparser?
10
+ ------------------
11
+
12
+ **pycparser** is a parser for the C language, written in pure Python. It is a
13
+ module designed to be easily integrated into applications that need to parse
14
+ C source code.
15
+
16
+ What is it good for?
17
+ --------------------
18
+
19
+ Anything that needs C code to be parsed. The following are some uses for
20
+ **pycparser**, taken from real user reports:
21
+
22
+ * C code obfuscator
23
+ * Front-end for various specialized C compilers
24
+ * Static code checker
25
+ * Automatic unit-test discovery
26
+ * Adding specialized extensions to the C language
27
+
28
+ **pycparser** is unique in the sense that it's written in pure Python - a very
29
+ high level language that's easy to experiment with and tweak. To people familiar
30
+ with Lex and Yacc, **pycparser**'s code will be simple to understand.
@@ -0,0 +1,32 @@
1
+ <div>
2
+ <p>Contents</p>
3
+ <ul>
4
+ <li>
5
+ <a href="#introduction">1   Introduction</a><ul>
6
+ <li><a href="#what-is-pycparser">1.1   What is pycparser?</a></li>
7
+ <li><a href="#what-is-it-good-for">1.2   What is it good for?</a></li>
8
+ </ul>
9
+ </li>
10
+ </ul>
11
+ </div>
12
+ <a name="introduction"></a>
13
+ <h2>1   Introduction</h2>
14
+ <a name="what-is-pycparser"></a>
15
+ <h3>1.1   What is pycparser?</h3>
16
+ <p><strong>pycparser</strong> is a parser for the C language, written in pure Python. It is a
17
+ module designed to be easily integrated into applications that need to parse
18
+ C source code.</p>
19
+ <a name="what-is-it-good-for"></a>
20
+ <h3>1.2   What is it good for?</h3>
21
+ <p>Anything that needs C code to be parsed. The following are some uses for
22
+ <strong>pycparser</strong>, taken from real user reports:</p>
23
+ <ul>
24
+ <li>C code obfuscator</li>
25
+ <li>Front-end for various specialized C compilers</li>
26
+ <li>Static code checker</li>
27
+ <li>Automatic unit-test discovery</li>
28
+ <li>Adding specialized extensions to the C language</li>
29
+ </ul>
30
+ <p><strong>pycparser</strong> is unique in the sense that it's written in pure Python - a very
31
+ high level language that's easy to experiment with and tweak. To people familiar
32
+ with Lex and Yacc, <strong>pycparser</strong>'s code will be simple to understand.</p>
@@ -0,0 +1,2 @@
1
+ * One
2
+ * Two
@@ -0,0 +1,2 @@
1
+ * One
2
+ * Two
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gitlab-markup
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.5.0.pre
5
+ platform: ruby
6
+ authors:
7
+ - Chris Wanstrath
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 5.4.3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 5.4.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: html-pipeline
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sanitize
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.1.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: nokogiri
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.6.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.6.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: nokogiri-diff
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.2.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.2.0
97
+ description: This gem is used by GitHub to render any fancy markup such as Markdown,
98
+ Textile, Org-Mode, etc. Fork it and add your own!
99
+ email: chris@ozmm.org
100
+ executables:
101
+ - github-markup
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - ".gitignore"
106
+ - ".gitlab-ci.yml"
107
+ - ".kick"
108
+ - ".travis.yml"
109
+ - CONTRIBUTING.md
110
+ - Gemfile
111
+ - HISTORY.md
112
+ - LICENSE
113
+ - README.md
114
+ - Rakefile
115
+ - bin/github-markup
116
+ - gitlab-markup.gemspec
117
+ - lib/github-markup.rb
118
+ - lib/github/commands/rest2html
119
+ - lib/github/markup.rb
120
+ - lib/github/markup/command_implementation.rb
121
+ - lib/github/markup/gem_implementation.rb
122
+ - lib/github/markup/implementation.rb
123
+ - lib/github/markup/markdown.rb
124
+ - lib/github/markup/rdoc.rb
125
+ - lib/github/markups.rb
126
+ - script/bootstrap
127
+ - script/cibuild
128
+ - test/fixtures/fail.sh
129
+ - test/markup_test.rb
130
+ - test/markups/README.asciidoc
131
+ - test/markups/README.asciidoc.html
132
+ - test/markups/README.creole
133
+ - test/markups/README.creole.html
134
+ - test/markups/README.litcoffee
135
+ - test/markups/README.litcoffee.html
136
+ - test/markups/README.markdown
137
+ - test/markups/README.markdown.html
138
+ - test/markups/README.mediawiki
139
+ - test/markups/README.mediawiki.html
140
+ - test/markups/README.noformat
141
+ - test/markups/README.noformat.html
142
+ - test/markups/README.org
143
+ - test/markups/README.org.html
144
+ - test/markups/README.pod
145
+ - test/markups/README.pod.html
146
+ - test/markups/README.rdoc
147
+ - test/markups/README.rdoc.html
148
+ - test/markups/README.rmd
149
+ - test/markups/README.rmd.html
150
+ - test/markups/README.rst
151
+ - test/markups/README.rst.html
152
+ - test/markups/README.rst.txt
153
+ - test/markups/README.rst.txt.html
154
+ - test/markups/README.textile
155
+ - test/markups/README.textile.html
156
+ - test/markups/README.toc.rst
157
+ - test/markups/README.toc.rst.html
158
+ - test/markups/README.txt
159
+ - test/markups/README.txt.html
160
+ homepage: https://gitlab.com/gitlab-org/gitlab-markup
161
+ licenses:
162
+ - MIT
163
+ metadata: {}
164
+ post_install_message:
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">"
176
+ - !ruby/object:Gem::Version
177
+ version: 1.3.1
178
+ requirements: []
179
+ rubyforge_project:
180
+ rubygems_version: 2.6.4
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: The code GitHub uses to render README.markup
184
+ test_files:
185
+ - test/fixtures/fail.sh
186
+ - test/markup_test.rb
187
+ - test/markups/README.asciidoc
188
+ - test/markups/README.asciidoc.html
189
+ - test/markups/README.creole
190
+ - test/markups/README.creole.html
191
+ - test/markups/README.litcoffee
192
+ - test/markups/README.litcoffee.html
193
+ - test/markups/README.markdown
194
+ - test/markups/README.markdown.html
195
+ - test/markups/README.mediawiki
196
+ - test/markups/README.mediawiki.html
197
+ - test/markups/README.noformat
198
+ - test/markups/README.noformat.html
199
+ - test/markups/README.org
200
+ - test/markups/README.org.html
201
+ - test/markups/README.pod
202
+ - test/markups/README.pod.html
203
+ - test/markups/README.rdoc
204
+ - test/markups/README.rdoc.html
205
+ - test/markups/README.rmd
206
+ - test/markups/README.rmd.html
207
+ - test/markups/README.rst
208
+ - test/markups/README.rst.html
209
+ - test/markups/README.rst.txt
210
+ - test/markups/README.rst.txt.html
211
+ - test/markups/README.textile
212
+ - test/markups/README.textile.html
213
+ - test/markups/README.toc.rst
214
+ - test/markups/README.toc.rst.html
215
+ - test/markups/README.txt
216
+ - test/markups/README.txt.html