nucleon 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +2 -0
  4. data/VERSION +1 -1
  5. data/lib/core/config.rb +21 -20
  6. data/lib/core/environment.rb +2 -2
  7. data/lib/core/facade.rb +15 -0
  8. data/lib/core/mixin/action/registration.rb +84 -0
  9. data/lib/core/mixin/sub_config.rb +5 -5
  10. data/lib/core/plugin/action.rb +66 -10
  11. data/lib/core/plugin/base.rb +100 -19
  12. data/lib/core/plugin/command.rb +4 -0
  13. data/lib/core/util/cache.rb +13 -1
  14. data/lib/core/util/cli.rb +77 -11
  15. data/lib/core/util/console.rb +55 -72
  16. data/lib/core/util/data.rb +19 -9
  17. data/lib/core/util/logger.rb +16 -6
  18. data/lib/core/util/shell.rb +3 -1
  19. data/lib/core/util/ssh.rb +28 -25
  20. data/lib/nucleon/translator/JSON.rb +2 -2
  21. data/lib/nucleon/translator/YAML.rb +2 -2
  22. data/lib/nucleon_base.rb +22 -8
  23. data/nucleon.gemspec +122 -2
  24. data/rdoc/site/0.2.0/ARCHITECTURE_rdoc.html +638 -0
  25. data/rdoc/site/0.2.0/Hash.html +351 -0
  26. data/rdoc/site/0.2.0/Kernel.html +416 -0
  27. data/rdoc/site/0.2.0/Nucleon.html +607 -0
  28. data/rdoc/site/0.2.0/Nucleon/Action.html +284 -0
  29. data/rdoc/site/0.2.0/Nucleon/Action/Extract.html +455 -0
  30. data/rdoc/site/0.2.0/Nucleon/Action/Project.html +283 -0
  31. data/rdoc/site/0.2.0/Nucleon/Action/Project/Add.html +500 -0
  32. data/rdoc/site/0.2.0/Nucleon/Action/Project/Create.html +457 -0
  33. data/rdoc/site/0.2.0/Nucleon/Action/Project/Remove.html +503 -0
  34. data/rdoc/site/0.2.0/Nucleon/Action/Project/Save.html +476 -0
  35. data/rdoc/site/0.2.0/Nucleon/Action/Project/Update.html +423 -0
  36. data/rdoc/site/0.2.0/Nucleon/Codes.html +567 -0
  37. data/rdoc/site/0.2.0/Nucleon/Command.html +279 -0
  38. data/rdoc/site/0.2.0/Nucleon/Command/Bash.html +548 -0
  39. data/rdoc/site/0.2.0/Nucleon/Config.html +1631 -0
  40. data/rdoc/site/0.2.0/Nucleon/Config/Collection.html +513 -0
  41. data/rdoc/site/0.2.0/Nucleon/Config/Options.html +493 -0
  42. data/rdoc/site/0.2.0/Nucleon/Core.html +639 -0
  43. data/rdoc/site/0.2.0/Nucleon/Environment.html +1208 -0
  44. data/rdoc/site/0.2.0/Nucleon/Errors.html +279 -0
  45. data/rdoc/site/0.2.0/Nucleon/Errors/BatchError.html +285 -0
  46. data/rdoc/site/0.2.0/Nucleon/Errors/NucleonError.html +661 -0
  47. data/rdoc/site/0.2.0/Nucleon/Errors/SSHUnavailable.html +285 -0
  48. data/rdoc/site/0.2.0/Nucleon/Event.html +279 -0
  49. data/rdoc/site/0.2.0/Nucleon/Event/Regex.html +471 -0
  50. data/rdoc/site/0.2.0/Nucleon/Facade.html +2409 -0
  51. data/rdoc/site/0.2.0/Nucleon/Gems.html +639 -0
  52. data/rdoc/site/0.2.0/Nucleon/Manager.html +1860 -0
  53. data/rdoc/site/0.2.0/Nucleon/Mixin.html +288 -0
  54. data/rdoc/site/0.2.0/Nucleon/Mixin/Action.html +281 -0
  55. data/rdoc/site/0.2.0/Nucleon/Mixin/Action/Commit.html +385 -0
  56. data/rdoc/site/0.2.0/Nucleon/Mixin/Action/Project.html +399 -0
  57. data/rdoc/site/0.2.0/Nucleon/Mixin/Action/Push.html +375 -0
  58. data/rdoc/site/0.2.0/Nucleon/Mixin/Colors.html +549 -0
  59. data/rdoc/site/0.2.0/Nucleon/Mixin/ConfigCollection.html +485 -0
  60. data/rdoc/site/0.2.0/Nucleon/Mixin/ConfigOptions.html +453 -0
  61. data/rdoc/site/0.2.0/Nucleon/Mixin/Macro.html +280 -0
  62. data/rdoc/site/0.2.0/Nucleon/Mixin/Macro/ObjectInterface.html +699 -0
  63. data/rdoc/site/0.2.0/Nucleon/Mixin/Macro/PluginInterface.html +686 -0
  64. data/rdoc/site/0.2.0/Nucleon/Mixin/Settings.html +485 -0
  65. data/rdoc/site/0.2.0/Nucleon/Mixin/SubConfig.html +891 -0
  66. data/rdoc/site/0.2.0/Nucleon/Parallel.html +330 -0
  67. data/rdoc/site/0.2.0/Nucleon/Parallel/ClassMethods.html +329 -0
  68. data/rdoc/site/0.2.0/Nucleon/Parallel/InstanceMethods.html +456 -0
  69. data/rdoc/site/0.2.0/Nucleon/Plugin.html +286 -0
  70. data/rdoc/site/0.2.0/Nucleon/Plugin/Action.html +1829 -0
  71. data/rdoc/site/0.2.0/Nucleon/Plugin/Action/Option.html +463 -0
  72. data/rdoc/site/0.2.0/Nucleon/Plugin/Base.html +1803 -0
  73. data/rdoc/site/0.2.0/Nucleon/Plugin/Command.html +725 -0
  74. data/rdoc/site/0.2.0/Nucleon/Plugin/Event.html +446 -0
  75. data/rdoc/site/0.2.0/Nucleon/Plugin/Extension.html +285 -0
  76. data/rdoc/site/0.2.0/Nucleon/Plugin/Project.html +2898 -0
  77. data/rdoc/site/0.2.0/Nucleon/Plugin/Template.html +480 -0
  78. data/rdoc/site/0.2.0/Nucleon/Plugin/Translator.html +375 -0
  79. data/rdoc/site/0.2.0/Nucleon/Project.html +280 -0
  80. data/rdoc/site/0.2.0/Nucleon/Project/Git.html +1805 -0
  81. data/rdoc/site/0.2.0/Nucleon/Project/Github.html +553 -0
  82. data/rdoc/site/0.2.0/Nucleon/Template.html +281 -0
  83. data/rdoc/site/0.2.0/Nucleon/Template/JSON.html +333 -0
  84. data/rdoc/site/0.2.0/Nucleon/Template/Wrapper.html +333 -0
  85. data/rdoc/site/0.2.0/Nucleon/Template/YAML.html +333 -0
  86. data/rdoc/site/0.2.0/Nucleon/Translator.html +280 -0
  87. data/rdoc/site/0.2.0/Nucleon/Translator/JSON.html +370 -0
  88. data/rdoc/site/0.2.0/Nucleon/Translator/YAML.html +370 -0
  89. data/rdoc/site/0.2.0/Nucleon/Util.html +289 -0
  90. data/rdoc/site/0.2.0/Nucleon/Util/CLI.html +392 -0
  91. data/rdoc/site/0.2.0/Nucleon/Util/CLI/Parser.html +1250 -0
  92. data/rdoc/site/0.2.0/Nucleon/Util/Cache.html +784 -0
  93. data/rdoc/site/0.2.0/Nucleon/Util/Console.html +1318 -0
  94. data/rdoc/site/0.2.0/Nucleon/Util/Data.html +1411 -0
  95. data/rdoc/site/0.2.0/Nucleon/Util/Disk.html +526 -0
  96. data/rdoc/site/0.2.0/Nucleon/Util/Git.html +365 -0
  97. data/rdoc/site/0.2.0/Nucleon/Util/Liquid.html +369 -0
  98. data/rdoc/site/0.2.0/Nucleon/Util/Logger.html +810 -0
  99. data/rdoc/site/0.2.0/Nucleon/Util/Package.html +562 -0
  100. data/rdoc/site/0.2.0/Nucleon/Util/SSH.html +1033 -0
  101. data/rdoc/site/0.2.0/Nucleon/Util/SSH/Keypair.html +605 -0
  102. data/rdoc/site/0.2.0/Nucleon/Util/Shell.html +693 -0
  103. data/rdoc/site/0.2.0/Nucleon/Util/Shell/Result.html +501 -0
  104. data/rdoc/site/0.2.0/README_rdoc.html +316 -0
  105. data/rdoc/site/0.2.0/TODO_rdoc.html +265 -0
  106. data/rdoc/site/0.2.0/created.rid +61 -0
  107. data/rdoc/site/0.2.0/images/add.png +0 -0
  108. data/rdoc/site/0.2.0/images/brick.png +0 -0
  109. data/rdoc/site/0.2.0/images/brick_link.png +0 -0
  110. data/rdoc/site/0.2.0/images/bug.png +0 -0
  111. data/rdoc/site/0.2.0/images/bullet_black.png +0 -0
  112. data/rdoc/site/0.2.0/images/bullet_toggle_minus.png +0 -0
  113. data/rdoc/site/0.2.0/images/bullet_toggle_plus.png +0 -0
  114. data/rdoc/site/0.2.0/images/date.png +0 -0
  115. data/rdoc/site/0.2.0/images/delete.png +0 -0
  116. data/rdoc/site/0.2.0/images/find.png +0 -0
  117. data/rdoc/site/0.2.0/images/loadingAnimation.gif +0 -0
  118. data/rdoc/site/0.2.0/images/macFFBgHack.png +0 -0
  119. data/rdoc/site/0.2.0/images/package.png +0 -0
  120. data/rdoc/site/0.2.0/images/page_green.png +0 -0
  121. data/rdoc/site/0.2.0/images/page_white_text.png +0 -0
  122. data/rdoc/site/0.2.0/images/page_white_width.png +0 -0
  123. data/rdoc/site/0.2.0/images/plugin.png +0 -0
  124. data/rdoc/site/0.2.0/images/ruby.png +0 -0
  125. data/rdoc/site/0.2.0/images/tag_blue.png +0 -0
  126. data/rdoc/site/0.2.0/images/tag_green.png +0 -0
  127. data/rdoc/site/0.2.0/images/transparent.png +0 -0
  128. data/rdoc/site/0.2.0/images/wrench.png +0 -0
  129. data/rdoc/site/0.2.0/images/wrench_orange.png +0 -0
  130. data/rdoc/site/0.2.0/images/zoom.png +0 -0
  131. data/rdoc/site/0.2.0/index.html +315 -0
  132. data/rdoc/site/0.2.0/js/darkfish.js +155 -0
  133. data/rdoc/site/0.2.0/js/jquery.js +18 -0
  134. data/rdoc/site/0.2.0/js/navigation.js +142 -0
  135. data/rdoc/site/0.2.0/js/search.js +94 -0
  136. data/rdoc/site/0.2.0/js/search_index.js +1 -0
  137. data/rdoc/site/0.2.0/js/searcher.js +228 -0
  138. data/rdoc/site/0.2.0/rdoc.css +543 -0
  139. data/rdoc/site/0.2.0/table_of_contents.html +1657 -0
  140. data/spec/core/util/console_spec.rb +50 -18
  141. metadata +133 -2
@@ -0,0 +1,61 @@
1
+ Mon, 30 Jun 2014 23:41:32 -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 Mon, 02 Jun 2014 17:55:31 -0400
5
+ lib/core/codes.rb Wed, 19 Feb 2014 23:08:09 -0500
6
+ lib/core/config.rb Thu, 26 Jun 2014 17:07:48 -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/environment.rb Fri, 27 Jun 2014 22:45:39 -0400
11
+ lib/core/errors.rb Thu, 27 Feb 2014 19:25:56 -0500
12
+ lib/core/facade.rb Sun, 15 Jun 2014 02:31:12 -0400
13
+ lib/core/gems.rb Thu, 15 May 2014 14:08:11 -0400
14
+ lib/core/manager.rb Fri, 27 Jun 2014 22:45:06 -0400
15
+ lib/core/mixin/action/commit.rb Fri, 21 Feb 2014 19:30:27 -0500
16
+ lib/core/mixin/action/project.rb Mon, 02 Jun 2014 01:58:41 -0400
17
+ lib/core/mixin/action/push.rb Fri, 21 Feb 2014 19:24:35 -0500
18
+ lib/core/mixin/colors.rb Wed, 19 Mar 2014 18:52:22 -0400
19
+ lib/core/mixin/config/collection.rb Mon, 17 Mar 2014 02:22:14 -0400
20
+ lib/core/mixin/config/options.rb Mon, 17 Mar 2014 02:14:49 -0400
21
+ lib/core/mixin/macro/object_interface.rb Wed, 14 May 2014 23:22:52 -0400
22
+ lib/core/mixin/macro/plugin_interface.rb Sat, 14 Jun 2014 05:04:29 -0400
23
+ lib/core/mixin/settings.rb Wed, 14 May 2014 18:24:25 -0400
24
+ lib/core/mixin/sub_config.rb Wed, 19 Feb 2014 22:53:26 -0500
25
+ lib/core/mod/hash.rb Wed, 19 Feb 2014 22:53:47 -0500
26
+ lib/core/plugin/action.rb Thu, 26 Jun 2014 16:56:06 -0400
27
+ lib/core/plugin/base.rb Fri, 27 Jun 2014 22:29:09 -0400
28
+ lib/core/plugin/command.rb Mon, 02 Jun 2014 01:58:41 -0400
29
+ lib/core/plugin/event.rb Mon, 02 Jun 2014 01:58:41 -0400
30
+ lib/core/plugin/extension.rb Mon, 02 Jun 2014 01:58:41 -0400
31
+ lib/core/plugin/project.rb Sun, 29 Jun 2014 19:02:40 -0400
32
+ lib/core/plugin/template.rb Mon, 02 Jun 2014 01:58:41 -0400
33
+ lib/core/plugin/translator.rb Mon, 02 Jun 2014 01:58:41 -0400
34
+ lib/core/util/cache.rb Mon, 02 Jun 2014 01:58:41 -0400
35
+ lib/core/util/cli.rb Mon, 02 Jun 2014 01:58:41 -0400
36
+ lib/core/util/console.rb Mon, 30 Jun 2014 18:50:02 -0400
37
+ lib/core/util/data.rb Fri, 27 Jun 2014 20:42:37 -0400
38
+ lib/core/util/disk.rb Thu, 15 May 2014 22:20:02 -0400
39
+ lib/core/util/git.rb Thu, 27 Mar 2014 02:30:13 -0400
40
+ lib/core/util/liquid.rb Fri, 28 Mar 2014 15:44:48 -0400
41
+ lib/core/util/logger.rb Mon, 02 Jun 2014 01:58:41 -0400
42
+ lib/core/util/package.rb Wed, 19 Feb 2014 23:07:13 -0500
43
+ lib/core/util/shell.rb Sat, 28 Jun 2014 05:40:01 -0400
44
+ lib/core/util/ssh.rb Sat, 28 Jun 2014 05:37:35 -0400
45
+ lib/nucleon.rb Sat, 22 Feb 2014 04:43:30 -0500
46
+ lib/nucleon/action/extract.rb Mon, 02 Jun 2014 01:58:41 -0400
47
+ lib/nucleon/action/project/add.rb Sun, 01 Jun 2014 23:22:37 -0400
48
+ lib/nucleon/action/project/create.rb Fri, 13 Jun 2014 16:33:06 -0400
49
+ lib/nucleon/action/project/remove.rb Sun, 01 Jun 2014 04:11:59 -0400
50
+ lib/nucleon/action/project/save.rb Sun, 01 Jun 2014 04:13:28 -0400
51
+ lib/nucleon/action/project/update.rb Sun, 01 Jun 2014 04:12:13 -0400
52
+ lib/nucleon/command/bash.rb Mon, 02 Jun 2014 01:58:41 -0400
53
+ lib/nucleon/event/regex.rb Mon, 02 Jun 2014 01:58:41 -0400
54
+ lib/nucleon/project/git.rb Sat, 28 Jun 2014 06:31:42 -0400
55
+ lib/nucleon/project/github.rb Thu, 24 Apr 2014 04:40:02 -0400
56
+ lib/nucleon/template/JSON.rb Sun, 01 Jun 2014 14:37:34 -0400
57
+ lib/nucleon/template/YAML.rb Sun, 01 Jun 2014 14:38:30 -0400
58
+ lib/nucleon/template/wrapper.rb Mon, 02 Jun 2014 01:58:41 -0400
59
+ lib/nucleon/translator/JSON.rb Sun, 01 Jun 2014 14:38:56 -0400
60
+ lib/nucleon/translator/YAML.rb Sun, 01 Jun 2014 14:39:21 -0400
61
+ lib/nucleon_base.rb Sat, 28 Jun 2014 06:38:18 -0400
@@ -0,0 +1,315 @@
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.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>
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/Extract.html">Nucleon::Action::Extract</a>
71
+
72
+ <li><a href="./Nucleon/Action/Project.html">Nucleon::Action::Project</a>
73
+
74
+ <li><a href="./Nucleon/Action/Project/Add.html">Nucleon::Action::Project::Add</a>
75
+
76
+ <li><a href="./Nucleon/Action/Project/Create.html">Nucleon::Action::Project::Create</a>
77
+
78
+ <li><a href="./Nucleon/Action/Project/Remove.html">Nucleon::Action::Project::Remove</a>
79
+
80
+ <li><a href="./Nucleon/Action/Project/Save.html">Nucleon::Action::Project::Save</a>
81
+
82
+ <li><a href="./Nucleon/Action/Project/Update.html">Nucleon::Action::Project::Update</a>
83
+
84
+ <li><a href="./Nucleon/Codes.html">Nucleon::Codes</a>
85
+
86
+ <li><a href="./Nucleon/Command.html">Nucleon::Command</a>
87
+
88
+ <li><a href="./Nucleon/Command/Bash.html">Nucleon::Command::Bash</a>
89
+
90
+ <li><a href="./Nucleon/Config.html">Nucleon::Config</a>
91
+
92
+ <li><a href="./Nucleon/Config/Collection.html">Nucleon::Config::Collection</a>
93
+
94
+ <li><a href="./Nucleon/Config/Options.html">Nucleon::Config::Options</a>
95
+
96
+ <li><a href="./Nucleon/Core.html">Nucleon::Core</a>
97
+
98
+ <li><a href="./Nucleon/Environment.html">Nucleon::Environment</a>
99
+
100
+ <li><a href="./Nucleon/Errors.html">Nucleon::Errors</a>
101
+
102
+ <li><a href="./Nucleon/Errors/BatchError.html">Nucleon::Errors::BatchError</a>
103
+
104
+ <li><a href="./Nucleon/Errors/NucleonError.html">Nucleon::Errors::NucleonError</a>
105
+
106
+ <li><a href="./Nucleon/Errors/SSHUnavailable.html">Nucleon::Errors::SSHUnavailable</a>
107
+
108
+ <li><a href="./Nucleon/Event.html">Nucleon::Event</a>
109
+
110
+ <li><a href="./Nucleon/Event/Regex.html">Nucleon::Event::Regex</a>
111
+
112
+ <li><a href="./Nucleon/Facade.html">Nucleon::Facade</a>
113
+
114
+ <li><a href="./Nucleon/Gems.html">Nucleon::Gems</a>
115
+
116
+ <li><a href="./Nucleon/Manager.html">Nucleon::Manager</a>
117
+
118
+ <li><a href="./Nucleon/Mixin.html">Nucleon::Mixin</a>
119
+
120
+ <li><a href="./Nucleon/Mixin/Action.html">Nucleon::Mixin::Action</a>
121
+
122
+ <li><a href="./Nucleon/Mixin/Action/Commit.html">Nucleon::Mixin::Action::Commit</a>
123
+
124
+ <li><a href="./Nucleon/Mixin/Action/Project.html">Nucleon::Mixin::Action::Project</a>
125
+
126
+ <li><a href="./Nucleon/Mixin/Action/Push.html">Nucleon::Mixin::Action::Push</a>
127
+
128
+ <li><a href="./Nucleon/Mixin/Colors.html">Nucleon::Mixin::Colors</a>
129
+
130
+ <li><a href="./Nucleon/Mixin/ConfigCollection.html">Nucleon::Mixin::ConfigCollection</a>
131
+
132
+ <li><a href="./Nucleon/Mixin/ConfigOptions.html">Nucleon::Mixin::ConfigOptions</a>
133
+
134
+ <li><a href="./Nucleon/Mixin/Macro.html">Nucleon::Mixin::Macro</a>
135
+
136
+ <li><a href="./Nucleon/Mixin/Macro/ObjectInterface.html">Nucleon::Mixin::Macro::ObjectInterface</a>
137
+
138
+ <li><a href="./Nucleon/Mixin/Macro/PluginInterface.html">Nucleon::Mixin::Macro::PluginInterface</a>
139
+
140
+ <li><a href="./Nucleon/Mixin/Settings.html">Nucleon::Mixin::Settings</a>
141
+
142
+ <li><a href="./Nucleon/Mixin/SubConfig.html">Nucleon::Mixin::SubConfig</a>
143
+
144
+ <li><a href="./Nucleon/Parallel.html">Nucleon::Parallel</a>
145
+
146
+ <li><a href="./Nucleon/Parallel/ClassMethods.html">Nucleon::Parallel::ClassMethods</a>
147
+
148
+ <li><a href="./Nucleon/Parallel/InstanceMethods.html">Nucleon::Parallel::InstanceMethods</a>
149
+
150
+ <li><a href="./Nucleon/Plugin.html">Nucleon::Plugin</a>
151
+
152
+ <li><a href="./Nucleon/Plugin/Action.html">Nucleon::Plugin::Action</a>
153
+
154
+ <li><a href="./Nucleon/Plugin/Action/Option.html">Nucleon::Plugin::Action::Option</a>
155
+
156
+ <li><a href="./Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
157
+
158
+ <li><a href="./Nucleon/Plugin/Command.html">Nucleon::Plugin::Command</a>
159
+
160
+ <li><a href="./Nucleon/Plugin/Event.html">Nucleon::Plugin::Event</a>
161
+
162
+ <li><a href="./Nucleon/Plugin/Extension.html">Nucleon::Plugin::Extension</a>
163
+
164
+ <li><a href="./Nucleon/Plugin/Project.html">Nucleon::Plugin::Project</a>
165
+
166
+ <li><a href="./Nucleon/Plugin/Template.html">Nucleon::Plugin::Template</a>
167
+
168
+ <li><a href="./Nucleon/Plugin/Translator.html">Nucleon::Plugin::Translator</a>
169
+
170
+ <li><a href="./Nucleon/Project.html">Nucleon::Project</a>
171
+
172
+ <li><a href="./Nucleon/Project/Git.html">Nucleon::Project::Git</a>
173
+
174
+ <li><a href="./Nucleon/Project/Github.html">Nucleon::Project::Github</a>
175
+
176
+ <li><a href="./Nucleon/Template.html">Nucleon::Template</a>
177
+
178
+ <li><a href="./Nucleon/Template/JSON.html">Nucleon::Template::JSON</a>
179
+
180
+ <li><a href="./Nucleon/Template/Wrapper.html">Nucleon::Template::Wrapper</a>
181
+
182
+ <li><a href="./Nucleon/Template/YAML.html">Nucleon::Template::YAML</a>
183
+
184
+ <li><a href="./Nucleon/Translator.html">Nucleon::Translator</a>
185
+
186
+ <li><a href="./Nucleon/Translator/JSON.html">Nucleon::Translator::JSON</a>
187
+
188
+ <li><a href="./Nucleon/Translator/YAML.html">Nucleon::Translator::YAML</a>
189
+
190
+ <li><a href="./Nucleon/Util.html">Nucleon::Util</a>
191
+
192
+ <li><a href="./Nucleon/Util/CLI.html">Nucleon::Util::CLI</a>
193
+
194
+ <li><a href="./Nucleon/Util/CLI/Parser.html">Nucleon::Util::CLI::Parser</a>
195
+
196
+ <li><a href="./Nucleon/Util/Cache.html">Nucleon::Util::Cache</a>
197
+
198
+ <li><a href="./Nucleon/Util/Console.html">Nucleon::Util::Console</a>
199
+
200
+ <li><a href="./Nucleon/Util/Data.html">Nucleon::Util::Data</a>
201
+
202
+ <li><a href="./Nucleon/Util/Disk.html">Nucleon::Util::Disk</a>
203
+
204
+ <li><a href="./Nucleon/Util/Git.html">Nucleon::Util::Git</a>
205
+
206
+ <li><a href="./Nucleon/Util/Liquid.html">Nucleon::Util::Liquid</a>
207
+
208
+ <li><a href="./Nucleon/Util/Logger.html">Nucleon::Util::Logger</a>
209
+
210
+ <li><a href="./Nucleon/Util/Package.html">Nucleon::Util::Package</a>
211
+
212
+ <li><a href="./Nucleon/Util/SSH.html">Nucleon::Util::SSH</a>
213
+
214
+ <li><a href="./Nucleon/Util/SSH/Keypair.html">Nucleon::Util::SSH::Keypair</a>
215
+
216
+ <li><a href="./Nucleon/Util/Shell.html">Nucleon::Util::Shell</a>
217
+
218
+ <li><a href="./Nucleon/Util/Shell/Result.html">Nucleon::Util::Shell::Result</a>
219
+
220
+ <li><a href="./Hash.html">Hash</a>
221
+
222
+ <li><a href="./Kernel.html">Kernel</a>
223
+
224
+ </ul>
225
+ </nav>
226
+
227
+ </div>
228
+ </nav>
229
+
230
+ <div id="documentation" class="description">
231
+
232
+ <h2 id="label-Nucleon"><a href="Nucleon.html">Nucleon</a></h2>
233
+
234
+ <h3 id="label-Description">Description</h3>
235
+
236
+ <p><a href="Nucleon.html">Nucleon</a> is built to provide an easy and minimal,
237
+ yet extremely powerful, framework for building applications that are
238
+ highly distributable in nature.</p>
239
+
240
+ <p>See: <a href="ARCHITECTURE_rdoc.html">ARCHITECTURE.rdoc</a></p>
241
+
242
+ <h3 id="label-Installation+%2F+Dependencies">Installation / Dependencies</h3>
243
+
244
+ <p>See the Gemfile for all <a href="Nucleon.html">Nucleon</a> gem
245
+ dependencies.</p>
246
+
247
+ <p>If the project plugin is used, you will probably need Git installed on the
248
+ system. If you do not and you use the project plugin Git providers, Git
249
+ projects will not do anything and will give you persistence warnings.</p>
250
+
251
+ <p>To install:</p>
252
+
253
+ <pre>gem install nucleon</pre>
254
+
255
+ <p>or put something like this in your Gemfile (for Bundler)</p>
256
+
257
+ <pre>gem &quot;nucleon&quot;, &quot;~&gt; 0.1&quot;</pre>
258
+
259
+ <p>Then you can require as needed and use what you need.</p>
260
+
261
+ <p>This library has so far been developed and tested on an Ubuntu environment
262
+ but the groundwork has been laid for development and testing on other
263
+ platforms.</p>
264
+
265
+ <p>The library also currently lacks unit tests, which will be coming before
266
+ the 1.0 (first production) release.</p>
267
+
268
+ <p>Consider this library experimental, but you are welcome to play around with
269
+ it and tell us what you think or how we could improve it.</p>
270
+
271
+ <h3 id="label-Usage">Usage</h3>
272
+
273
+ <h3 id="label-Links">Links</h3>
274
+
275
+ <p>Note: This library is still very early in development!</p>
276
+
277
+ <h3 id="label-Contributing+to+Nucleon">Contributing to <a href="Nucleon.html">Nucleon</a></h3>
278
+ <ul><li>
279
+ <p>Check out the latest {major}.{minor} branch to make sure the feature
280
+ hasn&#39;t been implemented or the bug hasn&#39;t been fixed yet.</p>
281
+ </li><li>
282
+ <p>Check out the issue tracker to make sure someone already hasn&#39;t
283
+ requested it and/or contributed it.</p>
284
+ </li><li>
285
+ <p>Fork the project.</p>
286
+ </li><li>
287
+ <p>Start a feature/bugfix branch.</p>
288
+ </li><li>
289
+ <p>Commit and push until you are happy with your contribution.</p>
290
+ </li><li>
291
+ <p>Make sure to add tests for it. This is important so I don&#39;t break it in
292
+ a future version unintentionally.</p>
293
+ </li><li>
294
+ <p>Please try not to mess with the Rakefile, version, or history. If you want
295
+ to have your own version, or is otherwise necessary, that is fine, but
296
+ please isolate to its own commit so I can cherry-pick around it.</p>
297
+ </li></ul>
298
+
299
+ <h3 id="label-Copyright">Copyright</h3>
300
+
301
+ <p>Licensed under the Apache License 2.0. See LICENSE.txt for further
302
+ details.</p>
303
+
304
+ <p>Copyright © 2013-2014 Adrian Webb &lt;coralnexus at adrian.webb.com&gt;
305
+ Coral Technology Group LLC</p>
306
+
307
+ </div>
308
+
309
+
310
+ <footer id="validator-badges">
311
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
312
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
313
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
314
+ </footer>
315
+
@@ -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
+ });