my_help 1.2.10 → 1.2.14

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -10
  3. data/Gemfile.lock +6 -91
  4. data/README.org +24 -0
  5. data/Rakefile +0 -35
  6. data/development_memo.org +4 -0
  7. data/lib/my_help/cli.rb +32 -6
  8. data/lib/my_help/config.rb +8 -3
  9. data/lib/my_help/init.rb +8 -1
  10. data/lib/my_help/list.rb +15 -20
  11. data/lib/my_help/modify.rb +9 -7
  12. data/lib/my_help/org2hash.rb +3 -3
  13. data/lib/my_help/version.rb +1 -1
  14. data/lib/templates/kick_off.md +51 -0
  15. data/lib/templates/kick_off.org +65 -0
  16. data/lib/templates/template.md +17 -0
  17. data/lib/templates/template.org +11 -1
  18. data/my_help.gemspec +3 -3
  19. metadata +6 -85
  20. data/.DS_Store +0 -0
  21. data/.dockerignore +0 -2
  22. data/.my_help/example2.org +0 -9
  23. data/.rspec +0 -3
  24. data/.rspec_status +0 -13
  25. data/.travis.yml +0 -4
  26. data/.yardoc/checksums +0 -11
  27. data/.yardoc/complete +0 -0
  28. data/.yardoc/object_types +0 -0
  29. data/.yardoc/objects/root.dat +0 -0
  30. data/.yardoc/proxy_types +0 -0
  31. data/doc/MyHelp/CLI.html +0 -895
  32. data/doc/MyHelp/Config.html +0 -759
  33. data/doc/MyHelp/Error.html +0 -124
  34. data/doc/MyHelp/GetConfig.html +0 -198
  35. data/doc/MyHelp/Git.html +0 -291
  36. data/doc/MyHelp/Init.html +0 -449
  37. data/doc/MyHelp/List.html +0 -646
  38. data/doc/MyHelp/Md2Hash.html +0 -632
  39. data/doc/MyHelp/Modify.html +0 -393
  40. data/doc/MyHelp/Org2Hash.html +0 -554
  41. data/doc/MyHelp.html +0 -135
  42. data/doc/Org2Yaml.html +0 -497
  43. data/doc/_index.html +0 -230
  44. data/doc/class_list.html +0 -54
  45. data/doc/css/common.css +0 -1
  46. data/doc/css/full_list.css +0 -58
  47. data/doc/css/style.css +0 -503
  48. data/doc/file.README.html +0 -181
  49. data/doc/file_list.html +0 -59
  50. data/doc/frames.html +0 -22
  51. data/doc/index.html +0 -181
  52. data/doc/js/app.js +0 -344
  53. data/doc/js/full_list.js +0 -242
  54. data/doc/js/jquery.js +0 -2
  55. data/doc/method_list.html +0 -486
  56. data/doc/top-level-namespace.html +0 -112
