qiita-markdown 0.36.0 → 0.40.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/.github/workflows/test.yml +48 -0
- data/CHANGELOG.md +13 -0
- data/lib/qiita/markdown/filters/custom_block.rb +6 -4
- data/lib/qiita/markdown/filters/group_mention.rb +1 -1
- data/lib/qiita/markdown/filters/syntax_highlight.rb +3 -10
- data/lib/qiita/markdown/version.rb +1 -1
- data/lib/qiita/markdown.rb +1 -1
- data/qiita-markdown.gemspec +2 -1
- data/spec/qiita/markdown/processor_spec.rb +52 -34
- data/spec/spec_helper.rb +7 -2
- metadata +69 -13
- data/.travis.yml +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1aef6d79d99a5925a9240aa6de2553ef76ca3059325df9b448a07599c42d40b
|
4
|
+
data.tar.gz: 319006bd5e853597d99c87d089647f9306a5cd1fcd2e2a56763f3fc574e56f69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0622168bf03b042da4d02f74e190efa93842879d9705a227616149f4ce7948e043cc45b2fe8f06ecbad7acf34950c19097acd3eaab9d2136375e3c7cfe1f2f2
|
7
|
+
data.tar.gz: 37728413f92234f2e18d8f76480c7be571e58496303e8256ff9c0debf11d27cad843f750907676756a7ee30bbe43b988193fc96d5099e810fcac580a284749c7
|
@@ -0,0 +1,48 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
8
|
+
workflow_dispatch:
|
9
|
+
|
10
|
+
permissions:
|
11
|
+
contents: read
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
test:
|
15
|
+
strategy:
|
16
|
+
fail-fast: false
|
17
|
+
matrix:
|
18
|
+
os: ['ubuntu-18.04', 'macos-latest']
|
19
|
+
ruby: ['2.2', '2.3', '2.4', '2.5', '2.7']
|
20
|
+
experimental: [false]
|
21
|
+
include:
|
22
|
+
- os: 'ubuntu-18.04'
|
23
|
+
ruby: 'head'
|
24
|
+
experimental: true
|
25
|
+
exclude:
|
26
|
+
- os: 'ubuntu-18.04'
|
27
|
+
ruby: '2.2' # Rugged uses the wrong openssl version on CI and segfaults (similar to https://github.com/libgit2/rugged/issues/718)
|
28
|
+
- os: 'ubuntu-18.04'
|
29
|
+
ruby: '2.3' # Rugged uses the wrong openssl version on CI and segfaults (similar to https://github.com/libgit2/rugged/issues/718)
|
30
|
+
runs-on: ${{ matrix.os }}
|
31
|
+
continue-on-error: ${{ matrix.experimental }}
|
32
|
+
steps:
|
33
|
+
- name: Get branch names
|
34
|
+
id: branch-name
|
35
|
+
uses: tj-actions/branch-names@v4.9
|
36
|
+
- uses: actions/checkout@v2
|
37
|
+
- uses: ruby/setup-ruby@v1
|
38
|
+
with:
|
39
|
+
ruby-version: ${{ matrix.ruby }}
|
40
|
+
bundler-cache: true
|
41
|
+
- name: Test & publish code coverage
|
42
|
+
uses: paambaati/codeclimate-action@v2.7.5
|
43
|
+
env:
|
44
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
45
|
+
GIT_BRANCH: ${{ steps.branch-name.outputs.current_branch }}
|
46
|
+
GIT_COMMIT_SHA: ${{ github.sha }}
|
47
|
+
with:
|
48
|
+
coverageCommand: bundle exec rake
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
## Unreleased
|
2
2
|
|
3
|
+
## 0.40.0
|
4
|
+
- Change ci platform to Github Actions.
|
5
|
+
- Fix regular expressions to detect group id(url_name) for group mention.
|
6
|
+
|
7
|
+
## 0.39.0
|
8
|
+
- Fix an error when custom block type is empty
|
9
|
+
|
10
|
+
## 0.38.0
|
11
|
+
- Change default syntax highlighter from pygments to rouge
|
12
|
+
|
13
|
+
## 0.37.0
|
14
|
+
- Change keyword of notation
|
15
|
+
|
3
16
|
## 0.36.0
|
4
17
|
- Support message notation
|
5
18
|
|
@@ -2,7 +2,7 @@ module Qiita
|
|
2
2
|
module Markdown
|
3
3
|
module Filters
|
4
4
|
class CustomBlock < HTML::Pipeline::Filter
|
5
|
-
ALLOWED_TYPES = %
|
5
|
+
ALLOWED_TYPES = %w[note].freeze
|
6
6
|
|
7
7
|
def call
|
8
8
|
doc.search('div[data-type="customblock"]').each do |div|
|
@@ -18,13 +18,15 @@ module Qiita
|
|
18
18
|
attr_reader :type, :subtype
|
19
19
|
|
20
20
|
# @param text [String, nil]
|
21
|
+
# @note Attribute `type` will be nil if `text` is nil
|
22
|
+
# @note Attribute `subtype` will be nil if `text` does not include white space.
|
21
23
|
def initialize(text)
|
22
24
|
# Discared after the second word.
|
23
|
-
@type, @subtype = text.split(" ")
|
25
|
+
@type, @subtype = text && text.split(" ")
|
24
26
|
end
|
25
27
|
end
|
26
28
|
|
27
|
-
class
|
29
|
+
class Note
|
28
30
|
attr_reader :node, :type
|
29
31
|
|
30
32
|
ALLOWED_TYPES = %w[info warn alert].freeze
|
@@ -39,7 +41,7 @@ module Qiita
|
|
39
41
|
|
40
42
|
def convert
|
41
43
|
node.inner_html = message
|
42
|
-
node["class"] = "
|
44
|
+
node["class"] = "note #{type}"
|
43
45
|
node.children.first.add_previous_sibling(icon) if icon
|
44
46
|
end
|
45
47
|
|
@@ -4,6 +4,7 @@ module Qiita
|
|
4
4
|
class SyntaxHighlight < HTML::Pipeline::Filter
|
5
5
|
DEFAULT_LANGUAGE = "text"
|
6
6
|
DEFAULT_TIMEOUT = Float::INFINITY
|
7
|
+
DEFAULT_OPTION = "html_legacy"
|
7
8
|
|
8
9
|
def call
|
9
10
|
elapsed = 0
|
@@ -79,11 +80,11 @@ module Qiita
|
|
79
80
|
end
|
80
81
|
|
81
82
|
def highlight(language)
|
82
|
-
|
83
|
+
Rouge.highlight(code, language, DEFAULT_OPTION)
|
83
84
|
end
|
84
85
|
|
85
86
|
def highlighted_node
|
86
|
-
if specific_language &&
|
87
|
+
if specific_language && Rouge::Lexer.find(specific_language)
|
87
88
|
begin
|
88
89
|
highlight(specific_language).presence or raise
|
89
90
|
rescue
|
@@ -102,14 +103,6 @@ module Qiita
|
|
102
103
|
Nokogiri::HTML.fragment(%Q[<div class="code-frame" data-lang="#{language}"></div>])
|
103
104
|
end
|
104
105
|
|
105
|
-
def pygments_options
|
106
|
-
@pygments_options ||= begin
|
107
|
-
options = { encoding: "utf-8", stripnl: false }
|
108
|
-
options[:startinline] = true if has_inline_php?
|
109
|
-
options
|
110
|
-
end
|
111
|
-
end
|
112
|
-
|
113
106
|
def specific_language
|
114
107
|
@specific_language || @node["lang"]
|
115
108
|
end
|
data/lib/qiita/markdown.rb
CHANGED
data/qiita-markdown.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency "github-linguist", "~> 4.0"
|
23
23
|
spec.add_dependency "html-pipeline", "~> 2.0"
|
24
24
|
spec.add_dependency "mem"
|
25
|
-
spec.add_dependency "
|
25
|
+
spec.add_dependency "rouge", "3.26.0"
|
26
26
|
spec.add_dependency "greenmat", "3.5.1.2"
|
27
27
|
spec.add_dependency "sanitize"
|
28
28
|
spec.add_dependency "addressable"
|
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_development_dependency "benchmark-ips", "~> 1.2"
|
31
31
|
spec.add_development_dependency "bundler"
|
32
32
|
spec.add_development_dependency "codeclimate-test-reporter", "0.4.4"
|
33
|
+
spec.add_development_dependency "simplecov", "!= 0.18.0", "!= 0.18.1", "!= 0.18.2", "!= 0.18.3", "!= 0.18.4", "!= 0.18.5", "!= 0.19.0", "!= 0.19.1"
|
33
34
|
spec.add_development_dependency "pry"
|
34
35
|
spec.add_development_dependency "rake", "~> 10.0"
|
35
36
|
spec.add_development_dependency "rspec", "~> 3.1"
|
@@ -149,8 +149,8 @@ describe Qiita::Markdown::Processor do
|
|
149
149
|
should eq <<-HTML.strip_heredoc
|
150
150
|
<div class="code-frame" data-lang="ruby">
|
151
151
|
<div class="code-lang"><span class="bold">example.rb</span></div>
|
152
|
-
<div class="highlight"><pre><
|
153
|
-
</pre></div>
|
152
|
+
<div class="highlight"><pre class="codehilite"><code><span class="mi">1</span>
|
153
|
+
</code></pre></div>
|
154
154
|
</div>
|
155
155
|
HTML
|
156
156
|
end
|
@@ -169,8 +169,8 @@ describe Qiita::Markdown::Processor do
|
|
169
169
|
should eq <<-HTML.strip_heredoc
|
170
170
|
<div class="code-frame" data-lang="php">
|
171
171
|
<div class="code-lang"><span class="bold">example.php</span></div>
|
172
|
-
<div class="highlight"><pre><
|
173
|
-
</pre></div>
|
172
|
+
<div class="highlight"><pre class="codehilite"><code><span class="mi">1</span>
|
173
|
+
</code></pre></div>
|
174
174
|
</div>
|
175
175
|
HTML
|
176
176
|
end
|
@@ -187,8 +187,8 @@ describe Qiita::Markdown::Processor do
|
|
187
187
|
|
188
188
|
it "returns code-frame and highlighted pre element" do
|
189
189
|
should eq <<-HTML.strip_heredoc
|
190
|
-
<div class="code-frame" data-lang="ruby"><div class="highlight"><pre><
|
191
|
-
</pre></div></div>
|
190
|
+
<div class="code-frame" data-lang="ruby"><div class="highlight"><pre class="codehilite"><code><span class="mi">1</span>
|
191
|
+
</code></pre></div></div>
|
192
192
|
HTML
|
193
193
|
end
|
194
194
|
end
|
@@ -226,10 +226,10 @@ describe Qiita::Markdown::Processor do
|
|
226
226
|
|
227
227
|
it "does not strip the newlines" do
|
228
228
|
should eq <<-HTML.strip_heredoc
|
229
|
-
<div class="code-frame" data-lang="text"><div class="highlight"><pre><
|
229
|
+
<div class="code-frame" data-lang="text"><div class="highlight"><pre class="codehilite"><code>
|
230
230
|
foo
|
231
231
|
|
232
|
-
</pre></div></div>
|
232
|
+
</code></pre></div></div>
|
233
233
|
HTML
|
234
234
|
end
|
235
235
|
end
|
@@ -311,8 +311,8 @@ describe Qiita::Markdown::Processor do
|
|
311
311
|
should include(<<-HTML.strip_heredoc.rstrip)
|
312
312
|
<div class="code-frame" data-lang="ruby">
|
313
313
|
<div class="code-lang"><span class="bold">@alice</span></div>
|
314
|
-
<div class="highlight"><pre><
|
315
|
-
</pre></div>
|
314
|
+
<div class="highlight"><pre class="codehilite"><code><span class="mi">1</span>
|
315
|
+
</code></pre></div>
|
316
316
|
</div>
|
317
317
|
HTML
|
318
318
|
end
|
@@ -659,9 +659,9 @@ describe Qiita::Markdown::Processor do
|
|
659
659
|
|
660
660
|
it "does not replace checkbox" do
|
661
661
|
should eq <<-HTML.strip_heredoc
|
662
|
-
<div class="code-frame" data-lang="text"><div class="highlight"><pre><
|
662
|
+
<div class="code-frame" data-lang="text"><div class="highlight"><pre class="codehilite"><code>- [ ] a
|
663
663
|
- [x] b
|
664
|
-
</pre></div></div>
|
664
|
+
</code></pre></div></div>
|
665
665
|
HTML
|
666
666
|
end
|
667
667
|
end
|
@@ -768,9 +768,9 @@ describe Qiita::Markdown::Processor do
|
|
768
768
|
|
769
769
|
it "generates only code blocks without footnotes" do
|
770
770
|
should eq <<-HTML.strip_heredoc
|
771
|
-
<div class="code-frame" data-lang="text"><div class="highlight"><pre><
|
771
|
+
<div class="code-frame" data-lang="text"><div class="highlight"><pre class="codehilite"><code>[^1]
|
772
772
|
[^1]: test
|
773
|
-
</pre></div></div>
|
773
|
+
</code></pre></div></div>
|
774
774
|
HTML
|
775
775
|
end
|
776
776
|
end
|
@@ -1067,8 +1067,8 @@ describe Qiita::Markdown::Processor do
|
|
1067
1067
|
expect(subject).to eq <<-HTML.strip_heredoc
|
1068
1068
|
<p><details><summary>Folding sample</summary><div>
|
1069
1069
|
|
1070
|
-
<div class="code-frame" data-lang="rb"><div class="highlight"><pre><
|
1071
|
-
</pre></div></div>
|
1070
|
+
<div class="code-frame" data-lang="rb"><div class="highlight"><pre class="codehilite"><code><span class="nb">puts</span> <span class="s2">"Hello, World"</span>
|
1071
|
+
</code></pre></div></div>
|
1072
1072
|
|
1073
1073
|
<p></p>
|
1074
1074
|
</div></details></p>
|
@@ -1124,8 +1124,8 @@ describe Qiita::Markdown::Processor do
|
|
1124
1124
|
should eq <<-HTML.strip_heredoc
|
1125
1125
|
<div class="code-frame" data-lang="js">
|
1126
1126
|
<div class="code-lang"><span class="bold">test<script>alert(1)</script></span></div>
|
1127
|
-
<div class="highlight"><pre><
|
1128
|
-
</pre></div>
|
1127
|
+
<div class="highlight"><pre class="codehilite"><code><span class="mi">1</span>
|
1128
|
+
</code></pre></div>
|
1129
1129
|
</div>
|
1130
1130
|
HTML
|
1131
1131
|
end
|
@@ -1134,8 +1134,8 @@ describe Qiita::Markdown::Processor do
|
|
1134
1134
|
should eq <<-HTML.strip_heredoc
|
1135
1135
|
<div class="code-frame" data-lang="js">
|
1136
1136
|
<div class="code-lang"><span class="bold">test</span></div>
|
1137
|
-
<div class="highlight"><pre><
|
1138
|
-
</pre></div>
|
1137
|
+
<div class="highlight"><pre class="codehilite"><code><span class="mi">1</span>
|
1138
|
+
</code></pre></div>
|
1139
1139
|
</div>
|
1140
1140
|
HTML
|
1141
1141
|
end
|
@@ -1690,6 +1690,24 @@ describe Qiita::Markdown::Processor do
|
|
1690
1690
|
MARKDOWN
|
1691
1691
|
end
|
1692
1692
|
|
1693
|
+
context "when type is empty" do
|
1694
|
+
if allowed
|
1695
|
+
it "returns simple div element" do
|
1696
|
+
should eq <<-HTML.strip_heredoc
|
1697
|
+
<div data-type="customblock">Some kind of text is here.
|
1698
|
+
</div>
|
1699
|
+
HTML
|
1700
|
+
end
|
1701
|
+
else
|
1702
|
+
it "returns simple div element" do
|
1703
|
+
should eq <<-HTML.strip_heredoc
|
1704
|
+
<div>Some kind of text is here.
|
1705
|
+
</div>
|
1706
|
+
HTML
|
1707
|
+
end
|
1708
|
+
end
|
1709
|
+
end
|
1710
|
+
|
1693
1711
|
context "when type is not allowed" do
|
1694
1712
|
let(:type) { "anytype" }
|
1695
1713
|
|
@@ -1710,23 +1728,23 @@ describe Qiita::Markdown::Processor do
|
|
1710
1728
|
end
|
1711
1729
|
end
|
1712
1730
|
|
1713
|
-
context "when type is
|
1714
|
-
let(:type) { "
|
1731
|
+
context "when type is note" do
|
1732
|
+
let(:type) { "note" }
|
1715
1733
|
|
1716
1734
|
context "when subtype is empty" do
|
1717
1735
|
if allowed
|
1718
|
-
it "returns info
|
1736
|
+
it "returns info note block with class including icon as default type" do
|
1719
1737
|
should eq <<-HTML.strip_heredoc
|
1720
|
-
<div data-type="customblock" data-metadata="
|
1738
|
+
<div data-type="customblock" data-metadata="note" class="note info">
|
1721
1739
|
<span class="fa fa-fw fa-check-circle"></span><p>Some kind of text is here.
|
1722
1740
|
</p>
|
1723
1741
|
</div>
|
1724
1742
|
HTML
|
1725
1743
|
end
|
1726
1744
|
else
|
1727
|
-
it "returns
|
1745
|
+
it "returns note block with class including icon" do
|
1728
1746
|
should eq <<-HTML.strip_heredoc
|
1729
|
-
<div class="
|
1747
|
+
<div class="note info">
|
1730
1748
|
<span class="fa fa-fw fa-check-circle"></span><p>Some kind of text is here.
|
1731
1749
|
</p>
|
1732
1750
|
</div>
|
@@ -1739,18 +1757,18 @@ describe Qiita::Markdown::Processor do
|
|
1739
1757
|
let(:subtype) { "warn" }
|
1740
1758
|
|
1741
1759
|
if allowed
|
1742
|
-
it "returns warning
|
1760
|
+
it "returns warning note block with class including icon" do
|
1743
1761
|
should eq <<-HTML.strip_heredoc
|
1744
|
-
<div data-type="customblock" data-metadata="
|
1762
|
+
<div data-type="customblock" data-metadata="note warn" class="note warn">
|
1745
1763
|
<span class="fa fa-fw fa-exclamation-circle"></span><p>Some kind of text is here.
|
1746
1764
|
</p>
|
1747
1765
|
</div>
|
1748
1766
|
HTML
|
1749
1767
|
end
|
1750
1768
|
else
|
1751
|
-
it "returns
|
1769
|
+
it "returns note block with class including icon" do
|
1752
1770
|
should eq <<-HTML.strip_heredoc
|
1753
|
-
<div class="
|
1771
|
+
<div class="note warn">
|
1754
1772
|
<span class="fa fa-fw fa-exclamation-circle"></span><p>Some kind of text is here.
|
1755
1773
|
</p>
|
1756
1774
|
</div>
|
@@ -1763,18 +1781,18 @@ describe Qiita::Markdown::Processor do
|
|
1763
1781
|
let(:subtype) { "alert" }
|
1764
1782
|
|
1765
1783
|
if allowed
|
1766
|
-
it "returns alerting
|
1784
|
+
it "returns alerting note block with class including icon" do
|
1767
1785
|
should eq <<-HTML.strip_heredoc
|
1768
|
-
<div data-type="customblock" data-metadata="
|
1786
|
+
<div data-type="customblock" data-metadata="note alert" class="note alert">
|
1769
1787
|
<span class="fa fa-fw fa-times-circle"></span><p>Some kind of text is here.
|
1770
1788
|
</p>
|
1771
1789
|
</div>
|
1772
1790
|
HTML
|
1773
1791
|
end
|
1774
1792
|
else
|
1775
|
-
it "returns
|
1793
|
+
it "returns note block with class including icon" do
|
1776
1794
|
should eq <<-HTML.strip_heredoc
|
1777
|
-
<div class="
|
1795
|
+
<div class="note alert">
|
1778
1796
|
<span class="fa fa-fw fa-times-circle"></span><p>Some kind of text is here.
|
1779
1797
|
</p>
|
1780
1798
|
</div>
|
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
if ENV["CI"]
|
2
|
-
|
3
|
-
|
2
|
+
if ENV["GITHUB_ACTIONS"]
|
3
|
+
require "simplecov"
|
4
|
+
SimpleCov.start
|
5
|
+
else
|
6
|
+
require "codeclimate-test-reporter"
|
7
|
+
CodeClimate::TestReporter.start
|
8
|
+
end
|
4
9
|
end
|
5
10
|
|
6
11
|
require "qiita-markdown"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qiita-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gemoji
|
@@ -67,19 +67,19 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rouge
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 3.26.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 3.26.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: greenmat
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,6 +178,62 @@ dependencies:
|
|
178
178
|
- - '='
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 0.4.4
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: simplecov
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "!="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.18.0
|
188
|
+
- - "!="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: 0.18.1
|
191
|
+
- - "!="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 0.18.2
|
194
|
+
- - "!="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: 0.18.3
|
197
|
+
- - "!="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: 0.18.4
|
200
|
+
- - "!="
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: 0.18.5
|
203
|
+
- - "!="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: 0.19.0
|
206
|
+
- - "!="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 0.19.1
|
209
|
+
type: :development
|
210
|
+
prerelease: false
|
211
|
+
version_requirements: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "!="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 0.18.0
|
216
|
+
- - "!="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: 0.18.1
|
219
|
+
- - "!="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 0.18.2
|
222
|
+
- - "!="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: 0.18.3
|
225
|
+
- - "!="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: 0.18.4
|
228
|
+
- - "!="
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 0.18.5
|
231
|
+
- - "!="
|
232
|
+
- !ruby/object:Gem::Version
|
233
|
+
version: 0.19.0
|
234
|
+
- - "!="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.19.1
|
181
237
|
- !ruby/object:Gem::Dependency
|
182
238
|
name: pry
|
183
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,18 +290,18 @@ dependencies:
|
|
234
290
|
- - '='
|
235
291
|
- !ruby/object:Gem::Version
|
236
292
|
version: 0.49.1
|
237
|
-
description:
|
293
|
+
description:
|
238
294
|
email:
|
239
295
|
- r7kamura@gmail.com
|
240
296
|
executables: []
|
241
297
|
extensions: []
|
242
298
|
extra_rdoc_files: []
|
243
299
|
files:
|
300
|
+
- ".github/workflows/test.yml"
|
244
301
|
- ".gitignore"
|
245
302
|
- ".rspec"
|
246
303
|
- ".rubocop.yml"
|
247
304
|
- ".rubocop_todo.yml"
|
248
|
-
- ".travis.yml"
|
249
305
|
- CHANGELOG.md
|
250
306
|
- Gemfile
|
251
307
|
- LICENSE.txt
|
@@ -301,7 +357,7 @@ homepage: https://github.com/increments/qiita-markdown
|
|
301
357
|
licenses:
|
302
358
|
- MIT
|
303
359
|
metadata: {}
|
304
|
-
post_install_message:
|
360
|
+
post_install_message:
|
305
361
|
rdoc_options: []
|
306
362
|
require_paths:
|
307
363
|
- lib
|
@@ -316,8 +372,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
316
372
|
- !ruby/object:Gem::Version
|
317
373
|
version: '0'
|
318
374
|
requirements: []
|
319
|
-
rubygems_version: 3.
|
320
|
-
signing_key:
|
375
|
+
rubygems_version: 3.0.3
|
376
|
+
signing_key:
|
321
377
|
specification_version: 4
|
322
378
|
summary: Qiita-specified markdown processor.
|
323
379
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
addons:
|
3
|
-
apt:
|
4
|
-
packages:
|
5
|
-
- libicu-dev
|
6
|
-
before_install:
|
7
|
-
- gem update bundler
|
8
|
-
language: ruby
|
9
|
-
rvm:
|
10
|
-
- 2.2
|
11
|
-
- 2.3
|
12
|
-
- 2.4
|
13
|
-
env:
|
14
|
-
global:
|
15
|
-
secure: n8eyxYYfxLApgR4YGKqbrOgGlraIyLyoql4K4DvLZV4kqfGf9LLsPdP7Shudqrv5k2h8xIwnJVnwcPZx9YCu5WWYrJd7vmivpU2j52LwFPYRM+GFNcu7TXmzcNSPG8agnc5We9amF5zJY6XSTpzWpxyqfIwEZM75iR6XXuHuLFk=
|
16
|
-
cache: bundler
|