nucleon 0.2.1 → 0.2.2

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 (144) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/core/config.rb +1 -1
  4. data/lib/core/core.rb +2 -2
  5. data/lib/core/environment.rb +9 -6
  6. data/lib/core/facade.rb +2 -2
  7. data/lib/core/gems.rb +13 -6
  8. data/lib/core/manager.rb +12 -5
  9. data/lib/core/mixin/action/commit.rb +12 -6
  10. data/lib/core/mixin/action/project.rb +15 -28
  11. data/lib/core/mixin/action/push.rb +14 -5
  12. data/lib/core/mixin/action/registration.rb +277 -28
  13. data/lib/core/mixin/macro/object_interface.rb +3 -3
  14. data/lib/core/mixin/sub_config.rb +1 -1
  15. data/lib/core/plugin/action.rb +20 -51
  16. data/lib/core/plugin/base.rb +41 -8
  17. data/lib/core/plugin/project.rb +55 -8
  18. data/lib/nucleon/action/project/add.rb +6 -20
  19. data/lib/nucleon/action/project/create.rb +2 -2
  20. data/lib/nucleon/action/project/remove.rb +3 -3
  21. data/lib/nucleon/action/project/save.rb +3 -3
  22. data/lib/nucleon/action/project/update.rb +2 -2
  23. data/lib/nucleon/extension/project.rb +16 -0
  24. data/lib/nucleon/project/git.rb +1 -0
  25. data/lib/nucleon/project/github.rb +19 -7
  26. data/nucleon.gemspec +120 -2
  27. data/rdoc/site/0.2.1/ARCHITECTURE_rdoc.html +640 -0
  28. data/rdoc/site/0.2.1/Hash.html +353 -0
  29. data/rdoc/site/0.2.1/Kernel.html +420 -0
  30. data/rdoc/site/0.2.1/Nucleon.html +674 -0
  31. data/rdoc/site/0.2.1/Nucleon/Action.html +286 -0
  32. data/rdoc/site/0.2.1/Nucleon/Action/Extract.html +457 -0
  33. data/rdoc/site/0.2.1/Nucleon/Action/Project.html +285 -0
  34. data/rdoc/site/0.2.1/Nucleon/Action/Project/Add.html +502 -0
  35. data/rdoc/site/0.2.1/Nucleon/Action/Project/Create.html +459 -0
  36. data/rdoc/site/0.2.1/Nucleon/Action/Project/Remove.html +505 -0
  37. data/rdoc/site/0.2.1/Nucleon/Action/Project/Save.html +478 -0
  38. data/rdoc/site/0.2.1/Nucleon/Action/Project/Update.html +425 -0
  39. data/rdoc/site/0.2.1/Nucleon/Codes.html +569 -0
  40. data/rdoc/site/0.2.1/Nucleon/Command.html +281 -0
  41. data/rdoc/site/0.2.1/Nucleon/Command/Bash.html +550 -0
  42. data/rdoc/site/0.2.1/Nucleon/Config.html +1634 -0
  43. data/rdoc/site/0.2.1/Nucleon/Config/Collection.html +515 -0
  44. data/rdoc/site/0.2.1/Nucleon/Config/Options.html +495 -0
  45. data/rdoc/site/0.2.1/Nucleon/Core.html +641 -0
  46. data/rdoc/site/0.2.1/Nucleon/Environment.html +1210 -0
  47. data/rdoc/site/0.2.1/Nucleon/Errors.html +281 -0
  48. data/rdoc/site/0.2.1/Nucleon/Errors/BatchError.html +287 -0
  49. data/rdoc/site/0.2.1/Nucleon/Errors/NucleonError.html +663 -0
  50. data/rdoc/site/0.2.1/Nucleon/Errors/SSHUnavailable.html +287 -0
  51. data/rdoc/site/0.2.1/Nucleon/Event.html +281 -0
  52. data/rdoc/site/0.2.1/Nucleon/Event/Regex.html +473 -0
  53. data/rdoc/site/0.2.1/Nucleon/Facade.html +2452 -0
  54. data/rdoc/site/0.2.1/Nucleon/Gems.html +641 -0
  55. data/rdoc/site/0.2.1/Nucleon/Manager.html +1862 -0
  56. data/rdoc/site/0.2.1/Nucleon/Mixin.html +291 -0
  57. data/rdoc/site/0.2.1/Nucleon/Mixin/Action.html +284 -0
  58. data/rdoc/site/0.2.1/Nucleon/Mixin/Action/Commit.html +387 -0
  59. data/rdoc/site/0.2.1/Nucleon/Mixin/Action/Project.html +401 -0
  60. data/rdoc/site/0.2.1/Nucleon/Mixin/Action/Push.html +377 -0
  61. data/rdoc/site/0.2.1/Nucleon/Mixin/Action/Registration.html +575 -0
  62. data/rdoc/site/0.2.1/Nucleon/Mixin/Colors.html +551 -0
  63. data/rdoc/site/0.2.1/Nucleon/Mixin/ConfigCollection.html +487 -0
  64. data/rdoc/site/0.2.1/Nucleon/Mixin/ConfigOptions.html +455 -0
  65. data/rdoc/site/0.2.1/Nucleon/Mixin/Macro.html +282 -0
  66. data/rdoc/site/0.2.1/Nucleon/Mixin/Macro/ObjectInterface.html +701 -0
  67. data/rdoc/site/0.2.1/Nucleon/Mixin/Macro/PluginInterface.html +688 -0
  68. data/rdoc/site/0.2.1/Nucleon/Mixin/Settings.html +487 -0
  69. data/rdoc/site/0.2.1/Nucleon/Mixin/SubConfig.html +893 -0
  70. data/rdoc/site/0.2.1/Nucleon/Parallel.html +332 -0
  71. data/rdoc/site/0.2.1/Nucleon/Parallel/ClassMethods.html +331 -0
  72. data/rdoc/site/0.2.1/Nucleon/Parallel/InstanceMethods.html +458 -0
  73. data/rdoc/site/0.2.1/Nucleon/Plugin.html +288 -0
  74. data/rdoc/site/0.2.1/Nucleon/Plugin/Action.html +2133 -0
  75. data/rdoc/site/0.2.1/Nucleon/Plugin/Action/Option.html +465 -0
  76. data/rdoc/site/0.2.1/Nucleon/Plugin/Base.html +1988 -0
  77. data/rdoc/site/0.2.1/Nucleon/Plugin/Command.html +765 -0
  78. data/rdoc/site/0.2.1/Nucleon/Plugin/Event.html +448 -0
  79. data/rdoc/site/0.2.1/Nucleon/Plugin/Extension.html +287 -0
  80. data/rdoc/site/0.2.1/Nucleon/Plugin/Project.html +2900 -0
  81. data/rdoc/site/0.2.1/Nucleon/Plugin/Template.html +482 -0
  82. data/rdoc/site/0.2.1/Nucleon/Plugin/Translator.html +377 -0
  83. data/rdoc/site/0.2.1/Nucleon/Project.html +282 -0
  84. data/rdoc/site/0.2.1/Nucleon/Project/Git.html +1807 -0
  85. data/rdoc/site/0.2.1/Nucleon/Project/Github.html +555 -0
  86. data/rdoc/site/0.2.1/Nucleon/Template.html +283 -0
  87. data/rdoc/site/0.2.1/Nucleon/Template/JSON.html +335 -0
  88. data/rdoc/site/0.2.1/Nucleon/Template/Wrapper.html +335 -0
  89. data/rdoc/site/0.2.1/Nucleon/Template/YAML.html +335 -0
  90. data/rdoc/site/0.2.1/Nucleon/Translator.html +282 -0
  91. data/rdoc/site/0.2.1/Nucleon/Translator/JSON.html +372 -0
  92. data/rdoc/site/0.2.1/Nucleon/Translator/YAML.html +372 -0
  93. data/rdoc/site/0.2.1/Nucleon/Util.html +291 -0
  94. data/rdoc/site/0.2.1/Nucleon/Util/CLI.html +394 -0
  95. data/rdoc/site/0.2.1/Nucleon/Util/CLI/Parser.html +1404 -0
  96. data/rdoc/site/0.2.1/Nucleon/Util/Cache.html +824 -0
  97. data/rdoc/site/0.2.1/Nucleon/Util/Console.html +1330 -0
  98. data/rdoc/site/0.2.1/Nucleon/Util/Data.html +1423 -0
  99. data/rdoc/site/0.2.1/Nucleon/Util/Disk.html +528 -0
  100. data/rdoc/site/0.2.1/Nucleon/Util/Git.html +367 -0
  101. data/rdoc/site/0.2.1/Nucleon/Util/Liquid.html +371 -0
  102. data/rdoc/site/0.2.1/Nucleon/Util/Logger.html +822 -0
  103. data/rdoc/site/0.2.1/Nucleon/Util/Package.html +564 -0
  104. data/rdoc/site/0.2.1/Nucleon/Util/SSH.html +1036 -0
  105. data/rdoc/site/0.2.1/Nucleon/Util/SSH/Keypair.html +607 -0
  106. data/rdoc/site/0.2.1/Nucleon/Util/Shell.html +697 -0
  107. data/rdoc/site/0.2.1/Nucleon/Util/Shell/Result.html +503 -0
  108. data/rdoc/site/0.2.1/README_rdoc.html +318 -0
  109. data/rdoc/site/0.2.1/TODO_rdoc.html +267 -0
  110. data/rdoc/site/0.2.1/created.rid +62 -0
  111. data/rdoc/site/0.2.1/images/add.png +0 -0
  112. data/rdoc/site/0.2.1/images/brick.png +0 -0
  113. data/rdoc/site/0.2.1/images/brick_link.png +0 -0
  114. data/rdoc/site/0.2.1/images/bug.png +0 -0
  115. data/rdoc/site/0.2.1/images/bullet_black.png +0 -0
  116. data/rdoc/site/0.2.1/images/bullet_toggle_minus.png +0 -0
  117. data/rdoc/site/0.2.1/images/bullet_toggle_plus.png +0 -0
  118. data/rdoc/site/0.2.1/images/date.png +0 -0
  119. data/rdoc/site/0.2.1/images/delete.png +0 -0
  120. data/rdoc/site/0.2.1/images/find.png +0 -0
  121. data/rdoc/site/0.2.1/images/loadingAnimation.gif +0 -0
  122. data/rdoc/site/0.2.1/images/macFFBgHack.png +0 -0
  123. data/rdoc/site/0.2.1/images/package.png +0 -0
  124. data/rdoc/site/0.2.1/images/page_green.png +0 -0
  125. data/rdoc/site/0.2.1/images/page_white_text.png +0 -0
  126. data/rdoc/site/0.2.1/images/page_white_width.png +0 -0
  127. data/rdoc/site/0.2.1/images/plugin.png +0 -0
  128. data/rdoc/site/0.2.1/images/ruby.png +0 -0
  129. data/rdoc/site/0.2.1/images/tag_blue.png +0 -0
  130. data/rdoc/site/0.2.1/images/tag_green.png +0 -0
  131. data/rdoc/site/0.2.1/images/transparent.png +0 -0
  132. data/rdoc/site/0.2.1/images/wrench.png +0 -0
  133. data/rdoc/site/0.2.1/images/wrench_orange.png +0 -0
  134. data/rdoc/site/0.2.1/images/zoom.png +0 -0
  135. data/rdoc/site/0.2.1/index.html +317 -0
  136. data/rdoc/site/0.2.1/js/darkfish.js +155 -0
  137. data/rdoc/site/0.2.1/js/jquery.js +18 -0
  138. data/rdoc/site/0.2.1/js/navigation.js +142 -0
  139. data/rdoc/site/0.2.1/js/search.js +94 -0
  140. data/rdoc/site/0.2.1/js/search_index.js +1 -0
  141. data/rdoc/site/0.2.1/js/searcher.js +228 -0
  142. data/rdoc/site/0.2.1/rdoc.css +543 -0
  143. data/rdoc/site/0.2.1/table_of_contents.html +1718 -0
  144. metadata +120 -2
