jekyll-fuji_markdown 0.2.0 → 0.2.1
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/Gemfile.lock +9 -9
- data/lib/jekyll/converters/markdown/fuji_markdown.rb +4 -2
- data/lib/jekyll-fuji_markdown/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92c0f069277bc2177bfdffca0be84fcdb5449e4cccc896bb4ff941fbd28d72f5
|
4
|
+
data.tar.gz: 444efb06ad93a8d9825f6eb94809b2390a0e4301187510f672a65e920163687d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5c1065468475085645726d9743a38b483915aa2fa59d07e72d884f95081655809b0617ebc047b1cf4234e1c5fe5bf476c264ef4109d22df76f610d40eec48e6
|
7
|
+
data.tar.gz: 52ab43a2aab7e9c753c49585ddeb1a5080da0170692fcd33524fa3991aea3b46949e00fd35ad0e1be11dba13ab52bf1b6db0cc086f8f15ecfbeb5776e4977c08
|
data/Gemfile.lock
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jekyll-fuji_markdown (0.2.
|
4
|
+
jekyll-fuji_markdown (0.2.1)
|
5
5
|
fuji_markdown (= 0.2.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.4.0)
|
11
|
-
commonmarker (0.
|
11
|
+
commonmarker (0.18.1)
|
12
12
|
ruby-enum (~> 0.5)
|
13
13
|
concurrent-ruby (1.0.5)
|
14
14
|
diff-lcs (1.3)
|
15
15
|
fuji_markdown (0.2.0)
|
16
16
|
commonmarker (~> 0.17)
|
17
|
-
i18n (1.1.
|
17
|
+
i18n (1.1.1)
|
18
18
|
concurrent-ruby (~> 1.0)
|
19
19
|
jaro_winkler (1.5.1)
|
20
|
-
meowcop (1.17.
|
20
|
+
meowcop (1.17.1)
|
21
21
|
rubocop (>= 0.57.0)
|
22
22
|
parallel (1.12.1)
|
23
|
-
parser (2.5.
|
23
|
+
parser (2.5.3.0)
|
24
24
|
ast (~> 2.4.0)
|
25
25
|
powerpack (0.1.2)
|
26
26
|
rainbow (3.0.0)
|
@@ -31,21 +31,21 @@ GEM
|
|
31
31
|
rspec-mocks (~> 3.8.0)
|
32
32
|
rspec-core (3.8.0)
|
33
33
|
rspec-support (~> 3.8.0)
|
34
|
-
rspec-expectations (3.8.
|
34
|
+
rspec-expectations (3.8.2)
|
35
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
36
36
|
rspec-support (~> 3.8.0)
|
37
37
|
rspec-mocks (3.8.0)
|
38
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
39
39
|
rspec-support (~> 3.8.0)
|
40
40
|
rspec-support (3.8.0)
|
41
|
-
rubocop (0.
|
41
|
+
rubocop (0.60.0)
|
42
42
|
jaro_winkler (~> 1.5.1)
|
43
43
|
parallel (~> 1.10)
|
44
44
|
parser (>= 2.5, != 2.5.1.1)
|
45
45
|
powerpack (~> 0.1)
|
46
46
|
rainbow (>= 2.2.2, < 4.0)
|
47
47
|
ruby-progressbar (~> 1.7)
|
48
|
-
unicode-display_width (~> 1.
|
48
|
+
unicode-display_width (~> 1.4.0)
|
49
49
|
ruby-enum (0.7.2)
|
50
50
|
i18n
|
51
51
|
ruby-progressbar (1.10.0)
|
@@ -62,4 +62,4 @@ DEPENDENCIES
|
|
62
62
|
rspec (~> 3.0)
|
63
63
|
|
64
64
|
BUNDLED WITH
|
65
|
-
1.
|
65
|
+
1.17.1
|
@@ -4,11 +4,13 @@ module Jekyll
|
|
4
4
|
module Converters
|
5
5
|
class Markdown
|
6
6
|
class FujiMarkdown
|
7
|
-
def initialize(
|
7
|
+
def initialize(config)
|
8
|
+
@config = config['FujiMarkdown'] || {}
|
8
9
|
end
|
9
10
|
|
10
11
|
def convert(content, parser: ::FujiMarkdown)
|
11
|
-
|
12
|
+
option = @config['output']&.upcase&.to_sym || :HTML
|
13
|
+
parser.render(content, option)
|
12
14
|
end
|
13
15
|
end
|
14
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-fuji_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fuji Nakahara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fuji_markdown
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.7.
|
126
|
+
rubygems_version: 2.7.6
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: FujiMarkdown converter for Jekyll
|