markdown_views 2.2.5 → 2.3.0

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: b2311da9f94a7bd73cb64a3e1d9f75d2829b6f90478e9e5d2d76c42a64abcf0c
4
- data.tar.gz: ef7d4b653017197a0d1bcb2bed66ef1f22ab1cf15a1295319da66bcb447baed3
3
+ metadata.gz: dda70b4b5d4736211f95a82a6c0141d59529669ad914b7015f10e40f7eaa9ecb
4
+ data.tar.gz: f3b4f16c76c7bb47709c1b6edf9c17dec504c3d3bb0b3f276bc32439084f11c2
5
5
  SHA512:
6
- metadata.gz: a9cf0b19c8e7cdc97f5ccd5501439bb1e47697f6ca5878bada0836ea0be0ca1b9659ddaf0892873fc3f046eb260e437ecac743819cfa013b20d99756bb26d54a
7
- data.tar.gz: 22787007ef813966910f09ffe958a7c3f296f0d53252b1b00b64e6d7d3120c67473d3da67e05e7a9bebcef693a74e6a2f05a2674d7b7a7448df8ef493f6419e8
6
+ metadata.gz: 9b4973921e97aba54034014f5165d33d420840de7ae2f3f27b2fb47a0e8f6569e786a4e7a9a910b3b7cfc472b545d4c705d200f0b98b5936a323b9ce23d06b20
7
+ data.tar.gz: cf99f69bd3132f01ca964e17845066f4bbf10377d34bbb4fa28a6c85695325c9c7613d1c958806cf2b75386b251a5034477d08647481de1948ddafc8e7a8aacd
data/Gemfile.lock CHANGED
@@ -1,75 +1,75 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- markdown_views (2.2.5)
4
+ markdown_views (2.3.0)
5
5
  commonmarker (>= 0.18.2, < 0.24)
6
- rails (>= 5.0, < 7.1)
6
+ rails (>= 5.0, < 7.2)
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)
13
- actionpack (= 7.0.4)
14
- activesupport (= 7.0.4)
12
+ actioncable (7.0.4.1)
13
+ actionpack (= 7.0.4.1)
14
+ activesupport (= 7.0.4.1)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailbox (7.0.4)
18
- actionpack (= 7.0.4)
19
- activejob (= 7.0.4)
20
- activerecord (= 7.0.4)
21
- activestorage (= 7.0.4)
22
- activesupport (= 7.0.4)
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
23
  mail (>= 2.7.1)
24
24
  net-imap
25
25
  net-pop
26
26
  net-smtp
27
- actionmailer (7.0.4)
28
- actionpack (= 7.0.4)
29
- actionview (= 7.0.4)
30
- activejob (= 7.0.4)
31
- activesupport (= 7.0.4)
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
32
  mail (~> 2.5, >= 2.5.4)
33
33
  net-imap
34
34
  net-pop
35
35
  net-smtp
36
36
  rails-dom-testing (~> 2.0)
37
- actionpack (7.0.4)
38
- actionview (= 7.0.4)
39
- activesupport (= 7.0.4)
37
+ actionpack (7.0.4.1)
38
+ actionview (= 7.0.4.1)
39
+ activesupport (= 7.0.4.1)
40
40
  rack (~> 2.0, >= 2.2.0)
41
41
  rack-test (>= 0.6.3)
42
42
  rails-dom-testing (~> 2.0)
43
43
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
- actiontext (7.0.4)
45
- actionpack (= 7.0.4)
46
- activerecord (= 7.0.4)
47
- activestorage (= 7.0.4)
48
- activesupport (= 7.0.4)
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)
49
49
  globalid (>= 0.6.0)
50
50
  nokogiri (>= 1.8.5)
51
- actionview (7.0.4)
52
- activesupport (= 7.0.4)
51
+ actionview (7.0.4.1)
52
+ activesupport (= 7.0.4.1)
53
53
  builder (~> 3.1)
54
54
  erubi (~> 1.4)
55
55
  rails-dom-testing (~> 2.0)
56
56
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (7.0.4)
58
- activesupport (= 7.0.4)
57
+ activejob (7.0.4.1)
58
+ activesupport (= 7.0.4.1)
59
59
  globalid (>= 0.3.6)
60
- activemodel (7.0.4)
61
- activesupport (= 7.0.4)
62
- activerecord (7.0.4)
63
- activemodel (= 7.0.4)
64
- activesupport (= 7.0.4)
65
- activestorage (7.0.4)
66
- actionpack (= 7.0.4)
67
- activejob (= 7.0.4)
68
- activerecord (= 7.0.4)
69
- activesupport (= 7.0.4)
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)
70
70
  marcel (~> 1.0)
71
71
  mini_mime (>= 1.1.0)
72
- activesupport (7.0.4)
72
+ activesupport (7.0.4.1)
73
73
  concurrent-ruby (~> 1.0, >= 1.0.2)
74
74
  i18n (>= 1.6, < 2)
75
75
  minitest (>= 5.1)
@@ -79,87 +79,84 @@ GEM
79
79
  commonmarker (0.23.6)
80
80
  concurrent-ruby (1.1.10)
81
81
  crass (1.0.6)
82
- digest (3.1.0)
83
- erubi (1.11.0)
84
- globalid (1.0.0)
82
+ date (3.3.3)
83
+ erubi (1.12.0)
84
+ globalid (1.0.1)
85
85
  activesupport (>= 5.0)
