nucleon 0.1.19 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +1 -0
  4. data/TODO.rdoc +0 -3
  5. data/VERSION +1 -1
  6. data/bin/nucleon +19 -0
  7. data/lib/core/config.rb +11 -7
  8. data/lib/core/environment.rb +338 -0
  9. data/lib/core/facade.rb +150 -98
  10. data/lib/core/manager.rb +160 -249
  11. data/lib/core/mixin/action/project.rb +2 -2
  12. data/lib/core/mixin/macro/plugin_interface.rb +11 -11
  13. data/lib/core/plugin/action.rb +277 -24
  14. data/lib/core/plugin/base.rb +22 -14
  15. data/lib/core/plugin/command.rb +1 -1
  16. data/lib/core/plugin/event.rb +3 -3
  17. data/lib/core/plugin/extension.rb +1 -1
  18. data/lib/core/plugin/project.rb +15 -15
  19. data/lib/core/plugin/template.rb +1 -1
  20. data/lib/core/plugin/translator.rb +1 -1
  21. data/lib/core/util/cache.rb +1 -1
  22. data/lib/core/util/cli.rb +32 -3
  23. data/lib/core/util/console.rb +30 -10
  24. data/lib/core/util/data.rb +11 -3
  25. data/lib/core/util/logger.rb +1 -1
  26. data/lib/core/util/shell.rb +6 -3
  27. data/lib/core/util/ssh.rb +148 -24
  28. data/lib/nucleon/action/extract.rb +11 -4
  29. data/lib/nucleon/action/{add.rb → project/add.rb} +13 -4
  30. data/lib/nucleon/action/{create.rb → project/create.rb} +12 -3
  31. data/lib/nucleon/action/{remove.rb → project/remove.rb} +11 -2
  32. data/lib/nucleon/action/{save.rb → project/save.rb} +11 -2
  33. data/lib/nucleon/action/{update.rb → project/update.rb} +11 -2
  34. data/lib/nucleon/command/bash.rb +1 -1
  35. data/lib/nucleon/event/regex.rb +1 -1
  36. data/lib/nucleon/project/git.rb +3 -3
  37. data/lib/nucleon/template/{json.rb → JSON.rb} +1 -1
  38. data/lib/nucleon/template/{yaml.rb → YAML.rb} +1 -1
  39. data/lib/nucleon/template/wrapper.rb +1 -1
  40. data/lib/nucleon/translator/{json.rb → JSON.rb} +1 -1
  41. data/lib/nucleon/translator/{yaml.rb → YAML.rb} +1 -1
  42. data/lib/nucleon_base.rb +26 -15
  43. data/locales/en.yml +69 -44
  44. data/nucleon.gemspec +129 -11
  45. data/rdoc/site/0.1.19/ARCHITECTURE_rdoc.html +634 -0
  46. data/rdoc/site/0.1.19/Hash.html +347 -0
  47. data/rdoc/site/0.1.19/Kernel.html +413 -0
  48. data/rdoc/site/0.1.19/Nucleon.html +570 -0
  49. data/rdoc/site/0.1.19/Nucleon/Action.html +280 -0
  50. data/rdoc/site/0.1.19/Nucleon/Action/Add.html +458 -0
  51. data/rdoc/site/0.1.19/Nucleon/Action/Create.html +415 -0
  52. data/rdoc/site/0.1.19/Nucleon/Action/Extract.html +413 -0
  53. data/rdoc/site/0.1.19/Nucleon/Action/Remove.html +461 -0
  54. data/rdoc/site/0.1.19/Nucleon/Action/Save.html +434 -0
  55. data/rdoc/site/0.1.19/Nucleon/Action/Update.html +381 -0
  56. data/rdoc/site/0.1.19/Nucleon/Codes.html +563 -0
  57. data/rdoc/site/0.1.19/Nucleon/Command.html +275 -0
  58. data/rdoc/site/0.1.19/Nucleon/Command/Bash.html +544 -0
  59. data/rdoc/site/0.1.19/Nucleon/Config.html +1623 -0
  60. data/rdoc/site/0.1.19/Nucleon/Config/Collection.html +509 -0
  61. data/rdoc/site/0.1.19/Nucleon/Config/Options.html +489 -0
  62. data/rdoc/site/0.1.19/Nucleon/Core.html +635 -0
  63. data/rdoc/site/0.1.19/Nucleon/Errors.html +275 -0
  64. data/rdoc/site/0.1.19/Nucleon/Errors/BatchError.html +281 -0
  65. data/rdoc/site/0.1.19/Nucleon/Errors/NucleonError.html +657 -0
  66. data/rdoc/site/0.1.19/Nucleon/Errors/SSHUnavailable.html +281 -0
  67. data/rdoc/site/0.1.19/Nucleon/Event.html +275 -0
  68. data/rdoc/site/0.1.19/Nucleon/Event/Regex.html +467 -0
  69. data/rdoc/site/0.1.19/Nucleon/Facade.html +2336 -0
  70. data/rdoc/site/0.1.19/Nucleon/Gems.html +635 -0
  71. data/rdoc/site/0.1.19/Nucleon/Manager.html +1828 -0
  72. data/rdoc/site/0.1.19/Nucleon/Mixin.html +284 -0
  73. data/rdoc/site/0.1.19/Nucleon/Mixin/Action.html +277 -0
  74. data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Commit.html +381 -0
  75. data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Project.html +395 -0
  76. data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Push.html +371 -0
  77. data/rdoc/site/0.1.19/Nucleon/Mixin/Colors.html +545 -0
  78. data/rdoc/site/0.1.19/Nucleon/Mixin/ConfigCollection.html +481 -0
  79. data/rdoc/site/0.1.19/Nucleon/Mixin/ConfigOptions.html +449 -0
  80. data/rdoc/site/0.1.19/Nucleon/Mixin/Macro.html +276 -0
  81. data/rdoc/site/0.1.19/Nucleon/Mixin/Macro/ObjectInterface.html +695 -0
  82. data/rdoc/site/0.1.19/Nucleon/Mixin/Macro/PluginInterface.html +682 -0
  83. data/rdoc/site/0.1.19/Nucleon/Mixin/Settings.html +481 -0
  84. data/rdoc/site/0.1.19/Nucleon/Mixin/SubConfig.html +887 -0
  85. data/rdoc/site/0.1.19/Nucleon/Parallel.html +325 -0
  86. data/rdoc/site/0.1.19/Nucleon/Parallel/ClassMethods.html +325 -0
  87. data/rdoc/site/0.1.19/Nucleon/Parallel/InstanceMethods.html +334 -0
  88. data/rdoc/site/0.1.19/Nucleon/Plugin.html +282 -0
  89. data/rdoc/site/0.1.19/Nucleon/Plugin/Action.html +1368 -0
  90. data/rdoc/site/0.1.19/Nucleon/Plugin/Action/Option.html +459 -0
  91. data/rdoc/site/0.1.19/Nucleon/Plugin/Base.html +1737 -0
  92. data/rdoc/site/0.1.19/Nucleon/Plugin/Command.html +721 -0
  93. data/rdoc/site/0.1.19/Nucleon/Plugin/Event.html +442 -0
  94. data/rdoc/site/0.1.19/Nucleon/Plugin/Extension.html +281 -0
  95. data/rdoc/site/0.1.19/Nucleon/Plugin/Project.html +2864 -0
  96. data/rdoc/site/0.1.19/Nucleon/Plugin/Template.html +476 -0
  97. data/rdoc/site/0.1.19/Nucleon/Plugin/Translator.html +371 -0
  98. data/rdoc/site/0.1.19/Nucleon/Project.html +276 -0
  99. data/rdoc/site/0.1.19/Nucleon/Project/Git.html +1801 -0
  100. data/rdoc/site/0.1.19/Nucleon/Project/Github.html +549 -0
  101. data/rdoc/site/0.1.19/Nucleon/Template.html +277 -0
  102. data/rdoc/site/0.1.19/Nucleon/Template/Json.html +329 -0
  103. data/rdoc/site/0.1.19/Nucleon/Template/Wrapper.html +329 -0
  104. data/rdoc/site/0.1.19/Nucleon/Template/Yaml.html +329 -0
  105. data/rdoc/site/0.1.19/Nucleon/Translator.html +276 -0
  106. data/rdoc/site/0.1.19/Nucleon/Translator/Json.html +366 -0
  107. data/rdoc/site/0.1.19/Nucleon/Translator/Yaml.html +366 -0
  108. data/rdoc/site/0.1.19/Nucleon/Util.html +285 -0
  109. data/rdoc/site/0.1.19/Nucleon/Util/CLI.html +388 -0
  110. data/rdoc/site/0.1.19/Nucleon/Util/CLI/Parser.html +1183 -0
  111. data/rdoc/site/0.1.19/Nucleon/Util/Cache.html +780 -0
  112. data/rdoc/site/0.1.19/Nucleon/Util/Console.html +1294 -0
  113. data/rdoc/site/0.1.19/Nucleon/Util/Data.html +1399 -0
  114. data/rdoc/site/0.1.19/Nucleon/Util/Disk.html +522 -0
  115. data/rdoc/site/0.1.19/Nucleon/Util/Git.html +361 -0
  116. data/rdoc/site/0.1.19/Nucleon/Util/Liquid.html +365 -0
  117. data/rdoc/site/0.1.19/Nucleon/Util/Logger.html +806 -0
  118. data/rdoc/site/0.1.19/Nucleon/Util/Package.html +558 -0
  119. data/rdoc/site/0.1.19/Nucleon/Util/SSH.html +910 -0
  120. data/rdoc/site/0.1.19/Nucleon/Util/SSH/Keypair.html +453 -0
  121. data/rdoc/site/0.1.19/Nucleon/Util/Shell.html +686 -0
  122. data/rdoc/site/0.1.19/Nucleon/Util/Shell/Result.html +497 -0
  123. data/rdoc/site/0.1.19/README_rdoc.html +312 -0
  124. data/rdoc/site/0.1.19/TODO_rdoc.html +267 -0
  125. data/rdoc/site/0.1.19/created.rid +60 -0
  126. data/rdoc/site/0.1.19/images/add.png +0 -0
  127. data/rdoc/site/0.1.19/images/brick.png +0 -0
  128. data/rdoc/site/0.1.19/images/brick_link.png +0 -0
  129. data/rdoc/site/0.1.19/images/bug.png +0 -0
  130. data/rdoc/site/0.1.19/images/bullet_black.png +0 -0
  131. data/rdoc/site/0.1.19/images/bullet_toggle_minus.png +0 -0
  132. data/rdoc/site/0.1.19/images/bullet_toggle_plus.png +0 -0
  133. data/rdoc/site/0.1.19/images/date.png +0 -0
  134. data/rdoc/site/0.1.19/images/delete.png +0 -0
  135. data/rdoc/site/0.1.19/images/find.png +0 -0
  136. data/rdoc/site/0.1.19/images/loadingAnimation.gif +0 -0
  137. data/rdoc/site/0.1.19/images/macFFBgHack.png +0 -0
  138. data/rdoc/site/0.1.19/images/package.png +0 -0
  139. data/rdoc/site/0.1.19/images/page_green.png +0 -0
  140. data/rdoc/site/0.1.19/images/page_white_text.png +0 -0
  141. data/rdoc/site/0.1.19/images/page_white_width.png +0 -0
  142. data/rdoc/site/0.1.19/images/plugin.png +0 -0
  143. data/rdoc/site/0.1.19/images/ruby.png +0 -0
  144. data/rdoc/site/0.1.19/images/tag_blue.png +0 -0
  145. data/rdoc/site/0.1.19/images/tag_green.png +0 -0
  146. data/rdoc/site/0.1.19/images/transparent.png +0 -0
  147. data/rdoc/site/0.1.19/images/wrench.png +0 -0
  148. data/rdoc/site/0.1.19/images/wrench_orange.png +0 -0
  149. data/rdoc/site/0.1.19/images/zoom.png +0 -0
  150. data/rdoc/site/0.1.19/index.html +311 -0
  151. data/rdoc/site/0.1.19/js/darkfish.js +155 -0
  152. data/rdoc/site/0.1.19/js/jquery.js +18 -0
  153. data/rdoc/site/0.1.19/js/navigation.js +142 -0
  154. data/rdoc/site/0.1.19/js/search.js +94 -0
  155. data/rdoc/site/0.1.19/js/search_index.js +1 -0
  156. data/rdoc/site/0.1.19/js/searcher.js +228 -0
  157. data/rdoc/site/0.1.19/rdoc.css +543 -0
  158. data/rdoc/site/0.1.19/table_of_contents.html +1541 -0
  159. metadata +140 -11
