github-markup 3.0.5 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/HISTORY.md +6 -2
- data/lib/github-markup.rb +1 -1
- data/lib/github/markups.rb +1 -1
- data/script/bootstrap +1 -1
- data/test/markups/README.rst.html +41 -0
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d478e5b0587fafc728039bb362eb59b37e849cac
|
4
|
+
data.tar.gz: 6b637a68b21097a1975f5c9c3a152aeee76c80f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f69437f7f93962727c3de22187f26cf9f127c6a994b4d7b6892b2a288d3923ece69fd0e206b899b1c9b7e22cad66ecde884477ea31e0253ebe80184ae7b823c
|
7
|
+
data.tar.gz: 2b4d54324998b79ef4fd8254f0113419a805f8e2a3e8d7fd142b85d876fdc5e2a57ab9847fb5498b5ff1031204a085d054f27711b2b17b834d244d3e58e3595b
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 4.0.0 - 2021-03-31
|
2
|
+
|
3
|
+
* Drop support for Python 2 in RST rendering [#1456](https://github.com/github/markup/pull/1456)
|
4
|
+
|
1
5
|
## 3.0.5 - 2020-11-12
|
2
6
|
|
3
7
|
* Add commonmarker_exts to commonmarker options [#1268](https://github.com/github/markup/pull/1268)
|
@@ -72,8 +76,8 @@
|
|
72
76
|
|
73
77
|
### Added
|
74
78
|
|
75
|
-
* Re-introduce [#537](https://github.com/github/markup/pull/537) to detect language of markup document
|
76
|
-
However `github-linguist` is optional and this gem will fallback to extensions for detection.
|
79
|
+
* Re-introduce [#537](https://github.com/github/markup/pull/537) to detect language of markup document
|
80
|
+
However `github-linguist` is optional and this gem will fallback to extensions for detection.
|
77
81
|
|
78
82
|
[Full changelog](https://github.com/github/markup/compare/v1.4.9...v1.5.0)
|
79
83
|
|
data/lib/github-markup.rb
CHANGED
data/lib/github/markups.rb
CHANGED
@@ -49,7 +49,7 @@ end
|
|
49
49
|
|
50
50
|
command(
|
51
51
|
::GitHub::Markups::MARKUP_RST,
|
52
|
-
"
|
52
|
+
"python3 #{Shellwords.escape(File.dirname(__FILE__))}/commands/rest2html",
|
53
53
|
/re?st(\.txt)?/,
|
54
54
|
["reStructuredText"],
|
55
55
|
"restructuredtext"
|
data/script/bootstrap
CHANGED
@@ -16,6 +16,47 @@
|
|
16
16
|
<li>Somé UTF-8°</li>
|
17
17
|
</ol>
|
18
18
|
<p>The UTF-8 quote character in this table used to cause python to go boom. Now docutils just silently ignores it.</p>
|
19
|
+
<table>
|
20
|
+
Things that are Awesome (on a scale of 1-11)
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
<tbody valign="top">
|
26
|
+
<tr>
|
27
|
+
<td>Thing</td>
|
28
|
+
<td>Awesomeness</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td>Icecream</td>
|
32
|
+
<td>7</td>
|
33
|
+
</tr>
|
34
|
+
<tr>
|
35
|
+
<td>Honey Badgers</td>
|
36
|
+
<td>10.5</td>
|
37
|
+
</tr>
|
38
|
+
<tr>
|
39
|
+
<td>Nickelback</td>
|
40
|
+
<td>-2</td>
|
41
|
+
</tr>
|
42
|
+
<tr>
|
43
|
+
<td>Iron Man</td>
|
44
|
+
<td>10</td>
|
45
|
+
</tr>
|
46
|
+
<tr>
|
47
|
+
<td>Iron Man 2</td>
|
48
|
+
<td>3</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td>Tabular Data</td>
|
52
|
+
<td>5</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td>Made up ratings</td>
|
56
|
+
<td>11</td>
|
57
|
+
</tr>
|
58
|
+
</tbody>
|
59
|
+
</table>
|
19
60
|
<pre>
|
20
61
|
A block of code
|
21
62
|
</pre>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-markup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Wanstrath
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -205,7 +205,7 @@ homepage: https://github.com/github/markup
|
|
205
205
|
licenses:
|
206
206
|
- MIT
|
207
207
|
metadata: {}
|
208
|
-
post_install_message:
|
208
|
+
post_install_message:
|
209
209
|
rdoc_options: []
|
210
210
|
require_paths:
|
211
211
|
- lib
|
@@ -220,8 +220,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
220
|
- !ruby/object:Gem::Version
|
221
221
|
version: '0'
|
222
222
|
requirements: []
|
223
|
-
|
224
|
-
|
223
|
+
rubyforge_project:
|
224
|
+
rubygems_version: 2.6.11
|
225
|
+
signing_key:
|
225
226
|
specification_version: 4
|
226
227
|
summary: The code GitHub uses to render README.markup
|
227
228
|
test_files:
|