markdown_views 3.1.0 → 3.2.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
2
  SHA256:
3
- metadata.gz: 4bfc0f4474969a1bca917f425c0679cafea811519da5a5eff4739b9b82d24e10
4
- data.tar.gz: ffa60b28850283d6c9a81311c1b96fa429dc8ff23989124cbdd3a074688e7528
3
+ metadata.gz: 55a7ec03821992c795ccafbc8b5a3f1a3238f9e4ab1a5943736f965fd86c6a4a
4
+ data.tar.gz: 72c7c2e36aef811e85b70408653aad41a5db36ac889833eb8e25d8713d74f836
5
5
  SHA512:
6
- metadata.gz: f81b58690564e04a796200bff60a320a5f33c4efeadfdd8b713a53a7072e33040829a3753b3048d86ddfcdb79ef4589ed9bfbe51d8f7dc581808b155b44af563
7
- data.tar.gz: 59ceeed4dcec3f1a99c4ce512693385fda0a5deee6c4af82d5fdb5c4850d8a9a027ae648a8e41ead568a33fbbd4eba0d89a7e6e31a9ec6c2ddc47ff7cdbf6d36
6
+ metadata.gz: 825776abcf2dc6683c40e547e8c2bdd108de867aa9b1fa03a1cdb0d46da4eda829b22c591c7ca50269010845018bfba5e1fc4ca306bc1d739cb52fd38f4b3147
7
+ data.tar.gz: 69e97ca30cb0228c3b322a414658abdf5c9a3c46f25b887e01ad47a320f63de30cdfa9497e2d55f8c01cdcf3f7cb126e490fc42a982f8ea734e68ed65eca9e7d
data/Gemfile.lock CHANGED
@@ -1,38 +1,38 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- markdown_views (3.1.0)
4
+ markdown_views (3.2.0)
5
5
  commonmarker (>= 1.1, < 3.0)
6
- rails (>= 6.1, < 8.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
- actioncable (8.0.1)
14
- actionpack (= 8.0.1)
15
- activesupport (= 8.0.1)
13
+ actioncable (8.0.2.1)
14
+ actionpack (= 8.0.2.1)
15
+ activesupport (= 8.0.2.1)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
18
  zeitwerk (~> 2.6)
19
- actionmailbox (8.0.1)
20
- actionpack (= 8.0.1)
21
- activejob (= 8.0.1)
22
- activerecord (= 8.0.1)
23
- activestorage (= 8.0.1)
24
- activesupport (= 8.0.1)
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)
25
25
  mail (>= 2.8.0)
26
- actionmailer (8.0.1)
27
- actionpack (= 8.0.1)
28
- actionview (= 8.0.1)
29
- activejob (= 8.0.1)
30
- activesupport (= 8.0.1)
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)
31
31
  mail (>= 2.8.0)
32
32
  rails-dom-testing (~> 2.2)
33
- actionpack (8.0.1)
34
- actionview (= 8.0.1)
35
- activesupport (= 8.0.1)
33
+ actionpack (8.0.2.1)
34
+ actionview (= 8.0.2.1)
35
+ activesupport (= 8.0.2.1)
36
36
  nokogiri (>= 1.8.5)
37
37
  rack (>= 2.2.4)
38
38
  rack-session (>= 1.0.1)
@@ -40,35 +40,35 @@ GEM
40
40
  rails-dom-testing (~> 2.2)
41
41
  rails-html-sanitizer (~> 1.6)
42
42
  useragent (~> 0.16)
43
- actiontext (8.0.1)
44
- actionpack (= 8.0.1)
45
- activerecord (= 8.0.1)
46
- activestorage (= 8.0.1)
47
- activesupport (= 8.0.1)
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)
48
48
  globalid (>= 0.6.0)
49
49
  nokogiri (>= 1.8.5)
50
- actionview (8.0.1)
51
- activesupport (= 8.0.1)
50
+ actionview (8.0.2.1)
51
+ activesupport (= 8.0.2.1)
52
52
  builder (~> 3.1)
53
53
  erubi (~> 1.11)
54
54
  rails-dom-testing (~> 2.2)
55
55
  rails-html-sanitizer (~> 1.6)
