markdown_views 3.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55a7ec03821992c795ccafbc8b5a3f1a3238f9e4ab1a5943736f965fd86c6a4a
4
- data.tar.gz: 72c7c2e36aef811e85b70408653aad41a5db36ac889833eb8e25d8713d74f836
3
+ metadata.gz: 22fd9dc1ebc13a174e9929445039e9cddcdf90dec5b52b4652e1f3dff8ac9967
4
+ data.tar.gz: 7b8ad429986332b8fc6b01ec388fbf4bbee1daa213d0a6e72947c5b247bd4c53
5
5
  SHA512:
6
- metadata.gz: 825776abcf2dc6683c40e547e8c2bdd108de867aa9b1fa03a1cdb0d46da4eda829b22c591c7ca50269010845018bfba5e1fc4ca306bc1d739cb52fd38f4b3147
7
- data.tar.gz: 69e97ca30cb0228c3b322a414658abdf5c9a3c46f25b887e01ad47a320f63de30cdfa9497e2d55f8c01cdcf3f7cb126e490fc42a982f8ea734e68ed65eca9e7d
6
+ metadata.gz: 7caa7c9240cfd6f774e723baf009f95402c7aa32b6df1b15cad493a5624556ed9c176f8a8cc8f9fb10684c30ab42038a939f9be669bacef0a2b243139c295c2e
7
+ data.tar.gz: 1fa0822da4cb188a490dd70466c0acbfb0efec5ecf5ca848e9438da24010fe7e5392186964ccbf3180feb93ca9b6bf43180cc0ec2f514f656442bd322e2dd00f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- markdown_views (3.2.0)
4
+ markdown_views (3.2.1)
5
5
  commonmarker (>= 1.1, < 3.0)
6
6
  rails (>= 6.1)
7
7
  rouge (~> 4)
@@ -10,29 +10,31 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (8.0.2.1)
14
- actionpack (= 8.0.2.1)
15
- activesupport (= 8.0.2.1)
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.0.2.1)
20
- actionpack (= 8.0.2.1)
21
- activejob (= 8.0.2.1)
22
- activerecord (= 8.0.2.1)
23
- activestorage (= 8.0.2.1)
24
- activesupport (= 8.0.2.1)
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.0.2.1)
27
- actionpack (= 8.0.2.1)
28
- actionview (= 8.0.2.1)
29
- activejob (= 8.0.2.1)
30
- activesupport (= 8.0.2.1)
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.0.2.1)
34
- actionview (= 8.0.2.1)
35
- activesupport (= 8.0.2.1)
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,42 +42,43 @@ GEM
40
42
  rails-dom-testing (~> 2.2)
41
43
  rails-html-sanitizer (~> 1.6)
42
44
  useragent (~> 0.16)
43
- actiontext (8.0.2.1)
44
- actionpack (= 8.0.2.1)
45
- activerecord (= 8.0.2.1)
46
- activestorage (= 8.0.2.1)
47
- activesupport (= 8.0.2.1)
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.0.2.1)
51
- activesupport (= 8.0.2.1)
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.0.2.1)
57
- activesupport (= 8.0.2.1)
59
+ activejob (8.1.1)
60
+ activesupport (= 8.1.1)
58
61
  globalid (>= 0.3.6)
59
- activemodel (8.0.2.1)
60
- activesupport (= 8.0.2.1)
61
- activerecord (8.0.2.1)
62
- activemodel (= 8.0.2.1)
63
- activesupport (= 8.0.2.1)
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.0.2.1)
66
- actionpack (= 8.0.2.1)
67
- activejob (= 8.0.2.1)
68
- activerecord (= 8.0.2.1)
69
- activesupport (= 8.0.2.1)
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.0.2.1)
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)
@@ -83,46 +86,48 @@ GEM
83
86
  uri (>= 0.13.1)
84
87
  ansi (1.5.0)
85
88
  base64 (0.3.0)
