marked-conductor 1.0.8 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.irbrc +2 -0
  3. data/CHANGELOG.md +26 -0
  4. data/README.rdoc +1 -1
  5. data/bin/conductor +68 -61
  6. data/html/Array.html +160 -0
  7. data/html/Conductor/Command.html +271 -0
  8. data/html/Conductor/Condition.html +787 -0
  9. data/html/Conductor/Config.html +170 -0
  10. data/html/Conductor/Env.html +217 -0
  11. data/html/Conductor/Script.html +278 -0
  12. data/html/Conductor.html +342 -0
  13. data/html/FalseClass.html +138 -0
  14. data/html/Hash.html +160 -0
  15. data/html/Object.html +136 -0
  16. data/html/README_rdoc.html +86 -0
  17. data/html/String.html +417 -0
  18. data/html/TrueClass.html +138 -0
  19. data/html/created.rid +14 -0
  20. data/html/css/fonts.css +167 -0
  21. data/html/css/rdoc.css +687 -0
  22. data/html/fonts/Lato-Light.ttf +0 -0
  23. data/html/fonts/Lato-LightItalic.ttf +0 -0
  24. data/html/fonts/Lato-Regular.ttf +0 -0
  25. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  26. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  27. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  28. data/html/images/add.png +0 -0
  29. data/html/images/arrow_up.png +0 -0
  30. data/html/images/brick.png +0 -0
  31. data/html/images/brick_link.png +0 -0
  32. data/html/images/bug.png +0 -0
  33. data/html/images/bullet_black.png +0 -0
  34. data/html/images/bullet_toggle_minus.png +0 -0
  35. data/html/images/bullet_toggle_plus.png +0 -0
  36. data/html/images/date.png +0 -0
  37. data/html/images/delete.png +0 -0
  38. data/html/images/find.png +0 -0
  39. data/html/images/loadingAnimation.gif +0 -0
  40. data/html/images/macFFBgHack.png +0 -0
  41. data/html/images/package.png +0 -0
  42. data/html/images/page_green.png +0 -0
  43. data/html/images/page_white_text.png +0 -0
  44. data/html/images/page_white_width.png +0 -0
  45. data/html/images/plugin.png +0 -0
  46. data/html/images/ruby.png +0 -0
  47. data/html/images/tag_blue.png +0 -0
  48. data/html/images/tag_green.png +0 -0
  49. data/html/images/transparent.png +0 -0
  50. data/html/images/wrench.png +0 -0
  51. data/html/images/wrench_orange.png +0 -0
  52. data/html/images/zoom.png +0 -0
  53. data/html/index.html +105 -0
  54. data/html/js/darkfish.js +97 -0
  55. data/html/js/navigation.js +105 -0
  56. data/html/js/navigation.js.gz +0 -0
  57. data/html/js/search.js +110 -0
  58. data/html/js/search_index.js +1 -0
  59. data/html/js/search_index.js.gz +0 -0
  60. data/html/js/searcher.js +229 -0
  61. data/html/js/searcher.js.gz +0 -0
  62. data/html/table_of_contents.html +345 -0
  63. data/lib/conductor/condition.rb +23 -4
  64. data/lib/conductor/env.rb +6 -6
  65. data/lib/conductor/string.rb +5 -5
  66. data/lib/conductor/version.rb +1 -1
  67. data/lib/conductor.rb +1 -0
  68. data/marked-conductor.gemspec +3 -3
  69. metadata +89 -32
