github-markup 3.0.5 → 4.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: ed10cd1dbc1a7163fdf02e5cb7ee8ca2a7b2fca74f740b862c051aee1bc1547b
4
- data.tar.gz: f0bda9286bc09c5409e805d20ac67c5f0d5ea25e41b97e3512526597c439a573
2
+ SHA1:
3
+ metadata.gz: d478e5b0587fafc728039bb362eb59b37e849cac
4
+ data.tar.gz: 6b637a68b21097a1975f5c9c3a152aeee76c80f1
5
5
  SHA512:
6
- metadata.gz: f2b9ce502ae753a9cdc2559803d4e3dc24a578f09de84ff4899a886e3252a4ec89a9fb045f0c69ca2ba440638e552487c7f51ddeb56c32f6a9841fdd52f777aa
7
- data.tar.gz: 2031883234215ba63e23c4f7be7aef7daf8b270ce4ce82a5723caca12a32182beea84046db399ee551e34df72a1bbdd3340407f3c54e1ee13300e3111bf17578
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
@@ -1,6 +1,6 @@
1
1
  module GitHub
2
2
  module Markup
3
- VERSION = '3.0.5'
3
+ VERSION = '4.0.0'
4
4
  Version = VERSION
5
5
  end
6
6
  end
@@ -49,7 +49,7 @@ end
49
49
 
50
50
  command(
51
51
  ::GitHub::Markups::MARKUP_RST,
52
- "python2 -S #{Shellwords.escape(File.dirname(__FILE__))}/commands/rest2html",
52
+ "python3 #{Shellwords.escape(File.dirname(__FILE__))}/commands/rest2html",
53
53
  /re?st(\.txt)?/,
54
54
  ["reStructuredText"],
55
55
  "restructuredtext"
data/script/bootstrap CHANGED
@@ -5,4 +5,4 @@ set -e
5
5
  cd $(dirname "$0")/..
6
6
 
7
7
  bundle install
8
- easy_install docutils
8
+ pip3 install docutils
@@ -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: 3.0.5
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: 2020-11-12 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
224
- signing_key:
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: