madness 0.9.9 → 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.9
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: 2023-01-16 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
@@ -25,137 +25,131 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.7'
27
27
  - !ruby/object:Gem::Dependency
28
- name: coderay
28
+ name: colsole
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.1'
33
+ version: '0.5'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.1'
40
+ version: '0.5'
41
41
  - !ruby/object:Gem::Dependency
42
- name: colsole
42
+ name: docopt
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.7.2
47
+ version: '0.6'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.7.2
54
+ version: '0.6'
55
55
  - !ruby/object:Gem::Dependency
56
- name: commonmarker
56
+ name: extended_yaml
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.23'
62
- - - ">="
63
- - !ruby/object:Gem::Version
64
- version: 0.23.4
61
+ version: '0.2'
65
62
  type: :runtime
66
63
  prerelease: false
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
66
  - - "~>"
70
67
  - !ruby/object:Gem::Version
71
- version: '0.23'
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: 0.23.4
68
+ version: '0.2'
75
69
  - !ruby/object:Gem::Dependency
76
- name: docopt
70
+ name: naturally
77
71
  requirement: !ruby/object:Gem::Requirement
78
72
  requirements:
79
73
  - - "~>"
80
74
  - !ruby/object:Gem::Version
81
- version: '0.6'
75
+ version: '2.2'
82
76
  type: :runtime
83
77
  prerelease: false
84
78
  version_requirements: !ruby/object:Gem::Requirement
85
79
  requirements:
86
80
  - - "~>"
87
81
  - !ruby/object:Gem::Version
88
- version: '0.6'
82
+ version: '2.2'
89
83
  - !ruby/object:Gem::Dependency
90
- name: extended_yaml
84
+ name: os
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
87
  - - "~>"
94
88
  - !ruby/object:Gem::Version
95
- version: 0.2.3
89
+ version: '1.0'
96
90
  type: :runtime
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
94
  - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: 0.2.3
96
+ version: '1.0'
103
97
  - !ruby/object:Gem::Dependency
104
- name: naturally
98
+ name: puma
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
- - - "~>"
101
+ - - ">="
108
102
  - !ruby/object:Gem::Version
109
- version: '2.2'
103
+ version: '5.1'
110
104
  type: :runtime
111
105
  prerelease: false
112
106
  version_requirements: !ruby/object:Gem::Requirement
113
107
  requirements:
114
- - - "~>"
108
+ - - ">="
115
109
  - !ruby/object:Gem::Version
116
- version: '2.2'
110
+ version: '5.1'
117
111
  - !ruby/object:Gem::Dependency
118
- name: os
112
+ name: redcarpet
119
113
  requirement: !ruby/object:Gem::Requirement
120
114
  requirements:
121
115
  - - "~>"
122
116
  - !ruby/object:Gem::Version
123
- version: '1.0'
117
+ version: '3.5'
124
118
  type: :runtime
125
119
  prerelease: false
126
120
  version_requirements: !ruby/object:Gem::Requirement
127
121
  requirements:
128
122
  - - "~>"
129
123
  - !ruby/object:Gem::Version
130
- version: '1.0'
124
+ version: '3.5'
131
125
  - !ruby/object:Gem::Dependency
132
- name: puma
126
+ name: requires
133
127
  requirement: !ruby/object:Gem::Requirement
134
128
  requirements:
135
- - - ">="
129
+ - - "~>"
136
130
  - !ruby/object:Gem::Version
137
- version: '5.1'
131
+ version: '1.0'
138
132
  type: :runtime
139
133
  prerelease: false
140
134
  version_requirements: !ruby/object:Gem::Requirement
141
135
  requirements:
142
- - - ">="
136
+ - - "~>"
143
137
  - !ruby/object:Gem::Version
144
- version: '5.1'
138
+ version: '1.0'
145
139
  - !ruby/object:Gem::Dependency
146
- name: requires
140
+ name: rouge
147
141
  requirement: !ruby/object:Gem::Requirement
148
142
  requirements:
149
143
  - - "~>"
150
144
  - !ruby/object:Gem::Version
151
- version: '1.0'
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: '1.0'
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
@@ -270,9 +268,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
270
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
275
  rubygems_version: 3.4.3
278
276
  signing_key:
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
- }