@@ -0,0 +1,170 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Conductor::Config - Marked Conductor</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../";
11
+ var index_rel_prefix = "../";
12
+ </script>
13
+
14
+ <script src="../js/navigation.js" defer></script>
15
+ <script src="../js/search.js" defer></script>
16
+ <script src="../js/search_index.js" defer></script>
17
+ <script src="../js/searcher.js" defer></script>
18
+ <script src="../js/darkfish.js" defer></script>
19
+
20
+ <link href="../css/fonts.css" rel="stylesheet">
21
+ <link href="../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+ <div id="parent-class-section" class="nav-section">
62
+ <h3>Parent</h3>
63
+
64
+ <p class="link"><a href="../Object.html">Object</a>
65
+ </div>
66
+
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
75
+ <li ><a href="#method-c-new">::new</a>
76
+ </ul>
77
+ </div>
78
+
79
+ </div>
80
+ </nav>
81
+
82
+ <main role="main" aria-labelledby="class-Conductor::Config">
83
+ <h1 id="class-Conductor::Config" class="class">
84
+ class Conductor::Config
85
+ </h1>
86
+
87
+ <section class="description">
88
+
89
+ <p>Configuration methods</p>
90
+
91
+ </section>
92
+
93
+ <section id="5Buntitled-5D" class="documentation-section">
94
+
95
+
96
+
97
+ <section class="attribute-method-details" class="method-section">
98
+ <header>
99
+ <h3>Attributes</h3>
100
+ </header>
101
+
102
+ <div id="attribute-i-config" class="method-detail">
103
+ <div class="method-heading attribute-method-heading">
104
+ <span class="method-name">config</span><span
105
+ class="attribute-access-type">[R]</span>
106
+ </div>
107
+
108
+ <div class="method-description">
109
+
110
+ </div>
111
+ </div>
112
+ <div id="attribute-i-tracks" class="method-detail">
113
+ <div class="method-heading attribute-method-heading">
114
+ <span class="method-name">tracks</span><span
115
+ class="attribute-access-type">[R]</span>
116
+ </div>
117
+
118
+ <div class="method-description">
119
+
120
+ </div>
121
+ </div>
122
+ </section>
123
+
124
+
125
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
126
+ <header>
127
+ <h3>Public Class Methods</h3>
128
+ </header>
129
+
130
+ <div id="method-c-new" class="method-detail ">
131
+ <div class="method-header">
132
+ <div class="method-heading">
133
+ <span class="method-name">new</span><span
134
+ class="method-args">()</span>
135
+ <span class="method-click-advice">click to toggle source</span>
136
+ </div>
137
+ </div>
138
+
139
+ <div class="method-description">
140
+
141
+
142
+ <div class="method-source-code" id="new-source">
143
+ <pre><span class="ruby-comment"># File lib/conductor/config.rb, line 8</span>
144
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>
145
+ <span class="ruby-identifier">config_file</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-string">&quot;~/.config/conductor/tracks.yaml&quot;</span>)
146
+
147
+ <span class="ruby-identifier">create_config</span>(<span class="ruby-identifier">config_file</span>) <span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">config_file</span>)
148
+
149
+ <span class="ruby-ivar">@config</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">YAML</span>.<span class="ruby-identifier">safe_load</span>(<span class="ruby-constant">IO</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">config_file</span>))
150
+
151
+ <span class="ruby-ivar">@tracks</span> = <span class="ruby-ivar">@config</span>[<span class="ruby-string">&quot;tracks&quot;</span>].<span class="ruby-identifier">symbolize_keys</span>
152
+ <span class="ruby-keyword">end</span></pre>
153
+ </div>
154
+ </div>
155
+
156
+
157
+ </div>
158
+
159
+ </section>
160
+
161
+ </section>
162
+ </main>
163
+
164
+
165
+ <footer id="validator-badges" role="contentinfo">
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.6.2.
168
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
169
+ </footer>
170
+
@@ -0,0 +1,217 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>module Conductor::Env - Marked Conductor</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../";
11
+ var index_rel_prefix = "../";
12
+ </script>
13
+
14
+ <script src="../js/navigation.js" defer></script>
15
+ <script src="../js/search.js" defer></script>
16
+ <script src="../js/search_index.js" defer></script>
17
+ <script src="../js/searcher.js" defer></script>
18
+ <script src="../js/darkfish.js" defer></script>
19
+
20
+ <link href="../css/fonts.css" rel="stylesheet">
21
+ <link href="../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+ <body id="top" role="document" class="module">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+
62
+
63
+
64
+ <!-- Method Quickref -->
65
+ <div id="method-list-section" class="nav-section">
66
+ <h3>Methods</h3>
67
+
68
+ <ul class="link-list" role="directory">
69
+ <li ><a href="#method-c-env">::env</a>
70
+ <li ><a href="#method-c-load_test_env">::load_test_env</a>
71
+ <li ><a href="#method-c-to_s">::to_s</a>
72
+ </ul>
73
+ </div>
74
+
75
+ </div>
76
+ </nav>
77
+
78
+ <main role="main" aria-labelledby="module-Conductor::Env">
79
+ <h1 id="module-Conductor::Env" class="module">
80
+ module Conductor::Env
81
+ </h1>
82
+
83
+ <section class="description">
84
+
85
+ </section>
86
+
87
+ <section id="5Buntitled-5D" class="documentation-section">
88
+
89
+
90
+
91
+
92
+
93
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
94
+ <header>
95
+ <h3>Public Class Methods</h3>
96
+ </header>
97
+
98
+ <div id="method-c-env" class="method-detail ">
99
+ <div class="method-header">
100
+ <div class="method-heading">
101
+ <span class="method-name">env</span><span
102
+ class="method-args">()</span>
103
+ <span class="method-click-advice">click to toggle source</span>
104
+ </div>
105
+ </div>
106
+
107
+ <div class="method-description">
108
+
109
+
110
+ <div class="method-source-code" id="env-source">
111
+ <pre><span class="ruby-comment"># File lib/conductor/env.rb, line 5</span>
112
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">env</span>
113
+ <span class="ruby-ivar">@env</span> <span class="ruby-operator">||=</span> <span class="ruby-keyword">if</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;CONDUCTOR_TEST&quot;</span>] <span class="ruby-operator">==</span> <span class="ruby-string">&quot;true&quot;</span>
114
+ <span class="ruby-identifier">load_test_env</span>
115
+ <span class="ruby-keyword">else</span>
116
+ <span class="ruby-ivar">@env</span> <span class="ruby-operator">||=</span> {
117
+ <span class="ruby-value">home:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;HOME&quot;</span>],
118
+ <span class="ruby-value">css_path:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;MARKED_CSS_PATH&quot;</span>],
119
+ <span class="ruby-value">ext:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;MARKED_EXT&quot;</span>],
120
+ <span class="ruby-value">includes:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;MARKED_INCLUDES&quot;</span>],
121
+ <span class="ruby-value">origin:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;MARKED_ORIGIN&quot;</span>],
122
+ <span class="ruby-value">filepath:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;MARKED_PATH&quot;</span>],
123
+ <span class="ruby-value">filename:</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;MARKED_PATH&quot;</span>]),
124
+ <span class="ruby-value">phase:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;MARKED_PHASE&quot;</span>],
125
+ <span class="ruby-value">outline:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;OUTLINE&quot;</span>],
126
+ <span class="ruby-value">path:</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;PATH&quot;</span>]
127
+ }
128
+ <span class="ruby-keyword">end</span>
129
+
130
+ <span class="ruby-ivar">@env</span>
131
+ <span class="ruby-keyword">end</span></pre>
132
+ </div>
133
+ </div>
134
+
135
+
136
+ </div>
137
+
138
+ <div id="method-c-load_test_env" class="method-detail ">
139
+ <div class="method-header">
140
+ <div class="method-heading">
141
+ <span class="method-name">load_test_env</span><span
142
+ class="method-args">()</span>
143
+ <span class="method-click-advice">click to toggle source</span>
144
+ </div>
145
+ </div>
146
+
147
+ <div class="method-description">
148
+
149
+
150
+ <div class="method-source-code" id="load_test_env-source">
151
+ <pre><span class="ruby-comment"># File lib/conductor/env.rb, line 26</span>
152
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">load_test_env</span>
153
+ <span class="ruby-ivar">@env</span> = {
154
+ <span class="ruby-value">home:</span> <span class="ruby-string">&quot;/Users/ttscoff&quot;</span>,
155
+ <span class="ruby-value">css_path:</span> <span class="ruby-string">&quot;/Applications/Marked 2.app/Contents/Resources/swiss.css&quot;</span>,
156
+ <span class="ruby-value">ext:</span> <span class="ruby-string">&quot;md&quot;</span>,
157
+ <span class="ruby-value">includes:</span> [],
158
+ <span class="ruby-value">origin:</span> <span class="ruby-string">&quot;/Users/ttscoff/Desktop/Code/nvultra-docs/content/&quot;</span>,
159
+ <span class="ruby-value">filepath:</span> <span class="ruby-string">&quot;/Users/ttscoff/Desktop/Code/nvultra-docs/content/advanced-features.md&quot;</span>,
160
+ <span class="ruby-value">filename:</span> <span class="ruby-string">&quot;advanced-features.md&quot;</span>,
161
+ <span class="ruby-value">phase:</span> <span class="ruby-string">&quot;PROCESS&quot;</span>,
162
+ <span class="ruby-value">outline:</span> <span class="ruby-string">&quot;NONE&quot;</span>,
163
+ <span class="ruby-value">path:</span> <span class="ruby-string">&quot;/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/ttscoff/Desktop/Code/nvultra-docs/content/&quot;</span>
164
+ }
165
+ <span class="ruby-keyword">end</span></pre>
166
+ </div>
167
+ </div>
168
+
169
+
170
+ </div>
171
+
172
+ <div id="method-c-to_s" class="method-detail ">
173
+ <div class="method-header">
174
+ <div class="method-heading">
175
+ <span class="method-name">to_s</span><span
176
+ class="method-args">()</span>
177
+ <span class="method-click-advice">click to toggle source</span>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="method-description">
182
+
183
+
184
+ <div class="method-source-code" id="to_s-source">
185
+ <pre><span class="ruby-comment"># File lib/conductor/env.rb, line 41</span>
186
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">to_s</span>
187
+ <span class="ruby-identifier">out_h</span> = {
188
+ <span class="ruby-string">&quot;HOME&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:home</span>],
189
+ <span class="ruby-string">&quot;MARKED_CSS_PATH&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:css_path</span>],
190
+ <span class="ruby-string">&quot;MARKED_EXT&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:ext</span>],
191
+ <span class="ruby-string">&quot;MARKED_ORIGIN&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:origin</span>],
192
+ <span class="ruby-string">&quot;MARKED_INCLUDES&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:includes</span>],
193
+ <span class="ruby-string">&quot;MARKED_PATH&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:filepath</span>],
194
+ <span class="ruby-string">&quot;MARKED_PHASE&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:phase</span>],
195
+ <span class="ruby-string">&quot;OUTLINE&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:outline</span>],
196
+ <span class="ruby-string">&quot;PATH&quot;</span> <span class="ruby-operator">=&gt;</span> <span class="ruby-ivar">@env</span>[<span class="ruby-value">:path</span>]
197
+ }
198
+ <span class="ruby-identifier">out_h</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span> <span class="ruby-node">%(#{k}=&quot;#{v}&quot;)</span> }.<span class="ruby-identifier">join</span>(<span class="ruby-string">&quot; &quot;</span>)
199
+ <span class="ruby-keyword">end</span></pre>
200
+ </div>
201
+ </div>
202
+
203
+
204
+ </div>
205
+
206
+ </section>
207
+
208
+ </section>
209
+ </main>
210
+
211
+
212
+ <footer id="validator-badges" role="contentinfo">
213
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
214
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.6.2.
215
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
216
+ </footer>
217
+