standup_md 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -9
- data/doc/README_md.html +7 -13
- data/doc/StandupMD.html +5 -79
- data/doc/StandupMD/Cli.html +10 -152
- data/doc/StandupMD/Cli/Helpers.html +5 -27
- data/doc/StandupMD/Config.html +7 -44
- data/doc/StandupMD/Config/Cli.html +8 -76
- data/doc/StandupMD/Config/Entry.html +8 -64
- data/doc/StandupMD/Config/EntryList.html +7 -48
- data/doc/StandupMD/Config/File.html +8 -140
- data/doc/StandupMD/Entry.html +10 -119
- data/doc/StandupMD/EntryList.html +16 -198
- data/doc/StandupMD/File.html +31 -165
- data/doc/StandupMD/Version.html +5 -38
- data/doc/created.rid +4 -4
- data/doc/css/rdoc.css +1 -1
- data/doc/index.html +7 -28
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +1 -62
- data/lib/standup_md/version.rb +1 -1
- metadata +2 -2
data/doc/StandupMD/Version.html
CHANGED
@@ -21,8 +21,6 @@
|
|
21
21
|
<link href="../css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
|
-
|
26
24
|
<body id="top" role="document" class="module">
|
27
25
|
<nav role="navigation">
|
28
26
|
<div id="project-navigation">
|
@@ -62,14 +60,13 @@
|
|
62
60
|
|
63
61
|
|
64
62
|
|
65
|
-
|
63
|
+
|
64
|
+
<!-- Method Quickref -->
|
66
65
|
<div id="method-list-section" class="nav-section">
|
67
66
|
<h3>Methods</h3>
|
68
67
|
|
69
68
|
<ul class="link-list" role="directory">
|
70
|
-
|
71
69
|
<li ><a href="#method-c-to_s">::to_s</a>
|
72
|
-
|
73
70
|
</ul>
|
74
71
|
</div>
|
75
72
|
|
@@ -87,90 +84,60 @@
|
|
87
84
|
|
88
85
|
</section>
|
89
86
|
|
90
|
-
|
91
87
|
<section id="5Buntitled-5D" class="documentation-section">
|
92
|
-
|
93
88
|
|
94
|
-
|
95
89
|
|
96
|
-
|
97
90
|
<section class="constants-list">
|
98
91
|
<header>
|
99
92
|
<h3>Constants</h3>
|
100
93
|
</header>
|
101
94
|
<dl>
|
102
|
-
|
103
95
|
<dt id="MAJOR">MAJOR
|
104
|
-
|
105
96
|
<dd><p>Major version.</p>
|
106
|
-
|
107
|
-
|
108
97
|
<dt id="MINOR">MINOR
|
109
|
-
|
110
98
|
<dd><p>Minor version.</p>
|
111
|
-
|
112
|
-
|
113
99
|
<dt id="PATCH">PATCH
|
114
|
-
|
115
100
|
<dd><p>Patch version.</p>
|
116
|
-
|
117
|
-
|
118
101
|
</dl>
|
119
102
|
</section>
|
120
|
-
|
121
103
|
|
122
|
-
|
123
104
|
|
124
|
-
|
105
|
+
|
125
106
|
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
126
107
|
<header>
|
127
108
|
<h3>Public Class Methods</h3>
|
128
109
|
</header>
|
129
110
|
|
130
|
-
|
131
111
|
<div id="method-c-to_s" class="method-detail ">
|
132
|
-
|
133
112
|
<div class="method-heading">
|
134
113
|
<span class="method-name">to_s</span><span
|
135
114
|
class="method-args">()</span>
|
136
|
-
|
137
115
|
<span class="method-click-advice">click to toggle source</span>
|
138
|
-
|
139
116
|
</div>
|
140
|
-
|
141
117
|
|
142
118
|
<div class="method-description">
|
143
|
-
|
144
119
|
<p><a href="Version.html"><code>Version</code></a> as <code>MAJOR.MINOR.PATCH</code></p>
|
145
|
-
|
146
|
-
|
147
120
|
|
148
|
-
|
149
121
|
<div class="method-source-code" id="to_s-source">
|
150
122
|
<pre><span class="ruby-comment"># File lib/standup_md/version.rb, line 24</span>
|
151
123
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">to_s</span>
|
152
124
|
<span class="ruby-node">"#{MAJOR}.#{MINOR}.#{PATCH}"</span>
|
153
125
|
<span class="ruby-keyword">end</span></pre>
|
154
126
|
</div>
|
155
|
-
|
156
127
|
</div>
|
157
128
|
|
158
|
-
|
159
129
|
|
160
|
-
|
161
130
|
</div>
|
162
131
|
|
163
|
-
|
164
132
|
</section>
|
165
|
-
|
166
|
-
</section>
|
167
133
|
|
134
|
+
</section>
|
168
135
|
</main>
|
169
136
|
|
170
137
|
|
171
138
|
<footer id="validator-badges" role="contentinfo">
|
172
139
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
173
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
140
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
174
141
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
175
142
|
</footer>
|
176
143
|
|
data/doc/created.rid
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
README.md
|
1
|
+
Fri, 30 Apr 2021 10:18:47 -0500
|
2
|
+
README.md Fri, 30 Apr 2021 10:15:18 -0500
|
3
3
|
lib/standup_md.rb Tue, 13 Oct 2020 21:04:02 -0500
|
4
4
|
lib/standup_md/cli.rb Tue, 13 Oct 2020 21:04:02 -0500
|
5
5
|
lib/standup_md/cli/helpers.rb Tue, 13 Oct 2020 21:49:05 -0500
|
@@ -10,6 +10,6 @@ lib/standup_md/config/entry_list.rb Wed, 17 Jun 2020 08:47:50 -0500
|
|
10
10
|
lib/standup_md/config/file.rb Wed, 17 Jun 2020 08:47:50 -0500
|
11
11
|
lib/standup_md/entry.rb Tue, 17 Nov 2020 11:34:44 -0600
|
12
12
|
lib/standup_md/entry_list.rb Mon, 12 Apr 2021 21:51:46 -0500
|
13
|
-
lib/standup_md/file.rb
|
13
|
+
lib/standup_md/file.rb Mon, 26 Apr 2021 09:04:06 -0500
|
14
14
|
lib/standup_md/file/helpers.rb Tue, 13 Oct 2020 21:04:02 -0500
|
15
|
-
lib/standup_md/version.rb
|
15
|
+
lib/standup_md/version.rb Fri, 30 Apr 2021 10:18:44 -0500
|
data/doc/css/rdoc.css
CHANGED
data/doc/index.html
CHANGED
@@ -21,8 +21,6 @@
|
|
21
21
|
<link href="./css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
|
-
|
26
24
|
<body id="top" role="document" class="file">
|
27
25
|
<nav role="navigation">
|
28
26
|
<div id="project-navigation">
|
@@ -57,13 +55,12 @@
|
|
57
55
|
</div>
|
58
56
|
|
59
57
|
<div id="project-metadata">
|
60
|
-
|
58
|
+
|
59
|
+
<div id="fileindex-section" class="nav-section">
|
61
60
|
<h3>Pages</h3>
|
62
61
|
|
63
62
|
<ul class="link-list">
|
64
|
-
|
65
63
|
<li><a href="./README_md.html">README</a>
|
66
|
-
|
67
64
|
</ul>
|
68
65
|
</div>
|
69
66
|
|
@@ -71,31 +68,18 @@
|
|
71
68
|
<h3>Class and Module Index</h3>
|
72
69
|
|
73
70
|
<ul class="link-list">
|
74
|
-
|
75
71
|
<li><a href="./StandupMD.html">StandupMD</a>
|
76
|
-
|
77
72
|
<li><a href="./StandupMD/Cli.html">StandupMD::Cli</a>
|
78
|
-
|
79
73
|
<li><a href="./StandupMD/Cli/Helpers.html">StandupMD::Cli::Helpers</a>
|
80
|
-
|
81
74
|
<li><a href="./StandupMD/Config.html">StandupMD::Config</a>
|
82
|
-
|
83
75
|
<li><a href="./StandupMD/Config/Cli.html">StandupMD::Config::Cli</a>
|
84
|
-
|
85
76
|
<li><a href="./StandupMD/Config/Entry.html">StandupMD::Config::Entry</a>
|
86
|
-
|
87
77
|
<li><a href="./StandupMD/Config/EntryList.html">StandupMD::Config::EntryList</a>
|
88
|
-
|
89
78
|
<li><a href="./StandupMD/Config/File.html">StandupMD::Config::File</a>
|
90
|
-
|
91
79
|
<li><a href="./StandupMD/Entry.html">StandupMD::Entry</a>
|
92
|
-
|
93
80
|
<li><a href="./StandupMD/EntryList.html">StandupMD::EntryList</a>
|
94
|
-
|
95
81
|
<li><a href="./StandupMD/File.html">StandupMD::File</a>
|
96
|
-
|
97
82
|
<li><a href="./StandupMD/Version.html">StandupMD::Version</a>
|
98
|
-
|
99
83
|
</ul>
|
100
84
|
</div>
|
101
85
|
|
@@ -321,7 +305,7 @@ rake install</pre>
|
|
321
305
|
|
322
306
|
<p>The API is fully documented in the <a href="https://evanthegrayt.github.io/standup_md/doc/index.html">RDoc Documentation</a>.</p>
|
323
307
|
|
324
|
-
<p>This was mainly written as a command line utility, but the API is
|
308
|
+
<p>This was mainly written as a command line utility, but the API is very robust, and is available for use in your own projects. A quick example of how to write a new entry via code could look like the following:</p>
|
325
309
|
|
326
310
|
<h3 id="label-API+Examples">API Examples<span><a href="#label-API+Examples">¶</a> <a href="#top">↑</a></span></h3>
|
327
311
|
|
@@ -364,16 +348,13 @@ rake install</pre>
|
|
364
348
|
|
365
349
|
<p>While there's no official support for vim, you can add this to your <code>vimrc</code> file, or something like <code>~/.vim/plugin/standup.vim</code>.</p>
|
366
350
|
|
367
|
-
<pre>
|
368
|
-
|
369
|
-
\ call s:OpenStandupFile(<bang>0, <f-args>)
|
370
|
-
endif
|
351
|
+
<pre>command! -complete=custom,<SID>StandupCompletion -nargs=? -bang Standup
|
352
|
+
\ call s:OpenStandupFile(<bang>0, <f-args>)
|
371
353
|
|
372
354
|
function! s:StandupCompletion(...) abort
|
373
355
|
let l:dir = get(g:, 'standup_dir', $HOME . '/.cache/standup_md') . '/'
|
374
356
|
if !isdirectory(l:dir) | return '' | endif
|
375
|
-
|
376
|
-
return join(map(l:list, "substitute(v:val, l:dir, '', '')"), "\n")
|
357
|
+
return join(map(glob(l:dir . '*.md', 0, 1), "fnamemodify(v:val, ':t')"), "\n")
|
377
358
|
endfunction
|
378
359
|
|
379
360
|
function! s:OpenStandupFile(split, ...)
|
@@ -396,14 +377,12 @@ g:standup_file = strftime('%Y_%m.md') " the file format to u
|
|
396
377
|
|
397
378
|
<p>I do these projects for fun, and I enjoy knowing that they're helpful to people. Consider starring <a href="https://github.com/evanthegrayt/standup_md">the repository</a> if you like it! If you love it, follow me <a href="https://github.com/evanthegrayt">on Github</a>!</p>
|
398
379
|
|
399
|
-
|
400
380
|
</main>
|
401
381
|
|
402
382
|
|
403
|
-
|
404
383
|
<footer id="validator-badges" role="contentinfo">
|
405
384
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
406
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
385
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
407
386
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
408
387
|
</footer>
|
409
388
|
|
data/doc/js/navigation.js.gz
CHANGED
Binary file
|
data/doc/js/search_index.js.gz
CHANGED
Binary file
|
data/doc/js/searcher.js.gz
CHANGED
Binary file
|
data/doc/table_of_contents.html
CHANGED
@@ -21,146 +21,86 @@
|
|
21
21
|
<link href="./css/rdoc.css" rel="stylesheet">
|
22
22
|
|
23
23
|
|
24
|
-
|
25
|
-
|
26
24
|
<body id="top" class="table-of-contents">
|
27
25
|
<main role="main">
|
28
26
|
<h1 class="class">Table of Contents - RDoc Documentation</h1>
|
29
27
|
|
30
|
-
|
31
|
-
|
32
28
|
<h2 id="pages">Pages</h2>
|
33
29
|
<ul>
|
34
|
-
|
35
30
|
<li class="file">
|
36
31
|
<a href="README_md.html">README</a>
|
37
32
|
|
38
33
|
<ul>
|
39
|
-
|
40
34
|
<li><a href="README_md.html#label-The+Standup+Doctor">The Standup Doctor</a>
|
41
|
-
|
42
35
|
<li><a href="README_md.html#label-About">About</a>
|
43
|
-
|
44
36
|
<li><a href="README_md.html#label-Installation">Installation</a>
|
45
|
-
|
46
37
|
<li><a href="README_md.html#label-Via+RubyGems">Via RubyGems</a>
|
47
|
-
|
48
38
|
<li><a href="README_md.html#label-Manual+Installation">Manual Installation</a>
|
49
|
-
|
50
39
|
<li><a href="README_md.html#label-Usage">Usage</a>
|
51
|
-
|
52
40
|
<li><a href="README_md.html#label-Command+Line">Command Line</a>
|
53
|
-
|
54
41
|
<li><a href="README_md.html#label-CLI+Examples">CLI Examples</a>
|
55
|
-
|
56
42
|
<li><a href="README_md.html#label-Adding+an+entry+for+today+via+editor">Adding an entry for today via editor</a>
|
57
|
-
|
58
43
|
<li><a href="README_md.html#label-Copy+the+entry+for+today+to+clipboard">Copy the entry for today to clipboard</a>
|
59
|
-
|
60
44
|
<li><a href="README_md.html#label-Add+entry+to+file+without+opening+it">Add entry to file without opening it</a>
|
61
|
-
|
62
45
|
<li><a href="README_md.html#label-Find+an+entry+by+date+and+print+it.">Find an entry by date and print it.</a>
|
63
|
-
|
64
46
|
<li><a href="README_md.html#label-Customization+and+Runtime+Options">Customization and Runtime Options</a>
|
65
|
-
|
66
47
|
<li><a href="README_md.html#label-Available+Config+File+Options+and+Defaults">Available Config File Options and Defaults</a>
|
67
|
-
|
68
48
|
<li><a href="README_md.html#label-Executable+Flags">Executable Flags</a>
|
69
|
-
|
70
49
|
<li><a href="README_md.html#label-Using+Existing+Standup+Files">Using Existing Standup Files</a>
|
71
|
-
|
72
50
|
<li><a href="README_md.html#label-API">API</a>
|
73
|
-
|
74
51
|
<li><a href="README_md.html#label-API+Examples">API Examples</a>
|
75
|
-
|
76
52
|
<li><a href="README_md.html#label-Adding+an+entry+for+today">Adding an entry for today</a>
|
77
|
-
|
78
53
|
<li><a href="README_md.html#label-Finding+a+past+entry">Finding a past entry</a>
|
79
|
-
|
80
54
|
<li><a href="README_md.html#label-Vim">Vim</a>
|
81
|
-
|
82
55
|
<li><a href="README_md.html#label-Reporting+Bugs+and+Requesting+Features">Reporting Bugs and Requesting Features</a>
|
83
|
-
|
84
56
|
<li><a href="README_md.html#label-Self-Promotion">Self-Promotion</a>
|
85
|
-
|
86
57
|
</ul>
|
87
|
-
|
88
58
|
</li>
|
89
|
-
|
90
59
|
</ul>
|
91
60
|
|
92
|
-
|
93
61
|
<h2 id="classes">Classes and Modules</h2>
|
94
62
|
<ul>
|
95
|
-
|
96
63
|
<li class="module">
|
97
64
|
<a href="StandupMD.html">StandupMD</a>
|
98
|
-
|
99
65
|
</li>
|
100
|
-
|
101
66
|
<li class="class">
|
102
67
|
<a href="StandupMD/Cli.html">StandupMD::Cli</a>
|
103
|
-
|
104
68
|
</li>
|
105
|
-
|
106
69
|
<li class="module">
|
107
70
|
<a href="StandupMD/Cli/Helpers.html">StandupMD::Cli::Helpers</a>
|
108
|
-
|
109
71
|
</li>
|
110
|
-
|
111
72
|
<li class="class">
|
112
73
|
<a href="StandupMD/Config.html">StandupMD::Config</a>
|
113
|
-
|
114
74
|
</li>
|
115
|
-
|
116
75
|
<li class="class">
|
117
76
|
<a href="StandupMD/Config/Cli.html">StandupMD::Config::Cli</a>
|
118
|
-
|
119
77
|
</li>
|
120
|
-
|
121
78
|
<li class="class">
|
122
79
|
<a href="StandupMD/Config/Entry.html">StandupMD::Config::Entry</a>
|
123
|
-
|
124
80
|
</li>
|
125
|
-
|
126
81
|
<li class="class">
|
127
82
|
<a href="StandupMD/Config/EntryList.html">StandupMD::Config::EntryList</a>
|
128
|
-
|
129
83
|
</li>
|
130
|
-
|
131
84
|
<li class="class">
|
132
85
|
<a href="StandupMD/Config/File.html">StandupMD::Config::File</a>
|
133
|
-
|
134
86
|
</li>
|
135
|
-
|
136
87
|
<li class="class">
|
137
88
|
<a href="StandupMD/Entry.html">StandupMD::Entry</a>
|
138
|
-
|
139
89
|
</li>
|
140
|
-
|
141
90
|
<li class="class">
|
142
91
|
<a href="StandupMD/EntryList.html">StandupMD::EntryList</a>
|
143
92
|
|
144
93
|
<ul>
|
145
|
-
|
146
94
|
<li><a href="StandupMD/EntryList.html#5Buntitled-5D">Top Section</a>
|
147
|
-
|
148
95
|
<li><a href="StandupMD/EntryList.html#Delegators">Delegators</a>
|
149
|
-
|
150
96
|
</ul>
|
151
|
-
|
152
97
|
</li>
|
153
|
-
|
154
98
|
<li class="class">
|
155
99
|
<a href="StandupMD/File.html">StandupMD::File</a>
|
156
|
-
|
157
100
|
</li>
|
158
|
-
|
159
101
|
<li class="module">
|
160
102
|
<a href="StandupMD/Version.html">StandupMD::Version</a>
|
161
|
-
|
162
103
|
</li>
|
163
|
-
|
164
104
|
</ul>
|
165
105
|
|
166
106
|
<h2 id="methods">Methods</h2>
|
@@ -450,14 +390,13 @@
|
|
450
390
|
<a href="StandupMD/Cli.html#method-i-write_file">#write_file</a>
|
451
391
|
—
|
452
392
|
<span class="container">StandupMD::Cli</span>
|
453
|
-
|
454
393
|
</ul>
|
455
394
|
</main>
|
456
395
|
|
457
396
|
|
458
397
|
<footer id="validator-badges" role="contentinfo">
|
459
398
|
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
460
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.
|
399
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.0.
|
461
400
|
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
462
401
|
</footer>
|
463
402
|
|
data/lib/standup_md/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standup_md
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Gray
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|