markdown_views 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +146 -116
- data/LICENSE.txt +1 -1
- data/README.md +3 -3
- data/lib/markdown_views/version.rb +1 -1
- data/markdown_views.gemspec +1 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5954cc908f2188862537f09d10266ddbf353da758970b3b74cf481f31061fceb
|
4
|
+
data.tar.gz: 2b2fb03f3a66f06a6d8f7fce91eb71ecdf52439f8cd1eafce84dd2bf95fbb951
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abc089915f482e86998097411ef95b51fd5a22c223f9c28166f70842e476c600563958ba5b12b28b4d282e1e5be847dc9f4a35f6061605deb5467772ab73bb02
|
7
|
+
data.tar.gz: ce0e5437d9b48bb13528643dc7e548e95a21dfb061aa5f85aadf89ec4cf0f06959234f092843581881c19fd79a9d0dfa365a4b503dd0d9c1fc85769d18c96bc4
|
data/Gemfile.lock
CHANGED
@@ -1,162 +1,192 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
markdown_views (2.3.
|
4
|
+
markdown_views (2.3.1)
|
5
5
|
commonmarker (>= 0.18.2, < 0.24)
|
6
|
-
rails (>= 5.0, < 7.
|
6
|
+
rails (>= 5.0, < 7.3)
|
7
7
|
rouge (>= 3.3, < 5.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (7.0
|
13
|
-
actionpack (= 7.0
|
14
|
-
activesupport (= 7.0
|
12
|
+
actioncable (7.2.0)
|
13
|
+
actionpack (= 7.2.0)
|
14
|
+
activesupport (= 7.2.0)
|
15
15
|
nio4r (~> 2.0)
|
16
16
|
websocket-driver (>= 0.6.1)
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
activesupport (= 7.0.4.1)
|
40
|
-
rack (~> 2.0, >= 2.2.0)
|
17
|
+
zeitwerk (~> 2.6)
|
18
|
+
actionmailbox (7.2.0)
|
19
|
+
actionpack (= 7.2.0)
|
20
|
+
activejob (= 7.2.0)
|
21
|
+
activerecord (= 7.2.0)
|
22
|
+
activestorage (= 7.2.0)
|
23
|
+
activesupport (= 7.2.0)
|
24
|
+
mail (>= 2.8.0)
|
25
|
+
actionmailer (7.2.0)
|
26
|
+
actionpack (= 7.2.0)
|
27
|
+
actionview (= 7.2.0)
|
28
|
+
activejob (= 7.2.0)
|
29
|
+
activesupport (= 7.2.0)
|
30
|
+
mail (>= 2.8.0)
|
31
|
+
rails-dom-testing (~> 2.2)
|
32
|
+
actionpack (7.2.0)
|
33
|
+
actionview (= 7.2.0)
|
34
|
+
activesupport (= 7.2.0)
|
35
|
+
nokogiri (>= 1.8.5)
|
36
|
+
racc
|
37
|
+
rack (>= 2.2.4, < 3.2)
|
38
|
+
rack-session (>= 1.0.1)
|
41
39
|
rack-test (>= 0.6.3)
|
42
|
-
rails-dom-testing (~> 2.
|
43
|
-
rails-html-sanitizer (~> 1.
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
40
|
+
rails-dom-testing (~> 2.2)
|
41
|
+
rails-html-sanitizer (~> 1.6)
|
42
|
+
useragent (~> 0.16)
|
43
|
+
actiontext (7.2.0)
|
44
|
+
actionpack (= 7.2.0)
|
45
|
+
activerecord (= 7.2.0)
|
46
|
+
activestorage (= 7.2.0)
|
47
|
+
activesupport (= 7.2.0)
|
49
48
|
globalid (>= 0.6.0)
|
50
49
|
nokogiri (>= 1.8.5)
|
51
|
-
actionview (7.0
|
52
|
-
activesupport (= 7.0
|
50
|
+
actionview (7.2.0)
|
51
|
+
activesupport (= 7.2.0)
|
53
52
|
builder (~> 3.1)
|
54
|
-
erubi (~> 1.
|
55
|
-
rails-dom-testing (~> 2.
|
56
|
-
rails-html-sanitizer (~> 1.
|
57
|
-
activejob (7.0
|
58
|
-
activesupport (= 7.0
|
53
|
+
erubi (~> 1.11)
|
54
|
+
rails-dom-testing (~> 2.2)
|
55
|
+
rails-html-sanitizer (~> 1.6)
|
56
|
+
activejob (7.2.0)
|
57
|
+
activesupport (= 7.2.0)
|
59
58
|
globalid (>= 0.3.6)
|
60
|
-
activemodel (7.0
|
61
|
-
activesupport (= 7.0
|
62
|
-
activerecord (7.0
|
63
|
-
activemodel (= 7.0
|
64
|
-
activesupport (= 7.0
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
59
|
+
activemodel (7.2.0)
|
60
|
+
activesupport (= 7.2.0)
|
61
|
+
activerecord (7.2.0)
|
62
|
+
activemodel (= 7.2.0)
|
63
|
+
activesupport (= 7.2.0)
|
64
|
+
timeout (>= 0.4.0)
|
65
|
+
activestorage (7.2.0)
|
66
|
+
actionpack (= 7.2.0)
|
67
|
+
activejob (= 7.2.0)
|
68
|
+
activerecord (= 7.2.0)
|
69
|
+
activesupport (= 7.2.0)
|
70
70
|
marcel (~> 1.0)
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
activesupport (7.2.0)
|
72
|
+
base64
|
73
|
+
bigdecimal
|
74
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
75
|
+
connection_pool (>= 2.2.5)
|
76
|
+
drb
|
74
77
|
i18n (>= 1.6, < 2)
|
78
|
+
logger (>= 1.4.2)
|
75
79
|
minitest (>= 5.1)
|
76
|
-
|
80
|
+
securerandom (>= 0.3)
|
81
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
77
82
|
ansi (1.5.0)
|
78
|
-
|
79
|
-
|
80
|
-
|
83
|
+
base64 (0.2.0)
|
84
|
+
bigdecimal (3.1.8)
|
85
|
+
builder (3.3.0)
|
86
|
+
commonmarker (0.23.10)
|
87
|
+
concurrent-ruby (1.3.4)
|
88
|
+
connection_pool (2.4.1)
|
81
89
|
crass (1.0.6)
|
82
|
-
date (3.3.
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
90
|
+
date (3.3.4)
|
91
|
+
drb (2.2.1)
|
92
|
+
erubi (1.13.0)
|
93
|
+
globalid (1.2.1)
|
94
|
+
activesupport (>= 6.1)
|
95
|
+
i18n (1.14.5)
|
87
96
|
concurrent-ruby (~> 1.0)
|
88
|
-
|
97
|
+
io-console (0.7.2)
|
98
|
+
irb (1.14.0)
|
99
|
+
rdoc (>= 4.0.0)
|
100
|
+
reline (>= 0.4.2)
|
101
|
+
logger (1.6.0)
|
102
|
+
loofah (2.22.0)
|
89
103
|
crass (~> 1.0.2)
|
90
|
-
nokogiri (>= 1.
|
91
|
-
mail (2.8.
|
104
|
+
nokogiri (>= 1.12.0)
|
105
|
+
mail (2.8.1)
|
92
106
|
mini_mime (>= 0.1.1)
|
93
107
|
net-imap
|
94
108
|
net-pop
|
95
109
|
net-smtp
|
96
|
-
marcel (1.0.
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
minitest (
|
101
|
-
minitest-reporters (1.5.0)
|
110
|
+
marcel (1.0.4)
|
111
|
+
mini_mime (1.1.5)
|
112
|
+
mini_portile2 (2.8.7)
|
113
|
+
minitest (5.24.1)
|
114
|
+
minitest-reporters (1.7.1)
|
102
115
|
ansi
|
103
116
|
builder
|
104
117
|
minitest (>= 5.0)
|
105
118
|
ruby-progressbar
|
106
|
-
net-imap (0.
|
119
|
+
net-imap (0.4.14)
|
107
120
|
date
|
108
121
|
net-protocol
|
109
122
|
net-pop (0.1.2)
|
110
|
-
|
111
|
-
net-protocol (0.2.1)
|
123
|
+
net-protocol (0.2.2)
|
112
124
|
timeout
|
113
|
-
net-smtp (0.
|
125
|
+
net-smtp (0.5.0)
|
114
126
|
net-protocol
|
115
|
-
nio4r (2.
|
116
|
-
nokogiri (1.
|
117
|
-
mini_portile2 (~> 2.8.
|
127
|
+
nio4r (2.7.3)
|
128
|
+
nokogiri (1.16.7)
|
129
|
+
mini_portile2 (~> 2.8.2)
|
118
130
|
racc (~> 1.4)
|
119
|
-
|
120
|
-
|
121
|
-
|
131
|
+
psych (5.1.2)
|
132
|
+
stringio
|
133
|
+
racc (1.8.1)
|
134
|
+
rack (3.1.7)
|
135
|
+
rack-session (2.0.0)
|
136
|
+
rack (>= 3.0.0)
|
137
|
+
rack-test (2.1.0)
|
122
138
|
rack (>= 1.3)
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
139
|
+
rackup (2.1.0)
|
140
|
+
rack (>= 3)
|
141
|
+
webrick (~> 1.8)
|
142
|
+
rails (7.2.0)
|
143
|
+
actioncable (= 7.2.0)
|
144
|
+
actionmailbox (= 7.2.0)
|
145
|
+
actionmailer (= 7.2.0)
|
146
|
+
actionpack (= 7.2.0)
|
147
|
+
actiontext (= 7.2.0)
|
148
|
+
actionview (= 7.2.0)
|
149
|
+
activejob (= 7.2.0)
|
150
|
+
activemodel (= 7.2.0)
|
151
|
+
activerecord (= 7.2.0)
|
152
|
+
activestorage (= 7.2.0)
|
153
|
+
activesupport (= 7.2.0)
|
135
154
|
bundler (>= 1.15.0)
|
136
|
-
railties (= 7.0
|
137
|
-
rails-dom-testing (2.0
|
138
|
-
activesupport (>=
|
155
|
+
railties (= 7.2.0)
|
156
|
+
rails-dom-testing (2.2.0)
|
157
|
+
activesupport (>= 5.0.0)
|
158
|
+
minitest
|
139
159
|
nokogiri (>= 1.6)
|
140
|
-
rails-html-sanitizer (1.
|
141
|
-
loofah (~> 2.
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
160
|
+
rails-html-sanitizer (1.6.0)
|
161
|
+
loofah (~> 2.21)
|
162
|
+
nokogiri (~> 1.14)
|
163
|
+
railties (7.2.0)
|
164
|
+
actionpack (= 7.2.0)
|
165
|
+
activesupport (= 7.2.0)
|
166
|
+
irb (~> 1.13)
|
167
|
+
rackup (>= 1.0.0)
|
146
168
|
rake (>= 12.2)
|
147
|
-
thor (~> 1.0)
|
148
|
-
zeitwerk (~> 2.
|
149
|
-
rake (13.
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
169
|
+
thor (~> 1.0, >= 1.2.2)
|
170
|
+
zeitwerk (~> 2.6)
|
171
|
+
rake (13.2.1)
|
172
|
+
rdoc (6.7.0)
|
173
|
+
psych (>= 4.0.0)
|
174
|
+
reline (0.5.9)
|
175
|
+
io-console (~> 0.5)
|
176
|
+
rouge (4.3.0)
|
177
|
+
ruby-progressbar (1.13.0)
|
178
|
+
securerandom (0.3.1)
|
179
|
+
stringio (3.1.1)
|
180
|
+
thor (1.3.1)
|
181
|
+
timeout (0.4.1)
|
182
|
+
tzinfo (2.0.6)
|
155
183
|
concurrent-ruby (~> 1.0)
|
156
|
-
|
184
|
+
useragent (0.16.10)
|
185
|
+
webrick (1.8.1)
|
186
|
+
websocket-driver (0.7.6)
|
157
187
|
websocket-extensions (>= 0.1.0)
|
158
188
|
websocket-extensions (0.1.5)
|
159
|
-
zeitwerk (2.6.
|
189
|
+
zeitwerk (2.6.17)
|
160
190
|
|
161
191
|
PLATFORMS
|
162
192
|
ruby
|
@@ -167,4 +197,4 @@ DEPENDENCIES
|
|
167
197
|
rake
|
168
198
|
|
169
199
|
BUNDLED WITH
|
170
|
-
2.
|
200
|
+
2.5.11
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# MarkdownViews
|
2
2
|
|
3
|
-
MarkdownViews enables Rails 5-
|
3
|
+
MarkdownViews enables Rails 5-7+ to process .md templates as part of `app/views/`, with optional preprocessing of ERB, HAML, etc. A `markdown()` helper is also provided for when you need Markdown for only part of a view.
|
4
4
|
|
5
5
|
It uses CommonMarker for markdown processing and Rouge for syntax highlighting.
|
6
6
|
|
@@ -42,7 +42,7 @@ By default, all .md files are preprocessed with ERB (making them effectively .md
|
|
42
42
|
MarkdownViews.preprocessor = :erb
|
43
43
|
MarkdownViews.preprocessor = nil
|
44
44
|
|
45
|
-
CommonMarker's rendering can also be configured. See CommonMarker's documentation for available options.
|
45
|
+
CommonMarker's rendering can also be configured. See [CommonMarker's documentation](https://github.com/gjtorikian/commonmarker#options-and-plugins) for available options.
|
46
46
|
|
47
47
|
MarkdownViews.parsing_opts -= %i(UNSAFE)
|
48
48
|
|
@@ -94,7 +94,7 @@ Similarly, the provided stylesheets for syntax highlighting have been changed. I
|
|
94
94
|
|
95
95
|
## Contributing
|
96
96
|
|
97
|
-
1. Fork it ( http://github.com
|
97
|
+
1. Fork it ( http://github.com/zarqman/markdown_views/fork )
|
98
98
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
99
99
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
100
100
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/markdown_views.gemspec
CHANGED
@@ -19,10 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency 'commonmarker', '>= 0.18.2', '< 0.24'
|
22
|
-
spec.add_dependency 'rails', '>= 5.0', '< 7.
|
22
|
+
spec.add_dependency 'rails', '>= 5.0', '< 7.3'
|
23
23
|
spec.add_dependency 'rouge', '>= 3.3', '< 5.0'
|
24
24
|
|
25
|
-
# spec.add_development_dependency "bundler", "> 1.5"
|
26
25
|
spec.add_development_dependency "minitest-reporters"
|
27
26
|
spec.add_development_dependency "rake"
|
28
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markdown_views
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thomas morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commonmarker
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '5.0'
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '7.
|
42
|
+
version: '7.3'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '5.0'
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '7.
|
52
|
+
version: '7.3'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rouge
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
161
|
+
rubygems_version: 3.5.11
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Add .md template handler to Rails.
|