gitlab-markup 1.6.5 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e07aed36b3655b8c4b660d1a3af8ad62031830072d40be6e7db385c9a702cd47
4
- data.tar.gz: d483bff02f7a6921c9cc450fcae62edc029b7dc0733c42b7b0e0353505e2052b
3
+ metadata.gz: bdeb62002b99c9f02518adeeee9bcfb719b1d9fb7c5d12aae6b56f866d80b103
4
+ data.tar.gz: b1bc87947bf231e09a32b4f2b38eba1693b8e159d7088fbc0aad28eaecb62540
5
5
  SHA512:
6
- metadata.gz: 261db14052d06193446fc2c217aedd715b7c42020d8644b96e673e2e7ec40eaa517a268b3cfee57621288364dc8d151891020de55caa21f39f2d3c275b44c161
7
- data.tar.gz: 9e6e442de088ac8a21e04f84c8f4f396156de3520d3299fa257734cd258e98d07884c5e44ff9361d48e7d3db1c69c171b8d761ba07b5082da4b0ba215fcd92b6
6
+ metadata.gz: 39417fb4af3315f97816b19a09030f7ce7eae9726237542a571393222aad5e63e654229efa72ac4a3bcedb0914fae7715d8b8887fd26f3bf546301c10a0402ef
7
+ data.tar.gz: 602eedbd3512fd58cf281116567c6f42360a19c9dfc525eea7d592b3b4cdd416aa22a53131a7a156ee23179bec8ff4c44bd9a2115a11b4c219b3658859d72250
@@ -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 python-pip git build-essential -y
11
- - pip install 'docutils==0.13.1'
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
@@ -1,3 +1,7 @@
1
+ ## 1.7.0 (2019-03-05)
2
+
3
+ * Require Python 3
4
+
1
5
  ## 1.6.5 (2018-10-31)
2
6
 
3
7
  * Renamed executable from `github-markup` to `gitlab-markup`
@@ -1,6 +1,6 @@
1
1
  module GitHub
2
2
  module Markup
3
- VERSION = '1.6.5'
3
+ VERSION = '1.7.0'
4
4
  Version = VERSION
5
5
  end
6
6
  end
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python3
2
2
  """
3
3
  rest2html - A small wrapper file for parsing ReST files at GitHub.
4
4
 
@@ -33,7 +33,7 @@ markup(:asciidoctor, /adoc|asc(iidoc)?/) do |content|
33
33
  end
34
34
 
35
35
  command(
36
- "python2 -S #{Shellwords.escape(File.dirname(__FILE__))}/commands/rest2html",
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.6.5
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: 2018-10-31 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport