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