@@ -0,0 +1,570 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>module Nucleon - nucleon 0.1.19</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="module">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/core/codes.rb
51
+ <li>lib/core/config.rb
52
+ <li>lib/core/config/collection.rb
53
+ <li>lib/core/config/options.rb
54
+ <li>lib/core/core.rb
55
+ <li>lib/core/errors.rb
56
+ <li>lib/core/facade.rb
57
+ <li>lib/core/gems.rb
58
+ <li>lib/core/manager.rb
59
+ <li>lib/core/mixin/action/commit.rb
60
+ <li>lib/core/mixin/action/project.rb
61
+ <li>lib/core/mixin/action/push.rb
62
+ <li>lib/core/mixin/colors.rb
63
+ <li>lib/core/mixin/config/collection.rb
64
+ <li>lib/core/mixin/config/options.rb
65
+ <li>lib/core/mixin/macro/object_interface.rb
66
+ <li>lib/core/mixin/macro/plugin_interface.rb
67
+ <li>lib/core/mixin/settings.rb
68
+ <li>lib/core/mixin/sub_config.rb
69
+ <li>lib/core/plugin/action.rb
70
+ <li>lib/core/plugin/base.rb
71
+ <li>lib/core/plugin/command.rb
72
+ <li>lib/core/plugin/event.rb
73
+ <li>lib/core/plugin/extension.rb
74
+ <li>lib/core/plugin/project.rb
75
+ <li>lib/core/plugin/template.rb
76
+ <li>lib/core/plugin/translator.rb
77
+ <li>lib/core/util/cache.rb
78
+ <li>lib/core/util/cli.rb
79
+ <li>lib/core/util/console.rb
80
+ <li>lib/core/util/data.rb
81
+ <li>lib/core/util/disk.rb
82
+ <li>lib/core/util/git.rb
83
+ <li>lib/core/util/liquid.rb
84
+ <li>lib/core/util/logger.rb
85
+ <li>lib/core/util/package.rb
86
+ <li>lib/core/util/shell.rb
87
+ <li>lib/core/util/ssh.rb
88
+ <li>lib/nucleon/action/add.rb
89
+ <li>lib/nucleon/action/create.rb
90
+ <li>lib/nucleon/action/extract.rb
91
+ <li>lib/nucleon/action/remove.rb
92
+ <li>lib/nucleon/action/save.rb
93
+ <li>lib/nucleon/action/update.rb
94
+ <li>lib/nucleon/command/bash.rb
95
+ <li>lib/nucleon/event/regex.rb
96
+ <li>lib/nucleon/project/git.rb
97
+ <li>lib/nucleon/project/github.rb
98
+ <li>lib/nucleon/template/json.rb
99
+ <li>lib/nucleon/template/wrapper.rb
100
+ <li>lib/nucleon/template/yaml.rb
101
+ <li>lib/nucleon/translator/json.rb
102
+ <li>lib/nucleon/translator/yaml.rb
103
+ <li>lib/nucleon_base.rb
104
+ </ul>
105
+ </nav>
106
+
107
+
108
+ </div>
109
+
110
+ <div id="class-metadata">
111
+
112
+
113
+
114
+ <!-- Method Quickref -->
115
+ <nav id="method-list-section" class="section">
116
+ <h3 class="section-header">Methods</h3>
117
+
118
+ <ul class="link-list">
119
+
120
+ <li><a href="#method-c-VERSION">::VERSION</a>
121
+
122
+ <li><a href="#method-c-debug_break">::debug_break</a>
123
+
124
+ <li><a href="#method-c-debugging-3F">::debugging?</a>
125
+
126
+ <li><a href="#method-c-parallel-3F">::parallel?</a>
127
+
128
+ </ul>
129
+ </nav>
130
+
131
+ </div>
132
+
133
+ <div id="project-metadata">
134
+ <nav id="fileindex-section" class="section project-section">
135
+ <h3 class="section-header">Pages</h3>
136
+
137
+ <ul>
138
+
139
+ <li class="file"><a href="./ARCHITECTURE_rdoc.html">ARCHITECTURE</a>
140
+
141
+ <li class="file"><a href="./README_rdoc.html">README</a>
142
+
143
+ <li class="file"><a href="./TODO_rdoc.html">TODO</a>
144
+
145
+ </ul>
146
+ </nav>
147
+
148
+ <nav id="classindex-section" class="section project-section">
149
+ <h3 class="section-header">Class and Module Index</h3>
150
+
151
+ <ul class="link-list">
152
+
153
+ <li><a href="./Nucleon.html">Nucleon</a>
154
+
155
+ <li><a href="./Nucleon/Action.html">Nucleon::Action</a>
156
+
157
+ <li><a href="./Nucleon/Action/Add.html">Nucleon::Action::Add</a>
158
+
159
+ <li><a href="./Nucleon/Action/Create.html">Nucleon::Action::Create</a>
160
+
161
+ <li><a href="./Nucleon/Action/Extract.html">Nucleon::Action::Extract</a>
162
+
163
+ <li><a href="./Nucleon/Action/Remove.html">Nucleon::Action::Remove</a>
164
+
165
+ <li><a href="./Nucleon/Action/Save.html">Nucleon::Action::Save</a>
166
+
167
+ <li><a href="./Nucleon/Action/Update.html">Nucleon::Action::Update</a>
168
+
169
+ <li><a href="./Nucleon/Codes.html">Nucleon::Codes</a>
170
+
171
+ <li><a href="./Nucleon/Command.html">Nucleon::Command</a>
172
+
173
+ <li><a href="./Nucleon/Command/Bash.html">Nucleon::Command::Bash</a>
174
+
175
+ <li><a href="./Nucleon/Config.html">Nucleon::Config</a>
176
+
177
+ <li><a href="./Nucleon/Config/Collection.html">Nucleon::Config::Collection</a>
178
+
179
+ <li><a href="./Nucleon/Config/Options.html">Nucleon::Config::Options</a>
180
+
181
+ <li><a href="./Nucleon/Core.html">Nucleon::Core</a>
182
+
183
+ <li><a href="./Nucleon/Errors.html">Nucleon::Errors</a>
184
+
185
+ <li><a href="./Nucleon/Errors/BatchError.html">Nucleon::Errors::BatchError</a>
186
+
187
+ <li><a href="./Nucleon/Errors/NucleonError.html">Nucleon::Errors::NucleonError</a>
188
+
189
+ <li><a href="./Nucleon/Errors/SSHUnavailable.html">Nucleon::Errors::SSHUnavailable</a>
190
+
191
+ <li><a href="./Nucleon/Event.html">Nucleon::Event</a>
192
+
193
+ <li><a href="./Nucleon/Event/Regex.html">Nucleon::Event::Regex</a>
194
+
195
+ <li><a href="./Nucleon/Facade.html">Nucleon::Facade</a>
196
+
197
+ <li><a href="./Nucleon/Gems.html">Nucleon::Gems</a>
198
+
199
+ <li><a href="./Nucleon/Manager.html">Nucleon::Manager</a>
200
+
201
+ <li><a href="./Nucleon/Mixin.html">Nucleon::Mixin</a>
202
+
203
+ <li><a href="./Nucleon/Mixin/Action.html">Nucleon::Mixin::Action</a>
204
+
205
+ <li><a href="./Nucleon/Mixin/Action/Commit.html">Nucleon::Mixin::Action::Commit</a>
206
+
207
+ <li><a href="./Nucleon/Mixin/Action/Project.html">Nucleon::Mixin::Action::Project</a>
208
+
209
+ <li><a href="./Nucleon/Mixin/Action/Push.html">Nucleon::Mixin::Action::Push</a>
210
+
211
+ <li><a href="./Nucleon/Mixin/Colors.html">Nucleon::Mixin::Colors</a>
212
+
213
+ <li><a href="./Nucleon/Mixin/ConfigCollection.html">Nucleon::Mixin::ConfigCollection</a>
214
+
215
+ <li><a href="./Nucleon/Mixin/ConfigOptions.html">Nucleon::Mixin::ConfigOptions</a>
216
+
217
+ <li><a href="./Nucleon/Mixin/Macro.html">Nucleon::Mixin::Macro</a>
218
+
219
+ <li><a href="./Nucleon/Mixin/Macro/ObjectInterface.html">Nucleon::Mixin::Macro::ObjectInterface</a>
220
+
221
+ <li><a href="./Nucleon/Mixin/Macro/PluginInterface.html">Nucleon::Mixin::Macro::PluginInterface</a>
222
+
223
+ <li><a href="./Nucleon/Mixin/Settings.html">Nucleon::Mixin::Settings</a>
224
+
225
+ <li><a href="./Nucleon/Mixin/SubConfig.html">Nucleon::Mixin::SubConfig</a>
226
+
227
+ <li><a href="./Nucleon/Parallel.html">Nucleon::Parallel</a>
228
+
229
+ <li><a href="./Nucleon/Parallel/ClassMethods.html">Nucleon::Parallel::ClassMethods</a>
230
+
231
+ <li><a href="./Nucleon/Parallel/InstanceMethods.html">Nucleon::Parallel::InstanceMethods</a>
232
+
233
+ <li><a href="./Nucleon/Plugin.html">Nucleon::Plugin</a>
234
+
235
+ <li><a href="./Nucleon/Plugin/Action.html">Nucleon::Plugin::Action</a>
236
+
237
+ <li><a href="./Nucleon/Plugin/Action/Option.html">Nucleon::Plugin::Action::Option</a>
238
+
239
+ <li><a href="./Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
240
+
241
+ <li><a href="./Nucleon/Plugin/Command.html">Nucleon::Plugin::Command</a>
242
+
243
+ <li><a href="./Nucleon/Plugin/Event.html">Nucleon::Plugin::Event</a>
244
+
245
+ <li><a href="./Nucleon/Plugin/Extension.html">Nucleon::Plugin::Extension</a>
246
+
247
+ <li><a href="./Nucleon/Plugin/Project.html">Nucleon::Plugin::Project</a>
248
+
249
+ <li><a href="./Nucleon/Plugin/Template.html">Nucleon::Plugin::Template</a>
250
+
251
+ <li><a href="./Nucleon/Plugin/Translator.html">Nucleon::Plugin::Translator</a>
252
+
253
+ <li><a href="./Nucleon/Project.html">Nucleon::Project</a>
254
+
255
+ <li><a href="./Nucleon/Project/Git.html">Nucleon::Project::Git</a>
256
+
257
+ <li><a href="./Nucleon/Project/Github.html">Nucleon::Project::Github</a>
258
+
259
+ <li><a href="./Nucleon/Template.html">Nucleon::Template</a>
260
+
261
+ <li><a href="./Nucleon/Template/Json.html">Nucleon::Template::Json</a>
262
+
263
+ <li><a href="./Nucleon/Template/Wrapper.html">Nucleon::Template::Wrapper</a>
264
+
265
+ <li><a href="./Nucleon/Template/Yaml.html">Nucleon::Template::Yaml</a>
266
+
267
+ <li><a href="./Nucleon/Translator.html">Nucleon::Translator</a>
268
+
269
+ <li><a href="./Nucleon/Translator/Json.html">Nucleon::Translator::Json</a>
270
+
271
+ <li><a href="./Nucleon/Translator/Yaml.html">Nucleon::Translator::Yaml</a>
272
+
273
+ <li><a href="./Nucleon/Util.html">Nucleon::Util</a>
274
+
275
+ <li><a href="./Nucleon/Util/CLI.html">Nucleon::Util::CLI</a>
276
+
277
+ <li><a href="./Nucleon/Util/CLI/Parser.html">Nucleon::Util::CLI::Parser</a>
278
+
279
+ <li><a href="./Nucleon/Util/Cache.html">Nucleon::Util::Cache</a>
280
+
281
+ <li><a href="./Nucleon/Util/Console.html">Nucleon::Util::Console</a>
282
+
283
+ <li><a href="./Nucleon/Util/Data.html">Nucleon::Util::Data</a>
284
+
285
+ <li><a href="./Nucleon/Util/Disk.html">Nucleon::Util::Disk</a>
286
+
287
+ <li><a href="./Nucleon/Util/Git.html">Nucleon::Util::Git</a>
288
+
289
+ <li><a href="./Nucleon/Util/Liquid.html">Nucleon::Util::Liquid</a>
290
+
291
+ <li><a href="./Nucleon/Util/Logger.html">Nucleon::Util::Logger</a>
292
+
293
+ <li><a href="./Nucleon/Util/Package.html">Nucleon::Util::Package</a>
294
+
295
+ <li><a href="./Nucleon/Util/SSH.html">Nucleon::Util::SSH</a>
296
+
297
+ <li><a href="./Nucleon/Util/SSH/Keypair.html">Nucleon::Util::SSH::Keypair</a>
298
+
299
+ <li><a href="./Nucleon/Util/Shell.html">Nucleon::Util::Shell</a>
300
+
301
+ <li><a href="./Nucleon/Util/Shell/Result.html">Nucleon::Util::Shell::Result</a>
302
+
303
+ <li><a href="./Hash.html">Hash</a>
304
+
305
+ <li><a href="./Kernel.html">Kernel</a>
306
+
307
+ </ul>
308
+ </nav>
309
+
310
+ </div>
311
+ </nav>
312
+
313
+ <div id="documentation">
314
+ <h1 class="module">module Nucleon</h1>
315
+
316
+ <div id="description" class="description">
317
+
318
+ <p>Should be included via include</p>
319
+
320
+ <p>include <a href="Nucleon/Mixin/Colors.html">Mixin::Colors</a></p>
321
+
322
+ <p>Should be included via extend</p>
323
+
324
+ <p>extend <a
325
+ href="Nucleon/Mixin/ConfigCollection.html">Mixin::ConfigCollection</a></p>
326
+
327
+ <p>Should be included via extend</p>
328
+
329
+ <p>extend <a href="Nucleon/Mixin/ConfigOptions.html">Mixin::ConfigOptions</a></p>
330
+
331
+ <p>Should be included via extend</p>
332
+
333
+ <p>extend <a
334
+ href="Nucleon/Mixin/Macro/ObjectInterface.html">Mixin::Macro::ObjectInterface</a></p>
335
+
336
+ <p>Should be included via include</p>
337
+
338
+ <p>include <a href="Nucleon/Mixin/Settings.html">Mixin::Settings</a></p>
339
+
340
+ <p>Should be included via include</p>
341
+
342
+ <p>include <a href="Nucleon/Mixin/SubConfig.html">Mixin::SubConfig</a></p>
343
+
344
+ </div><!-- description -->
345
+
346
+
347
+
348
+
349
+ <section id="5Buntitled-5D" class="documentation-section">
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+ <!-- Methods -->
359
+
360
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
361
+ <h3 class="section-header">Public Class Methods</h3>
362
+
363
+
364
+ <div id="method-c-VERSION" class="method-detail ">
365
+
366
+ <div class="method-heading">
367
+ <span class="method-name">VERSION</span><span
368
+ class="method-args">()</span>
369
+ <span class="method-click-advice">click to toggle source</span>
370
+ </div>
371
+
372
+
373
+ <div class="method-description">
374
+
375
+
376
+
377
+
378
+
379
+ <div class="method-source-code" id="VERSION-source">
380
+ <pre><span class="ruby-comment"># File lib/nucleon_base.rb, line 79</span>
381
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-constant">VERSION</span>
382
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword">__FILE__</span>), <span class="ruby-string">&#39;..&#39;</span>, <span class="ruby-string">&#39;VERSION&#39;</span>))
383
+ <span class="ruby-keyword">end</span></pre>
384
+ </div><!-- VERSION-source -->
385
+
386
+ </div>
387
+
388
+
389
+
390
+
391
+ </div><!-- VERSION-method -->
392
+
393
+
394
+ <div id="method-c-debug_break" class="method-detail ">
395
+
396
+ <div class="method-heading">
397
+ <span class="method-name">debug_break</span><span
398
+ class="method-args">(condition = true)</span>
399
+ <span class="method-click-advice">click to toggle source</span>
400
+ </div>
401
+
402
+
403
+ <div class="method-description">
404
+
405
+
406
+
407
+
408
+
409
+ <div class="method-source-code" id="debug_break-source">
410
+ <pre><span class="ruby-comment"># File lib/nucleon_base.rb, line 91</span>
411
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">debug_break</span>(<span class="ruby-identifier">condition</span> = <span class="ruby-keyword">true</span>)
412
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">debugging?</span>
413
+ <span class="ruby-comment">#-------------------------------------------------------------------------------</span>
414
+ <span class="ruby-comment"># Nucleon Pry powered development console</span>
415
+ <span class="ruby-comment">#</span>
416
+ <span class="ruby-comment"># Usage:</span>
417
+ <span class="ruby-comment">#</span>
418
+ <span class="ruby-comment"># * Execute nucleon (or derivative executable, ex; corl) with the NUCLEON_DEBUG</span>
419
+ <span class="ruby-comment"># environment variable set</span>
420
+ <span class="ruby-comment">#</span>
421
+ <span class="ruby-comment"># :&gt; [ sudo ] NUCLEON_DEBUG=1 nucleon &lt;args&gt;...</span>
422
+ <span class="ruby-comment">#</span>
423
+ <span class="ruby-comment"># * Call the debug_break method anywhere in the code to start a debugging </span>
424
+ <span class="ruby-comment"># session.</span>
425
+ <span class="ruby-comment">#</span>
426
+ <span class="ruby-comment"># :&gt; Nucleon.debug_break or :&gt; Nucleon.debug_break &lt;test?&gt;</span>
427
+ <span class="ruby-comment">#</span>
428
+ <span class="ruby-comment"># * Since the debugging tools don&#39;t work in parallel, parallel operations are </span>
429
+ <span class="ruby-comment"># serialized when NUCLEON_DEBUG environment variable is found.</span>
430
+ <span class="ruby-comment">#</span>
431
+ <span class="ruby-comment">#-------------------------------------------------------------------------------</span>
432
+ <span class="ruby-comment"># General information</span>
433
+ <span class="ruby-comment">#</span>
434
+ <span class="ruby-comment"># For more information on Pry: http://pryrepl.org</span>
435
+ <span class="ruby-comment"># ( https://github.com/pry/pry )</span>
436
+ <span class="ruby-comment">#</span>
437
+ <span class="ruby-comment"># Loaded plugins: stack explorer ( https://github.com/pry/pry-stack_explorer )</span>
438
+ <span class="ruby-comment"># debugger ( https://github.com/nixme/pry-debugger )</span>
439
+ <span class="ruby-comment">#</span>
440
+ <span class="ruby-comment"># For available commands and help information: [ help ]</span>
441
+ <span class="ruby-comment"># For command specific help: [ &lt;command&gt; --help ]</span>
442
+ <span class="ruby-comment">#</span>
443
+ <span class="ruby-comment">#-------------------------------------------------------------------------------</span>
444
+ <span class="ruby-comment"># General commands:</span>
445
+ <span class="ruby-comment">#</span>
446
+ <span class="ruby-comment"># :&gt; cd &lt;Class&gt; Change to inspect class (class constant)</span>
447
+ <span class="ruby-comment"># :&gt; show-method &lt;method&gt; Show source for class method</span>
448
+ <span class="ruby-comment"># :&gt; .&lt;CLI command&gt; &lt;args&gt;... Execute a CLI command (always starts with dot)</span>
449
+ <span class="ruby-comment">#</span>
450
+ <span class="ruby-comment">#-------------------------------------------------------------------------------</span>
451
+ <span class="ruby-comment"># Breakpoints</span>
452
+ <span class="ruby-comment">#</span>
453
+ <span class="ruby-comment"># :&gt; breakpoints List all defined breakpoints</span>
454
+ <span class="ruby-comment"># :&gt; break Same as breakpoints command</span>
455
+ <span class="ruby-comment">#</span>
456
+ <span class="ruby-comment"># :&gt; break &lt;Class&gt;#&lt;method&gt; Break at start of `Class#method`.</span>
457
+ <span class="ruby-comment"># :&gt; break &lt;Class&gt;#&lt;method&gt; if &lt;test?&gt; Break at `Class#method` if `test?`.</span>
458
+ <span class="ruby-comment"># :&gt; break &lt;path&gt;/&lt;ruby file&gt;:&lt;line&gt; Break at line in ruby file.</span>
459
+ <span class="ruby-comment"># :&gt; break &lt;line&gt; Break at line in current file.</span>
460
+ <span class="ruby-comment">#</span>
461
+ <span class="ruby-comment"># :&gt; break --condition &lt;breakpoint&gt; &lt;test?&gt; Change condition on breakpoint.</span>
462
+ <span class="ruby-comment"># :&gt; break --condition &lt;breakpoint&gt; Remove condition on breakpoint.</span>
463
+ <span class="ruby-comment">#</span>
464
+ <span class="ruby-comment"># :&gt; break --delete &lt;breakpoint&gt; Delete breakpoint.</span>
465
+ <span class="ruby-comment"># :&gt; break --disable-all Disable all breakpoints.</span>
466
+ <span class="ruby-comment">#</span>
467
+ <span class="ruby-comment"># :&gt; break --show &lt;breakpoint&gt; Show details about breakpoint.</span>
468
+ <span class="ruby-comment">#</span>
469
+ <span class="ruby-comment">#-------------------------------------------------------------------------------</span>
470
+ <span class="ruby-comment"># Stack inspection / traversal</span>
471
+ <span class="ruby-comment">#</span>
472
+ <span class="ruby-comment"># :&gt; show-stack Show all accessible frames in the call stack.</span>
473
+ <span class="ruby-comment"># :&gt; frame &lt;number&gt; Move to a specific frame.</span>
474
+ <span class="ruby-comment"># :&gt; up Move up one frame in the call stack.</span>
475
+ <span class="ruby-comment"># :&gt; down Move down one frame in the call stack.</span>
476
+ <span class="ruby-comment">#</span>
477
+ <span class="ruby-comment">#-------------------------------------------------------------------------------</span>
478
+ <span class="ruby-comment"># Debugging execution flow:</span>
479
+ <span class="ruby-comment">#</span>
480
+ <span class="ruby-comment"># :&gt; s = [ step | step &lt;times&gt; ] Step execution into the next line or method.</span>
481
+ <span class="ruby-comment"># :&gt; n = [ next | next &lt;times&gt; ] Step over to the next line within same frame.</span>
482
+ <span class="ruby-comment"># :&gt; f = [ finish ] Execute until current stack frame returns.</span>
483
+ <span class="ruby-comment"># :&gt; c = [ continue ] Continue program execution (end Pry session).</span>
484
+ <span class="ruby-comment">#</span>
485
+ <span class="ruby-identifier">binding</span>.<span class="ruby-identifier">pry</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">condition</span>
486
+ <span class="ruby-keyword">end</span>
487
+ <span class="ruby-keyword">end</span></pre>
488
+ </div><!-- debug_break-source -->
489
+
490
+ </div>
491
+
492
+
493
+
494
+
495
+ </div><!-- debug_break-method -->
496
+
497
+
498
+ <div id="method-c-debugging-3F" class="method-detail ">
499
+
500
+ <div class="method-heading">
501
+ <span class="method-name">debugging?</span><span
502
+ class="method-args">()</span>
503
+ <span class="method-click-advice">click to toggle source</span>
504
+ </div>
505
+
506
+
507
+ <div class="method-description">
508
+
509
+
510
+
511
+
512
+
513
+ <div class="method-source-code" id="debugging-3F-source">
514
+ <pre><span class="ruby-comment"># File lib/nucleon_base.rb, line 85</span>
515
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">debugging?</span>
516
+ <span class="ruby-constant">ENV</span>[<span class="ruby-string">&quot;NUCLEON_DEBUG&quot;</span>] <span class="ruby-operator">?</span> <span class="ruby-keyword">true</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">false</span>
517
+ <span class="ruby-keyword">end</span></pre>
518
+ </div><!-- debugging-3F-source -->
519
+
520
+ </div>
521
+
522
+
523
+
524
+
525
+ </div><!-- debugging-3F-method -->
526
+
527
+
528
+ <div id="method-c-parallel-3F" class="method-detail ">
529
+
530
+ <div class="method-heading">
531
+ <span class="method-name">parallel?</span><span
532
+ class="method-args">()</span>
533
+ <span class="method-click-advice">click to toggle source</span>
534
+ </div>
535
+
536
+
537
+ <div class="method-description">
538
+
539
+
540
+
541
+
542
+
543
+ <div class="method-source-code" id="parallel-3F-source">
544
+ <pre><span class="ruby-comment"># File lib/nucleon_base.rb, line 171</span>
545
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parallel?</span>
546
+ <span class="ruby-identifier">debugging?</span> <span class="ruby-operator">||</span> <span class="ruby-constant">ENV</span>[<span class="ruby-string">&#39;NUCLEON_NO_PARALLEL&#39;</span>] <span class="ruby-operator">?</span> <span class="ruby-keyword">false</span> <span class="ruby-operator">:</span> <span class="ruby-keyword">true</span>
547
+ <span class="ruby-keyword">end</span></pre>
548
+ </div><!-- parallel-3F-source -->
549
+
550
+ </div>
551
+
552
+
553
+
554
+
555
+ </div><!-- parallel-3F-method -->
556
+
557
+
558
+ </section><!-- public-class-method-details -->
559
+
560
+ </section><!-- 5Buntitled-5D -->
561
+
562
+ </div><!-- documentation -->
563
+
564
+
565
+ <footer id="validator-badges">
566
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
567
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
568
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
569
+ </footer>
570
+