marked-conductor 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/README.md +18 -3
- data/html/Array.html +1 -1
- data/html/Conductor/Command.html +1 -1
- data/html/Conductor/Condition.html +1 -1
- data/html/Conductor/Config.html +1 -1
- data/html/Conductor/Env.html +1 -1
- data/html/Conductor/Script.html +1 -1
- data/html/Conductor.html +2 -2
- data/html/FalseClass.html +1 -1
- data/html/Filter.html +10 -3
- data/html/Hash.html +1 -1
- data/html/Object.html +1 -1
- data/html/README_rdoc.html +1 -1
- data/html/String.html +121 -20
- data/html/TrueClass.html +1 -1
- data/html/YuiCompressor/Yui.html +447 -0
- data/html/YuiCompressor.html +93 -0
- data/html/created.rid +5 -4
- data/html/index.html +5 -1
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +57 -16
- data/lib/conductor/filter.rb +48 -0
- data/lib/conductor/version.rb +1 -1
- data/lib/conductor/yui-compressor.rb +230 -0
- data/lib/conductor.rb +1 -0
- data/src/_README.md +18 -3
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a78acbdf0f9693636a7456265dca72cf53cfa771aaa4fe0e2ad848c4b3526612
|
4
|
+
data.tar.gz: c913dc807337b977cc0caa4b843512991df890f48cff913a06fe660831aa0f53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2c6979fcb015ac31d51895772ed83c9aad4644bb8b3f151f31e6e5015ca0fda4ca0b1a994adef1c388fe5c557747cd787da8a9325a2bb543295ac3bcaddbb18
|
7
|
+
data.tar.gz: c4759af9e3af7495e659464018eaf8eb858d6d10fdb93ed8b137c85c01b71fec23d3d062b91ba1deedcc4859b6ee832064e91a476929cb89e5898d62fbdba469
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
### 1.0.17
|
2
|
+
|
3
|
+
2024-07-02 10:27
|
4
|
+
|
5
|
+
#### NEW
|
6
|
+
|
7
|
+
- AutoLink() filter will self-link bare URLs
|
8
|
+
|
9
|
+
### 1.0.16
|
10
|
+
|
11
|
+
2024-06-28 12:40
|
12
|
+
|
13
|
+
#### NEW
|
14
|
+
|
15
|
+
- New insertCSS filter to inject a stylesheet
|
16
|
+
- YUI compression for injected CSS
|
17
|
+
|
1
18
|
### 1.0.15
|
2
19
|
|
3
20
|
2024-05-25 11:14
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
# Marked Conductor
|
5
5
|
|
6
|
-
A "train conductor" for [Marked 2](https://marked2app.com). Conductor can be set up as a Custom Preprocessor or Custom Processor for Marked, and can run different commands and scripts based on conditions in a YAML configuration file, allowing you to have multiple processors that run based on predicates.
|
6
|
+
A "train conductor" for [Marked 2](https://marked2app.com) (Mac only). Conductor can be set up as a Custom Preprocessor or Custom Processor for Marked, and can run different commands and scripts based on conditions in a YAML configuration file, allowing you to have multiple processors that run based on predicates.
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
@@ -124,12 +124,16 @@ Conditions can be combined with AND or OR (must be uppercase) and simple parenth
|
|
124
124
|
|
125
125
|
The action can be `script`, `command`, or `filter`.
|
126
126
|
|
127
|
+
#### Scripts
|
128
|
+
|
127
129
|
**Scripts** are located in `~/.config/conductor/scripts/` and should be executable files that take input on STDIN (unless `$file` is specified in the `script` definition). If a script is defined starting with `~` or `/`, that will be interpreted as a full path to an alternate location.
|
128
130
|
|
129
131
|
> Example:
|
130
132
|
>
|
131
133
|
> script: github_pre
|
132
134
|
|
135
|
+
#### Commands
|
136
|
+
|
133
137
|
**Commands** are interpreted as shell commands. If a command exists in the `$PATH`, a full path will automatically be determined, so a command can be as simple as just `pandoc`. Add any arguments needed after the command.
|
134
138
|
|
135
139
|
> Example:
|
@@ -139,7 +143,10 @@ The action can be `script`, `command`, or `filter`.
|
|
139
143
|
|
140
144
|
> Using `$file` as an argument to a script or command will bypass processing of STDIN input, and instead use the value of $MARKED_PATH to read the contents of the specified file.
|
141
145
|
|
146
|
+
#### Filters
|
147
|
+
|
142
148
|
**Filters** are simple actions that can be run on the content without having to write a separate script for it. Available filters are:
|
149
|
+
|
143
150
|
| filter | description |
|
144
151
|
| :---- | :---------- |
|
145
152
|
| `setMeta(key, value)` | adds or updates a meta key, aware of YAML and MMD |
|
@@ -154,10 +161,18 @@ The action can be `script`, `command`, or `filter`.
|
|
154
161
|
| `prepend/appendFile(path)` | insert a file as Markdown at beginning or end of content |
|
155
162
|
| `prepend/appendRaw(path)` | insert a file as raw HTML at beginning or end of content |
|
156
163
|
| `prepend/appendCode(path)` | insert a file as a code block at beginning or end of content |
|
164
|
+
| `insertCSS(path)` | insert custom CSS into document |
|
165
|
+
| `autoLink()` | Turn bare URLs into \<self-linked\> urls |
|
166
|
+
|
167
|
+
For `replace` and `replaceAll`: If *search* is surrounded with forward slashes followed by optional flags (*i* for case-insensitive, *m* to make dot match newlines), e.g. `/contribut(ing)?/i`, it will be interpreted as a regular expression. The *replace* value can include numeric capture groups, e.g. `Follow$2`.
|
157
168
|
|
158
169
|
For `insertScript`, if path is just a filename it will look for a match in `~/.config/conductor/javascript` or `~/.config/conductor/scripts` and turn that into an absolute path if the file is found.
|
159
170
|
|
160
|
-
For `
|
171
|
+
For `insertCSS`, if path is just a filename (with or without .css extension), the file will be searched for in `~/.config/conductor/css` or `~/.config/conductor/files` and injected. CSS will be compressed using the YUI algorithm and inserted at the top of the document, but after any existing metadata.
|
172
|
+
|
173
|
+
For all of the prepend/append file filters, you can store files in `~/.config/conductor/files` and reference them with just a filename. Otherwise a full path will be assumed.
|
174
|
+
|
175
|
+
For `autoLink`, any URL that's not contained in parenthesis or following a `[]: url` pattern will be autolinked (surrounded by angle brackets). URLs must contain `//` to be recognized, but any protocol will work, e.g. `x-marked://refresh`.
|
161
176
|
|
162
177
|
> Example:
|
163
178
|
>
|
@@ -180,7 +195,7 @@ A script run by Conductor already knows it has the right type of file with the e
|
|
180
195
|
- Config file must be valid YAML. Any value containing colons, brackets, or other special characters should be quoted, e.g. (`condition: "text contains my:text"`)
|
181
196
|
- You can see what condition matched in Marked by opening **Help->Show Custom Processor Log** and checking the STDERR output.
|
182
197
|
- To run [a custom processor for Bear](https://brettterpstra.com/2023/10/08/marked-and-bear/), use the condition `"text contains <!-- source: bear.app -->"`. You might consider running a commonmark CLI with Bear to support more of its syntax.
|
183
|
-
- To run a custom processor for Obsidian, use the condition `tree contains .obsidian`
|
198
|
+
- To run a [custom processor for Obsidian](https://brettterpstra.com/2024/05/16/marked-2-and-obsidian/), use the condition `tree contains .obsidian`
|
184
199
|
|
185
200
|
## Testing
|
186
201
|
|
data/html/Array.html
CHANGED
@@ -154,7 +154,7 @@
|
|
154
154
|
|
155
155
|
<footer id="validator-badges" role="contentinfo">
|
156
156
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
157
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
157
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
158
158
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
159
159
|
</footer>
|
160
160
|
|
data/html/Conductor/Command.html
CHANGED
@@ -265,7 +265,7 @@
|
|
265
265
|
|
266
266
|
<footer id="validator-badges" role="contentinfo">
|
267
267
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
268
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
268
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
269
269
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
270
270
|
</footer>
|
271
271
|
|
@@ -785,7 +785,7 @@
|
|
785
785
|
|
786
786
|
<footer id="validator-badges" role="contentinfo">
|
787
787
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
788
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
788
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
789
789
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
790
790
|
</footer>
|
791
791
|
|
data/html/Conductor/Config.html
CHANGED
@@ -164,7 +164,7 @@
|
|
164
164
|
|
165
165
|
<footer id="validator-badges" role="contentinfo">
|
166
166
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
167
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
167
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
168
168
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
169
169
|
</footer>
|
170
170
|
|
data/html/Conductor/Env.html
CHANGED
@@ -214,7 +214,7 @@
|
|
214
214
|
|
215
215
|
<footer id="validator-badges" role="contentinfo">
|
216
216
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
217
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
217
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
218
218
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
219
219
|
</footer>
|
220
220
|
|
data/html/Conductor/Script.html
CHANGED
@@ -282,7 +282,7 @@
|
|
282
282
|
|
283
283
|
<footer id="validator-badges" role="contentinfo">
|
284
284
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
285
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
285
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
286
286
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
287
287
|
</footer>
|
288
288
|
|
data/html/Conductor.html
CHANGED
@@ -264,7 +264,7 @@ sub-tracks.</pre>
|
|
264
264
|
|
265
265
|
|
266
266
|
<div class="method-source-code" id="stdin-source">
|
267
|
-
<pre><span class="ruby-comment"># File lib/conductor.rb, line
|
267
|
+
<pre><span class="ruby-comment"># File lib/conductor.rb, line 28</span>
|
268
268
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">stdin</span>
|
269
269
|
<span class="ruby-identifier">warn</span> <span class="ruby-string">"input on STDIN required"</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">stat</span>.<span class="ruby-identifier">size</span>.<span class="ruby-identifier">positive?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">fcntl</span>(<span class="ruby-constant">Fcntl</span><span class="ruby-operator">::</span><span class="ruby-constant">F_GETFL</span>, <span class="ruby-value">0</span>).<span class="ruby-identifier">zero?</span>
|
270
270
|
<span class="ruby-ivar">@stdin</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">read</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-string">"utf-8"</span>)
|
@@ -357,7 +357,7 @@ sub-tracks.</pre>
|
|
357
357
|
|
358
358
|
<footer id="validator-badges" role="contentinfo">
|
359
359
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
360
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
360
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
361
361
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
362
362
|
</footer>
|
363
363
|
|
data/html/FalseClass.html
CHANGED
@@ -132,7 +132,7 @@
|
|
132
132
|
|
133
133
|
<footer id="validator-badges" role="contentinfo">
|
134
134
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
135
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
135
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
136
136
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
137
137
|
</footer>
|
138
138
|
|
data/html/Filter.html
CHANGED
@@ -145,7 +145,7 @@
|
|
145
145
|
</div>
|
146
146
|
|
147
147
|
<div class="method-source-code" id="new-source">
|
148
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
148
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 329</span>
|
149
149
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">filter</span>)
|
150
150
|
<span class="ruby-ivar">@filter</span>, <span class="ruby-ivar">@params</span> = <span class="ruby-identifier">filter</span>.<span class="ruby-identifier">normalize_filter</span>
|
151
151
|
<span class="ruby-keyword">super</span>
|
@@ -176,11 +176,16 @@
|
|
176
176
|
|
177
177
|
|
178
178
|
<div class="method-source-code" id="process-source">
|
179
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
179
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 334</span>
|
180
180
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">process</span>
|
181
181
|
<span class="ruby-identifier">content</span> = <span class="ruby-constant">Conductor</span>.<span class="ruby-identifier">stdin</span>
|
182
182
|
|
183
183
|
<span class="ruby-keyword">case</span> <span class="ruby-ivar">@filter</span>
|
184
|
+
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(insert|add|inject)(css|style)/</span>
|
185
|
+
<span class="ruby-ivar">@params</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">css</span><span class="ruby-operator">|</span>
|
186
|
+
<span class="ruby-identifier">content</span> = <span class="ruby-identifier">content</span>.<span class="ruby-identifier">insert_css</span>(<span class="ruby-identifier">css</span>)
|
187
|
+
<span class="ruby-keyword">end</span>
|
188
|
+
<span class="ruby-identifier">content</span>
|
184
189
|
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(insert|add|inject)title/</span>
|
185
190
|
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">insert_title</span>
|
186
191
|
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(insert|add|inject)script/</span>
|
@@ -240,6 +245,8 @@
|
|
240
245
|
<span class="ruby-keyword">end</span>
|
241
246
|
|
242
247
|
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">replace</span>(<span class="ruby-ivar">@params</span>[<span class="ruby-value">0</span>], <span class="ruby-ivar">@params</span>[<span class="ruby-value">1</span>])
|
248
|
+
<span class="ruby-keyword">when</span> <span class="ruby-regexp">/(auto|self)link/</span>
|
249
|
+
<span class="ruby-identifier">content</span>.<span class="ruby-identifier">autolink</span>
|
243
250
|
<span class="ruby-keyword">end</span>
|
244
251
|
<span class="ruby-keyword">end</span></pre>
|
245
252
|
</div>
|
@@ -256,7 +263,7 @@
|
|
256
263
|
|
257
264
|
<footer id="validator-badges" role="contentinfo">
|
258
265
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
259
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
266
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
260
267
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
261
268
|
</footer>
|
262
269
|
|
data/html/Hash.html
CHANGED
@@ -154,7 +154,7 @@
|
|
154
154
|
|
155
155
|
<footer id="validator-badges" role="contentinfo">
|
156
156
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
157
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
157
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
158
158
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
159
159
|
</footer>
|
160
160
|
|
data/html/Object.html
CHANGED
@@ -132,7 +132,7 @@
|
|
132
132
|
|
133
133
|
<footer id="validator-badges" role="contentinfo">
|
134
134
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
135
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
135
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
136
136
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
137
137
|
</footer>
|
138
138
|
|
data/html/README_rdoc.html
CHANGED
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
<footer id="validator-badges" role="contentinfo">
|
82
82
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
83
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
83
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
84
84
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
85
85
|
</footer>
|
86
86
|
|
data/html/String.html
CHANGED
@@ -76,6 +76,7 @@
|
|
76
76
|
<li ><a href="#method-i-add_mmd">#add_mmd</a>
|
77
77
|
<li ><a href="#method-i-add_yaml">#add_yaml</a>
|
78
78
|
<li ><a href="#method-i-append">#append</a>
|
79
|
+
<li ><a href="#method-i-autolink">#autolink</a>
|
79
80
|
<li ><a href="#method-i-bool-3F">#bool?</a>
|
80
81
|
<li ><a href="#method-i-bool_to_symbol">#bool_to_symbol</a>
|
81
82
|
<li ><a href="#method-i-date-3F">#date?</a>
|
@@ -86,6 +87,7 @@
|
|
86
87
|
<li ><a href="#method-i-first_h2">#first_h2</a>
|
87
88
|
<li ><a href="#method-i-get_title">#get_title</a>
|
88
89
|
<li ><a href="#method-i-has_comment-3F">#has_comment?</a>
|
90
|
+
<li ><a href="#method-i-insert_css">#insert_css</a>
|
89
91
|
<li ><a href="#method-i-insert_file">#insert_file</a>
|
90
92
|
<li ><a href="#method-i-insert_script">#insert_script</a>
|
91
93
|
<li ><a href="#method-i-insert_title">#insert_title</a>
|
@@ -111,6 +113,7 @@
|
|
111
113
|
<li ><a href="#method-i-to_day">#to_day</a>
|
112
114
|
<li ><a href="#method-i-to_pattern">#to_pattern</a>
|
113
115
|
<li ><a href="#method-i-to_rx">#to_rx</a>
|
116
|
+
<li ><a href="#method-i-wrap_style">#wrap_style</a>
|
114
117
|
<li ><a href="#method-i-yaml-3F">#yaml?</a>
|
115
118
|
</ul>
|
116
119
|
</div>
|
@@ -155,7 +158,7 @@
|
|
155
158
|
|
156
159
|
|
157
160
|
<div class="method-source-code" id="add_comment-source">
|
158
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
161
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 267</span>
|
159
162
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_comment</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>)
|
160
163
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">has_comment?</span>(<span class="ruby-identifier">key</span>)
|
161
164
|
<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/ *#{key}: .*?$/</span>, <span class="ruby-node">"#{key}: #{value}"</span>)
|
@@ -184,7 +187,7 @@
|
|
184
187
|
|
185
188
|
|
186
189
|
<div class="method-source-code" id="add_mmd-source">
|
187
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
190
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 249</span>
|
188
191
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_mmd</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>)
|
189
192
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">match</span>(<span class="ruby-regexp">/(\A|\n) *#{key}: *\S+/i</span>)
|
190
193
|
<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/^ *#{key}:.*?\n/i</span>, <span class="ruby-node">"#{key}: #{value}\n"</span>)
|
@@ -213,7 +216,7 @@
|
|
213
216
|
|
214
217
|
|
215
218
|
<div class="method-source-code" id="add_yaml-source">
|
216
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
219
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 231</span>
|
217
220
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_yaml</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>)
|
218
221
|
<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/^---.*?\n(---|\.\.\.)/m</span>) <span class="ruby-keyword">do</span>
|
219
222
|
<span class="ruby-identifier">m</span> = <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>
|
@@ -241,7 +244,7 @@
|
|
241
244
|
|
242
245
|
|
243
246
|
<div class="method-source-code" id="append-source">
|
244
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
247
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 153</span>
|
245
248
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">append</span>(<span class="ruby-identifier">string</span>)
|
246
249
|
<span class="ruby-node">"#{self}\n#{string}"</span>
|
247
250
|
<span class="ruby-keyword">end</span></pre>
|
@@ -249,6 +252,30 @@
|
|
249
252
|
</div>
|
250
253
|
|
251
254
|
|
255
|
+
</div>
|
256
|
+
|
257
|
+
<div id="method-i-autolink" class="method-detail ">
|
258
|
+
<div class="method-header">
|
259
|
+
<div class="method-heading">
|
260
|
+
<span class="method-name">autolink</span><span
|
261
|
+
class="method-args">()</span>
|
262
|
+
<span class="method-click-advice">click to toggle source</span>
|
263
|
+
</div>
|
264
|
+
</div>
|
265
|
+
|
266
|
+
<div class="method-description">
|
267
|
+
|
268
|
+
|
269
|
+
<div class="method-source-code" id="autolink-source">
|
270
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 304</span>
|
271
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">autolink</span>
|
272
|
+
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">%r{(?mi)(?<!\(|]: )\b((?:[\w-]+?://)[-a-zA-Z0-9@:%._+~#=]{2,256}\b(?:[-a-zA-Z0-9@:%_+.~#?&/=]*))}</span>,
|
273
|
+
<span class="ruby-string">'<\1>'</span>)
|
274
|
+
<span class="ruby-keyword">end</span></pre>
|
275
|
+
</div>
|
276
|
+
</div>
|
277
|
+
|
278
|
+
|
252
279
|
</div>
|
253
280
|
|
254
281
|
<div id="method-i-bool-3F" class="method-detail ">
|
@@ -346,7 +373,7 @@
|
|
346
373
|
|
347
374
|
|
348
375
|
<div class="method-source-code" id="delete_meta-source">
|
349
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
376
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 277</span>
|
350
377
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete_meta</span>(<span class="ruby-identifier">key</span>)
|
351
378
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">meta_type</span>
|
352
379
|
<span class="ruby-keyword">when</span> <span class="ruby-value">:yaml</span>
|
@@ -374,7 +401,7 @@
|
|
374
401
|
|
375
402
|
|
376
403
|
<div class="method-source-code" id="delete_mmd-source">
|
377
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
404
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 259</span>
|
378
405
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete_mmd</span>(<span class="ruby-identifier">key</span>)
|
379
406
|
<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/^ *#{key}:.*?\n/i</span>, <span class="ruby-string">""</span>)
|
380
407
|
<span class="ruby-keyword">end</span></pre>
|
@@ -397,7 +424,7 @@
|
|
397
424
|
|
398
425
|
|
399
426
|
<div class="method-source-code" id="delete_yaml-source">
|
400
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
427
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 240</span>
|
401
428
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">delete_yaml</span>(<span class="ruby-identifier">key</span>)
|
402
429
|
<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/^---.*?\n(---|\.\.\.)/m</span>) <span class="ruby-keyword">do</span>
|
403
430
|
<span class="ruby-identifier">m</span> = <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>
|
@@ -485,7 +512,7 @@
|
|
485
512
|
|
486
513
|
|
487
514
|
<div class="method-source-code" id="get_title-source">
|
488
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
515
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 186</span>
|
489
516
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_title</span>
|
490
517
|
<span class="ruby-identifier">title</span> = <span class="ruby-keyword">nil</span>
|
491
518
|
|
@@ -529,7 +556,7 @@
|
|
529
556
|
|
530
557
|
|
531
558
|
<div class="method-source-code" id="has_comment-3F-source">
|
532
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
559
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 263</span>
|
533
560
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">has_comment?</span>(<span class="ruby-identifier">key</span>)
|
534
561
|
<span class="ruby-identifier">match</span>(<span class="ruby-regexp">/^<!--.*?#{key}: \S.*?-->/m</span>)
|
535
562
|
<span class="ruby-keyword">end</span></pre>
|
@@ -537,6 +564,53 @@
|
|
537
564
|
</div>
|
538
565
|
|
539
566
|
|
567
|
+
</div>
|
568
|
+
|
569
|
+
<div id="method-i-insert_css" class="method-detail ">
|
570
|
+
<div class="method-header">
|
571
|
+
<div class="method-heading">
|
572
|
+
<span class="method-name">insert_css</span><span
|
573
|
+
class="method-args">(path)</span>
|
574
|
+
<span class="method-click-advice">click to toggle source</span>
|
575
|
+
</div>
|
576
|
+
</div>
|
577
|
+
|
578
|
+
<div class="method-description">
|
579
|
+
|
580
|
+
|
581
|
+
<div class="method-source-code" id="insert_css-source">
|
582
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 95</span>
|
583
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insert_css</span>(<span class="ruby-identifier">path</span>)
|
584
|
+
<span class="ruby-identifier">path</span>.<span class="ruby-identifier">sub!</span>(<span class="ruby-regexp">/(\.css)?$/</span>, <span class="ruby-string">'.css'</span>)
|
585
|
+
|
586
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">path</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r{^[~/]}</span>
|
587
|
+
<span class="ruby-identifier">path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">path</span>)
|
588
|
+
<span class="ruby-keyword">elsif</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-string">"~/.config/conductor/css"</span>))
|
589
|
+
<span class="ruby-identifier">new_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-node">"~/.config/conductor/css/#{path}"</span>)
|
590
|
+
<span class="ruby-identifier">path</span> = <span class="ruby-identifier">new_path</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">new_path</span>)
|
591
|
+
<span class="ruby-keyword">elsif</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-string">"~/.config/conductor/files"</span>))
|
592
|
+
<span class="ruby-identifier">new_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-node">"~/.config/conductor/files/#{path}"</span>)
|
593
|
+
<span class="ruby-identifier">path</span> = <span class="ruby-identifier">new_path</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">new_path</span>)
|
594
|
+
<span class="ruby-keyword">end</span>
|
595
|
+
|
596
|
+
<span class="ruby-keyword">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">path</span>)
|
597
|
+
<span class="ruby-identifier">content</span> = <span class="ruby-constant">IO</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">path</span>)
|
598
|
+
<span class="ruby-identifier">yui</span> = <span class="ruby-constant">YuiCompressor</span><span class="ruby-operator">::</span><span class="ruby-constant">Yui</span>.<span class="ruby-identifier">new</span>
|
599
|
+
<span class="ruby-identifier">content</span> = <span class="ruby-identifier">yui</span>.<span class="ruby-identifier">compress</span>(<span class="ruby-identifier">content</span>)
|
600
|
+
<span class="ruby-identifier">lines</span> = <span class="ruby-identifier">split</span>(<span class="ruby-regexp">/\n/</span>)
|
601
|
+
<span class="ruby-identifier">insert_point</span> = <span class="ruby-identifier">meta_insert_point</span>
|
602
|
+
<span class="ruby-identifier">insert_at</span> = <span class="ruby-identifier">insert_point</span>.<span class="ruby-identifier">positive?</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">insert_point</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span> <span class="ruby-operator">:</span> <span class="ruby-value">0</span>
|
603
|
+
<span class="ruby-identifier">lines</span>.<span class="ruby-identifier">insert</span>(<span class="ruby-identifier">insert_at</span>, <span class="ruby-node">"#{content.wrap_style}\n\n"</span>)
|
604
|
+
<span class="ruby-identifier">lines</span>.<span class="ruby-identifier">join</span>(<span class="ruby-string">"\n"</span>)
|
605
|
+
<span class="ruby-keyword">else</span>
|
606
|
+
<span class="ruby-identifier">warn</span> <span class="ruby-node">"File not found (#{path})"</span>
|
607
|
+
<span class="ruby-keyword">self</span>
|
608
|
+
<span class="ruby-keyword">end</span>
|
609
|
+
<span class="ruby-keyword">end</span></pre>
|
610
|
+
</div>
|
611
|
+
</div>
|
612
|
+
|
613
|
+
|
540
614
|
</div>
|
541
615
|
|
542
616
|
<div id="method-i-insert_file" class="method-detail ">
|
@@ -552,7 +626,7 @@
|
|
552
626
|
|
553
627
|
|
554
628
|
<div class="method-source-code" id="insert_file-source">
|
555
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
629
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 123</span>
|
556
630
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insert_file</span>(<span class="ruby-identifier">path</span>, <span class="ruby-identifier">type</span> = <span class="ruby-value">:file</span>, <span class="ruby-identifier">position</span> = <span class="ruby-value">:end</span>)
|
557
631
|
<span class="ruby-identifier">path</span>.<span class="ruby-identifier">strip!</span>
|
558
632
|
|
@@ -601,7 +675,7 @@
|
|
601
675
|
|
602
676
|
|
603
677
|
<div class="method-source-code" id="insert_script-source">
|
604
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
678
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 157</span>
|
605
679
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insert_script</span>(<span class="ruby-identifier">path</span>)
|
606
680
|
<span class="ruby-identifier">path</span>.<span class="ruby-identifier">strip!</span>
|
607
681
|
<span class="ruby-identifier">path</span> = <span class="ruby-node">"#{path}.js"</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">path</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">/\.js$/</span>
|
@@ -641,7 +715,7 @@
|
|
641
715
|
|
642
716
|
|
643
717
|
<div class="method-source-code" id="insert_title-source">
|
644
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
718
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 211</span>
|
645
719
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">insert_title</span>
|
646
720
|
<span class="ruby-identifier">title</span> = <span class="ruby-identifier">get_title</span>
|
647
721
|
<span class="ruby-identifier">lines</span> = <span class="ruby-identifier">split</span>(<span class="ruby-regexp">/\n/</span>)
|
@@ -915,7 +989,7 @@
|
|
915
989
|
|
916
990
|
|
917
991
|
<div class="method-source-code" id="replace-source">
|
918
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
992
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 300</span>
|
919
993
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">replace</span>(<span class="ruby-identifier">regex</span>, <span class="ruby-identifier">pattern</span>)
|
920
994
|
<span class="ruby-identifier">sub</span>(<span class="ruby-identifier">regex</span>.<span class="ruby-identifier">to_rx</span>, <span class="ruby-identifier">pattern</span>.<span class="ruby-identifier">to_pattern</span>)
|
921
995
|
<span class="ruby-keyword">end</span></pre>
|
@@ -938,7 +1012,7 @@
|
|
938
1012
|
|
939
1013
|
|
940
1014
|
<div class="method-source-code" id="replace_all-source">
|
941
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
1015
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 296</span>
|
942
1016
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">replace_all</span>(<span class="ruby-identifier">regex</span>, <span class="ruby-identifier">pattern</span>)
|
943
1017
|
<span class="ruby-identifier">gsub</span>(<span class="ruby-identifier">regex</span>.<span class="ruby-identifier">to_rx</span>, <span class="ruby-identifier">pattern</span>.<span class="ruby-identifier">to_pattern</span>)
|
944
1018
|
<span class="ruby-keyword">end</span></pre>
|
@@ -961,7 +1035,7 @@
|
|
961
1035
|
|
962
1036
|
|
963
1037
|
<div class="method-source-code" id="set_meta-source">
|
964
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
1038
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 220</span>
|
965
1039
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">set_meta</span>(<span class="ruby-identifier">key</span>, <span class="ruby-identifier">value</span>, <span class="ruby-value">style:</span> <span class="ruby-value">:comment</span>)
|
966
1040
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">style</span>
|
967
1041
|
<span class="ruby-keyword">when</span> <span class="ruby-value">:yaml</span>
|
@@ -991,7 +1065,7 @@
|
|
991
1065
|
|
992
1066
|
|
993
1067
|
<div class="method-source-code" id="strip_meta-source">
|
994
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
1068
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 286</span>
|
995
1069
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">strip_meta</span>
|
996
1070
|
<span class="ruby-keyword">case</span> <span class="ruby-identifier">meta_type</span>
|
997
1071
|
<span class="ruby-keyword">when</span> <span class="ruby-value">:yaml</span>
|
@@ -1070,7 +1144,7 @@
|
|
1070
1144
|
|
1071
1145
|
|
1072
1146
|
<div class="method-source-code" id="title_from_slug-source">
|
1073
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
1147
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 178</span>
|
1074
1148
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">title_from_slug</span>
|
1075
1149
|
<span class="ruby-identifier">filename</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-constant">Conductor</span><span class="ruby-operator">::</span><span class="ruby-constant">Env</span>.<span class="ruby-identifier">env</span>[<span class="ruby-value">:filepath</span>]).<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/\.[a-z]+$/i</span>, <span class="ruby-string">""</span>)
|
1076
1150
|
<span class="ruby-identifier">filename</span>.<span class="ruby-identifier">sub!</span>(<span class="ruby-regexp">/-?\d{4}-\d{2}-\d{2}-?/</span>, <span class="ruby-string">""</span>)
|
@@ -1229,7 +1303,7 @@
|
|
1229
1303
|
|
1230
1304
|
|
1231
1305
|
<div class="method-source-code" id="to_pattern-source">
|
1232
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
1306
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 320</span>
|
1233
1307
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_pattern</span>
|
1234
1308
|
<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/\$(\d+)/</span>, <span class="ruby-string">'\\\\\1'</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp">/(^["']|["']$)/</span>, <span class="ruby-string">""</span>)
|
1235
1309
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1252,7 +1326,7 @@
|
|
1252
1326
|
|
1253
1327
|
|
1254
1328
|
<div class="method-source-code" id="to_rx-source">
|
1255
|
-
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line
|
1329
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 309</span>
|
1256
1330
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">to_rx</span>
|
1257
1331
|
<span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp">%r{^/(.*?)/([im]+)?$}</span>
|
1258
1332
|
<span class="ruby-identifier">m</span> = <span class="ruby-constant">Regexp</span>.<span class="ruby-identifier">last_match</span>
|
@@ -1267,6 +1341,33 @@
|
|
1267
1341
|
</div>
|
1268
1342
|
|
1269
1343
|
|
1344
|
+
</div>
|
1345
|
+
|
1346
|
+
<div id="method-i-wrap_style" class="method-detail ">
|
1347
|
+
<div class="method-header">
|
1348
|
+
<div class="method-heading">
|
1349
|
+
<span class="method-name">wrap_style</span><span
|
1350
|
+
class="method-args">()</span>
|
1351
|
+
<span class="method-click-advice">click to toggle source</span>
|
1352
|
+
</div>
|
1353
|
+
</div>
|
1354
|
+
|
1355
|
+
<div class="method-description">
|
1356
|
+
|
1357
|
+
|
1358
|
+
<div class="method-source-code" id="wrap_style-source">
|
1359
|
+
<pre><span class="ruby-comment"># File lib/conductor/filter.rb, line 87</span>
|
1360
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">wrap_style</span>
|
1361
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r{<style>.*?</style>}m</span>)
|
1362
|
+
<span class="ruby-keyword">self</span>
|
1363
|
+
<span class="ruby-keyword">else</span>
|
1364
|
+
<span class="ruby-node">"<style>#{self}</style>"</span>
|
1365
|
+
<span class="ruby-keyword">end</span>
|
1366
|
+
<span class="ruby-keyword">end</span></pre>
|
1367
|
+
</div>
|
1368
|
+
</div>
|
1369
|
+
|
1370
|
+
|
1270
1371
|
</div>
|
1271
1372
|
|
1272
1373
|
<div id="method-i-yaml-3F" class="method-detail ">
|
@@ -1302,7 +1403,7 @@
|
|
1302
1403
|
|
1303
1404
|
<footer id="validator-badges" role="contentinfo">
|
1304
1405
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
1305
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
1406
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
1306
1407
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
1307
1408
|
</footer>
|
1308
1409
|
|
data/html/TrueClass.html
CHANGED
@@ -132,7 +132,7 @@
|
|
132
132
|
|
133
133
|
<footer id="validator-badges" role="contentinfo">
|
134
134
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
135
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
135
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
|
136
136
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
137
137
|
</footer>
|
138
138
|
|