markdown_views 3.1.0 → 3.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 +118 -97
- data/LICENSE.txt +1 -1
- data/lib/markdown_views/config.rb +1 -0
- data/lib/markdown_views/version.rb +1 -1
- data/markdown_views.gemspec +2 -2
- data/test/config_test.rb +11 -4
- metadata +4 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22fd9dc1ebc13a174e9929445039e9cddcdf90dec5b52b4652e1f3dff8ac9967
|
|
4
|
+
data.tar.gz: 7b8ad429986332b8fc6b01ec388fbf4bbee1daa213d0a6e72947c5b247bd4c53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7caa7c9240cfd6f774e723baf009f95402c7aa32b6df1b15cad493a5624556ed9c176f8a8cc8f9fb10684c30ab42038a939f9be669bacef0a2b243139c295c2e
|
|
7
|
+
data.tar.gz: 1fa0822da4cb188a490dd70466c0acbfb0efec5ecf5ca848e9438da24010fe7e5392186964ccbf3180feb93ca9b6bf43180cc0ec2f514f656442bd322e2dd00f
|
data/Gemfile.lock
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
markdown_views (3.1
|
|
4
|
+
markdown_views (3.2.1)
|
|
5
5
|
commonmarker (>= 1.1, < 3.0)
|
|
6
|
-
rails (>= 6.1
|
|
6
|
+
rails (>= 6.1)
|
|
7
7
|
rouge (~> 4)
|
|
8
8
|
securerandom
|
|
9
9
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
action_text-trix (2.1.15)
|
|
14
|
+
railties
|
|
15
|
+
actioncable (8.1.1)
|
|
16
|
+
actionpack (= 8.1.1)
|
|
17
|
+
activesupport (= 8.1.1)
|
|
16
18
|
nio4r (~> 2.0)
|
|
17
19
|
websocket-driver (>= 0.6.1)
|
|
18
20
|
zeitwerk (~> 2.6)
|
|
19
|
-
actionmailbox (8.
|
|
20
|
-
actionpack (= 8.
|
|
21
|
-
activejob (= 8.
|
|
22
|
-
activerecord (= 8.
|
|
23
|
-
activestorage (= 8.
|
|
24
|
-
activesupport (= 8.
|
|
21
|
+
actionmailbox (8.1.1)
|
|
22
|
+
actionpack (= 8.1.1)
|
|
23
|
+
activejob (= 8.1.1)
|
|
24
|
+
activerecord (= 8.1.1)
|
|
25
|
+
activestorage (= 8.1.1)
|
|
26
|
+
activesupport (= 8.1.1)
|
|
25
27
|
mail (>= 2.8.0)
|
|
26
|
-
actionmailer (8.
|
|
27
|
-
actionpack (= 8.
|
|
28
|
-
actionview (= 8.
|
|
29
|
-
activejob (= 8.
|
|
30
|
-
activesupport (= 8.
|
|
28
|
+
actionmailer (8.1.1)
|
|
29
|
+
actionpack (= 8.1.1)
|
|
30
|
+
actionview (= 8.1.1)
|
|
31
|
+
activejob (= 8.1.1)
|
|
32
|
+
activesupport (= 8.1.1)
|
|
31
33
|
mail (>= 2.8.0)
|
|
32
34
|
rails-dom-testing (~> 2.2)
|
|
33
|
-
actionpack (8.
|
|
34
|
-
actionview (= 8.
|
|
35
|
-
activesupport (= 8.
|
|
35
|
+
actionpack (8.1.1)
|
|
36
|
+
actionview (= 8.1.1)
|
|
37
|
+
activesupport (= 8.1.1)
|
|
36
38
|
nokogiri (>= 1.8.5)
|
|
37
39
|
rack (>= 2.2.4)
|
|
38
40
|
rack-session (>= 1.0.1)
|
|
@@ -40,164 +42,183 @@ GEM
|
|
|
40
42
|
rails-dom-testing (~> 2.2)
|
|
41
43
|
rails-html-sanitizer (~> 1.6)
|
|
42
44
|
useragent (~> 0.16)
|
|
43
|
-
actiontext (8.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
actiontext (8.1.1)
|
|
46
|
+
action_text-trix (~> 2.1.15)
|
|
47
|
+
actionpack (= 8.1.1)
|
|
48
|
+
activerecord (= 8.1.1)
|
|
49
|
+
activestorage (= 8.1.1)
|
|
50
|
+
activesupport (= 8.1.1)
|
|
48
51
|
globalid (>= 0.6.0)
|
|
49
52
|
nokogiri (>= 1.8.5)
|
|
50
|
-
actionview (8.
|
|
51
|
-
activesupport (= 8.
|
|
53
|
+
actionview (8.1.1)
|
|
54
|
+
activesupport (= 8.1.1)
|
|
52
55
|
builder (~> 3.1)
|
|
53
56
|
erubi (~> 1.11)
|
|
54
57
|
rails-dom-testing (~> 2.2)
|
|
55
58
|
rails-html-sanitizer (~> 1.6)
|
|
56
|
-
activejob (8.
|
|
57
|
-
activesupport (= 8.
|
|
59
|
+
activejob (8.1.1)
|
|
60
|
+
activesupport (= 8.1.1)
|
|
58
61
|
globalid (>= 0.3.6)
|
|
59
|
-
activemodel (8.
|
|
60
|
-
activesupport (= 8.
|
|
61
|
-
activerecord (8.
|
|
62
|
-
activemodel (= 8.
|
|
63
|
-
activesupport (= 8.
|
|
62
|
+
activemodel (8.1.1)
|
|
63
|
+
activesupport (= 8.1.1)
|
|
64
|
+
activerecord (8.1.1)
|
|
65
|
+
activemodel (= 8.1.1)
|
|
66
|
+
activesupport (= 8.1.1)
|
|
64
67
|
timeout (>= 0.4.0)
|
|
65
|
-
activestorage (8.
|
|
66
|
-
actionpack (= 8.
|
|
67
|
-
activejob (= 8.
|
|
68
|
-
activerecord (= 8.
|
|
69
|
-
activesupport (= 8.
|
|
68
|
+
activestorage (8.1.1)
|
|
69
|
+
actionpack (= 8.1.1)
|
|
70
|
+
activejob (= 8.1.1)
|
|
71
|
+
activerecord (= 8.1.1)
|
|
72
|
+
activesupport (= 8.1.1)
|
|
70
73
|
marcel (~> 1.0)
|
|
71
|
-
activesupport (8.
|
|
74
|
+
activesupport (8.1.1)
|
|
72
75
|
base64
|
|
73
|
-
benchmark (>= 0.3)
|
|
74
76
|
bigdecimal
|
|
75
77
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
76
78
|
connection_pool (>= 2.2.5)
|
|
77
79
|
drb
|
|
78
80
|
i18n (>= 1.6, < 2)
|
|
81
|
+
json
|
|
79
82
|
logger (>= 1.4.2)
|
|
80
83
|
minitest (>= 5.1)
|
|
81
84
|
securerandom (>= 0.3)
|
|
82
85
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
83
86
|
uri (>= 0.13.1)
|
|
84
87
|
ansi (1.5.0)
|
|
85
|
-
base64 (0.
|
|
86
|
-
|
|
87
|
-
bigdecimal (3.1.9)
|
|
88
|
+
base64 (0.3.0)
|
|
89
|
+
bigdecimal (3.3.1)
|
|
88
90
|
builder (3.3.0)
|
|
89
|
-
commonmarker (2.0
|
|
90
|
-
|
|
91
|
+
commonmarker (2.6.0-aarch64-linux)
|
|
92
|
+
commonmarker (2.6.0-arm64-darwin)
|
|
93
|
+
commonmarker (2.6.0-x86_64-darwin)
|
|
94
|
+
commonmarker (2.6.0-x86_64-linux)
|
|
91
95
|
concurrent-ruby (1.3.5)
|
|
92
|
-
connection_pool (
|
|
96
|
+
connection_pool (3.0.1)
|
|
93
97
|
crass (1.0.6)
|
|
94
|
-
date (3.
|
|
95
|
-
drb (2.2.
|
|
98
|
+
date (3.5.0)
|
|
99
|
+
drb (2.2.3)
|
|
100
|
+
erb (6.0.0)
|
|
96
101
|
erubi (1.13.1)
|
|
97
|
-
globalid (1.
|
|
102
|
+
globalid (1.3.0)
|
|
98
103
|
activesupport (>= 6.1)
|
|
99
|
-
i18n (1.14.
|
|
104
|
+
i18n (1.14.7)
|
|
100
105
|
concurrent-ruby (~> 1.0)
|
|
101
|
-
io-console (0.8.
|
|
102
|
-
irb (1.
|
|
106
|
+
io-console (0.8.1)
|
|
107
|
+
irb (1.15.3)
|
|
108
|
+
pp (>= 0.6.0)
|
|
103
109
|
rdoc (>= 4.0.0)
|
|
104
110
|
reline (>= 0.4.2)
|
|
105
|
-
|
|
106
|
-
|
|
111
|
+
json (2.17.1)
|
|
112
|
+
logger (1.7.0)
|
|
113
|
+
loofah (2.24.1)
|
|
107
114
|
crass (~> 1.0.2)
|
|
108
115
|
nokogiri (>= 1.12.0)
|
|
109
|
-
mail (2.
|
|
116
|
+
mail (2.9.0)
|
|
117
|
+
logger
|
|
110
118
|
mini_mime (>= 0.1.1)
|
|
111
119
|
net-imap
|
|
112
120
|
net-pop
|
|
113
121
|
net-smtp
|
|
114
|
-
marcel (1.0
|
|
122
|
+
marcel (1.1.0)
|
|
115
123
|
mini_mime (1.1.5)
|
|
116
|
-
|
|
117
|
-
minitest (5.25.4)
|
|
124
|
+
minitest (5.26.2)
|
|
118
125
|
minitest-reporters (1.7.1)
|
|
119
126
|
ansi
|
|
120
127
|
builder
|
|
121
128
|
minitest (>= 5.0)
|
|
122
129
|
ruby-progressbar
|
|
123
|
-
net-imap (0.5.
|
|
130
|
+
net-imap (0.5.12)
|
|
124
131
|
date
|
|
125
132
|
net-protocol
|
|
126
133
|
net-pop (0.1.2)
|
|
127
134
|
net-protocol
|
|
128
135
|
net-protocol (0.2.2)
|
|
129
136
|
timeout
|
|
130
|
-
net-smtp (0.5.
|
|
137
|
+
net-smtp (0.5.1)
|
|
131
138
|
net-protocol
|
|
132
|
-
nio4r (2.7.
|
|
133
|
-
nokogiri (1.18.
|
|
134
|
-
mini_portile2 (~> 2.8.2)
|
|
139
|
+
nio4r (2.7.5)
|
|
140
|
+
nokogiri (1.18.10-aarch64-linux-gnu)
|
|
135
141
|
racc (~> 1.4)
|
|
136
|
-
|
|
142
|
+
nokogiri (1.18.10-arm64-darwin)
|
|
143
|
+
racc (~> 1.4)
|
|
144
|
+
nokogiri (1.18.10-x86_64-darwin)
|
|
145
|
+
racc (~> 1.4)
|
|
146
|
+
nokogiri (1.18.10-x86_64-linux-gnu)
|
|
147
|
+
racc (~> 1.4)
|
|
148
|
+
pp (0.6.3)
|
|
149
|
+
prettyprint
|
|
150
|
+
prettyprint (0.2.0)
|
|
151
|
+
psych (5.2.6)
|
|
137
152
|
date
|
|
138
153
|
stringio
|
|
139
154
|
racc (1.8.1)
|
|
140
|
-
rack (3.
|
|
141
|
-
rack-session (2.1.
|
|
155
|
+
rack (3.2.4)
|
|
156
|
+
rack-session (2.1.1)
|
|
142
157
|
base64 (>= 0.1.0)
|
|
143
158
|
rack (>= 3.0.0)
|
|
144
159
|
rack-test (2.2.0)
|
|
145
160
|
rack (>= 1.3)
|
|
146
|
-
rackup (2.
|
|
161
|
+
rackup (2.3.1)
|
|
147
162
|
rack (>= 3)
|
|
148
|
-
rails (8.
|
|
149
|
-
actioncable (= 8.
|
|
150
|
-
actionmailbox (= 8.
|
|
151
|
-
actionmailer (= 8.
|
|
152
|
-
actionpack (= 8.
|
|
153
|
-
actiontext (= 8.
|
|
154
|
-
actionview (= 8.
|
|
155
|
-
activejob (= 8.
|
|
156
|
-
activemodel (= 8.
|
|
157
|
-
activerecord (= 8.
|
|
158
|
-
activestorage (= 8.
|
|
159
|
-
activesupport (= 8.
|
|
163
|
+
rails (8.1.1)
|
|
164
|
+
actioncable (= 8.1.1)
|
|
165
|
+
actionmailbox (= 8.1.1)
|
|
166
|
+
actionmailer (= 8.1.1)
|
|
167
|
+
actionpack (= 8.1.1)
|
|
168
|
+
actiontext (= 8.1.1)
|
|
169
|
+
actionview (= 8.1.1)
|
|
170
|
+
activejob (= 8.1.1)
|
|
171
|
+
activemodel (= 8.1.1)
|
|
172
|
+
activerecord (= 8.1.1)
|
|
173
|
+
activestorage (= 8.1.1)
|
|
174
|
+
activesupport (= 8.1.1)
|
|
160
175
|
bundler (>= 1.15.0)
|
|
161
|
-
railties (= 8.
|
|
162
|
-
rails-dom-testing (2.
|
|
176
|
+
railties (= 8.1.1)
|
|
177
|
+
rails-dom-testing (2.3.0)
|
|
163
178
|
activesupport (>= 5.0.0)
|
|
164
179
|
minitest
|
|
165
180
|
nokogiri (>= 1.6)
|
|
166
181
|
rails-html-sanitizer (1.6.2)
|
|
167
182
|
loofah (~> 2.21)
|
|
168
183
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
169
|
-
railties (8.
|
|
170
|
-
actionpack (= 8.
|
|
171
|
-
activesupport (= 8.
|
|
184
|
+
railties (8.1.1)
|
|
185
|
+
actionpack (= 8.1.1)
|
|
186
|
+
activesupport (= 8.1.1)
|
|
172
187
|
irb (~> 1.13)
|
|
173
188
|
rackup (>= 1.0.0)
|
|
174
189
|
rake (>= 12.2)
|
|
175
190
|
thor (~> 1.0, >= 1.2.2)
|
|
191
|
+
tsort (>= 0.2)
|
|
176
192
|
zeitwerk (~> 2.6)
|
|
177
|
-
rake (13.
|
|
178
|
-
|
|
179
|
-
|
|
193
|
+
rake (13.3.1)
|
|
194
|
+
rdoc (6.16.1)
|
|
195
|
+
erb
|
|
180
196
|
psych (>= 4.0.0)
|
|
181
|
-
|
|
197
|
+
tsort
|
|
198
|
+
reline (0.6.3)
|
|
182
199
|
io-console (~> 0.5)
|
|
183
|
-
rouge (4.
|
|
200
|
+
rouge (4.6.1)
|
|
184
201
|
ruby-progressbar (1.13.0)
|
|
185
202
|
securerandom (0.4.1)
|
|
186
|
-
stringio (3.1.
|
|
187
|
-
thor (1.
|
|
188
|
-
timeout (0.4.
|
|
203
|
+
stringio (3.1.9)
|
|
204
|
+
thor (1.4.0)
|
|
205
|
+
timeout (0.4.4)
|
|
206
|
+
tsort (0.2.0)
|
|
189
207
|
tzinfo (2.0.6)
|
|
190
208
|
concurrent-ruby (~> 1.0)
|
|
191
|
-
uri (1.
|
|
209
|
+
uri (1.1.1)
|
|
192
210
|
useragent (0.16.11)
|
|
193
|
-
websocket-driver (0.
|
|
211
|
+
websocket-driver (0.8.0)
|
|
194
212
|
base64
|
|
195
213
|
websocket-extensions (>= 0.1.0)
|
|
196
214
|
websocket-extensions (0.1.5)
|
|
197
|
-
zeitwerk (2.7.
|
|
215
|
+
zeitwerk (2.7.3)
|
|
198
216
|
|
|
199
217
|
PLATFORMS
|
|
200
|
-
|
|
218
|
+
aarch64-linux
|
|
219
|
+
arm64-darwin
|
|
220
|
+
x86_64-darwin
|
|
221
|
+
x86_64-linux
|
|
201
222
|
|
|
202
223
|
DEPENDENCIES
|
|
203
224
|
markdown_views!
|
|
@@ -205,4 +226,4 @@ DEPENDENCIES
|
|
|
205
226
|
rake
|
|
206
227
|
|
|
207
228
|
BUNDLED WITH
|
|
208
|
-
2.
|
|
229
|
+
2.6.9
|
data/LICENSE.txt
CHANGED
data/markdown_views.gemspec
CHANGED
|
@@ -18,10 +18,10 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
19
|
spec.require_paths = ["lib"]
|
|
20
20
|
|
|
21
|
-
spec.required_ruby_version = '
|
|
21
|
+
spec.required_ruby_version = '>= 3.1'
|
|
22
22
|
|
|
23
23
|
spec.add_dependency 'commonmarker', '>= 1.1', '< 3.0'
|
|
24
|
-
spec.add_dependency 'rails', '>= 6.1'
|
|
24
|
+
spec.add_dependency 'rails', '>= 6.1'
|
|
25
25
|
spec.add_dependency 'rouge', '~> 4'
|
|
26
26
|
spec.add_dependency 'securerandom'
|
|
27
27
|
|
data/test/config_test.rb
CHANGED
|
@@ -13,6 +13,7 @@ class ConfigTest < Minitest::Test
|
|
|
13
13
|
superscript: false,
|
|
14
14
|
# header_ids: '',
|
|
15
15
|
footnotes: false,
|
|
16
|
+
inline_footnotes: false,
|
|
16
17
|
description_lists: false,
|
|
17
18
|
front_matter_delimiter: '',
|
|
18
19
|
multiline_block_quotes: false,
|
|
@@ -25,6 +26,10 @@ class ConfigTest < Minitest::Test
|
|
|
25
26
|
spoiler: false,
|
|
26
27
|
greentext: false,
|
|
27
28
|
subscript: false,
|
|
29
|
+
subtext: false,
|
|
30
|
+
alerts: false,
|
|
31
|
+
cjk_friendly_emphasis: true,
|
|
32
|
+
highlight: false,
|
|
28
33
|
}
|
|
29
34
|
assert_equal expected, processed
|
|
30
35
|
end
|
|
@@ -32,10 +37,11 @@ class ConfigTest < Minitest::Test
|
|
|
32
37
|
def test_parsing_opts
|
|
33
38
|
processed = Commonmarker::Config.process_options(parse: MarkdownViews.parsing_opts)[:parse]
|
|
34
39
|
expected = {
|
|
35
|
-
smart:
|
|
36
|
-
default_info_string:
|
|
37
|
-
relaxed_tasklist_matching:
|
|
38
|
-
relaxed_autolinks:
|
|
40
|
+
smart: true,
|
|
41
|
+
default_info_string: '',
|
|
42
|
+
relaxed_tasklist_matching: false,
|
|
43
|
+
relaxed_autolinks: false,
|
|
44
|
+
leave_footnote_definitions: false,
|
|
39
45
|
}
|
|
40
46
|
assert_equal expected, processed
|
|
41
47
|
end
|
|
@@ -63,6 +69,7 @@ class ConfigTest < Minitest::Test
|
|
|
63
69
|
ignore_empty_links: false,
|
|
64
70
|
gfm_quirks: false,
|
|
65
71
|
prefer_fenced: false,
|
|
72
|
+
tasklist_classes: false,
|
|
66
73
|
}
|
|
67
74
|
assert_equal expected, processed
|
|
68
75
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: markdown_views
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1
|
|
4
|
+
version: 3.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thomas morgan
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: commonmarker
|
|
@@ -37,9 +36,6 @@ dependencies:
|
|
|
37
36
|
- - ">="
|
|
38
37
|
- !ruby/object:Gem::Version
|
|
39
38
|
version: '6.1'
|
|
40
|
-
- - "<"
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
version: '8.1'
|
|
43
39
|
type: :runtime
|
|
44
40
|
prerelease: false
|
|
45
41
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -47,9 +43,6 @@ dependencies:
|
|
|
47
43
|
- - ">="
|
|
48
44
|
- !ruby/object:Gem::Version
|
|
49
45
|
version: '6.1'
|
|
50
|
-
- - "<"
|
|
51
|
-
- !ruby/object:Gem::Version
|
|
52
|
-
version: '8.1'
|
|
53
46
|
- !ruby/object:Gem::Dependency
|
|
54
47
|
name: rouge
|
|
55
48
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -155,13 +148,12 @@ homepage: https://github.com/zarqman/markdown_views
|
|
|
155
148
|
licenses:
|
|
156
149
|
- MIT
|
|
157
150
|
metadata: {}
|
|
158
|
-
post_install_message:
|
|
159
151
|
rdoc_options: []
|
|
160
152
|
require_paths:
|
|
161
153
|
- lib
|
|
162
154
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
163
155
|
requirements:
|
|
164
|
-
- - "
|
|
156
|
+
- - ">="
|
|
165
157
|
- !ruby/object:Gem::Version
|
|
166
158
|
version: '3.1'
|
|
167
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
@@ -170,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
170
162
|
- !ruby/object:Gem::Version
|
|
171
163
|
version: '0'
|
|
172
164
|
requirements: []
|
|
173
|
-
rubygems_version: 3.
|
|
174
|
-
signing_key:
|
|
165
|
+
rubygems_version: 3.6.9
|
|
175
166
|
specification_version: 4
|
|
176
167
|
summary: Add .md template handler to Rails.
|
|
177
168
|
test_files:
|