86
- benchmark (0.4.1)
87
- bigdecimal (3.2.2)
89
+ bigdecimal (3.3.1)
88
90
  builder (3.3.0)
89
- commonmarker (2.3.2)
90
- rb_sys (~> 0.9)
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 (2.5.3)
96
+ connection_pool (3.0.1)
93
97
  crass (1.0.6)
94
- date (3.4.1)
98
+ date (3.5.0)
95
99
  drb (2.2.3)
96
- erb (5.0.2)
100
+ erb (6.0.0)
97
101
  erubi (1.13.1)
98
- globalid (1.2.1)
102
+ globalid (1.3.0)
99
103
  activesupport (>= 6.1)
100
104
  i18n (1.14.7)
101
105
  concurrent-ruby (~> 1.0)
102
106
  io-console (0.8.1)
103
- irb (1.15.2)
107
+ irb (1.15.3)
104
108
  pp (>= 0.6.0)
105
109
  rdoc (>= 4.0.0)
106
110
  reline (>= 0.4.2)
111
+ json (2.17.1)
107
112
  logger (1.7.0)
108
113
  loofah (2.24.1)
109
114
  crass (~> 1.0.2)
110
115
  nokogiri (>= 1.12.0)
111
- mail (2.8.1)
116
+ mail (2.9.0)
117
+ logger
112
118
  mini_mime (>= 0.1.1)
113
119
  net-imap
114
120
  net-pop
115
121
  net-smtp
116
- marcel (1.0.4)
122
+ marcel (1.1.0)
117
123
  mini_mime (1.1.5)
118
- mini_portile2 (2.8.9)
119
- minitest (5.25.5)
124
+ minitest (5.26.2)
120
125
  minitest-reporters (1.7.1)
121
126
  ansi
122
127
  builder
123
128
  minitest (>= 5.0)
124
129
  ruby-progressbar
125
- net-imap (0.5.9)
130
+ net-imap (0.5.12)
126
131
  date
127
132
  net-protocol
128
133
  net-pop (0.1.2)
@@ -131,39 +136,44 @@ GEM
131
136
  timeout
132
137
  net-smtp (0.5.1)
133
138
  net-protocol
134
- nio4r (2.7.4)
135
- nokogiri (1.18.9)
136
- mini_portile2 (~> 2.8.2)
139
+ nio4r (2.7.5)
140
+ nokogiri (1.18.10-aarch64-linux-gnu)
137
141
  racc (~> 1.4)
138
- pp (0.6.2)
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)
139
149
  prettyprint
140
150
  prettyprint (0.2.0)
141
151
  psych (5.2.6)
142
152
  date
143
153
  stringio
144
154
  racc (1.8.1)
145
- rack (3.2.0)
155
+ rack (3.2.4)
146
156
  rack-session (2.1.1)
147
157
  base64 (>= 0.1.0)
148
158
  rack (>= 3.0.0)
149
159
  rack-test (2.2.0)
150
160
  rack (>= 1.3)
151
- rackup (2.2.1)
161
+ rackup (2.3.1)
152
162
  rack (>= 3)
153
- rails (8.0.2.1)
154
- actioncable (= 8.0.2.1)
155
- actionmailbox (= 8.0.2.1)
156
- actionmailer (= 8.0.2.1)
157
- actionpack (= 8.0.2.1)
158
- actiontext (= 8.0.2.1)
159
- actionview (= 8.0.2.1)
160
- activejob (= 8.0.2.1)
161
- activemodel (= 8.0.2.1)
162
- activerecord (= 8.0.2.1)
163
- activestorage (= 8.0.2.1)
164
- activesupport (= 8.0.2.1)
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)
165
175
  bundler (>= 1.15.0)
166
- railties (= 8.0.2.1)
176
+ railties (= 8.1.1)
167
177
  rails-dom-testing (2.3.0)
168
178
  activesupport (>= 5.0.0)
169
179
  minitest
@@ -171,32 +181,32 @@ GEM
171
181
  rails-html-sanitizer (1.6.2)
