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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dda70b4b5d4736211f95a82a6c0141d59529669ad914b7015f10e40f7eaa9ecb
4
- data.tar.gz: f3b4f16c76c7bb47709c1b6edf9c17dec504c3d3bb0b3f276bc32439084f11c2
3
+ metadata.gz: 5954cc908f2188862537f09d10266ddbf353da758970b3b74cf481f31061fceb
4
+ data.tar.gz: 2b2fb03f3a66f06a6d8f7fce91eb71ecdf52439f8cd1eafce84dd2bf95fbb951
5
5
  SHA512:
6
- metadata.gz: 9b4973921e97aba54034014f5165d33d420840de7ae2f3f27b2fb47a0e8f6569e786a4e7a9a910b3b7cfc472b545d4c705d200f0b98b5936a323b9ce23d06b20
7
- data.tar.gz: cf99f69bd3132f01ca964e17845066f4bbf10377d34bbb4fa28a6c85695325c9c7613d1c958806cf2b75386b251a5034477d08647481de1948ddafc8e7a8aacd
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.0)
4
+ markdown_views (2.3.1)
5
5
  commonmarker (>= 0.18.2, < 0.24)
6
- rails (>= 5.0, < 7.2)
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.4.1)
13
- actionpack (= 7.0.4.1)
14
- activesupport (= 7.0.4.1)
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
- actionmailbox (7.0.4.1)
18
- actionpack (= 7.0.4.1)
19
- activejob (= 7.0.4.1)
20
- activerecord (= 7.0.4.1)
21
- activestorage (= 7.0.4.1)
22
- activesupport (= 7.0.4.1)
23
- mail (>= 2.7.1)
24
- net-imap
25
- net-pop
26
- net-smtp
27
- actionmailer (7.0.4.1)
28
- actionpack (= 7.0.4.1)
29
- actionview (= 7.0.4.1)
30
- activejob (= 7.0.4.1)
31
- activesupport (= 7.0.4.1)
32
- mail (~> 2.5, >= 2.5.4)
33
- net-imap
34
- net-pop
35
- net-smtp
36
- rails-dom-testing (~> 2.0)
37
- actionpack (7.0.4.1)
38
- actionview (= 7.0.4.1)
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.0)
43
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
- actiontext (7.0.4.1)
45
- actionpack (= 7.0.4.1)
46
- activerecord (= 7.0.4.1)
47
- activestorage (= 7.0.4.1)
48
- activesupport (= 7.0.4.1)
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.4.1)
52
- activesupport (= 7.0.4.1)
50
+ actionview (7.2.0)
51
+ activesupport (= 7.2.0)
53
52
  builder (~> 3.1)
54
- erubi (~> 1.4)
55
- rails-dom-testing (~> 2.0)
56
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (7.0.4.1)
58
- activesupport (= 7.0.4.1)
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.4.1)
61
- activesupport (= 7.0.4.1)
62
- activerecord (7.0.4.1)
63
- activemodel (= 7.0.4.1)
64
- activesupport (= 7.0.4.1)
65
- activestorage (7.0.4.1)
66
- actionpack (= 7.0.4.1)
67
- activejob (= 7.0.4.1)
68
- activerecord (= 7.0.4.1)
69
- activesupport (= 7.0.4.1)
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
- mini_mime (>= 1.1.0)
72
- activesupport (7.0.4.1)
73
- concurrent-ruby (~> 1.0, >= 1.0.2)
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
- tzinfo (~> 2.0)
80
+ securerandom (>= 0.3)
81
+ tzinfo (~> 2.0, >= 2.0.5)
77
82
  ansi (1.5.0)
78
- builder (3.2.4)
79
- commonmarker (0.23.6)
80
- concurrent-ruby (1.1.10)
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.3)
83
- erubi (1.12.0)
84
- globalid (1.0.1)
85
- activesupport (>= 5.0)
86
- i18n (1.12.0)
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
- loofah (2.19.1)
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.5.9)
91
- mail (2.8.0.1)
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.2)
97
- method_source (1.0.0)
98
- mini_mime (1.1.2)
99
- mini_portile2 (2.8.1)
100
- minitest (5.17.0)
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.3.4)
119
+ net-imap (0.4.14)
107
120
  date
108
121
  net-protocol
109
122
  net-pop (0.1.2)
110
- net-protocol
111
- net-protocol (0.2.1)
123
+ net-protocol (0.2.2)
112
124
  timeout
113
- net-smtp (0.3.3)
125
+ net-smtp (0.5.0)
114
126
  net-protocol
115
- nio4r (2.5.8)
116
- nokogiri (1.14.0)
117
- mini_portile2 (~> 2.8.0)
127
+ nio4r (2.7.3)
128
+ nokogiri (1.16.7)
129
+ mini_portile2 (~> 2.8.2)
118
130
  racc (~> 1.4)
119
- racc (1.6.2)
120
- rack (2.2.6.2)
121
- rack-test (2.0.2)
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
- rails (7.0.4.1)
124
- actioncable (= 7.0.4.1)
125
- actionmailbox (= 7.0.4.1)
126
- actionmailer (= 7.0.4.1)
127
- actionpack (= 7.0.4.1)
128
- actiontext (= 7.0.4.1)
129
- actionview (= 7.0.4.1)
130
- activejob (= 7.0.4.1)
131
- activemodel (= 7.0.4.1)
132
- activerecord (= 7.0.4.1)
133
- activestorage (= 7.0.4.1)
134
- activesupport (= 7.0.4.1)
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.4.1)
137
- rails-dom-testing (2.0.3)
138
- activesupport (>= 4.2.0)
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.4.4)
141
- loofah (~> 2.19, >= 2.19.1)
142
- railties (7.0.4.1)
143
- actionpack (= 7.0.4.1)
144
- activesupport (= 7.0.4.1)
145
- method_source
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.5)
149
- rake (13.0.6)
150
- rouge (4.0.1)
151
- ruby-progressbar (1.11.0)
152
- thor (1.2.1)
153
- timeout (0.3.1)
154
- tzinfo (2.0.5)
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
- websocket-driver (0.7.5)
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.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.3.26
200
+ 2.5.11
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2023 thomas morgan
1
+ Copyright (c) 2014-2024 thomas morgan
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MarkdownViews
2
2
 
3
- MarkdownViews enables Rails 5-6+ 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.
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/<my-github-username>/markdown_views/fork )
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`)
@@ -1,3 +1,3 @@
1
1
  module MarkdownViews
2
- VERSION = '2.3.0'
2
+ VERSION = '2.3.1'
3
3
  end
@@ -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.2'
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.0
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: 2023-01-20 00:00:00.000000000 Z
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.2'
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.2'
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.3.26
161
+ rubygems_version: 3.5.11
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Add .md template handler to Rails.