86
86
  i18n (1.12.0)
87
87
  concurrent-ruby (~> 1.0)
88
- loofah (2.19.0)
88
+ loofah (2.19.1)
89
89
  crass (~> 1.0.2)
90
90
  nokogiri (>= 1.5.9)
91
- mail (2.7.1)
91
+ mail (2.8.0.1)
92
92
  mini_mime (>= 0.1.1)
93
+ net-imap
94
+ net-pop
95
+ net-smtp
93
96
  marcel (1.0.2)
94
97
  method_source (1.0.0)
95
98
  mini_mime (1.1.2)
96
- mini_portile2 (2.8.0)
97
- minitest (5.16.3)
99
+ mini_portile2 (2.8.1)
100
+ minitest (5.17.0)
98
101
  minitest-reporters (1.5.0)
99
102
  ansi
100
103
  builder
101
104
  minitest (>= 5.0)
102
105
  ruby-progressbar
103
- net-imap (0.2.3)
104
- digest
106
+ net-imap (0.3.4)
107
+ date
105
108
  net-protocol
106
- strscan
107
- net-pop (0.1.1)
108
- digest
109
+ net-pop (0.1.2)
109
110
  net-protocol
111
+ net-protocol (0.2.1)
110
112
  timeout
111
- net-protocol (0.1.3)
112
- timeout
113
- net-smtp (0.3.1)
114
- digest
113
+ net-smtp (0.3.3)
115
114
  net-protocol
116
- timeout
117
115
  nio4r (2.5.8)
118
- nokogiri (1.13.8)
116
+ nokogiri (1.14.0)
119
117
  mini_portile2 (~> 2.8.0)
120
118
  racc (~> 1.4)
121
- racc (1.6.0)
122
- rack (2.2.4)
119
+ racc (1.6.2)
120
+ rack (2.2.6.2)
123
121
  rack-test (2.0.2)
124
122
  rack (>= 1.3)
125
- rails (7.0.4)
126
- actioncable (= 7.0.4)
127
- actionmailbox (= 7.0.4)
128
- actionmailer (= 7.0.4)
129
- actionpack (= 7.0.4)
130
- actiontext (= 7.0.4)
131
- actionview (= 7.0.4)
132
- activejob (= 7.0.4)
133
- activemodel (= 7.0.4)
134
- activerecord (= 7.0.4)
135
- activestorage (= 7.0.4)
136
- activesupport (= 7.0.4)
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)
137
135
  bundler (>= 1.15.0)
138
- railties (= 7.0.4)
136
+ railties (= 7.0.4.1)
139
137
  rails-dom-testing (2.0.3)
140
138
  activesupport (>= 4.2.0)
141
139
  nokogiri (>= 1.6)
142
- rails-html-sanitizer (1.4.3)
143
- loofah (~> 2.3)
144
- railties (7.0.4)
145
- actionpack (= 7.0.4)
146
- activesupport (= 7.0.4)
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)
147
145
  method_source
148
146
  rake (>= 12.2)
149
147
  thor (~> 1.0)
150
148
  zeitwerk (~> 2.5)
151
149
  rake (13.0.6)
152
- rouge (4.0.0)
150
+ rouge (4.0.1)
153
151
  ruby-progressbar (1.11.0)
154
- strscan (3.0.4)
155
152
  thor (1.2.1)
156
- timeout (0.3.0)
153
+ timeout (0.3.1)
157
154
  tzinfo (2.0.5)
158
155
  concurrent-ruby (~> 1.0)
159
156
  websocket-driver (0.7.5)
160
157
  websocket-extensions (>= 0.1.0)
161
158
  websocket-extensions (0.1.5)
162
- zeitwerk (2.6.0)
159
+ zeitwerk (2.6.6)
163
160
 
164
161
  PLATFORMS
165
162
  ruby
@@ -170,4 +167,4 @@ DEPENDENCIES
170
167
  rake
171
168
 
172
169
  BUNDLED WITH
173
- 2.2.33
170
+ 2.3.26
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2022 thomas morgan
1
+ Copyright (c) 2014-2023 thomas morgan
2
2
 
3
3
  MIT License
4
4
 
@@ -1,4 +1,14 @@
1
1
  module MarkdownViews
2
2
  class Engine < ::Rails::Engine
3
+ config.autoload_once_paths = %W(
4
+ #{root}/app/helpers
5
+ )
6
+
7
+ initializer "markdown_views.helpers", before: :load_config_initializers do
8
+ ActiveSupport.on_load(:action_controller_base) do
9
+ helper MarkdownViews::Engine.helpers
10
+ end
11
+ end
12
+
3
13
  end
4
14
  end
@@ -1,3 +1,3 @@
1
1
  module MarkdownViews
2
- VERSION = '2.2.5'
2
+ VERSION = '2.3.0'
3
3
  end
@@ -19,7 +19,7 @@ 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.1'
22
+ spec.add_dependency 'rails', '>= 5.0', '< 7.2'
23
23
  spec.add_dependency 'rouge', '>= 3.3', '< 5.0'
24
24
 
25
25
  # spec.add_development_dependency "bundler", "> 1.5"
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.2.5
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-25 00:00:00.000000000 Z
11
+ date: 2023-01-20 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.1'
42
+ version: '7.2'
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.1'
52
+ version: '7.2'
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.2.33
161
+ rubygems_version: 3.3.26
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Add .md template handler to Rails.