@@ -0,0 +1,377 @@
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::Mixin::Action::Push - nucleon 0.2.1</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/mixin/action/push.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+ <!-- Method Quickref -->
62
+ <nav id="method-list-section" class="section">
63
+ <h3 class="section-header">Methods</h3>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="#method-i-push">#push</a>
68
+
69
+ <li><a href="#method-i-push_config">#push_config</a>
70
+
71
+ </ul>
72
+ </nav>
73
+
74
+ </div>
75
+
76
+ <div id="project-metadata">
77
+ <nav id="fileindex-section" class="section project-section">
78
+ <h3 class="section-header">Pages</h3>
79
+
80
+ <ul>
81
+
82
+ <li class="file"><a href="../../../ARCHITECTURE_rdoc.html">ARCHITECTURE</a>
83
+
84
+ <li class="file"><a href="../../../README_rdoc.html">README</a>
85
+
86
+ <li class="file"><a href="../../../TODO_rdoc.html">TODO</a>
87
+
88
+ </ul>
89
+ </nav>
90
+
91
+ <nav id="classindex-section" class="section project-section">
92
+ <h3 class="section-header">Class and Module Index</h3>
93
+
94
+ <ul class="link-list">
95
+
96
+ <li><a href="../../../Nucleon.html">Nucleon</a>
97
+
98
+ <li><a href="../../../Nucleon/Action.html">Nucleon::Action</a>
99
+
100
+ <li><a href="../../../Nucleon/Action/Extract.html">Nucleon::Action::Extract</a>
101
+
102
+ <li><a href="../../../Nucleon/Action/Project.html">Nucleon::Action::Project</a>
103
+
104
+ <li><a href="../../../Nucleon/Action/Project/Add.html">Nucleon::Action::Project::Add</a>
105
+
106
+ <li><a href="../../../Nucleon/Action/Project/Create.html">Nucleon::Action::Project::Create</a>
107
+
108
+ <li><a href="../../../Nucleon/Action/Project/Remove.html">Nucleon::Action::Project::Remove</a>
109
+
110
+ <li><a href="../../../Nucleon/Action/Project/Save.html">Nucleon::Action::Project::Save</a>
111
+
112
+ <li><a href="../../../Nucleon/Action/Project/Update.html">Nucleon::Action::Project::Update</a>
113
+
114
+ <li><a href="../../../Nucleon/Codes.html">Nucleon::Codes</a>
115
+
116
+ <li><a href="../../../Nucleon/Command.html">Nucleon::Command</a>
117
+
118
+ <li><a href="../../../Nucleon/Command/Bash.html">Nucleon::Command::Bash</a>
119
+
120
+ <li><a href="../../../Nucleon/Config.html">Nucleon::Config</a>
121
+
122
+ <li><a href="../../../Nucleon/Config/Collection.html">Nucleon::Config::Collection</a>
123
+
124
+ <li><a href="../../../Nucleon/Config/Options.html">Nucleon::Config::Options</a>
125
+
126
+ <li><a href="../../../Nucleon/Core.html">Nucleon::Core</a>
127
+
128
+ <li><a href="../../../Nucleon/Environment.html">Nucleon::Environment</a>
129
+
130
+ <li><a href="../../../Nucleon/Errors.html">Nucleon::Errors</a>
131
+
132
+ <li><a href="../../../Nucleon/Errors/BatchError.html">Nucleon::Errors::BatchError</a>
133
+
134
+ <li><a href="../../../Nucleon/Errors/NucleonError.html">Nucleon::Errors::NucleonError</a>
135
+
136
+ <li><a href="../../../Nucleon/Errors/SSHUnavailable.html">Nucleon::Errors::SSHUnavailable</a>
137
+
138
+ <li><a href="../../../Nucleon/Event.html">Nucleon::Event</a>
139
+
140
+ <li><a href="../../../Nucleon/Event/Regex.html">Nucleon::Event::Regex</a>
141
+
142
+ <li><a href="../../../Nucleon/Facade.html">Nucleon::Facade</a>
143
+
144
+ <li><a href="../../../Nucleon/Gems.html">Nucleon::Gems</a>
145
+
146
+ <li><a href="../../../Nucleon/Manager.html">Nucleon::Manager</a>
147
+
148
+ <li><a href="../../../Nucleon/Mixin.html">Nucleon::Mixin</a>
149
+
150
+ <li><a href="../../../Nucleon/Mixin/Action.html">Nucleon::Mixin::Action</a>
151
+
152
+ <li><a href="../../../Nucleon/Mixin/Action/Commit.html">Nucleon::Mixin::Action::Commit</a>
153
+
154
+ <li><a href="../../../Nucleon/Mixin/Action/Project.html">Nucleon::Mixin::Action::Project</a>
155
+
156
+ <li><a href="../../../Nucleon/Mixin/Action/Push.html">Nucleon::Mixin::Action::Push</a>
157
+
158
+ <li><a href="../../../Nucleon/Mixin/Action/Registration.html">Nucleon::Mixin::Action::Registration</a>
159
+
160
+ <li><a href="../../../Nucleon/Mixin/Colors.html">Nucleon::Mixin::Colors</a>
161
+
162
+ <li><a href="../../../Nucleon/Mixin/ConfigCollection.html">Nucleon::Mixin::ConfigCollection</a>
163
+
164
+ <li><a href="../../../Nucleon/Mixin/ConfigOptions.html">Nucleon::Mixin::ConfigOptions</a>
165
+
166
+ <li><a href="../../../Nucleon/Mixin/Macro.html">Nucleon::Mixin::Macro</a>
167
+
168
+ <li><a href="../../../Nucleon/Mixin/Macro/ObjectInterface.html">Nucleon::Mixin::Macro::ObjectInterface</a>
169
+
170
+ <li><a href="../../../Nucleon/Mixin/Macro/PluginInterface.html">Nucleon::Mixin::Macro::PluginInterface</a>
171
+
172
+ <li><a href="../../../Nucleon/Mixin/Settings.html">Nucleon::Mixin::Settings</a>
173
+
174
+ <li><a href="../../../Nucleon/Mixin/SubConfig.html">Nucleon::Mixin::SubConfig</a>
175
+
176
+ <li><a href="../../../Nucleon/Parallel.html">Nucleon::Parallel</a>
177
+
178
+ <li><a href="../../../Nucleon/Parallel/ClassMethods.html">Nucleon::Parallel::ClassMethods</a>
179
+
180
+ <li><a href="../../../Nucleon/Parallel/InstanceMethods.html">Nucleon::Parallel::InstanceMethods</a>
181
+
182
+ <li><a href="../../../Nucleon/Plugin.html">Nucleon::Plugin</a>
183
+
184
+ <li><a href="../../../Nucleon/Plugin/Action.html">Nucleon::Plugin::Action</a>
185
+
186
+ <li><a href="../../../Nucleon/Plugin/Action/Option.html">Nucleon::Plugin::Action::Option</a>
187
+
188
+ <li><a href="../../../Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
189
+
190
+ <li><a href="../../../Nucleon/Plugin/Command.html">Nucleon::Plugin::Command</a>
191
+
192
+ <li><a href="../../../Nucleon/Plugin/Event.html">Nucleon::Plugin::Event</a>
193
+
194
+ <li><a href="../../../Nucleon/Plugin/Extension.html">Nucleon::Plugin::Extension</a>
195
+
196
+ <li><a href="../../../Nucleon/Plugin/Project.html">Nucleon::Plugin::Project</a>
197
+
198
+ <li><a href="../../../Nucleon/Plugin/Template.html">Nucleon::Plugin::Template</a>
199
+
200
+ <li><a href="../../../Nucleon/Plugin/Translator.html">Nucleon::Plugin::Translator</a>
201
+
202
+ <li><a href="../../../Nucleon/Project.html">Nucleon::Project</a>
203
+
204
+ <li><a href="../../../Nucleon/Project/Git.html">Nucleon::Project::Git</a>
205
+
206
+ <li><a href="../../../Nucleon/Project/Github.html">Nucleon::Project::Github</a>
207
+
208
+ <li><a href="../../../Nucleon/Template.html">Nucleon::Template</a>
209
+
210
+ <li><a href="../../../Nucleon/Template/JSON.html">Nucleon::Template::JSON</a>
211
+
212
+ <li><a href="../../../Nucleon/Template/Wrapper.html">Nucleon::Template::Wrapper</a>
213
+
214
+ <li><a href="../../../Nucleon/Template/YAML.html">Nucleon::Template::YAML</a>
215
+
216
+ <li><a href="../../../Nucleon/Translator.html">Nucleon::Translator</a>
217
+
218
+ <li><a href="../../../Nucleon/Translator/JSON.html">Nucleon::Translator::JSON</a>
219
+
220
+ <li><a href="../../../Nucleon/Translator/YAML.html">Nucleon::Translator::YAML</a>
221
+
222
+ <li><a href="../../../Nucleon/Util.html">Nucleon::Util</a>
223
+
224
+ <li><a href="../../../Nucleon/Util/CLI.html">Nucleon::Util::CLI</a>
225
+
226
+ <li><a href="../../../Nucleon/Util/CLI/Parser.html">Nucleon::Util::CLI::Parser</a>
227
+
228
+ <li><a href="../../../Nucleon/Util/Cache.html">Nucleon::Util::Cache</a>
229
+
230
+ <li><a href="../../../Nucleon/Util/Console.html">Nucleon::Util::Console</a>
231
+
232
+ <li><a href="../../../Nucleon/Util/Data.html">Nucleon::Util::Data</a>
233
+
234
+ <li><a href="../../../Nucleon/Util/Disk.html">Nucleon::Util::Disk</a>
235
+
236
+ <li><a href="../../../Nucleon/Util/Git.html">Nucleon::Util::Git</a>
237
+
238
+ <li><a href="../../../Nucleon/Util/Liquid.html">Nucleon::Util::Liquid</a>
239
+
240
+ <li><a href="../../../Nucleon/Util/Logger.html">Nucleon::Util::Logger</a>
241
+
242
+ <li><a href="../../../Nucleon/Util/Package.html">Nucleon::Util::Package</a>
243
+
244
+ <li><a href="../../../Nucleon/Util/SSH.html">Nucleon::Util::SSH</a>
245
+
246
+ <li><a href="../../../Nucleon/Util/SSH/Keypair.html">Nucleon::Util::SSH::Keypair</a>
247
+
248
+ <li><a href="../../../Nucleon/Util/Shell.html">Nucleon::Util::Shell</a>
249
+
250
+ <li><a href="../../../Nucleon/Util/Shell/Result.html">Nucleon::Util::Shell::Result</a>
251
+
252
+ <li><a href="../../../Hash.html">Hash</a>
253
+
254
+ <li><a href="../../../Kernel.html">Kernel</a>
255
+
256
+ </ul>
257
+ </nav>
258
+
259
+ </div>
260
+ </nav>
261
+
262
+ <div id="documentation">
263
+ <h1 class="module">module Nucleon::Mixin::Action::Push</h1>
264
+
265
+ <div id="description" class="description">
266
+
267
+ </div><!-- description -->
268
+
269
+
270
+
271
+
272
+ <section id="5Buntitled-5D" class="documentation-section">
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+ <!-- Methods -->
282
+
283
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
284
+ <h3 class="section-header">Public Instance Methods</h3>
285
+
286
+
287
+ <div id="method-i-push" class="method-detail ">
288
+
289
+ <div class="method-heading">
290
+ <span class="method-name">push</span><span
291
+ class="method-args">(project, remote = :edit)</span>
292
+ <span class="method-click-advice">click to toggle source</span>
293
+ </div>
294
+
295
+
296
+ <div class="method-description">
297
+
298
+
299
+
300
+
301
+
302
+ <div class="method-source-code" id="push-source">
303
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/push.rb, line 27</span>
304
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">push</span>(<span class="ruby-identifier">project</span>, <span class="ruby-identifier">remote</span> = <span class="ruby-value">:edit</span>)
305
+ <span class="ruby-identifier">success</span> = <span class="ruby-keyword">true</span>
306
+
307
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">project</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">settings</span>[<span class="ruby-value">:push</span>]
308
+ <span class="ruby-identifier">success</span> = <span class="ruby-identifier">project</span>.<span class="ruby-identifier">push</span>(<span class="ruby-identifier">settings</span>[<span class="ruby-value">:remote</span>], <span class="ruby-identifier">extended_config</span>(<span class="ruby-value">:push</span>, {
309
+ <span class="ruby-value">:revision</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">settings</span>[<span class="ruby-value">:revision</span>],
310
+ <span class="ruby-value">:propogate</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">settings</span>[<span class="ruby-value">:propogate_push</span>]
311
+ }))
312
+ <span class="ruby-keyword">end</span>
313
+ <span class="ruby-identifier">success</span>
314
+ <span class="ruby-keyword">end</span></pre>
315
+ </div><!-- push-source -->
316
+
317
+ </div>
318
+
319
+
320
+
321
+
322
+ </div><!-- push-method -->
323
+
324
+
325
+ <div id="method-i-push_config" class="method-detail ">
326
+
327
+ <div class="method-heading">
328
+ <span class="method-name">push_config</span><span
329
+ class="method-args">(optional = true)</span>
330
+ <span class="method-click-advice">click to toggle source</span>
331
+ </div>
332
+
333
+
334
+ <div class="method-description">
335
+
336
+
337
+
338
+
339
+
340
+ <div class="method-source-code" id="push_config-source">
341
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/push.rb, line 10</span>
342
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">push_config</span>(<span class="ruby-identifier">optional</span> = <span class="ruby-keyword">true</span>)
343
+
344
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">optional</span>
345
+ <span class="ruby-identifier">register</span> <span class="ruby-value">:push</span>, <span class="ruby-value">:bool</span>, <span class="ruby-keyword">false</span>, <span class="ruby-string">&#39;nucleon.core.mixin.action.push.options.push&#39;</span>
346
+ <span class="ruby-keyword">else</span>
347
+ <span class="ruby-identifier">settings</span>[<span class="ruby-value">:push</span>] = <span class="ruby-keyword">true</span>
348
+ <span class="ruby-keyword">end</span>
349
+
350
+ <span class="ruby-identifier">register</span> <span class="ruby-value">:remote</span>, <span class="ruby-value">:str</span>, <span class="ruby-value">:edit</span>, <span class="ruby-string">&#39;nucleon.core.mixin.action.push.options.remote&#39;</span>
351
+ <span class="ruby-identifier">register</span> <span class="ruby-value">:revision</span>, <span class="ruby-value">:str</span>, <span class="ruby-value">:master</span>, <span class="ruby-string">&#39;nucleon.core.mixin.action.push.options.revision&#39;</span>
352
+
353
+ <span class="ruby-identifier">register</span> <span class="ruby-value">:propogate_push</span>, <span class="ruby-value">:bool</span>, <span class="ruby-keyword">false</span>, <span class="ruby-string">&#39;nucleon.core.mixin.action.push.options.propogate_push&#39;</span>
354
+ <span class="ruby-keyword">end</span></pre>
355
+ </div><!-- push_config-source -->
356
+
357
+ </div>
358
+
359
+
360
+
361
+
362
+ </div><!-- push_config-method -->
363
+
364
+
365
+ </section><!-- public-instance-method-details -->
366
+
367
+ </section><!-- 5Buntitled-5D -->
368
+
369
+ </div><!-- documentation -->
370
+
371
+
372
+ <footer id="validator-badges">
373
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
374
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
375
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
376
+ </footer>
377
+
@@ -0,0 +1,575 @@
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::Mixin::Action::Registration - nucleon 0.2.1</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/mixin/action/registration.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+ <!-- Method Quickref -->
62
+ <nav id="method-list-section" class="section">
63
+ <h3 class="section-header">Methods</h3>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="#method-i-register_directory">#register_directory</a>
68
+
69
+ <li><a href="#method-i-register_file">#register_file</a>
70
+
71
+ <li><a href="#method-i-register_project">#register_project</a>
72
+
73
+ <li><a href="#method-i-register_projects">#register_projects</a>
74
+
75
+ <li><a href="#method-i-register_translator">#register_translator</a>
76
+
77
+ <li><a href="#method-i-register_translators">#register_translators</a>
78
+
79
+ <li><a href="#method-i-validate_directory">#validate_directory</a>
80
+
81
+ <li><a href="#method-i-validate_file">#validate_file</a>
82
+
83
+ </ul>
84
+ </nav>
85
+
86
+ </div>
87
+
88
+ <div id="project-metadata">
89
+ <nav id="fileindex-section" class="section project-section">
90
+ <h3 class="section-header">Pages</h3>
91
+
92
+ <ul>
93
+
94
+ <li class="file"><a href="../../../ARCHITECTURE_rdoc.html">ARCHITECTURE</a>
95
+
96
+ <li class="file"><a href="../../../README_rdoc.html">README</a>
97
+
98
+ <li class="file"><a href="../../../TODO_rdoc.html">TODO</a>
99
+
100
+ </ul>
101
+ </nav>
102
+
103
+ <nav id="classindex-section" class="section project-section">
104
+ <h3 class="section-header">Class and Module Index</h3>
105
+
106
+ <ul class="link-list">
107
+
108
+ <li><a href="../../../Nucleon.html">Nucleon</a>
109
+
110
+ <li><a href="../../../Nucleon/Action.html">Nucleon::Action</a>
111
+
112
+ <li><a href="../../../Nucleon/Action/Extract.html">Nucleon::Action::Extract</a>
113
+
114
+ <li><a href="../../../Nucleon/Action/Project.html">Nucleon::Action::Project</a>
115
+
116
+ <li><a href="../../../Nucleon/Action/Project/Add.html">Nucleon::Action::Project::Add</a>
117
+
118
+ <li><a href="../../../Nucleon/Action/Project/Create.html">Nucleon::Action::Project::Create</a>
119
+
120
+ <li><a href="../../../Nucleon/Action/Project/Remove.html">Nucleon::Action::Project::Remove</a>
121
+
122
+ <li><a href="../../../Nucleon/Action/Project/Save.html">Nucleon::Action::Project::Save</a>
123
+
124
+ <li><a href="../../../Nucleon/Action/Project/Update.html">Nucleon::Action::Project::Update</a>
125
+
126
+ <li><a href="../../../Nucleon/Codes.html">Nucleon::Codes</a>
127
+
128
+ <li><a href="../../../Nucleon/Command.html">Nucleon::Command</a>
129
+
130
+ <li><a href="../../../Nucleon/Command/Bash.html">Nucleon::Command::Bash</a>
131
+
132
+ <li><a href="../../../Nucleon/Config.html">Nucleon::Config</a>
133
+
134
+ <li><a href="../../../Nucleon/Config/Collection.html">Nucleon::Config::Collection</a>
135
+
136
+ <li><a href="../../../Nucleon/Config/Options.html">Nucleon::Config::Options</a>
137
+
138
+ <li><a href="../../../Nucleon/Core.html">Nucleon::Core</a>
139
+
140
+ <li><a href="../../../Nucleon/Environment.html">Nucleon::Environment</a>
141
+
142
+ <li><a href="../../../Nucleon/Errors.html">Nucleon::Errors</a>
143
+
144
+ <li><a href="../../../Nucleon/Errors/BatchError.html">Nucleon::Errors::BatchError</a>
145
+
146
+ <li><a href="../../../Nucleon/Errors/NucleonError.html">Nucleon::Errors::NucleonError</a>
147
+
148
+ <li><a href="../../../Nucleon/Errors/SSHUnavailable.html">Nucleon::Errors::SSHUnavailable</a>
149
+
150
+ <li><a href="../../../Nucleon/Event.html">Nucleon::Event</a>
151
+
152
+ <li><a href="../../../Nucleon/Event/Regex.html">Nucleon::Event::Regex</a>
153
+
154
+ <li><a href="../../../Nucleon/Facade.html">Nucleon::Facade</a>
155
+
156
+ <li><a href="../../../Nucleon/Gems.html">Nucleon::Gems</a>
157
+
158
+ <li><a href="../../../Nucleon/Manager.html">Nucleon::Manager</a>
159
+
160
+ <li><a href="../../../Nucleon/Mixin.html">Nucleon::Mixin</a>
161
+
162
+ <li><a href="../../../Nucleon/Mixin/Action.html">Nucleon::Mixin::Action</a>
163
+
164
+ <li><a href="../../../Nucleon/Mixin/Action/Commit.html">Nucleon::Mixin::Action::Commit</a>
165
+
166
+ <li><a href="../../../Nucleon/Mixin/Action/Project.html">Nucleon::Mixin::Action::Project</a>
167
+
168
+ <li><a href="../../../Nucleon/Mixin/Action/Push.html">Nucleon::Mixin::Action::Push</a>
169
+
170
+ <li><a href="../../../Nucleon/Mixin/Action/Registration.html">Nucleon::Mixin::Action::Registration</a>
171
+
172
+ <li><a href="../../../Nucleon/Mixin/Colors.html">Nucleon::Mixin::Colors</a>
173
+
174
+ <li><a href="../../../Nucleon/Mixin/ConfigCollection.html">Nucleon::Mixin::ConfigCollection</a>
175
+
176
+ <li><a href="../../../Nucleon/Mixin/ConfigOptions.html">Nucleon::Mixin::ConfigOptions</a>
177
+
178
+ <li><a href="../../../Nucleon/Mixin/Macro.html">Nucleon::Mixin::Macro</a>
179
+
180
+ <li><a href="../../../Nucleon/Mixin/Macro/ObjectInterface.html">Nucleon::Mixin::Macro::ObjectInterface</a>
181
+
182
+ <li><a href="../../../Nucleon/Mixin/Macro/PluginInterface.html">Nucleon::Mixin::Macro::PluginInterface</a>
183
+
184
+ <li><a href="../../../Nucleon/Mixin/Settings.html">Nucleon::Mixin::Settings</a>
185
+
186
+ <li><a href="../../../Nucleon/Mixin/SubConfig.html">Nucleon::Mixin::SubConfig</a>
187
+
188
+ <li><a href="../../../Nucleon/Parallel.html">Nucleon::Parallel</a>
189
+
190
+ <li><a href="../../../Nucleon/Parallel/ClassMethods.html">Nucleon::Parallel::ClassMethods</a>
191
+
192
+ <li><a href="../../../Nucleon/Parallel/InstanceMethods.html">Nucleon::Parallel::InstanceMethods</a>
193
+
194
+ <li><a href="../../../Nucleon/Plugin.html">Nucleon::Plugin</a>
195
+
196
+ <li><a href="../../../Nucleon/Plugin/Action.html">Nucleon::Plugin::Action</a>
197
+
198
+ <li><a href="../../../Nucleon/Plugin/Action/Option.html">Nucleon::Plugin::Action::Option</a>
199
+
200
+ <li><a href="../../../Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
201
+
202
+ <li><a href="../../../Nucleon/Plugin/Command.html">Nucleon::Plugin::Command</a>
203
+
204
+ <li><a href="../../../Nucleon/Plugin/Event.html">Nucleon::Plugin::Event</a>
205
+
206
+ <li><a href="../../../Nucleon/Plugin/Extension.html">Nucleon::Plugin::Extension</a>
207
+
208
+ <li><a href="../../../Nucleon/Plugin/Project.html">Nucleon::Plugin::Project</a>
209
+
210
+ <li><a href="../../../Nucleon/Plugin/Template.html">Nucleon::Plugin::Template</a>
211
+
212
+ <li><a href="../../../Nucleon/Plugin/Translator.html">Nucleon::Plugin::Translator</a>
213
+
214
+ <li><a href="../../../Nucleon/Project.html">Nucleon::Project</a>
215
+
216
+ <li><a href="../../../Nucleon/Project/Git.html">Nucleon::Project::Git</a>
217
+
218
+ <li><a href="../../../Nucleon/Project/Github.html">Nucleon::Project::Github</a>
219
+
220
+ <li><a href="../../../Nucleon/Template.html">Nucleon::Template</a>
221
+
222
+ <li><a href="../../../Nucleon/Template/JSON.html">Nucleon::Template::JSON</a>
223
+
224
+ <li><a href="../../../Nucleon/Template/Wrapper.html">Nucleon::Template::Wrapper</a>
225
+
226
+ <li><a href="../../../Nucleon/Template/YAML.html">Nucleon::Template::YAML</a>
227
+
228
+ <li><a href="../../../Nucleon/Translator.html">Nucleon::Translator</a>
229
+
230
+ <li><a href="../../../Nucleon/Translator/JSON.html">Nucleon::Translator::JSON</a>
231
+
232
+ <li><a href="../../../Nucleon/Translator/YAML.html">Nucleon::Translator::YAML</a>
233
+
234
+ <li><a href="../../../Nucleon/Util.html">Nucleon::Util</a>
235
+
236
+ <li><a href="../../../Nucleon/Util/CLI.html">Nucleon::Util::CLI</a>
237
+
238
+ <li><a href="../../../Nucleon/Util/CLI/Parser.html">Nucleon::Util::CLI::Parser</a>
239
+
240
+ <li><a href="../../../Nucleon/Util/Cache.html">Nucleon::Util::Cache</a>
241
+
242
+ <li><a href="../../../Nucleon/Util/Console.html">Nucleon::Util::Console</a>
243
+
244
+ <li><a href="../../../Nucleon/Util/Data.html">Nucleon::Util::Data</a>
245
+
246
+ <li><a href="../../../Nucleon/Util/Disk.html">Nucleon::Util::Disk</a>
247
+
248
+ <li><a href="../../../Nucleon/Util/Git.html">Nucleon::Util::Git</a>
249
+
250
+ <li><a href="../../../Nucleon/Util/Liquid.html">Nucleon::Util::Liquid</a>
251
+
252
+ <li><a href="../../../Nucleon/Util/Logger.html">Nucleon::Util::Logger</a>
253
+
254
+ <li><a href="../../../Nucleon/Util/Package.html">Nucleon::Util::Package</a>
255
+
256
+ <li><a href="../../../Nucleon/Util/SSH.html">Nucleon::Util::SSH</a>
257
+
258
+ <li><a href="../../../Nucleon/Util/SSH/Keypair.html">Nucleon::Util::SSH::Keypair</a>
259
+
260
+ <li><a href="../../../Nucleon/Util/Shell.html">Nucleon::Util::Shell</a>
261
+
262
+ <li><a href="../../../Nucleon/Util/Shell/Result.html">Nucleon::Util::Shell::Result</a>
263
+
264
+ <li><a href="../../../Hash.html">Hash</a>
265
+
266
+ <li><a href="../../../Kernel.html">Kernel</a>
267
+
268
+ </ul>
269
+ </nav>
270
+
271
+ </div>
272
+ </nav>
273
+
274
+ <div id="documentation">
275
+ <h1 class="module">module Nucleon::Mixin::Action::Registration</h1>
276
+
277
+ <div id="description" class="description">
278
+
279
+ </div><!-- description -->
280
+
281
+
282
+
283
+
284
+ <section id="5Buntitled-5D" class="documentation-section">
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+ <!-- Methods -->
294
+
295
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
296
+ <h3 class="section-header">Public Instance Methods</h3>
297
+
298
+
299
+ <div id="method-i-register_directory" class="method-detail ">
300
+
301
+ <div class="method-heading">
302
+ <span class="method-name">register_directory</span><span
303
+ class="method-args">(name, default = nil)</span>
304
+ <span class="method-click-advice">click to toggle source</span>
305
+ </div>
306
+
307
+
308
+ <div class="method-description">
309
+
310
+
311
+
312
+
313
+
314
+ <div class="method-source-code" id="register_directory-source">
315
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/registration.rb, line 20</span>
316
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_directory</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span> = <span class="ruby-keyword">nil</span>)
317
+ <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
318
+
319
+ <span class="ruby-identifier">register</span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:str</span>, <span class="ruby-identifier">default</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
320
+ <span class="ruby-identifier">validate_directory</span>(<span class="ruby-identifier">value</span>)
321
+ <span class="ruby-keyword">end</span>
322
+ <span class="ruby-keyword">end</span></pre>
323
+ </div><!-- register_directory-source -->
324
+
325
+ </div>
326
+
327
+
328
+
329
+
330
+ </div><!-- register_directory-method -->
331
+
332
+
333
+ <div id="method-i-register_file" class="method-detail ">
334
+
335
+ <div class="method-heading">
336
+ <span class="method-name">register_file</span><span
337
+ class="method-args">(name, default = nil)</span>
338
+ <span class="method-click-advice">click to toggle source</span>
339
+ </div>
340
+
341
+
342
+ <div class="method-description">
343
+
344
+
345
+
346
+
347
+
348
+ <div class="method-source-code" id="register_file-source">
349
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/registration.rb, line 10</span>
350
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_file</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span> = <span class="ruby-keyword">nil</span>)
351
+ <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
352
+
353
+ <span class="ruby-identifier">register</span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:str</span>, <span class="ruby-identifier">default</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
354
+ <span class="ruby-identifier">validate_file</span>(<span class="ruby-identifier">value</span>)
355
+ <span class="ruby-keyword">end</span>
356
+ <span class="ruby-keyword">end</span></pre>
357
+ </div><!-- register_file-source -->
358
+
359
+ </div>
360
+
361
+
362
+
363
+
364
+ </div><!-- register_file-method -->
365
+
366
+
367
+ <div id="method-i-register_project" class="method-detail ">
368
+
369
+ <div class="method-heading">
370
+ <span class="method-name">register_project</span><span
371
+ class="method-args">(name, default = nil)</span>
372
+ <span class="method-click-advice">click to toggle source</span>
373
+ </div>
374
+
375
+
376
+ <div class="method-description">
377
+
378
+
379
+
380
+
381
+
382
+ <div class="method-source-code" id="register_project-source">
383
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/registration.rb, line 30</span>
384
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_project</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span> = <span class="ruby-keyword">nil</span>)
385
+ <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
386
+
387
+ <span class="ruby-identifier">register</span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:str</span>, <span class="ruby-identifier">default</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
388
+ <span class="ruby-identifier">validate_plugins</span>(<span class="ruby-value">:nucleon</span>, <span class="ruby-value">:project</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
389
+ <span class="ruby-keyword">end</span>
390
+ <span class="ruby-keyword">end</span></pre>
391
+ </div><!-- register_project-source -->
392
+
393
+ </div>
394
+
395
+
396
+
397
+
398
+ </div><!-- register_project-method -->
399
+
400
+
401
+ <div id="method-i-register_projects" class="method-detail ">
402
+
403
+ <div class="method-heading">
404
+ <span class="method-name">register_projects</span><span
405
+ class="method-args">(name, default = nil)</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="register_projects-source">
417
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/registration.rb, line 40</span>
418
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_projects</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span> = <span class="ruby-keyword">nil</span>)
419
+ <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
420
+
421
+ <span class="ruby-identifier">register</span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:array</span>, <span class="ruby-identifier">default</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">values</span><span class="ruby-operator">|</span>
422
+ <span class="ruby-identifier">validate_plugins</span>(<span class="ruby-value">:nucleon</span>, <span class="ruby-value">:project</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">values</span>)
423
+ <span class="ruby-keyword">end</span>
424
+ <span class="ruby-keyword">end</span></pre>
425
+ </div><!-- register_projects-source -->
426
+
427
+ </div>
428
+
429
+
430
+
431
+
432
+ </div><!-- register_projects-method -->
433
+
434
+
435
+ <div id="method-i-register_translator" class="method-detail ">
436
+
437
+ <div class="method-heading">
438
+ <span class="method-name">register_translator</span><span
439
+ class="method-args">(name, default = nil)</span>
440
+ <span class="method-click-advice">click to toggle source</span>
441
+ </div>
442
+
443
+
444
+ <div class="method-description">
445
+
446
+
447
+
448
+
449
+
450
+ <div class="method-source-code" id="register_translator-source">
451
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/registration.rb, line 50</span>
452
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_translator</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span> = <span class="ruby-keyword">nil</span>)
453
+ <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
454
+
455
+ <span class="ruby-identifier">register</span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:str</span>, <span class="ruby-identifier">default</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span>
456
+ <span class="ruby-identifier">validate_plugins</span>(<span class="ruby-value">:nucleon</span>, <span class="ruby-value">:translator</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">value</span>)
457
+ <span class="ruby-keyword">end</span>
458
+ <span class="ruby-keyword">end</span></pre>
459
+ </div><!-- register_translator-source -->
460
+
461
+ </div>
462
+
463
+
464
+
465
+
466
+ </div><!-- register_translator-method -->
467
+
468
+
469
+ <div id="method-i-register_translators" class="method-detail ">
470
+
471
+ <div class="method-heading">
472
+ <span class="method-name">register_translators</span><span
473
+ class="method-args">(name, default = nil)</span>
474
+ <span class="method-click-advice">click to toggle source</span>
475
+ </div>
476
+
477
+
478
+ <div class="method-description">
479
+
480
+
481
+
482
+
483
+
484
+ <div class="method-source-code" id="register_translators-source">
485
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/registration.rb, line 60</span>
486
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">register_translators</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">default</span> = <span class="ruby-keyword">nil</span>)
487
+ <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
488
+
489
+ <span class="ruby-identifier">register</span> <span class="ruby-identifier">name</span>, <span class="ruby-value">:array</span>, <span class="ruby-identifier">default</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">values</span><span class="ruby-operator">|</span>
490
+ <span class="ruby-identifier">validate_plugins</span>(<span class="ruby-value">:nucleon</span>, <span class="ruby-value">:translator</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">values</span>)
491
+ <span class="ruby-keyword">end</span>
492
+ <span class="ruby-keyword">end</span></pre>
493
+ </div><!-- register_translators-source -->
494
+
495
+ </div>
496
+
497
+
498
+
499
+
500
+ </div><!-- register_translators-method -->
501
+
502
+
503
+ <div id="method-i-validate_directory" class="method-detail ">
504
+
505
+ <div class="method-heading">
506
+ <span class="method-name">validate_directory</span><span
507
+ class="method-args">(dir_name)</span>
508
+ <span class="method-click-advice">click to toggle source</span>
509
+ </div>
510
+
511
+
512
+ <div class="method-description">
513
+
514
+
515
+
516
+
517
+
518
+ <div class="method-source-code" id="validate_directory-source">
519
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/registration.rb, line 77</span>
520
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">validate_directory</span>(<span class="ruby-identifier">dir_name</span>)
521
+ <span class="ruby-identifier">dir_name</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">dir_name</span>)
522
+ <span class="ruby-keyword">end</span></pre>
523
+ </div><!-- validate_directory-source -->
524
+
525
+ </div>
526
+
527
+
528
+
529
+
530
+ </div><!-- validate_directory-method -->
531
+
532
+
533
+ <div id="method-i-validate_file" class="method-detail ">
534
+
535
+ <div class="method-heading">
536
+ <span class="method-name">validate_file</span><span
537
+ class="method-args">(file_name)</span>
538
+ <span class="method-click-advice">click to toggle source</span>
539
+ </div>
540
+
541
+
542
+ <div class="method-description">
543
+
544
+
545
+
546
+
547
+
548
+ <div class="method-source-code" id="validate_file-source">
549
+ <pre><span class="ruby-comment"># File lib/core/mixin/action/registration.rb, line 71</span>
550
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">validate_file</span>(<span class="ruby-identifier">file_name</span>)
551
+ <span class="ruby-identifier">file_name</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exists?</span>(<span class="ruby-identifier">file_name</span>)
552
+ <span class="ruby-keyword">end</span></pre>
553
+ </div><!-- validate_file-source -->
554
+
555
+ </div>
556
+
557
+
558
+
559
+
560
+ </div><!-- validate_file-method -->
561
+
562
+
563
+ </section><!-- public-instance-method-details -->
564
+
565
+ </section><!-- 5Buntitled-5D -->
566
+
567
+ </div><!-- documentation -->
568
+
569
+
570
+ <footer id="validator-badges">
571
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
572
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
573
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
574
+ </footer>
575
+