@@ -1,124 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Exception: MyHelp::Error
8
-
9
- &mdash; my_help
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "MyHelp::Error";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (E)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../MyHelp.html" title="MyHelp (module)">MyHelp</a></span></span>
41
- &raquo;
42
- <span class="title">Error</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Exception: MyHelp::Error
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">StandardError</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">StandardError</li>
78
-
79
- <li class="next">MyHelp::Error</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <dl>
98
- <dt>Defined in:</dt>
99
- <dd>lib/my_help.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
- </div>
115
-
116
- <div id="footer">
117
- Generated on Tue Oct 15 12:36:20 2024 by
118
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119
- 0.9.37 (ruby-3.0.2).
120
- </div>
121
-
122
- </div>
123
- </body>
124
- </html>
@@ -1,198 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Module: MyHelp::GetConfig
8
-
9
- &mdash; my_help
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "MyHelp::GetConfig";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (G)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../MyHelp.html" title="MyHelp (module)">MyHelp</a></span></span>
41
- &raquo;
42
- <span class="title">GetConfig</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Module: MyHelp::GetConfig
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
- <dl>
78
- <dt>Included in:</dt>
79
- <dd><span class='object_link'><a href="CLI.html" title="MyHelp::CLI (class)">CLI</a></span>, <span class='object_link'><a href="Git.html" title="MyHelp::Git (class)">Git</a></span></dd>
80
- </dl>
81
-
82
-
83
-
84
- <dl>
85
- <dt>Defined in:</dt>
86
- <dd>lib/my_help/git_cli.rb</dd>
87
- </dl>
88
-
89
- </div>
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
- <h2>
100
- Instance Method Summary
101
- <small><a href="#" class="summary_toggle">collapse</a></small>
102
- </h2>
103
-
104
- <ul class="summary">
105
-
106
- <li class="public ">
107
- <span class="summary_signature">
108
-
109
- <a href="#get_config-instance_method" title="#get_config (instance method)">#<strong>get_config</strong> &#x21d2; Object </a>
110
-
111
-
112
-
113
- </span>
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
- <span class="summary_desc"><div class='inline'>
124
- <p>(args).</p>
125
- </div></span>
126
-
127
- </li>
128
-
129
-
130
- </ul>
131
-
132
-
133
-
134
-
135
- <div id="instance_method_details" class="method_details_list">
136
- <h2>Instance Method Details</h2>
137
-
138
-
139
- <div class="method_details first">
140
- <h3 class="signature first" id="get_config-instance_method">
141
-
142
- #<strong>get_config</strong> &#x21d2; <tt>Object</tt>
143
-
144
-
145
-
146
-
147
-
148
- </h3><div class="docstring">
149
- <div class="discussion">
150
-
151
- <p>(args)</p>
152
-
153
-
154
- </div>
155
- </div>
156
- <div class="tags">
157
-
158
-
159
- </div><table class="source_code">
160
- <tr>
161
- <td>
162
- <pre class="lines">
163
-
164
-
165
- 3
166
- 4
167
- 5
168
- 6
169
- 7
170
- 8</pre>
171
- </td>
172
- <td>
173
- <pre class="code"><span class="info file"># File 'lib/my_help/git_cli.rb', line 3</span>
174
-
175
- <span class='kw'>def</span> <span class='id identifier rubyid_get_config'>get_config</span> <span class='comment'>#(args)
176
- </span> <span class='id identifier rubyid_parent_help_dir'>parent_help_dir</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>help_dir</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
177
- <span class='id identifier rubyid_parent_help_dir'>parent_help_dir</span> <span class='op'>=</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>HOME</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span><span class='lparen'>(</span><span class='id identifier rubyid_parent_help_dir'>parent_help_dir</span><span class='rparen'>)</span>
178
- <span class='comment'># Forget necessity of these
179
- </span> <span class='kw'>return</span> <span class='const'><span class='object_link'><a href="Config.html" title="MyHelp::Config (class)">Config</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Config.html#initialize-instance_method" title="MyHelp::Config#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_parent_help_dir'>parent_help_dir</span><span class='rparen'>)</span>
180
- <span class='kw'>end</span></pre>
181
- </td>
182
- </tr>
183
- </table>
184
- </div>
185
-
186
- </div>
187
-
188
- </div>
189
-
190
- <div id="footer">
191
- Generated on Tue Oct 15 12:36:20 2024 by
192
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
193
- 0.9.37 (ruby-3.0.2).
194
- </div>
195
-
196
- </div>
197
- </body>
198
- </html>
data/doc/MyHelp/Git.html DELETED
@@ -1,291 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Class: MyHelp::Git
8
-
9
- &mdash; my_help
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "MyHelp::Git";
19
- relpath = '../';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="../class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="../_index.html">Index (G)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../MyHelp.html" title="MyHelp (module)">MyHelp</a></span></span>
41
- &raquo;
42
- <span class="title">Git</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="../class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Class: MyHelp::Git
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Thor</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">Thor</li>
78
-
79
- <li class="next">MyHelp::Git</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
- <dl>
93
- <dt>Includes:</dt>
94
- <dd><span class='object_link'><a href="GetConfig.html" title="MyHelp::GetConfig (module)">GetConfig</a></span></dd>
95
- </dl>
96
-
97
-
98
-
99
-
100
-
101
-
102
- <dl>
103
- <dt>Defined in:</dt>
104
- <dd>lib/my_help/git_cli.rb</dd>
105
- </dl>
106
-
107
- </div>
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
- <h2>
118
- Instance Method Summary
119
- <small><a href="#" class="summary_toggle">collapse</a></small>
120
- </h2>
121
-
122
- <ul class="summary">
123
-
124
- <li class="public ">
125
- <span class="summary_signature">
126
-
127
- <a href="#pull-instance_method" title="#pull (instance method)">#<strong>pull</strong> &#x21d2; Object </a>
128
-
129
-
130
-
131
- </span>
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
- <span class="summary_desc"><div class='inline'></div></span>
142
-
143
- </li>
144
-
145
-
146
- <li class="public ">
147
- <span class="summary_signature">
148
-
149
- <a href="#push-instance_method" title="#push (instance method)">#<strong>push</strong> &#x21d2; Object </a>
150
-
151
-
152
-
153
- </span>
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
- <span class="summary_desc"><div class='inline'></div></span>
164
-
165
- </li>
166
-
167
-
168
- </ul>
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
- <h3 class="inherited">Methods included from <span class='object_link'><a href="GetConfig.html" title="MyHelp::GetConfig (module)">GetConfig</a></span></h3>
181
- <p class="inherited"><span class='object_link'><a href="GetConfig.html#get_config-instance_method" title="MyHelp::GetConfig#get_config (method)">#get_config</a></span></p>
182
-
183
-
184
-
185
- <div id="instance_method_details" class="method_details_list">
186
- <h2>Instance Method Details</h2>
187
-
188
-
189
- <div class="method_details first">
190
- <h3 class="signature first" id="pull-instance_method">
191
-
192
- #<strong>pull</strong> &#x21d2; <tt>Object</tt>
193
-
194
-
195
-
196
-
197
-
198
- </h3><table class="source_code">
199
- <tr>
200
- <td>
201
- <pre class="lines">
202
-
203
-
204
- 16
205
- 17
206
- 18
207
- 19
208
- 20
209
- 21
210
- 22
211
- 23
212
- 24</pre>
213
- </td>
214
- <td>
215
- <pre class="code"><span class="info file"># File 'lib/my_help/git_cli.rb', line 16</span>
216
-
217
- <span class='kw'>def</span> <span class='id identifier rubyid_pull'>pull</span>
218
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>called my_help git pull</span><span class='tstring_end'>&quot;</span></span>
219
- <span class='id identifier rubyid_config'>config</span> <span class='op'>=</span> <span class='id identifier rubyid_get_config'>get_config</span>
220
- <span class='id identifier rubyid_help_dir'>help_dir</span> <span class='op'>=</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:local_help_dir</span><span class='rbracket'>]</span>
221
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>on the target git directory : %s</span><span class='tstring_end'>&quot;</span></span> <span class='op'>%</span> <span class='id identifier rubyid_help_dir'>help_dir</span>
222
- <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_chdir'>chdir</span><span class='lparen'>(</span><span class='id identifier rubyid_help_dir'>help_dir</span><span class='rparen'>)</span> <span class='kw'>do</span>
223
- <span class='id identifier rubyid_system'>system</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git pull origin main</span><span class='tstring_end'>&quot;</span></span>
224
- <span class='kw'>end</span>
225
- <span class='kw'>end</span></pre>
226
- </td>
227
- </tr>
228
- </table>
229
- </div>
230
-
231
- <div class="method_details ">
232
- <h3 class="signature " id="push-instance_method">
233
-
234
- #<strong>push</strong> &#x21d2; <tt>Object</tt>
235
-
236
-
237
-
238
-
239
-
240
- </h3><table class="source_code">
241
- <tr>
242
- <td>
243
- <pre class="lines">
244
-
245
-
246
- 28
247
- 29
248
- 30
249
- 31
250
- 32
251
- 33
252
- 34
253
- 35
254
- 36
255
- 37
256
- 38
257
- 39</pre>
258
- </td>
259
- <td>
260
- <pre class="code"><span class="info file"># File 'lib/my_help/git_cli.rb', line 28</span>
261
-
262
- <span class='kw'>def</span> <span class='id identifier rubyid_push'>push</span>
263
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>called my_help git push</span><span class='tstring_end'>&quot;</span></span>
264
- <span class='id identifier rubyid_config'>config</span> <span class='op'>=</span> <span class='id identifier rubyid_get_config'>get_config</span>
265
- <span class='id identifier rubyid_help_dir'>help_dir</span> <span class='op'>=</span> <span class='id identifier rubyid_config'>config</span><span class='lbracket'>[</span><span class='symbol'>:local_help_dir</span><span class='rbracket'>]</span>
266
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>on the target git directory : %s</span><span class='tstring_end'>&quot;</span></span> <span class='op'>%</span> <span class='id identifier rubyid_help_dir'>help_dir</span>
267
- <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_chdir'>chdir</span><span class='lparen'>(</span><span class='id identifier rubyid_help_dir'>help_dir</span><span class='rparen'>)</span> <span class='kw'>do</span>
268
- <span class='id identifier rubyid_system'>system</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git add -A</span><span class='tstring_end'>&quot;</span></span>
269
- <span class='id identifier rubyid_system'>system</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git commit -m &#39;auto commit from my_help&#39;</span><span class='tstring_end'>&quot;</span></span>
270
- <span class='id identifier rubyid_system'>system</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git pull origin main</span><span class='tstring_end'>&quot;</span></span>
271
- <span class='id identifier rubyid_system'>system</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>git push origin main</span><span class='tstring_end'>&quot;</span></span>
272
- <span class='kw'>end</span>
273
- <span class='kw'>end</span></pre>
274
- </td>
275
- </tr>
276
- </table>
277
- </div>
278
-
279
- </div>
280
-
281
- </div>
282
-
283
- <div id="footer">
284
- Generated on Tue Oct 15 12:36:20 2024 by
285
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
286
- 0.9.37 (ruby-3.0.2).
287
- </div>
288
-
289
- </div>
290
- </body>
291
- </html>