56
- activejob (8.0.1)
57
- activesupport (= 8.0.1)
56
+ activejob (8.0.2.1)
57
+ activesupport (= 8.0.2.1)
58
58
  globalid (>= 0.3.6)
59
- activemodel (8.0.1)
60
- activesupport (= 8.0.1)
61
- activerecord (8.0.1)
62
- activemodel (= 8.0.1)
63
- activesupport (= 8.0.1)
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)
64
64
  timeout (>= 0.4.0)
65
- activestorage (8.0.1)
66
- actionpack (= 8.0.1)
67
- activejob (= 8.0.1)
68
- activerecord (= 8.0.1)
69
- activesupport (= 8.0.1)
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)
70
70
  marcel (~> 1.0)
71
- activesupport (8.0.1)
71
+ activesupport (8.0.2.1)
72
72
  base64
73
73
  benchmark (>= 0.3)
74
74
  bigdecimal
@@ -82,28 +82,30 @@ GEM
82
82
  tzinfo (~> 2.0, >= 2.0.5)
83
83
  uri (>= 0.13.1)
84
84
  ansi (1.5.0)
85
- base64 (0.2.0)
86
- benchmark (0.4.0)
87
- bigdecimal (3.1.9)
85
+ base64 (0.3.0)
86
+ benchmark (0.4.1)
87
+ bigdecimal (3.2.2)
88
88
  builder (3.3.0)
89
- commonmarker (2.0.2.1)
89
+ commonmarker (2.3.2)
90
90
  rb_sys (~> 0.9)
91
91
  concurrent-ruby (1.3.5)
92
- connection_pool (2.5.0)
92
+ connection_pool (2.5.3)
93
93
  crass (1.0.6)
94
94
  date (3.4.1)
95
- drb (2.2.1)
95
+ drb (2.2.3)
96
+ erb (5.0.2)
96
97
  erubi (1.13.1)
97
98
  globalid (1.2.1)
98
99
  activesupport (>= 6.1)
99
- i18n (1.14.6)
100
+ i18n (1.14.7)
100
101
  concurrent-ruby (~> 1.0)
101
- io-console (0.8.0)
102
- irb (1.14.3)
102
+ io-console (0.8.1)
103
+ irb (1.15.2)
104
+ pp (>= 0.6.0)
103
105
  rdoc (>= 4.0.0)
104
106
  reline (>= 0.4.2)
105
- logger (1.6.5)
106
- loofah (2.24.0)
107
+ logger (1.7.0)
108
+ loofah (2.24.1)
107
109
  crass (~> 1.0.2)
108
110
  nokogiri (>= 1.12.0)
109
111
  mail (2.8.1)
@@ -113,88 +115,94 @@ GEM
113
115
  net-smtp
114
116
  marcel (1.0.4)
115
117
  mini_mime (1.1.5)
116
- mini_portile2 (2.8.8)
117
- minitest (5.25.4)
118
+ mini_portile2 (2.8.9)
119
+ minitest (5.25.5)
118
120
  minitest-reporters (1.7.1)
119
121
  ansi
120
122
  builder
121
123
  minitest (>= 5.0)
122
124
  ruby-progressbar
123
- net-imap (0.5.5)
125
+ net-imap (0.5.9)
124
126
  date
125
127
  net-protocol
126
128
  net-pop (0.1.2)
127
129
  net-protocol
128
130
  net-protocol (0.2.2)
129
131
  timeout
130
- net-smtp (0.5.0)
132
+ net-smtp (0.5.1)
131
133
  net-protocol
132
134
  nio4r (2.7.4)
133
- nokogiri (1.18.1)
135
+ nokogiri (1.18.9)
134
136
  mini_portile2 (~> 2.8.2)
135
137
  racc (~> 1.4)
136
- psych (5.2.3)
138
+ pp (0.6.2)
139
+ prettyprint
140
+ prettyprint (0.2.0)
141
+ psych (5.2.6)
137
142
  date
138
143
  stringio
139
144
  racc (1.8.1)
140
- rack (3.1.8)
141
- rack-session (2.1.0)
145
+ rack (3.2.0)
146
+ rack-session (2.1.1)
142
147
  base64 (>= 0.1.0)
143
148
  rack (>= 3.0.0)
144
149
  rack-test (2.2.0)
145
150
  rack (>= 1.3)
146
151
  rackup (2.2.1)
147
152
  rack (>= 3)
