gitlab-markup 1.6.5 → 1.7.0
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.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +10 -8
- data/HISTORY.md +4 -0
- data/lib/github-markup.rb +1 -1
- data/lib/github/commands/rest2html +1 -1
- data/lib/github/markups.rb +1 -1
- data/test/markups/README.rst.html +37 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdeb62002b99c9f02518adeeee9bcfb719b1d9fb7c5d12aae6b56f866d80b103
|
4
|
+
data.tar.gz: b1bc87947bf231e09a32b4f2b38eba1693b8e159d7088fbc0aad28eaecb62540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39417fb4af3315f97816b19a09030f7ce7eae9726237542a571393222aad5e63e654229efa72ac4a3bcedb0914fae7715d8b8887fd26f3bf546301c10a0402ef
|
7
|
+
data.tar.gz: 602eedbd3512fd58cf281116567c6f42360a19c9dfc525eea7d592b3b4cdd416aa22a53131a7a156ee23179bec8ff4c44bd9a2115a11b4c219b3658859d72250
|
data/.gitlab-ci.yml
CHANGED
@@ -3,22 +3,24 @@ variables:
|
|
3
3
|
|
4
4
|
.specs: &specs
|
5
5
|
cache:
|
6
|
+
key: "$CI_JOB_NAME"
|
6
7
|
paths:
|
7
8
|
- vendor/ruby
|
8
9
|
before_script:
|
9
10
|
- apt update
|
10
|
-
- apt install
|
11
|
-
-
|
11
|
+
- apt install python3 python3-pip git build-essential -y
|
12
|
+
- apt remove python -y
|
13
|
+
- pip3 install 'docutils==0.14'
|
12
14
|
- bundle install --jobs $(nproc)
|
13
15
|
script:
|
14
16
|
- bundle exec rake test
|
15
17
|
|
16
|
-
ruby-21:
|
17
|
-
image: ruby:2.1
|
18
|
-
<<: *specs
|
19
|
-
ruby-22:
|
20
|
-
image: ruby:2.2
|
21
|
-
<<: *specs
|
22
18
|
ruby-23:
|
23
19
|
image: ruby:2.3
|
24
20
|
<<: *specs
|
21
|
+
ruby-24:
|
22
|
+
image: ruby:2.4
|
23
|
+
<<: *specs
|
24
|
+
ruby-25:
|
25
|
+
image: ruby:2.5
|
26
|
+
<<: *specs
|
data/HISTORY.md
CHANGED
data/lib/github-markup.rb
CHANGED
data/lib/github/markups.rb
CHANGED
@@ -33,7 +33,7 @@ markup(:asciidoctor, /adoc|asc(iidoc)?/) do |content|
|
|
33
33
|
end
|
34
34
|
|
35
35
|
command(
|
36
|
-
"
|
36
|
+
"python3 #{Shellwords.escape(File.dirname(__FILE__))}/commands/rest2html",
|
37
37
|
/re?st(\.txt)?/,
|
38
38
|
"restructuredtext"
|
39
39
|
)
|
@@ -16,6 +16,43 @@
|
|
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
|
+
<tbody valign="top">
|
22
|
+
<tr>
|
23
|
+
<td>Thing</td>
|
24
|
+
<td>Awesomeness</td>
|
25
|
+
</tr>
|
26
|
+
<tr>
|
27
|
+
<td>Icecream</td>
|
28
|
+
<td>7</td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td>Honey Badgers</td>
|
32
|
+
<td>10.5</td>
|
33
|
+
</tr>
|
34
|
+
<tr>
|
35
|
+
<td>Nickelback</td>
|
36
|
+
<td>-2</td>
|
37
|
+
</tr>
|
38
|
+
<tr>
|
39
|
+
<td>Iron Man</td>
|
40
|
+
<td>10</td>
|
41
|
+
</tr>
|
42
|
+
<tr>
|
43
|
+
<td>Iron Man 2</td>
|
44
|
+
<td>3</td>
|
45
|
+
</tr>
|
46
|
+
<tr>
|
47
|
+
<td>Tabular Data</td>
|
48
|
+
<td>5</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td>Made up ratings</td>
|
52
|
+
<td>11</td>
|
53
|
+
</tr>
|
54
|
+
</tbody>
|
55
|
+
</table>
|
19
56
|
<pre>
|
20
57
|
<code>A block of code</code>
|
21
58
|
</pre>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-markup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Wanstrath
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|