172
182
  loofah (~> 2.21)
173
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)
174
- railties (8.0.2.1)
175
- actionpack (= 8.0.2.1)
176
- activesupport (= 8.0.2.1)
184
+ railties (8.1.1)
185
+ actionpack (= 8.1.1)
186
+ activesupport (= 8.1.1)
177
187
  irb (~> 1.13)
178
188
  rackup (>= 1.0.0)
179
189
  rake (>= 12.2)
180
190
  thor (~> 1.0, >= 1.2.2)
191
+ tsort (>= 0.2)
181
192
  zeitwerk (~> 2.6)
182
- rake (13.3.0)
183
- rake-compiler-dock (1.9.1)
184
- rb_sys (0.9.117)
185
- rake-compiler-dock (= 1.9.1)
186
- rdoc (6.14.2)
193
+ rake (13.3.1)
194
+ rdoc (6.16.1)
187
195
  erb
188
196
  psych (>= 4.0.0)
189
- reline (0.6.2)
197
+ tsort
198
+ reline (0.6.3)
190
199
  io-console (~> 0.5)
191
- rouge (4.6.0)
200
+ rouge (4.6.1)
192
201
  ruby-progressbar (1.13.0)
193
202
  securerandom (0.4.1)
194
- stringio (3.1.7)
203
+ stringio (3.1.9)
195
204
  thor (1.4.0)
196
- timeout (0.4.3)
205
+ timeout (0.4.4)
206
+ tsort (0.2.0)
197
207
  tzinfo (2.0.6)
198
208
  concurrent-ruby (~> 1.0)
199
- uri (1.0.3)
209
+ uri (1.1.1)
200
210
  useragent (0.16.11)
201
211
  websocket-driver (0.8.0)
202
212
  base64
@@ -205,7 +215,10 @@ GEM
205
215
  zeitwerk (2.7.3)
206
216
 
207
217
  PLATFORMS
208
- ruby
218
+ aarch64-linux
219
+ arm64-darwin
220
+ x86_64-darwin
221
+ x86_64-linux
209
222
 
210
223
  DEPENDENCIES
211
224
  markdown_views!
@@ -1,3 +1,3 @@
1
1
  module MarkdownViews
2
- VERSION = '3.2.0'
2
+ VERSION = '3.2.1'
3
3
  end
@@ -18,7 +18,7 @@ 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 = '~> 3.1'
21
+ spec.required_ruby_version = '>= 3.1'
22
22
 
23
23
  spec.add_dependency 'commonmarker', '>= 1.1', '< 3.0'
24
24
  spec.add_dependency 'rails', '>= 6.1'
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,8 +26,10 @@ class ConfigTest < Minitest::Test
25
26
  spoiler: false,
26
27
  greentext: false,
27
28
  subscript: false,
29
+ subtext: false,
28
30
  alerts: false,
29
31
  cjk_friendly_emphasis: true,
32
+ highlight: false,
30
33
  }
31
34
  assert_equal expected, processed
32
35
  end
@@ -34,10 +37,11 @@ class ConfigTest < Minitest::Test
34
37
  def test_parsing_opts
35
38
  processed = Commonmarker::Config.process_options(parse: MarkdownViews.parsing_opts)[:parse]
36
39
  expected = {
37
- smart: true,
38
- default_info_string: '',
39
- relaxed_tasklist_matching: false,
40
- relaxed_autolinks: false,
40
+ smart: true,
41
+ default_info_string: '',
42
+ relaxed_tasklist_matching: false,
43
+ relaxed_autolinks: false,
44
+ leave_footnote_definitions: false,
41
45
  }
42
46
  assert_equal expected, processed
43
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_views
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
@@ -153,7 +153,7 @@ require_paths:
153
153
  - lib
154
154
  required_ruby_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - "~>"
156
+ - - ">="
157
157
  - !ruby/object:Gem::Version
158
158
  version: '3.1'
159
159
  required_rubygems_version: !ruby/object:Gem::Requirement