148
- rails (8.0.1)
149
- actioncable (= 8.0.1)
150
- actionmailbox (= 8.0.1)
151
- actionmailer (= 8.0.1)
152
- actionpack (= 8.0.1)
153
- actiontext (= 8.0.1)
154
- actionview (= 8.0.1)
155
- activejob (= 8.0.1)
156
- activemodel (= 8.0.1)
157
- activerecord (= 8.0.1)
158
- activestorage (= 8.0.1)
159
- activesupport (= 8.0.1)
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)
160
165
  bundler (>= 1.15.0)
161
- railties (= 8.0.1)
162
- rails-dom-testing (2.2.0)
166
+ railties (= 8.0.2.1)
167
+ rails-dom-testing (2.3.0)
163
168
  activesupport (>= 5.0.0)
164
169
  minitest
165
170
  nokogiri (>= 1.6)
166
171
  rails-html-sanitizer (1.6.2)
167
172
  loofah (~> 2.21)
168
173
  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.0.1)
170
- actionpack (= 8.0.1)
171
- activesupport (= 8.0.1)
174
+ railties (8.0.2.1)
175
+ actionpack (= 8.0.2.1)
176
+ activesupport (= 8.0.2.1)
172
177
  irb (~> 1.13)
173
178
  rackup (>= 1.0.0)
174
179
  rake (>= 12.2)
175
180
  thor (~> 1.0, >= 1.2.2)
176
181
  zeitwerk (~> 2.6)
177
- rake (13.2.1)
178
- rb_sys (0.9.108)
179
- rdoc (6.11.0)
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)
187
+ erb
180
188
  psych (>= 4.0.0)
181
- reline (0.6.0)
189
+ reline (0.6.2)
182
190
  io-console (~> 0.5)
183
- rouge (4.5.1)
191
+ rouge (4.6.0)
184
192
  ruby-progressbar (1.13.0)
185
193
  securerandom (0.4.1)
186
- stringio (3.1.2)
187
- thor (1.3.2)
194
+ stringio (3.1.7)
195
+ thor (1.4.0)
188
196
  timeout (0.4.3)
189
197
  tzinfo (2.0.6)
190
198
  concurrent-ruby (~> 1.0)
191
- uri (1.0.2)
199
+ uri (1.0.3)
192
200
  useragent (0.16.11)
193
- websocket-driver (0.7.7)
201
+ websocket-driver (0.8.0)
194
202
  base64
195
203
  websocket-extensions (>= 0.1.0)
196
204
  websocket-extensions (0.1.5)
197
- zeitwerk (2.7.1)
205
+ zeitwerk (2.7.3)
198
206
 
199
207
  PLATFORMS
200
208
  ruby
@@ -205,4 +213,4 @@ DEPENDENCIES
205
213
  rake
206
214
 
207
215
  BUNDLED WITH
208
- 2.5.22
216
+ 2.6.9
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2024 thomas morgan
1
+ Copyright 2014-2025 thomas morgan
2
2
 
3
3
  MIT License
4
4
 
@@ -14,6 +14,7 @@ module MarkdownViews
14
14
  tasklist: false,
15
15
  header_ids: nil,
16
16
  shortcodes: false,
17
+ cjk_friendly_emphasis: true,
17
18
  )
18
19
 
19
20
  mattr_accessor :transformers
@@ -1,3 +1,3 @@
1
1
  module MarkdownViews
2
- VERSION = '3.1.0'
2
+ VERSION = '3.2.0'
3
3
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
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', '< 8.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
@@ -25,6 +25,8 @@ class ConfigTest < Minitest::Test
25
25
  spoiler: false,
26
26
  greentext: false,
27
27
  subscript: false,
28
+ alerts: false,
29
+ cjk_friendly_emphasis: true,
28
30
  }
29
31
  assert_equal expected, processed
30
32
  end
@@ -63,6 +65,7 @@ class ConfigTest < Minitest::Test
63
65
  ignore_empty_links: false,
64
66
  gfm_quirks: false,
65
67
  prefer_fenced: false,
68
+ tasklist_classes: false,
66
69
  }
67
70
  assert_equal expected, processed
68
71
  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.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-18 00:00:00.000000000 Z
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,7 +148,6 @@ 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
@@ -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.5.22
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: