madness 0.9.8 → 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: madness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 1.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.7'
27
- - !ruby/object:Gem::Dependency
28
- name: coderay
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.1'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.1'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: colsole
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,26 +38,6 @@ dependencies:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0.5'
55
- - !ruby/object:Gem::Dependency
56
- name: commonmarker
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0.23'
62
- - - ">="
63
- - !ruby/object:Gem::Version
64
- version: 0.23.4
65
- type: :runtime
66
- prerelease: false
67
- version_requirements: !ruby/object:Gem::Requirement
68
- requirements:
69
- - - "~>"
70
- - !ruby/object:Gem::Version
71
- version: '0.23'
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: 0.23.4
75
41
  - !ruby/object:Gem::Dependency
76
42
  name: docopt
77
43
  requirement: !ruby/object:Gem::Requirement
@@ -142,20 +108,48 @@ dependencies:
142
108
  - - ">="
143
109
  - !ruby/object:Gem::Version
144
110
  version: '5.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: redcarpet
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.5'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.5'
145
125
  - !ruby/object:Gem::Dependency
146
126
  name: requires
147
127
  requirement: !ruby/object:Gem::Requirement
148
128
  requirements:
149
129
  - - "~>"
150
130
  - !ruby/object:Gem::Version
151
- version: '0.1'
131
+ version: '1.0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rouge
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '4.0'
152
146
  type: :runtime
153
147
  prerelease: false
154
148
  version_requirements: !ruby/object:Gem::Requirement
155
149
  requirements:
156
150
  - - "~>"
157
151
  - !ruby/object:Gem::Version
158
- version: '0.1'
152
+ version: '4.0'
159
153
  - !ruby/object:Gem::Dependency
160
154
  name: sinatra
161
155
  requirement: !ruby/object:Gem::Requirement
@@ -195,20 +189,20 @@ files:
195
189
  - app/public/css/main.css
196
190
  - app/public/css/main.css.map
197
191
  - app/public/favicon.ico
198
- - app/public/fonts/fontello.eot
199
- - app/public/fonts/fontello.svg
200
- - app/public/fonts/fontello.ttf
201
- - app/public/fonts/fontello.woff
202
- - app/public/fonts/fontello.woff2
192
+ - app/public/font/fontello.eot
193
+ - app/public/font/fontello.svg
194
+ - app/public/font/fontello.ttf
195
+ - app/public/font/fontello.woff
196
+ - app/public/font/fontello.woff2
203
197
  - app/public/js/clipboard.js
204
198
  - app/public/js/vendor/clipboard.min.js
205
199
  - app/public/js/vendor/jquery.min.js
206
200
  - app/styles/_anchor.scss
207
201
  - app/styles/_breadcrumbs.scss
208
202
  - app/styles/_code.scss
209
- - app/styles/_coderay.scss
203
+ - app/styles/_fontello.scss
204
+ - app/styles/_footnotes.scss
210
205
  - app/styles/_general.scss
211
- - app/styles/_icons.scss
212
206
  - app/styles/_image.scss
213
207
  - app/styles/_keyboard.scss
214
208
  - app/styles/_line.scss
@@ -216,6 +210,8 @@ files:
216
210
  - app/styles/_manifest.scss
217
211
  - app/styles/_mixins.scss
218
212
  - app/styles/_nav.scss
213
+ - app/styles/_rouge.scss
214
+ - app/styles/_scrollbar.scss
219
215
  - app/styles/_search.scss
220
216
  - app/styles/_table.scss
221
217
  - app/styles/_typography.scss
@@ -235,7 +231,9 @@ files:
235
231
  - lib/madness/directory.rb
236
232
  - lib/madness/docopt.txt
237
233
  - lib/madness/document.rb
234
+ - lib/madness/highlight_renderer.rb
238
235
  - lib/madness/item.rb
236
+ - lib/madness/markdown_document.rb
239
237
  - lib/madness/navigation.rb
240
238
  - lib/madness/refinements/array_refinements.rb
241
239
  - lib/madness/refinements/hash_refinements.rb
@@ -267,14 +265,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
267
265
  requirements:
268
266
  - - ">="
269
267
  - !ruby/object:Gem::Version
270
- version: 2.6.0
268
+ version: '2.7'
271
269
  required_rubygems_version: !ruby/object:Gem::Requirement
272
270
  requirements:
273
- - - ">="
271
+ - - ">"
274
272
  - !ruby/object:Gem::Version
275
- version: '0'
273
+ version: 1.3.1
276
274
  requirements: []
277
- rubygems_version: 3.3.26
275
+ rubygems_version: 3.4.3
278
276
  signing_key:
279
277
  specification_version: 4
280
278
  summary: Instant Markdown Server
Binary file
@@ -1,16 +0,0 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata>Copyright (C) 2019 by original authors @ fontello.com</metadata>
5
- <defs>
6
- <font id="fontello" horiz-adv-x="1000" >
7
- <font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
8
- <missing-glyph horiz-adv-x="1000" />
9
- <glyph glyph-name="export" unicode="&#xe800;" d="M750 60l0 56 100 82 0-188q0-20-15-35t-35-15l-750 0q-20 0-35 15t-15 35l0 550q0 22 14 36t36 14l288 0q-32-24-59-49t-39-39l-10-12-130 0 0-450 650 0z m-82 348q-166 0-242-41t-160-181q0 8 1 22t9 56 22 79 44 83 70 79 107 56 149 23l0 156 332-250-332-260 0 178z" horiz-adv-x="1000" />
10
-
11
- <glyph glyph-name="home" unicode="&#xe801;" d="M888 336q16-16 11-27t-27-11l-84 0 0-310q0-14-1-21t-8-13-23-6l-204 0 0 310-204 0 0-310-194 0q-28 0-35 10t-7 30l0 310-84 0q-22 0-27 11t11 27l400 402q16 16 38 16t38-16z" horiz-adv-x="900" />
12
-
13
- <glyph glyph-name="search-1" unicode="&#xe802;" d="M772 78q30-34 6-62l-46-46q-36-32-68 0l-190 190q-74-42-156-42-128 0-223 95t-95 223 90 219 218 91 224-95 96-223q0-88-46-162z m-678 358q0-88 68-156t156-68 151 63 63 153q0 88-68 155t-156 67-151-63-63-151z" horiz-adv-x="789" />
14
- </font>
15
- </defs>
16
- </svg>
Binary file
Binary file
Binary file
@@ -1,37 +0,0 @@
1
- .clipboard-button {
2
- position: absolute;
3
- right: 0;
4
- font-size: 1.25em;
5
- opacity: 0.2;
6
- transition: opacity 0.3s;
7
- }
8
-
9
- table.CodeRay:hover .clipboard-button {
10
- opacity: 1;
11
- transition: opacity 0.3s;
12
- }
13
-
14
- table.CodeRay {
15
- position: relative;
16
- margin-bottom: 0;
17
-
18
- pre {
19
- margin-bottom: 0;
20
- }
21
-
22
- tr, td {
23
- border: 0;
24
- pre {
25
- margin-left: 0;
26
- }
27
- }
28
-
29
- td.line-numbers {
30
- background: #eee;
31
- padding: 4px;
32
- }
33
-
34
- td.code {
35
- }
36
-
37
- }