nucleon 0.1.19 → 0.2.0
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.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +1 -0
- data/TODO.rdoc +0 -3
- data/VERSION +1 -1
- data/bin/nucleon +19 -0
- data/lib/core/config.rb +11 -7
- data/lib/core/environment.rb +338 -0
- data/lib/core/facade.rb +150 -98
- data/lib/core/manager.rb +160 -249
- data/lib/core/mixin/action/project.rb +2 -2
- data/lib/core/mixin/macro/plugin_interface.rb +11 -11
- data/lib/core/plugin/action.rb +277 -24
- data/lib/core/plugin/base.rb +22 -14
- data/lib/core/plugin/command.rb +1 -1
- data/lib/core/plugin/event.rb +3 -3
- data/lib/core/plugin/extension.rb +1 -1
- data/lib/core/plugin/project.rb +15 -15
- data/lib/core/plugin/template.rb +1 -1
- data/lib/core/plugin/translator.rb +1 -1
- data/lib/core/util/cache.rb +1 -1
- data/lib/core/util/cli.rb +32 -3
- data/lib/core/util/console.rb +30 -10
- data/lib/core/util/data.rb +11 -3
- data/lib/core/util/logger.rb +1 -1
- data/lib/core/util/shell.rb +6 -3
- data/lib/core/util/ssh.rb +148 -24
- data/lib/nucleon/action/extract.rb +11 -4
- data/lib/nucleon/action/{add.rb → project/add.rb} +13 -4
- data/lib/nucleon/action/{create.rb → project/create.rb} +12 -3
- data/lib/nucleon/action/{remove.rb → project/remove.rb} +11 -2
- data/lib/nucleon/action/{save.rb → project/save.rb} +11 -2
- data/lib/nucleon/action/{update.rb → project/update.rb} +11 -2
- data/lib/nucleon/command/bash.rb +1 -1
- data/lib/nucleon/event/regex.rb +1 -1
- data/lib/nucleon/project/git.rb +3 -3
- data/lib/nucleon/template/{json.rb → JSON.rb} +1 -1
- data/lib/nucleon/template/{yaml.rb → YAML.rb} +1 -1
- data/lib/nucleon/template/wrapper.rb +1 -1
- data/lib/nucleon/translator/{json.rb → JSON.rb} +1 -1
- data/lib/nucleon/translator/{yaml.rb → YAML.rb} +1 -1
- data/lib/nucleon_base.rb +26 -15
- data/locales/en.yml +69 -44
- data/nucleon.gemspec +129 -11
- data/rdoc/site/0.1.19/ARCHITECTURE_rdoc.html +634 -0
- data/rdoc/site/0.1.19/Hash.html +347 -0
- data/rdoc/site/0.1.19/Kernel.html +413 -0
- data/rdoc/site/0.1.19/Nucleon.html +570 -0
- data/rdoc/site/0.1.19/Nucleon/Action.html +280 -0
- data/rdoc/site/0.1.19/Nucleon/Action/Add.html +458 -0
- data/rdoc/site/0.1.19/Nucleon/Action/Create.html +415 -0
- data/rdoc/site/0.1.19/Nucleon/Action/Extract.html +413 -0
- data/rdoc/site/0.1.19/Nucleon/Action/Remove.html +461 -0
- data/rdoc/site/0.1.19/Nucleon/Action/Save.html +434 -0
- data/rdoc/site/0.1.19/Nucleon/Action/Update.html +381 -0
- data/rdoc/site/0.1.19/Nucleon/Codes.html +563 -0
- data/rdoc/site/0.1.19/Nucleon/Command.html +275 -0
- data/rdoc/site/0.1.19/Nucleon/Command/Bash.html +544 -0
- data/rdoc/site/0.1.19/Nucleon/Config.html +1623 -0
- data/rdoc/site/0.1.19/Nucleon/Config/Collection.html +509 -0
- data/rdoc/site/0.1.19/Nucleon/Config/Options.html +489 -0
- data/rdoc/site/0.1.19/Nucleon/Core.html +635 -0
- data/rdoc/site/0.1.19/Nucleon/Errors.html +275 -0
- data/rdoc/site/0.1.19/Nucleon/Errors/BatchError.html +281 -0
- data/rdoc/site/0.1.19/Nucleon/Errors/NucleonError.html +657 -0
- data/rdoc/site/0.1.19/Nucleon/Errors/SSHUnavailable.html +281 -0
- data/rdoc/site/0.1.19/Nucleon/Event.html +275 -0
- data/rdoc/site/0.1.19/Nucleon/Event/Regex.html +467 -0
- data/rdoc/site/0.1.19/Nucleon/Facade.html +2336 -0
- data/rdoc/site/0.1.19/Nucleon/Gems.html +635 -0
- data/rdoc/site/0.1.19/Nucleon/Manager.html +1828 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin.html +284 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Action.html +277 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Commit.html +381 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Project.html +395 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Push.html +371 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Colors.html +545 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/ConfigCollection.html +481 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/ConfigOptions.html +449 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Macro.html +276 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Macro/ObjectInterface.html +695 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Macro/PluginInterface.html +682 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/Settings.html +481 -0
- data/rdoc/site/0.1.19/Nucleon/Mixin/SubConfig.html +887 -0
- data/rdoc/site/0.1.19/Nucleon/Parallel.html +325 -0
- data/rdoc/site/0.1.19/Nucleon/Parallel/ClassMethods.html +325 -0
- data/rdoc/site/0.1.19/Nucleon/Parallel/InstanceMethods.html +334 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin.html +282 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Action.html +1368 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Action/Option.html +459 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Base.html +1737 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Command.html +721 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Event.html +442 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Extension.html +281 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Project.html +2864 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Template.html +476 -0
- data/rdoc/site/0.1.19/Nucleon/Plugin/Translator.html +371 -0
- data/rdoc/site/0.1.19/Nucleon/Project.html +276 -0
- data/rdoc/site/0.1.19/Nucleon/Project/Git.html +1801 -0
- data/rdoc/site/0.1.19/Nucleon/Project/Github.html +549 -0
- data/rdoc/site/0.1.19/Nucleon/Template.html +277 -0
- data/rdoc/site/0.1.19/Nucleon/Template/Json.html +329 -0
- data/rdoc/site/0.1.19/Nucleon/Template/Wrapper.html +329 -0
- data/rdoc/site/0.1.19/Nucleon/Template/Yaml.html +329 -0
- data/rdoc/site/0.1.19/Nucleon/Translator.html +276 -0
- data/rdoc/site/0.1.19/Nucleon/Translator/Json.html +366 -0
- data/rdoc/site/0.1.19/Nucleon/Translator/Yaml.html +366 -0
- data/rdoc/site/0.1.19/Nucleon/Util.html +285 -0
- data/rdoc/site/0.1.19/Nucleon/Util/CLI.html +388 -0
- data/rdoc/site/0.1.19/Nucleon/Util/CLI/Parser.html +1183 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Cache.html +780 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Console.html +1294 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Data.html +1399 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Disk.html +522 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Git.html +361 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Liquid.html +365 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Logger.html +806 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Package.html +558 -0
- data/rdoc/site/0.1.19/Nucleon/Util/SSH.html +910 -0
- data/rdoc/site/0.1.19/Nucleon/Util/SSH/Keypair.html +453 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Shell.html +686 -0
- data/rdoc/site/0.1.19/Nucleon/Util/Shell/Result.html +497 -0
- data/rdoc/site/0.1.19/README_rdoc.html +312 -0
- data/rdoc/site/0.1.19/TODO_rdoc.html +267 -0
- data/rdoc/site/0.1.19/created.rid +60 -0
- data/rdoc/site/0.1.19/images/add.png +0 -0
- data/rdoc/site/0.1.19/images/brick.png +0 -0
- data/rdoc/site/0.1.19/images/brick_link.png +0 -0
- data/rdoc/site/0.1.19/images/bug.png +0 -0
- data/rdoc/site/0.1.19/images/bullet_black.png +0 -0
- data/rdoc/site/0.1.19/images/bullet_toggle_minus.png +0 -0
- data/rdoc/site/0.1.19/images/bullet_toggle_plus.png +0 -0
- data/rdoc/site/0.1.19/images/date.png +0 -0
- data/rdoc/site/0.1.19/images/delete.png +0 -0
- data/rdoc/site/0.1.19/images/find.png +0 -0
- data/rdoc/site/0.1.19/images/loadingAnimation.gif +0 -0
- data/rdoc/site/0.1.19/images/macFFBgHack.png +0 -0
- data/rdoc/site/0.1.19/images/package.png +0 -0
- data/rdoc/site/0.1.19/images/page_green.png +0 -0
- data/rdoc/site/0.1.19/images/page_white_text.png +0 -0
- data/rdoc/site/0.1.19/images/page_white_width.png +0 -0
- data/rdoc/site/0.1.19/images/plugin.png +0 -0
- data/rdoc/site/0.1.19/images/ruby.png +0 -0
- data/rdoc/site/0.1.19/images/tag_blue.png +0 -0
- data/rdoc/site/0.1.19/images/tag_green.png +0 -0
- data/rdoc/site/0.1.19/images/transparent.png +0 -0
- data/rdoc/site/0.1.19/images/wrench.png +0 -0
- data/rdoc/site/0.1.19/images/wrench_orange.png +0 -0
- data/rdoc/site/0.1.19/images/zoom.png +0 -0
- data/rdoc/site/0.1.19/index.html +311 -0
- data/rdoc/site/0.1.19/js/darkfish.js +155 -0
- data/rdoc/site/0.1.19/js/jquery.js +18 -0
- data/rdoc/site/0.1.19/js/navigation.js +142 -0
- data/rdoc/site/0.1.19/js/search.js +94 -0
- data/rdoc/site/0.1.19/js/search_index.js +1 -0
- data/rdoc/site/0.1.19/js/searcher.js +228 -0
- data/rdoc/site/0.1.19/rdoc.css +543 -0
- data/rdoc/site/0.1.19/table_of_contents.html +1541 -0
- metadata +140 -11
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Wed, 21 May 2014 16:14:11 -0400
|
|
2
|
+
ARCHITECTURE.rdoc Thu, 17 Apr 2014 22:01:49 -0400
|
|
3
|
+
README.rdoc Thu, 17 Apr 2014 03:30:08 -0400
|
|
4
|
+
TODO.rdoc Thu, 17 Apr 2014 03:30:53 -0400
|
|
5
|
+
lib/core/codes.rb Wed, 19 Feb 2014 23:08:09 -0500
|
|
6
|
+
lib/core/config.rb Wed, 23 Apr 2014 19:01:29 -0400
|
|
7
|
+
lib/core/config/collection.rb Sun, 13 Apr 2014 23:58:44 -0400
|
|
8
|
+
lib/core/config/options.rb Mon, 17 Mar 2014 02:15:18 -0400
|
|
9
|
+
lib/core/core.rb Tue, 01 Apr 2014 23:25:26 -0400
|
|
10
|
+
lib/core/errors.rb Thu, 27 Feb 2014 19:25:56 -0500
|
|
11
|
+
lib/core/facade.rb Fri, 02 May 2014 06:36:03 -0400
|
|
12
|
+
lib/core/gems.rb Thu, 15 May 2014 14:08:11 -0400
|
|
13
|
+
lib/core/manager.rb Tue, 13 May 2014 14:23:14 -0400
|
|
14
|
+
lib/core/mixin/action/commit.rb Fri, 21 Feb 2014 19:30:27 -0500
|
|
15
|
+
lib/core/mixin/action/project.rb Thu, 27 Mar 2014 20:27:48 -0400
|
|
16
|
+
lib/core/mixin/action/push.rb Fri, 21 Feb 2014 19:24:35 -0500
|
|
17
|
+
lib/core/mixin/colors.rb Wed, 19 Mar 2014 18:52:22 -0400
|
|
18
|
+
lib/core/mixin/config/collection.rb Mon, 17 Mar 2014 02:22:14 -0400
|
|
19
|
+
lib/core/mixin/config/options.rb Mon, 17 Mar 2014 02:14:49 -0400
|
|
20
|
+
lib/core/mixin/macro/object_interface.rb Wed, 14 May 2014 23:22:52 -0400
|
|
21
|
+
lib/core/mixin/macro/plugin_interface.rb Mon, 12 May 2014 23:01:25 -0400
|
|
22
|
+
lib/core/mixin/settings.rb Wed, 14 May 2014 18:24:25 -0400
|
|
23
|
+
lib/core/mixin/sub_config.rb Wed, 19 Feb 2014 22:53:26 -0500
|
|
24
|
+
lib/core/mod/hash.rb Wed, 19 Feb 2014 22:53:47 -0500
|
|
25
|
+
lib/core/plugin/action.rb Thu, 27 Mar 2014 16:05:27 -0400
|
|
26
|
+
lib/core/plugin/base.rb Sun, 13 Apr 2014 23:58:44 -0400
|
|
27
|
+
lib/core/plugin/command.rb Tue, 25 Feb 2014 02:44:44 -0500
|
|
28
|
+
lib/core/plugin/event.rb Wed, 19 Feb 2014 23:02:04 -0500
|
|
29
|
+
lib/core/plugin/extension.rb Wed, 19 Feb 2014 23:02:18 -0500
|
|
30
|
+
lib/core/plugin/project.rb Wed, 14 May 2014 23:24:37 -0400
|
|
31
|
+
lib/core/plugin/template.rb Thu, 10 Apr 2014 17:50:58 -0400
|
|
32
|
+
lib/core/plugin/translator.rb Wed, 19 Feb 2014 23:02:42 -0500
|
|
33
|
+
lib/core/util/cache.rb Sun, 13 Apr 2014 23:58:44 -0400
|
|
34
|
+
lib/core/util/cli.rb Tue, 25 Feb 2014 05:06:05 -0500
|
|
35
|
+
lib/core/util/console.rb Thu, 20 Mar 2014 16:09:57 -0400
|
|
36
|
+
lib/core/util/data.rb Tue, 13 May 2014 14:25:48 -0400
|
|
37
|
+
lib/core/util/disk.rb Thu, 15 May 2014 22:20:02 -0400
|
|
38
|
+
lib/core/util/git.rb Thu, 27 Mar 2014 02:30:13 -0400
|
|
39
|
+
lib/core/util/liquid.rb Fri, 28 Mar 2014 15:44:48 -0400
|
|
40
|
+
lib/core/util/logger.rb Thu, 20 Feb 2014 03:47:50 -0500
|
|
41
|
+
lib/core/util/package.rb Wed, 19 Feb 2014 23:07:13 -0500
|
|
42
|
+
lib/core/util/shell.rb Sun, 13 Apr 2014 23:58:44 -0400
|
|
43
|
+
lib/core/util/ssh.rb Sun, 27 Apr 2014 02:58:13 -0400
|
|
44
|
+
lib/nucleon.rb Sat, 22 Feb 2014 04:43:30 -0500
|
|
45
|
+
lib/nucleon/action/add.rb Thu, 27 Mar 2014 20:27:29 -0400
|
|
46
|
+
lib/nucleon/action/create.rb Thu, 27 Mar 2014 17:58:19 -0400
|
|
47
|
+
lib/nucleon/action/extract.rb Wed, 26 Mar 2014 23:38:56 -0400
|
|
48
|
+
lib/nucleon/action/remove.rb Thu, 27 Mar 2014 19:25:06 -0400
|
|
49
|
+
lib/nucleon/action/save.rb Thu, 27 Mar 2014 18:45:37 -0400
|
|
50
|
+
lib/nucleon/action/update.rb Thu, 27 Mar 2014 17:56:07 -0400
|
|
51
|
+
lib/nucleon/command/bash.rb Thu, 27 Mar 2014 15:47:38 -0400
|
|
52
|
+
lib/nucleon/event/regex.rb Tue, 25 Feb 2014 02:46:21 -0500
|
|
53
|
+
lib/nucleon/project/git.rb Wed, 14 May 2014 23:24:37 -0400
|
|
54
|
+
lib/nucleon/project/github.rb Thu, 24 Apr 2014 04:40:02 -0400
|
|
55
|
+
lib/nucleon/template/json.rb Wed, 19 Feb 2014 23:29:08 -0500
|
|
56
|
+
lib/nucleon/template/wrapper.rb Wed, 19 Feb 2014 23:29:24 -0500
|
|
57
|
+
lib/nucleon/template/yaml.rb Wed, 19 Feb 2014 23:29:41 -0500
|
|
58
|
+
lib/nucleon/translator/json.rb Wed, 19 Feb 2014 23:29:59 -0500
|
|
59
|
+
lib/nucleon/translator/yaml.rb Wed, 19 Feb 2014 23:30:17 -0500
|
|
60
|
+
lib/nucleon_base.rb Thu, 15 May 2014 01:47:42 -0400
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
|
|
3
|
+
<html>
|
|
4
|
+
<head>
|
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
|
6
|
+
|
|
7
|
+
<title>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>
|
|
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="project-metadata">
|
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
|
48
|
+
<h3 class="section-header">Pages</h3>
|
|
49
|
+
|
|
50
|
+
<ul>
|
|
51
|
+
|
|
52
|
+
<li class="file"><a href="./ARCHITECTURE_rdoc.html">ARCHITECTURE</a>
|
|
53
|
+
|
|
54
|
+
<li class="file"><a href="./README_rdoc.html">README</a>
|
|
55
|
+
|
|
56
|
+
<li class="file"><a href="./TODO_rdoc.html">TODO</a>
|
|
57
|
+
|
|
58
|
+
</ul>
|
|
59
|
+
</nav>
|
|
60
|
+
|
|
61
|
+
<nav id="classindex-section" class="section project-section">
|
|
62
|
+
<h3 class="section-header">Class and Module Index</h3>
|
|
63
|
+
|
|
64
|
+
<ul class="link-list">
|
|
65
|
+
|
|
66
|
+
<li><a href="./Nucleon.html">Nucleon</a>
|
|
67
|
+
|
|
68
|
+
<li><a href="./Nucleon/Action.html">Nucleon::Action</a>
|
|
69
|
+
|
|
70
|
+
<li><a href="./Nucleon/Action/Add.html">Nucleon::Action::Add</a>
|
|
71
|
+
|
|
72
|
+
<li><a href="./Nucleon/Action/Create.html">Nucleon::Action::Create</a>
|
|
73
|
+
|
|
74
|
+
<li><a href="./Nucleon/Action/Extract.html">Nucleon::Action::Extract</a>
|
|
75
|
+
|
|
76
|
+
<li><a href="./Nucleon/Action/Remove.html">Nucleon::Action::Remove</a>
|
|
77
|
+
|
|
78
|
+
<li><a href="./Nucleon/Action/Save.html">Nucleon::Action::Save</a>
|
|
79
|
+
|
|
80
|
+
<li><a href="./Nucleon/Action/Update.html">Nucleon::Action::Update</a>
|
|
81
|
+
|
|
82
|
+
<li><a href="./Nucleon/Codes.html">Nucleon::Codes</a>
|
|
83
|
+
|
|
84
|
+
<li><a href="./Nucleon/Command.html">Nucleon::Command</a>
|
|
85
|
+
|
|
86
|
+
<li><a href="./Nucleon/Command/Bash.html">Nucleon::Command::Bash</a>
|
|
87
|
+
|
|
88
|
+
<li><a href="./Nucleon/Config.html">Nucleon::Config</a>
|
|
89
|
+
|
|
90
|
+
<li><a href="./Nucleon/Config/Collection.html">Nucleon::Config::Collection</a>
|
|
91
|
+
|
|
92
|
+
<li><a href="./Nucleon/Config/Options.html">Nucleon::Config::Options</a>
|
|
93
|
+
|
|
94
|
+
<li><a href="./Nucleon/Core.html">Nucleon::Core</a>
|
|
95
|
+
|
|
96
|
+
<li><a href="./Nucleon/Errors.html">Nucleon::Errors</a>
|
|
97
|
+
|
|
98
|
+
<li><a href="./Nucleon/Errors/BatchError.html">Nucleon::Errors::BatchError</a>
|
|
99
|
+
|
|
100
|
+
<li><a href="./Nucleon/Errors/NucleonError.html">Nucleon::Errors::NucleonError</a>
|
|
101
|
+
|
|
102
|
+
<li><a href="./Nucleon/Errors/SSHUnavailable.html">Nucleon::Errors::SSHUnavailable</a>
|
|
103
|
+
|
|
104
|
+
<li><a href="./Nucleon/Event.html">Nucleon::Event</a>
|
|
105
|
+
|
|
106
|
+
<li><a href="./Nucleon/Event/Regex.html">Nucleon::Event::Regex</a>
|
|
107
|
+
|
|
108
|
+
<li><a href="./Nucleon/Facade.html">Nucleon::Facade</a>
|
|
109
|
+
|
|
110
|
+
<li><a href="./Nucleon/Gems.html">Nucleon::Gems</a>
|
|
111
|
+
|
|
112
|
+
<li><a href="./Nucleon/Manager.html">Nucleon::Manager</a>
|
|
113
|
+
|
|
114
|
+
<li><a href="./Nucleon/Mixin.html">Nucleon::Mixin</a>
|
|
115
|
+
|
|
116
|
+
<li><a href="./Nucleon/Mixin/Action.html">Nucleon::Mixin::Action</a>
|
|
117
|
+
|
|
118
|
+
<li><a href="./Nucleon/Mixin/Action/Commit.html">Nucleon::Mixin::Action::Commit</a>
|
|
119
|
+
|
|
120
|
+
<li><a href="./Nucleon/Mixin/Action/Project.html">Nucleon::Mixin::Action::Project</a>
|
|
121
|
+
|
|
122
|
+
<li><a href="./Nucleon/Mixin/Action/Push.html">Nucleon::Mixin::Action::Push</a>
|
|
123
|
+
|
|
124
|
+
<li><a href="./Nucleon/Mixin/Colors.html">Nucleon::Mixin::Colors</a>
|
|
125
|
+
|
|
126
|
+
<li><a href="./Nucleon/Mixin/ConfigCollection.html">Nucleon::Mixin::ConfigCollection</a>
|
|
127
|
+
|
|
128
|
+
<li><a href="./Nucleon/Mixin/ConfigOptions.html">Nucleon::Mixin::ConfigOptions</a>
|
|
129
|
+
|
|
130
|
+
<li><a href="./Nucleon/Mixin/Macro.html">Nucleon::Mixin::Macro</a>
|
|
131
|
+
|
|
132
|
+
<li><a href="./Nucleon/Mixin/Macro/ObjectInterface.html">Nucleon::Mixin::Macro::ObjectInterface</a>
|
|
133
|
+
|
|
134
|
+
<li><a href="./Nucleon/Mixin/Macro/PluginInterface.html">Nucleon::Mixin::Macro::PluginInterface</a>
|
|
135
|
+
|
|
136
|
+
<li><a href="./Nucleon/Mixin/Settings.html">Nucleon::Mixin::Settings</a>
|
|
137
|
+
|
|
138
|
+
<li><a href="./Nucleon/Mixin/SubConfig.html">Nucleon::Mixin::SubConfig</a>
|
|
139
|
+
|
|
140
|
+
<li><a href="./Nucleon/Parallel.html">Nucleon::Parallel</a>
|
|
141
|
+
|
|
142
|
+
<li><a href="./Nucleon/Parallel/ClassMethods.html">Nucleon::Parallel::ClassMethods</a>
|
|
143
|
+
|
|
144
|
+
<li><a href="./Nucleon/Parallel/InstanceMethods.html">Nucleon::Parallel::InstanceMethods</a>
|
|
145
|
+
|
|
146
|
+
<li><a href="./Nucleon/Plugin.html">Nucleon::Plugin</a>
|
|
147
|
+
|
|
148
|
+
<li><a href="./Nucleon/Plugin/Action.html">Nucleon::Plugin::Action</a>
|
|
149
|
+
|
|
150
|
+
<li><a href="./Nucleon/Plugin/Action/Option.html">Nucleon::Plugin::Action::Option</a>
|
|
151
|
+
|
|
152
|
+
<li><a href="./Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
|
|
153
|
+
|
|
154
|
+
<li><a href="./Nucleon/Plugin/Command.html">Nucleon::Plugin::Command</a>
|
|
155
|
+
|
|
156
|
+
<li><a href="./Nucleon/Plugin/Event.html">Nucleon::Plugin::Event</a>
|
|
157
|
+
|
|
158
|
+
<li><a href="./Nucleon/Plugin/Extension.html">Nucleon::Plugin::Extension</a>
|
|
159
|
+
|
|
160
|
+
<li><a href="./Nucleon/Plugin/Project.html">Nucleon::Plugin::Project</a>
|
|
161
|
+
|
|
162
|
+
<li><a href="./Nucleon/Plugin/Template.html">Nucleon::Plugin::Template</a>
|
|
163
|
+
|
|
164
|
+
<li><a href="./Nucleon/Plugin/Translator.html">Nucleon::Plugin::Translator</a>
|
|
165
|
+
|
|
166
|
+
<li><a href="./Nucleon/Project.html">Nucleon::Project</a>
|
|
167
|
+
|
|
168
|
+
<li><a href="./Nucleon/Project/Git.html">Nucleon::Project::Git</a>
|
|
169
|
+
|
|
170
|
+
<li><a href="./Nucleon/Project/Github.html">Nucleon::Project::Github</a>
|
|
171
|
+
|
|
172
|
+
<li><a href="./Nucleon/Template.html">Nucleon::Template</a>
|
|
173
|
+
|
|
174
|
+
<li><a href="./Nucleon/Template/Json.html">Nucleon::Template::Json</a>
|
|
175
|
+
|
|
176
|
+
<li><a href="./Nucleon/Template/Wrapper.html">Nucleon::Template::Wrapper</a>
|
|
177
|
+
|
|
178
|
+
<li><a href="./Nucleon/Template/Yaml.html">Nucleon::Template::Yaml</a>
|
|
179
|
+
|
|
180
|
+
<li><a href="./Nucleon/Translator.html">Nucleon::Translator</a>
|
|
181
|
+
|
|
182
|
+
<li><a href="./Nucleon/Translator/Json.html">Nucleon::Translator::Json</a>
|
|
183
|
+
|
|
184
|
+
<li><a href="./Nucleon/Translator/Yaml.html">Nucleon::Translator::Yaml</a>
|
|
185
|
+
|
|
186
|
+
<li><a href="./Nucleon/Util.html">Nucleon::Util</a>
|
|
187
|
+
|
|
188
|
+
<li><a href="./Nucleon/Util/CLI.html">Nucleon::Util::CLI</a>
|
|
189
|
+
|
|
190
|
+
<li><a href="./Nucleon/Util/CLI/Parser.html">Nucleon::Util::CLI::Parser</a>
|
|
191
|
+
|
|
192
|
+
<li><a href="./Nucleon/Util/Cache.html">Nucleon::Util::Cache</a>
|
|
193
|
+
|
|
194
|
+
<li><a href="./Nucleon/Util/Console.html">Nucleon::Util::Console</a>
|
|
195
|
+
|
|
196
|
+
<li><a href="./Nucleon/Util/Data.html">Nucleon::Util::Data</a>
|
|
197
|
+
|
|
198
|
+
<li><a href="./Nucleon/Util/Disk.html">Nucleon::Util::Disk</a>
|
|
199
|
+
|
|
200
|
+
<li><a href="./Nucleon/Util/Git.html">Nucleon::Util::Git</a>
|
|
201
|
+
|
|
202
|
+
<li><a href="./Nucleon/Util/Liquid.html">Nucleon::Util::Liquid</a>
|
|
203
|
+
|
|
204
|
+
<li><a href="./Nucleon/Util/Logger.html">Nucleon::Util::Logger</a>
|
|
205
|
+
|
|
206
|
+
<li><a href="./Nucleon/Util/Package.html">Nucleon::Util::Package</a>
|
|
207
|
+
|
|
208
|
+
<li><a href="./Nucleon/Util/SSH.html">Nucleon::Util::SSH</a>
|
|
209
|
+
|
|
210
|
+
<li><a href="./Nucleon/Util/SSH/Keypair.html">Nucleon::Util::SSH::Keypair</a>
|
|
211
|
+
|
|
212
|
+
<li><a href="./Nucleon/Util/Shell.html">Nucleon::Util::Shell</a>
|
|
213
|
+
|
|
214
|
+
<li><a href="./Nucleon/Util/Shell/Result.html">Nucleon::Util::Shell::Result</a>
|
|
215
|
+
|
|
216
|
+
<li><a href="./Hash.html">Hash</a>
|
|
217
|
+
|
|
218
|
+
<li><a href="./Kernel.html">Kernel</a>
|
|
219
|
+
|
|
220
|
+
</ul>
|
|
221
|
+
</nav>
|
|
222
|
+
|
|
223
|
+
</div>
|
|
224
|
+
</nav>
|
|
225
|
+
|
|
226
|
+
<div id="documentation" class="description">
|
|
227
|
+
|
|
228
|
+
<h2 id="label-Nucleon"><a href="Nucleon.html">Nucleon</a></h2>
|
|
229
|
+
|
|
230
|
+
<h3 id="label-Description">Description</h3>
|
|
231
|
+
|
|
232
|
+
<p><a href="Nucleon.html">Nucleon</a> is built to provide an easy and minimal,
|
|
233
|
+
yet extremely powerful, framework for building applications that are
|
|
234
|
+
highly distributable in nature.</p>
|
|
235
|
+
|
|
236
|
+
<p>See: <a href="ARCHITECTURE_rdoc.html">ARCHITECTURE.rdoc</a></p>
|
|
237
|
+
|
|
238
|
+
<h3 id="label-Installation+%2F+Dependencies">Installation / Dependencies</h3>
|
|
239
|
+
|
|
240
|
+
<p>See the Gemfile for all <a href="Nucleon.html">Nucleon</a> gem
|
|
241
|
+
dependencies.</p>
|
|
242
|
+
|
|
243
|
+
<p>If the project plugin is used, you will probably need Git installed on the
|
|
244
|
+
system. If you do not and you use the project plugin Git providers, Git
|
|
245
|
+
projects will not do anything and will give you persistence warnings.</p>
|
|
246
|
+
|
|
247
|
+
<p>To install:</p>
|
|
248
|
+
|
|
249
|
+
<pre>gem install nucleon</pre>
|
|
250
|
+
|
|
251
|
+
<p>or put something like this in your Gemfile (for Bundler)</p>
|
|
252
|
+
|
|
253
|
+
<pre>gem "nucleon", "~> 0.1"</pre>
|
|
254
|
+
|
|
255
|
+
<p>Then you can require as needed and use what you need.</p>
|
|
256
|
+
|
|
257
|
+
<p>This library has so far been developed and tested on an Ubuntu environment
|
|
258
|
+
but the groundwork has been laid for development and testing on other
|
|
259
|
+
platforms.</p>
|
|
260
|
+
|
|
261
|
+
<p>The library also currently lacks unit tests, which will be coming before
|
|
262
|
+
the 1.0 (first production) release.</p>
|
|
263
|
+
|
|
264
|
+
<p>Consider this library experimental, but you are welcome to play around with
|
|
265
|
+
it and tell us what you think or how we could improve it.</p>
|
|
266
|
+
|
|
267
|
+
<h3 id="label-Usage">Usage</h3>
|
|
268
|
+
|
|
269
|
+
<h3 id="label-Links">Links</h3>
|
|
270
|
+
|
|
271
|
+
<p>Note: This library is still very early in development!</p>
|
|
272
|
+
|
|
273
|
+
<h3 id="label-Contributing+to+Nucleon">Contributing to <a href="Nucleon.html">Nucleon</a></h3>
|
|
274
|
+
<ul><li>
|
|
275
|
+
<p>Check out the latest {major}.{minor} branch to make sure the feature
|
|
276
|
+
hasn't been implemented or the bug hasn't been fixed yet.</p>
|
|
277
|
+
</li><li>
|
|
278
|
+
<p>Check out the issue tracker to make sure someone already hasn't
|
|
279
|
+
requested it and/or contributed it.</p>
|
|
280
|
+
</li><li>
|
|
281
|
+
<p>Fork the project.</p>
|
|
282
|
+
</li><li>
|
|
283
|
+
<p>Start a feature/bugfix branch.</p>
|
|
284
|
+
</li><li>
|
|
285
|
+
<p>Commit and push until you are happy with your contribution.</p>
|
|
286
|
+
</li><li>
|
|
287
|
+
<p>Make sure to add tests for it. This is important so I don't break it in
|
|
288
|
+
a future version unintentionally.</p>
|
|
289
|
+
</li><li>
|
|
290
|
+
<p>Please try not to mess with the Rakefile, version, or history. If you want
|
|
291
|
+
to have your own version, or is otherwise necessary, that is fine, but
|
|
292
|
+
please isolate to its own commit so I can cherry-pick around it.</p>
|
|
293
|
+
</li></ul>
|
|
294
|
+
|
|
295
|
+
<h3 id="label-Copyright">Copyright</h3>
|
|
296
|
+
|
|
297
|
+
<p>Licensed under the Apache License 2.0. See LICENSE.txt for further
|
|
298
|
+
details.</p>
|
|
299
|
+
|
|
300
|
+
<p>Copyright © 2013-2014 Adrian Webb <coralnexus at adrian.webb.com>
|
|
301
|
+
Coral Technology Group LLC</p>
|
|
302
|
+
|
|
303
|
+
</div>
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<footer id="validator-badges">
|
|
307
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
|
308
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
|
|
309
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
|
310
|
+
</footer>
|
|
311
|
+
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Darkfish Page Functions
|
|
4
|
+
* $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
|
|
5
|
+
*
|
|
6
|
+
* Author: Michael Granger <mgranger@laika.com>
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* Provide console simulation for firebug-less environments */
|
|
11
|
+
if (!("console" in window) || !("firebug" in console)) {
|
|
12
|
+
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
|
13
|
+
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
|
14
|
+
|
|
15
|
+
window.console = {};
|
|
16
|
+
for (var i = 0; i < names.length; ++i)
|
|
17
|
+
window.console[names[i]] = function() {};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Unwrap the first element that matches the given @expr@ from the targets and return them.
|
|
23
|
+
*/
|
|
24
|
+
$.fn.unwrap = function( expr ) {
|
|
25
|
+
return this.each( function() {
|
|
26
|
+
$(this).parents( expr ).eq( 0 ).after( this ).remove();
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
function showSource( e ) {
|
|
32
|
+
var target = e.target;
|
|
33
|
+
var codeSections = $(target).
|
|
34
|
+
parents('.method-detail').
|
|
35
|
+
find('.method-source-code');
|
|
36
|
+
|
|
37
|
+
$(target).
|
|
38
|
+
parents('.method-detail').
|
|
39
|
+
find('.method-source-code').
|
|
40
|
+
slideToggle();
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
function hookSourceViews() {
|
|
44
|
+
$('.method-heading').click( showSource );
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
function toggleDebuggingSection() {
|
|
48
|
+
$('.debugging-section').slideToggle();
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
function hookDebuggingToggle() {
|
|
52
|
+
$('#debugging-toggle img').click( toggleDebuggingSection );
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
function hookTableOfContentsToggle() {
|
|
56
|
+
$('.indexpage li .toc-toggle').each( function() {
|
|
57
|
+
$(this).click( function() {
|
|
58
|
+
$(this).toggleClass('open');
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
var section = $(this).next();
|
|
62
|
+
|
|
63
|
+
$(this).click( function() {
|
|
64
|
+
section.slideToggle();
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function hookSearch() {
|
|
70
|
+
var input = $('#search-field').eq(0);
|
|
71
|
+
var result = $('#search-results').eq(0);
|
|
72
|
+
$(result).show();
|
|
73
|
+
|
|
74
|
+
var search_section = $('#search-section').get(0);
|
|
75
|
+
$(search_section).show();
|
|
76
|
+
|
|
77
|
+
var search = new Search(search_data, input, result);
|
|
78
|
+
|
|
79
|
+
search.renderItem = function(result) {
|
|
80
|
+
var li = document.createElement('li');
|
|
81
|
+
var html = '';
|
|
82
|
+
|
|
83
|
+
// TODO add relative path to <script> per-page
|
|
84
|
+
html += '<p class="search-match"><a href="' + rdoc_rel_prefix + result.path + '">' + this.hlt(result.title);
|
|
85
|
+
if (result.params)
|
|
86
|
+
html += '<span class="params">' + result.params + '</span>';
|
|
87
|
+
html += '</a>';
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
if (result.namespace)
|
|
91
|
+
html += '<p class="search-namespace">' + this.hlt(result.namespace);
|
|
92
|
+
|
|
93
|
+
if (result.snippet)
|
|
94
|
+
html += '<div class="search-snippet">' + result.snippet + '</div>';
|
|
95
|
+
|
|
96
|
+
li.innerHTML = html;
|
|
97
|
+
|
|
98
|
+
return li;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
search.select = function(result) {
|
|
102
|
+
var result_element = result.get(0);
|
|
103
|
+
window.location.href = result_element.firstChild.firstChild.href;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
search.scrollIntoView = search.scrollInWindow;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
function highlightTarget( anchor ) {
|
|
110
|
+
console.debug( "Highlighting target '%s'.", anchor );
|
|
111
|
+
|
|
112
|
+
$("a[name]").each( function() {
|
|
113
|
+
if ( $(this).attr("name") == anchor ) {
|
|
114
|
+
if ( !$(this).parent().parent().hasClass('target-section') ) {
|
|
115
|
+
console.debug( "Wrapping the target-section" );
|
|
116
|
+
$('div.method-detail').unwrap( 'div.target-section' );
|
|
117
|
+
$(this).parent().wrap( '<div class="target-section"></div>' );
|
|
118
|
+
} else {
|
|
119
|
+
console.debug( "Already wrapped." );
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
function highlightLocationTarget() {
|
|
126
|
+
console.debug( "Location hash: %s", window.location.hash );
|
|
127
|
+
if ( ! window.location.hash || window.location.hash.length == 0 ) return;
|
|
128
|
+
|
|
129
|
+
var anchor = window.location.hash.substring(1);
|
|
130
|
+
console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
|
|
131
|
+
|
|
132
|
+
highlightTarget( anchor );
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
function highlightClickTarget( event ) {
|
|
136
|
+
console.debug( "Highlighting click target for event %o", event.target );
|
|
137
|
+
try {
|
|
138
|
+
var anchor = $(event.target).attr( 'href' ).substring(1);
|
|
139
|
+
console.debug( "Found target anchor: %s", anchor );
|
|
140
|
+
highlightTarget( anchor );
|
|
141
|
+
} catch ( err ) {
|
|
142
|
+
console.error( "Exception while highlighting: %o", err );
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
$(document).ready( function() {
|
|
148
|
+
hookSourceViews();
|
|
149
|
+
hookDebuggingToggle();
|
|
150
|
+
hookSearch();
|
|
151
|
+
highlightLocationTarget();
|
|
152
|
+
hookTableOfContentsToggle();
|
|
153
|
+
|
|
154
|
+
$('ul.link-list a').bind( "click", highlightClickTarget );
|
|
155
|
+
});
|