cuboid 0.0.0 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (552) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +0 -0
  3. data/Gemfile +22 -5
  4. data/LICENSE.md +22 -0
  5. data/README.md +158 -19
  6. data/Rakefile +56 -3
  7. data/config/paths.yml +15 -0
  8. data/cuboid.gemspec +61 -23
  9. data/lib/cuboid/application/parts/data.rb +18 -0
  10. data/lib/cuboid/application/parts/report.rb +29 -0
  11. data/lib/cuboid/application/parts/state.rb +274 -0
  12. data/lib/cuboid/application/runtime.rb +25 -0
  13. data/lib/cuboid/application.rb +326 -0
  14. data/lib/cuboid/banner.rb +13 -0
  15. data/lib/cuboid/data/application.rb +52 -0
  16. data/lib/cuboid/data.rb +86 -0
  17. data/lib/cuboid/error.rb +9 -0
  18. data/lib/cuboid/option_group.rb +129 -0
  19. data/lib/cuboid/option_groups/datastore.rb +23 -0
  20. data/lib/cuboid/option_groups/dispatcher.rb +38 -0
  21. data/lib/cuboid/option_groups/output.rb +14 -0
  22. data/lib/cuboid/option_groups/paths.rb +184 -0
  23. data/lib/cuboid/option_groups/report.rb +39 -0
  24. data/lib/cuboid/option_groups/rpc.rb +105 -0
  25. data/lib/cuboid/option_groups/scheduler.rb +27 -0
  26. data/lib/cuboid/option_groups/snapshot.rb +13 -0
  27. data/lib/cuboid/option_groups/system.rb +10 -0
  28. data/lib/cuboid/option_groups.rb +8 -0
  29. data/lib/cuboid/options.rb +254 -0
  30. data/lib/cuboid/processes/dispatchers.rb +140 -0
  31. data/lib/cuboid/processes/executables/base.rb +54 -0
  32. data/lib/cuboid/processes/executables/dispatcher.rb +5 -0
  33. data/lib/cuboid/processes/executables/instance.rb +12 -0
  34. data/lib/cuboid/processes/executables/rest_service.rb +13 -0
  35. data/lib/cuboid/processes/executables/scheduler.rb +5 -0
  36. data/lib/cuboid/processes/helpers/dispatchers.rb +23 -0
  37. data/lib/cuboid/processes/helpers/instances.rb +39 -0
  38. data/lib/cuboid/processes/helpers/processes.rb +23 -0
  39. data/lib/cuboid/processes/helpers/schedulers.rb +23 -0
  40. data/lib/cuboid/processes/helpers.rb +4 -0
  41. data/lib/cuboid/processes/instances.rb +203 -0
  42. data/lib/cuboid/processes/manager.rb +262 -0
  43. data/lib/cuboid/processes/schedulers.rb +128 -0
  44. data/lib/cuboid/processes.rb +13 -0
  45. data/lib/cuboid/report.rb +220 -0
  46. data/lib/cuboid/rest/server/instance_helpers.rb +99 -0
  47. data/lib/cuboid/rest/server/routes/dispatcher.rb +41 -0
  48. data/lib/cuboid/rest/server/routes/grid.rb +41 -0
  49. data/lib/cuboid/rest/server/routes/instances.rb +131 -0
  50. data/lib/cuboid/rest/server/routes/scheduler.rb +140 -0
  51. data/lib/cuboid/rest/server.rb +165 -0
  52. data/lib/cuboid/rpc/client/base.rb +58 -0
  53. data/lib/cuboid/rpc/client/dispatcher.rb +58 -0
  54. data/lib/cuboid/rpc/client/instance/service.rb +37 -0
  55. data/lib/cuboid/rpc/client/instance.rb +100 -0
  56. data/lib/cuboid/rpc/client/scheduler.rb +46 -0
  57. data/lib/cuboid/rpc/client.rb +3 -0
  58. data/lib/cuboid/rpc/serializer.rb +92 -0
  59. data/lib/cuboid/rpc/server/active_options.rb +38 -0
  60. data/lib/cuboid/rpc/server/application_wrapper.rb +138 -0
  61. data/lib/cuboid/rpc/server/base.rb +63 -0
  62. data/lib/cuboid/rpc/server/dispatcher/node.rb +247 -0
  63. data/lib/cuboid/rpc/server/dispatcher/service.rb +145 -0
  64. data/lib/cuboid/rpc/server/dispatcher.rb +317 -0
  65. data/lib/cuboid/rpc/server/instance.rb +338 -0
  66. data/lib/cuboid/rpc/server/output.rb +92 -0
  67. data/lib/cuboid/rpc/server/scheduler.rb +482 -0
  68. data/lib/cuboid/ruby/array.rb +17 -0
  69. data/lib/cuboid/ruby/hash.rb +41 -0
  70. data/lib/cuboid/ruby/object.rb +32 -0
  71. data/lib/cuboid/ruby.rb +4 -0
  72. data/lib/cuboid/snapshot.rb +186 -0
  73. data/lib/cuboid/state/application.rb +309 -0
  74. data/lib/cuboid/state/options.rb +27 -0
  75. data/lib/cuboid/state.rb +94 -0
  76. data/lib/cuboid/support/buffer/autoflush.rb +61 -0
  77. data/lib/cuboid/support/buffer/base.rb +91 -0
  78. data/lib/cuboid/support/buffer.rb +3 -0
  79. data/lib/cuboid/support/cache/base.rb +226 -0
  80. data/lib/cuboid/support/cache/least_cost_replacement.rb +77 -0
  81. data/lib/cuboid/support/cache/least_recently_pushed.rb +21 -0
  82. data/lib/cuboid/support/cache/least_recently_used.rb +31 -0
  83. data/lib/cuboid/support/cache/preference.rb +31 -0
  84. data/lib/cuboid/support/cache/random_replacement.rb +20 -0
  85. data/lib/cuboid/support/cache.rb +7 -0
  86. data/lib/cuboid/support/crypto/rsa_aes_cbc.rb +86 -0
  87. data/lib/cuboid/support/crypto.rb +2 -0
  88. data/lib/cuboid/support/database/base.rb +177 -0
  89. data/lib/cuboid/support/database/categorized_queue.rb +195 -0
  90. data/lib/cuboid/support/database/hash.rb +300 -0
  91. data/lib/cuboid/support/database/queue.rb +149 -0
  92. data/lib/cuboid/support/database.rb +5 -0
  93. data/lib/cuboid/support/filter/base.rb +110 -0
  94. data/lib/cuboid/support/filter/set.rb +29 -0
  95. data/lib/cuboid/support/filter.rb +3 -0
  96. data/lib/cuboid/support/glob.rb +27 -0
  97. data/lib/cuboid/support/mixins/observable.rb +99 -0
  98. data/lib/cuboid/support/mixins/parts.rb +20 -0
  99. data/lib/cuboid/support/mixins/profiler.rb +93 -0
  100. data/lib/cuboid/support/mixins/spec_instances.rb +65 -0
  101. data/lib/cuboid/support/mixins/terminal.rb +57 -0
  102. data/lib/cuboid/support/mixins.rb +8 -0
  103. data/lib/cuboid/support.rb +11 -0
  104. data/lib/cuboid/system/platforms/linux.rb +26 -0
  105. data/lib/cuboid/system/platforms/mixins/unix.rb +46 -0
  106. data/lib/cuboid/system/platforms/osx.rb +25 -0
  107. data/lib/cuboid/system/platforms/windows.rb +81 -0
  108. data/lib/cuboid/system/platforms.rb +84 -0
  109. data/lib/cuboid/system/slots.rb +143 -0
  110. data/lib/cuboid/system.rb +119 -0
  111. data/lib/cuboid/ui/output.rb +52 -0
  112. data/lib/cuboid/ui/output_interface/abstract.rb +68 -0
  113. data/lib/cuboid/ui/output_interface/controls.rb +84 -0
  114. data/lib/cuboid/ui/output_interface/error_logging.rb +119 -0
  115. data/lib/cuboid/ui/output_interface/implemented.rb +58 -0
  116. data/lib/cuboid/ui/output_interface/personalization.rb +62 -0
  117. data/lib/cuboid/ui/output_interface.rb +43 -0
  118. data/lib/cuboid/utilities.rb +155 -0
  119. data/lib/cuboid/version.rb +4 -3
  120. data/lib/cuboid.rb +96 -4
  121. data/lib/version +1 -0
  122. data/logs/error-3207383.log +106 -0
  123. data/logs/error-3207482.log +106 -0
  124. data/logs/error-3208344.log +109 -0
  125. data/logs/error-3208460.log +106 -0
  126. data/logs/error-903730.log +105 -0
  127. data/logs/error-903846.log +105 -0
  128. data/logs/error-904783.log +108 -0
  129. data/logs/error-905101.log +105 -0
  130. data/logs/placeholder +0 -0
  131. data/spec/cuboid/application/parts/data_spec.rb +12 -0
  132. data/spec/cuboid/application/parts/report_spec.rb +6 -0
  133. data/spec/cuboid/application/parts/state_spec.rb +192 -0
  134. data/spec/cuboid/application/runtime_spec.rb +21 -0
  135. data/spec/cuboid/application_spec.rb +37 -0
  136. data/spec/cuboid/data/application_spec.rb +22 -0
  137. data/spec/cuboid/data_spec.rb +47 -0
  138. data/spec/cuboid/error_spec.rb +23 -0
  139. data/spec/cuboid/option_groups/datastore_spec.rb +54 -0
  140. data/spec/cuboid/option_groups/dispatcher_spec.rb +12 -0
  141. data/spec/cuboid/option_groups/output_spec.rb +11 -0
  142. data/spec/cuboid/option_groups/paths_spec.rb +184 -0
  143. data/spec/cuboid/option_groups/report_spec.rb +26 -0
  144. data/spec/cuboid/option_groups/rpc_spec.rb +53 -0
  145. data/spec/cuboid/option_groups/snapshot_spec.rb +26 -0
  146. data/spec/cuboid/option_groups/system.rb +12 -0
  147. data/spec/cuboid/options_spec.rb +218 -0
  148. data/spec/cuboid/report_spec.rb +221 -0
  149. data/spec/cuboid/rest/server_spec.rb +1205 -0
  150. data/spec/cuboid/rpc/client/base_spec.rb +151 -0
  151. data/spec/cuboid/rpc/client/dispatcher_spec.rb +13 -0
  152. data/spec/cuboid/rpc/client/instance_spec.rb +38 -0
  153. data/spec/cuboid/rpc/server/active_options_spec.rb +21 -0
  154. data/spec/cuboid/rpc/server/base_spec.rb +60 -0
  155. data/spec/cuboid/rpc/server/dispatcher/node_spec.rb +222 -0
  156. data/spec/cuboid/rpc/server/dispatcher/service_spec.rb +112 -0
  157. data/spec/cuboid/rpc/server/dispatcher_spec.rb +317 -0
  158. data/spec/cuboid/rpc/server/instance_spec.rb +307 -0
  159. data/spec/cuboid/rpc/server/output_spec.rb +32 -0
  160. data/spec/cuboid/rpc/server/scheduler_spec.rb +400 -0
  161. data/spec/cuboid/ruby/array_spec.rb +77 -0
  162. data/spec/cuboid/ruby/hash_spec.rb +63 -0
  163. data/spec/cuboid/ruby/object_spec.rb +22 -0
  164. data/spec/cuboid/snapshot_spec.rb +123 -0
  165. data/spec/cuboid/state/application_spec.rb +538 -0
  166. data/spec/cuboid/state/options_spec.rb +37 -0
  167. data/spec/cuboid/state_spec.rb +53 -0
  168. data/spec/cuboid/support/buffer/autoflush_spec.rb +78 -0
  169. data/spec/cuboid/support/buffer/base_spec.rb +193 -0
  170. data/spec/cuboid/support/cache/least_cost_replacement_spec.rb +61 -0
  171. data/spec/cuboid/support/cache/least_recently_pushed_spec.rb +90 -0
  172. data/spec/cuboid/support/cache/least_recently_used_spec.rb +80 -0
  173. data/spec/cuboid/support/cache/preference_spec.rb +37 -0
  174. data/spec/cuboid/support/cache/random_replacement_spec.rb +42 -0
  175. data/spec/cuboid/support/crypto/rsa_aes_cbc_spec.rb +28 -0
  176. data/spec/cuboid/support/database/categorized_queue_spec.rb +327 -0
  177. data/spec/cuboid/support/database/hash_spec.rb +204 -0
  178. data/spec/cuboid/support/database/scheduler_spec.rb +325 -0
  179. data/spec/cuboid/support/filter/set_spec.rb +19 -0
  180. data/spec/cuboid/support/glob_spec.rb +75 -0
  181. data/spec/cuboid/support/mixins/observable_spec.rb +95 -0
  182. data/spec/cuboid/system/platforms/linux_spec.rb +31 -0
  183. data/spec/cuboid/system/platforms/osx_spec.rb +32 -0
  184. data/spec/cuboid/system/platforms/windows_spec.rb +41 -0
  185. data/spec/cuboid/system/slots_spec.rb +202 -0
  186. data/spec/cuboid/system_spec.rb +105 -0
  187. data/spec/cuboid/utilities_spec.rb +131 -0
  188. data/spec/spec_helper.rb +46 -0
  189. data/spec/support/factories/placeholder +0 -0
  190. data/spec/support/factories/scan_report.rb +18 -0
  191. data/spec/support/fixtures/empty/placeholder +0 -0
  192. data/spec/support/fixtures/executables/node.rb +50 -0
  193. data/spec/support/fixtures/mock_app/test_service.rb +64 -0
  194. data/spec/support/fixtures/mock_app.rb +61 -0
  195. data/spec/support/fixtures/services/echo.rb +64 -0
  196. data/spec/support/helpers/framework.rb +3 -0
  197. data/spec/support/helpers/matchers.rb +5 -0
  198. data/spec/support/helpers/misc.rb +3 -0
  199. data/spec/support/helpers/paths.rb +15 -0
  200. data/spec/support/helpers/request_helpers.rb +38 -0
  201. data/spec/support/helpers/requires.rb +8 -0
  202. data/spec/support/helpers/resets.rb +52 -0
  203. data/spec/support/helpers/web_server.rb +15 -0
  204. data/spec/support/lib/factory.rb +107 -0
  205. data/spec/support/lib/web_server_client.rb +41 -0
  206. data/spec/support/lib/web_server_dispatcher.rb +25 -0
  207. data/spec/support/lib/web_server_manager.rb +118 -0
  208. data/spec/support/logs/Dispatcher - 3204062-27546.log +6 -0
  209. data/spec/support/logs/Dispatcher - 3207166-30195.log +6 -0
  210. data/spec/support/logs/Dispatcher - 3207418-16491.log +6 -0
  211. data/spec/support/logs/Dispatcher - 3207420-23797.log +6 -0
  212. data/spec/support/logs/Dispatcher - 3207424-64333.log +6 -0
  213. data/spec/support/logs/Dispatcher - 3207427-50621.log +10 -0
  214. data/spec/support/logs/Dispatcher - 3207429-15351.log +10 -0
  215. data/spec/support/logs/Dispatcher - 3207432-3685.log +10 -0
  216. data/spec/support/logs/Dispatcher - 3207436-43126.log +10 -0
  217. data/spec/support/logs/Dispatcher - 3207438-58131.log +10 -0
  218. data/spec/support/logs/Dispatcher - 3207440-32187.log +10 -0
  219. data/spec/support/logs/Dispatcher - 3207654-42085.log +6 -0
  220. data/spec/support/logs/Dispatcher - 3207769-16303.log +6 -0
  221. data/spec/support/logs/Dispatcher - 3207771-31196.log +6 -0
  222. data/spec/support/logs/Dispatcher - 3207773-53419.log +6 -0
  223. data/spec/support/logs/Dispatcher - 3207775-17015.log +6 -0
  224. data/spec/support/logs/Dispatcher - 3207787-56572.log +6 -0
  225. data/spec/support/logs/Dispatcher - 3207799-41227.log +6 -0
  226. data/spec/support/logs/Dispatcher - 3207815-49397.log +6 -0
  227. data/spec/support/logs/Dispatcher - 3207817-13826.log +6 -0
  228. data/spec/support/logs/Dispatcher - 3207819-46821.log +6 -0
  229. data/spec/support/logs/Dispatcher - 3207821-37991.log +6 -0
  230. data/spec/support/logs/Dispatcher - 3207825-52955.log +6 -0
  231. data/spec/support/logs/Dispatcher - 3207829-12122.log +6 -0
  232. data/spec/support/logs/Dispatcher - 3207831-58485.log +16 -0
  233. data/spec/support/logs/Dispatcher - 3207833-47083.log +14 -0
  234. data/spec/support/logs/Dispatcher - 3207837-53679.log +10 -0
  235. data/spec/support/logs/Dispatcher - 3207847-12037.log +16 -0
  236. data/spec/support/logs/Dispatcher - 3207852-64296.log +14 -0
  237. data/spec/support/logs/Dispatcher - 3207858-56473.log +10 -0
  238. data/spec/support/logs/Dispatcher - 3207864-26736.log +6 -0
  239. data/spec/support/logs/Dispatcher - 3207866-24113.log +6 -0
  240. data/spec/support/logs/Dispatcher - 3207870-6896.log +6 -0
  241. data/spec/support/logs/Dispatcher - 3207873-16434.log +6 -0
  242. data/spec/support/logs/Dispatcher - 3207885-31058.log +6 -0
  243. data/spec/support/logs/Dispatcher - 3207891-19927.log +6 -0
  244. data/spec/support/logs/Dispatcher - 3207897-41533.log +6 -0
  245. data/spec/support/logs/Dispatcher - 3207903-26815.log +6 -0
  246. data/spec/support/logs/Dispatcher - 3207909-25294.log +6 -0
  247. data/spec/support/logs/Dispatcher - 3207929-51610.log +6 -0
  248. data/spec/support/logs/Dispatcher - 3207990-8943.log +16 -0
  249. data/spec/support/logs/Dispatcher - 3208000-30657.log +14 -0
  250. data/spec/support/logs/Dispatcher - 3208010-54017.log +10 -0
  251. data/spec/support/logs/Dispatcher - 3208041-58792.log +16 -0
  252. data/spec/support/logs/Dispatcher - 3208047-50811.log +14 -0
  253. data/spec/support/logs/Dispatcher - 3208051-52018.log +10 -0
  254. data/spec/support/logs/Dispatcher - 3208067-46852.log +6 -0
  255. data/spec/support/logs/Dispatcher - 3208075-56209.log +6 -0
  256. data/spec/support/logs/Dispatcher - 3208088-4783.log +6 -0
  257. data/spec/support/logs/Dispatcher - 3208100-47518.log +6 -0
  258. data/spec/support/logs/Dispatcher - 3208115-25109.log +6 -0
  259. data/spec/support/logs/Dispatcher - 3208127-46551.log +6 -0
  260. data/spec/support/logs/Dispatcher - 3208133-2576.log +6 -0
  261. data/spec/support/logs/Dispatcher - 3208138-25988.log +6 -0
  262. data/spec/support/logs/Dispatcher - 3208299-19611.log +6 -0
  263. data/spec/support/logs/Dispatcher - 3208330-35076.log +6 -0
  264. data/spec/support/logs/Dispatcher - 3208340-32759.log +6 -0
  265. data/spec/support/logs/Dispatcher - 903393-34771.log +6 -0
  266. data/spec/support/logs/Dispatcher - 903765-19862.log +6 -0
  267. data/spec/support/logs/Dispatcher - 903767-43611.log +6 -0
  268. data/spec/support/logs/Dispatcher - 903770-34337.log +6 -0
  269. data/spec/support/logs/Dispatcher - 903774-7484.log +10 -0
  270. data/spec/support/logs/Dispatcher - 903777-5256.log +10 -0
  271. data/spec/support/logs/Dispatcher - 903780-12391.log +10 -0
  272. data/spec/support/logs/Dispatcher - 903782-54621.log +10 -0
  273. data/spec/support/logs/Dispatcher - 903786-46071.log +10 -0
  274. data/spec/support/logs/Dispatcher - 903794-48819.log +10 -0
  275. data/spec/support/logs/Dispatcher - 903906-54562.log +6 -0
  276. data/spec/support/logs/Dispatcher - 904068-37293.log +6 -0
  277. data/spec/support/logs/Dispatcher - 904070-53492.log +6 -0
  278. data/spec/support/logs/Dispatcher - 904073-27607.log +6 -0
  279. data/spec/support/logs/Dispatcher - 904075-41641.log +6 -0
  280. data/spec/support/logs/Dispatcher - 904099-53541.log +6 -0
  281. data/spec/support/logs/Dispatcher - 904112-10508.log +6 -0
  282. data/spec/support/logs/Dispatcher - 904132-5791.log +6 -0
  283. data/spec/support/logs/Dispatcher - 904141-56406.log +6 -0
  284. data/spec/support/logs/Dispatcher - 904147-21550.log +6 -0
  285. data/spec/support/logs/Dispatcher - 904149-20120.log +6 -0
  286. data/spec/support/logs/Dispatcher - 904155-33639.log +6 -0
  287. data/spec/support/logs/Dispatcher - 904161-53730.log +6 -0
  288. data/spec/support/logs/Dispatcher - 904169-49991.log +16 -0
  289. data/spec/support/logs/Dispatcher - 904172-39635.log +14 -0
  290. data/spec/support/logs/Dispatcher - 904192-9525.log +10 -0
  291. data/spec/support/logs/Dispatcher - 904206-3529.log +16 -0
  292. data/spec/support/logs/Dispatcher - 904211-16856.log +14 -0
  293. data/spec/support/logs/Dispatcher - 904216-49974.log +10 -0
  294. data/spec/support/logs/Dispatcher - 904228-16891.log +6 -0
  295. data/spec/support/logs/Dispatcher - 904231-34999.log +6 -0
  296. data/spec/support/logs/Dispatcher - 904236-50872.log +6 -0
  297. data/spec/support/logs/Dispatcher - 904238-25464.log +6 -0
  298. data/spec/support/logs/Dispatcher - 904251-43339.log +6 -0
  299. data/spec/support/logs/Dispatcher - 904256-18461.log +6 -0
  300. data/spec/support/logs/Dispatcher - 904266-59699.log +6 -0
  301. data/spec/support/logs/Dispatcher - 904279-17401.log +6 -0
  302. data/spec/support/logs/Dispatcher - 904289-48953.log +6 -0
  303. data/spec/support/logs/Dispatcher - 904309-22599.log +6 -0
  304. data/spec/support/logs/Dispatcher - 904386-44447.log +16 -0
  305. data/spec/support/logs/Dispatcher - 904409-51015.log +14 -0
  306. data/spec/support/logs/Dispatcher - 904420-34336.log +10 -0
  307. data/spec/support/logs/Dispatcher - 904455-24852.log +16 -0
  308. data/spec/support/logs/Dispatcher - 904459-54769.log +14 -0
  309. data/spec/support/logs/Dispatcher - 904464-49280.log +10 -0
  310. data/spec/support/logs/Dispatcher - 904490-41571.log +6 -0
  311. data/spec/support/logs/Dispatcher - 904495-62362.log +6 -0
  312. data/spec/support/logs/Dispatcher - 904517-14314.log +6 -0
  313. data/spec/support/logs/Dispatcher - 904529-30060.log +6 -0
  314. data/spec/support/logs/Dispatcher - 904538-61870.log +6 -0
  315. data/spec/support/logs/Dispatcher - 904553-59343.log +6 -0
  316. data/spec/support/logs/Dispatcher - 904563-59027.log +6 -0
  317. data/spec/support/logs/Dispatcher - 904576-62144.log +6 -0
  318. data/spec/support/logs/Dispatcher - 904742-2935.log +6 -0
  319. data/spec/support/logs/Dispatcher - 904771-62183.log +6 -0
  320. data/spec/support/logs/Dispatcher - 904780-13353.log +6 -0
  321. data/spec/support/logs/Instance - 3208178-11741.error.log +106 -0
  322. data/spec/support/logs/Instance - 3208181-15143.error.log +106 -0
  323. data/spec/support/logs/Instance - 3208183-7742.error.log +106 -0
  324. data/spec/support/logs/Instance - 904628-41184.error.log +105 -0
  325. data/spec/support/logs/Instance - 904631-38626.error.log +105 -0
  326. data/spec/support/logs/Instance - 904634-37879.error.log +105 -0
  327. data/spec/support/logs/Scheduler - 3203309-65225.log +3 -0
  328. data/spec/support/logs/Scheduler - 3203315-52999.log +6 -0
  329. data/spec/support/logs/Scheduler - 3204127-50400.log +3 -0
  330. data/spec/support/logs/Scheduler - 3204138-29313.log +6 -0
  331. data/spec/support/logs/Scheduler - 3204154-9476.log +4 -0
  332. data/spec/support/logs/Scheduler - 3204163-52855.log +1 -0
  333. data/spec/support/logs/Scheduler - 3204175-31574.log +3 -0
  334. data/spec/support/logs/Scheduler - 3204194-7097.log +6 -0
  335. data/spec/support/logs/Scheduler - 3204251-11724.log +3 -0
  336. data/spec/support/logs/Scheduler - 3204262-10820.log +4 -0
  337. data/spec/support/logs/Scheduler - 3207131-48958.log +3 -0
  338. data/spec/support/logs/Scheduler - 3207138-8974.log +6 -0
  339. data/spec/support/logs/Scheduler - 3207187-62652.log +3 -0
  340. data/spec/support/logs/Scheduler - 3207197-19207.log +6 -0
  341. data/spec/support/logs/Scheduler - 3207218-27080.log +4 -0
  342. data/spec/support/logs/Scheduler - 3207228-4393.log +1 -0
  343. data/spec/support/logs/Scheduler - 3207240-7381.log +3 -0
  344. data/spec/support/logs/Scheduler - 3207252-53772.log +6 -0
  345. data/spec/support/logs/Scheduler - 3207306-56622.log +3 -0
  346. data/spec/support/logs/Scheduler - 3207318-9939.log +6 -0
  347. data/spec/support/logs/Scheduler - 3207342-36988.log +3 -0
  348. data/spec/support/logs/Scheduler - 3207352-31746.log +6 -0
  349. data/spec/support/logs/Scheduler - 3207383-56973.log +4 -0
  350. data/spec/support/logs/Scheduler - 3207400-19390.log +6 -0
  351. data/spec/support/logs/Scheduler - 3207442-63021.log +1 -0
  352. data/spec/support/logs/Scheduler - 3207445-42476.log +1 -0
  353. data/spec/support/logs/Scheduler - 3207450-45489.log +1 -0
  354. data/spec/support/logs/Scheduler - 3207453-18262.log +1 -0
  355. data/spec/support/logs/Scheduler - 3207458-47234.log +1 -0
  356. data/spec/support/logs/Scheduler - 3207462-5628.log +1 -0
  357. data/spec/support/logs/Scheduler - 3207464-14620.log +3 -0
  358. data/spec/support/logs/Scheduler - 3207468-4793.log +6 -0
  359. data/spec/support/logs/Scheduler - 3207482-45268.log +4 -0
  360. data/spec/support/logs/Scheduler - 3207494-44991.log +1 -0
  361. data/spec/support/logs/Scheduler - 3207498-21429.log +1 -0
  362. data/spec/support/logs/Scheduler - 3207503-54136.log +1 -0
  363. data/spec/support/logs/Scheduler - 3207507-43714.log +1 -0
  364. data/spec/support/logs/Scheduler - 3207512-38735.log +3 -0
  365. data/spec/support/logs/Scheduler - 3207516-64075.log +1 -0
  366. data/spec/support/logs/Scheduler - 3207523-26974.log +1 -0
  367. data/spec/support/logs/Scheduler - 3207527-30807.log +1 -0
  368. data/spec/support/logs/Scheduler - 3208261-26059.log +16 -0
  369. data/spec/support/logs/Scheduler - 3208278-13735.log +6 -0
  370. data/spec/support/logs/Scheduler - 3208287-55638.log +6 -0
  371. data/spec/support/logs/Scheduler - 3208303-38465.log +6 -0
  372. data/spec/support/logs/Scheduler - 3208334-43532.log +3 -0
  373. data/spec/support/logs/Scheduler - 3208344-20376.log +5 -0
  374. data/spec/support/logs/Scheduler - 3208351-38224.log +1 -0
  375. data/spec/support/logs/Scheduler - 3208355-9843.log +1 -0
  376. data/spec/support/logs/Scheduler - 3208357-43942.log +1 -0
  377. data/spec/support/logs/Scheduler - 3208360-58330.log +1 -0
  378. data/spec/support/logs/Scheduler - 3208363-23807.log +1 -0
  379. data/spec/support/logs/Scheduler - 3208366-29256.log +1 -0
  380. data/spec/support/logs/Scheduler - 3208369-25684.log +1 -0
  381. data/spec/support/logs/Scheduler - 3208372-28479.log +3 -0
  382. data/spec/support/logs/Scheduler - 3208382-34006.log +3 -0
  383. data/spec/support/logs/Scheduler - 3208396-57942.log +3 -0
  384. data/spec/support/logs/Scheduler - 3208402-34617.log +3 -0
  385. data/spec/support/logs/Scheduler - 3208406-31477.log +4 -0
  386. data/spec/support/logs/Scheduler - 3208418-25154.log +1 -0
  387. data/spec/support/logs/Scheduler - 3208423-3948.log +4 -0
  388. data/spec/support/logs/Scheduler - 3208428-21648.log +1 -0
  389. data/spec/support/logs/Scheduler - 3208434-64685.log +1 -0
  390. data/spec/support/logs/Scheduler - 3208440-58157.log +16 -0
  391. data/spec/support/logs/Scheduler - 3208460-6293.log +4 -0
  392. data/spec/support/logs/Scheduler - 3208467-29409.log +1 -0
  393. data/spec/support/logs/Scheduler - 3208470-12825.log +1 -0
  394. data/spec/support/logs/Scheduler - 3208473-52401.log +1 -0
  395. data/spec/support/logs/Scheduler - 3208476-6567.log +1 -0
  396. data/spec/support/logs/Scheduler - 3208480-28476.log +3 -0
  397. data/spec/support/logs/Scheduler - 3208488-36893.log +1 -0
  398. data/spec/support/logs/Scheduler - 3208490-11932.log +1 -0
  399. data/spec/support/logs/Scheduler - 3208493-56676.log +1 -0
  400. data/spec/support/logs/Scheduler - 3208509-46176.log +1 -0
  401. data/spec/support/logs/Scheduler - 3208513-14321.log +1 -0
  402. data/spec/support/logs/Scheduler - 3208517-10539.log +1 -0
  403. data/spec/support/logs/Scheduler - 3208521-30079.log +2 -0
  404. data/spec/support/logs/Scheduler - 903345-9616.log +3 -0
  405. data/spec/support/logs/Scheduler - 903353-58507.log +6 -0
  406. data/spec/support/logs/Scheduler - 903417-55835.log +3 -0
  407. data/spec/support/logs/Scheduler - 903427-18261.log +6 -0
  408. data/spec/support/logs/Scheduler - 903439-36633.log +4 -0
  409. data/spec/support/logs/Scheduler - 903455-41936.log +1 -0
  410. data/spec/support/logs/Scheduler - 903506-60484.log +3 -0
  411. data/spec/support/logs/Scheduler - 903519-10519.log +6 -0
  412. data/spec/support/logs/Scheduler - 903593-8109.log +3 -0
  413. data/spec/support/logs/Scheduler - 903614-61308.log +6 -0
  414. data/spec/support/logs/Scheduler - 903667-39623.log +3 -0
  415. data/spec/support/logs/Scheduler - 903683-35117.log +6 -0
  416. data/spec/support/logs/Scheduler - 903730-34262.log +4 -0
  417. data/spec/support/logs/Scheduler - 903747-57287.log +6 -0
  418. data/spec/support/logs/Scheduler - 903798-40499.log +1 -0
  419. data/spec/support/logs/Scheduler - 903801-5479.log +1 -0
  420. data/spec/support/logs/Scheduler - 903806-11293.log +1 -0
  421. data/spec/support/logs/Scheduler - 903811-52201.log +1 -0
  422. data/spec/support/logs/Scheduler - 903813-54636.log +1 -0
  423. data/spec/support/logs/Scheduler - 903827-5581.log +1 -0
  424. data/spec/support/logs/Scheduler - 903830-48439.log +3 -0
  425. data/spec/support/logs/Scheduler - 903835-17198.log +6 -0
  426. data/spec/support/logs/Scheduler - 903846-28718.log +4 -0
  427. data/spec/support/logs/Scheduler - 903855-45172.log +1 -0
  428. data/spec/support/logs/Scheduler - 903864-11909.log +1 -0
  429. data/spec/support/logs/Scheduler - 903869-1794.log +1 -0
  430. data/spec/support/logs/Scheduler - 903873-59405.log +1 -0
  431. data/spec/support/logs/Scheduler - 903880-3155.log +3 -0
  432. data/spec/support/logs/Scheduler - 903887-52240.log +1 -0
  433. data/spec/support/logs/Scheduler - 903889-27541.log +1 -0
  434. data/spec/support/logs/Scheduler - 903895-16003.log +1 -0
  435. data/spec/support/logs/Scheduler - 904706-61946.log +16 -0
  436. data/spec/support/logs/Scheduler - 904725-2441.log +6 -0
  437. data/spec/support/logs/Scheduler - 904736-12992.log +6 -0
  438. data/spec/support/logs/Scheduler - 904744-61626.log +6 -0
  439. data/spec/support/logs/Scheduler - 904774-45665.log +3 -0
  440. data/spec/support/logs/Scheduler - 904783-51443.log +5 -0
  441. data/spec/support/logs/Scheduler - 904791-45170.log +1 -0
  442. data/spec/support/logs/Scheduler - 904793-58901.log +1 -0
  443. data/spec/support/logs/Scheduler - 904801-2336.log +1 -0
  444. data/spec/support/logs/Scheduler - 904803-10954.log +1 -0
  445. data/spec/support/logs/Scheduler - 904806-25343.log +1 -0
  446. data/spec/support/logs/Scheduler - 904810-23633.log +1 -0
  447. data/spec/support/logs/Scheduler - 904814-27547.log +1 -0
  448. data/spec/support/logs/Scheduler - 904819-53508.log +3 -0
  449. data/spec/support/logs/Scheduler - 904826-41103.log +3 -0
  450. data/spec/support/logs/Scheduler - 904835-20113.log +3 -0
  451. data/spec/support/logs/Scheduler - 904866-61722.log +3 -0
  452. data/spec/support/logs/Scheduler - 904878-18373.log +4 -0
  453. data/spec/support/logs/Scheduler - 904999-46113.log +1 -0
  454. data/spec/support/logs/Scheduler - 905011-23507.log +4 -0
  455. data/spec/support/logs/Scheduler - 905017-8299.log +1 -0
  456. data/spec/support/logs/Scheduler - 905028-51728.log +1 -0
  457. data/spec/support/logs/Scheduler - 905031-16092.log +16 -0
  458. data/spec/support/logs/Scheduler - 905101-65244.log +4 -0
  459. data/spec/support/logs/Scheduler - 905224-20698.log +1 -0
  460. data/spec/support/logs/Scheduler - 905234-53973.log +1 -0
  461. data/spec/support/logs/Scheduler - 905241-48042.log +1 -0
  462. data/spec/support/logs/Scheduler - 905334-30796.log +1 -0
  463. data/spec/support/logs/Scheduler - 905337-14399.log +3 -0
  464. data/spec/support/logs/Scheduler - 905350-31560.log +1 -0
  465. data/spec/support/logs/Scheduler - 905353-63541.log +1 -0
  466. data/spec/support/logs/Scheduler - 905359-22685.log +1 -0
  467. data/spec/support/logs/Scheduler - 905362-31483.log +1 -0
  468. data/spec/support/logs/Scheduler - 905365-28301.log +1 -0
  469. data/spec/support/logs/Scheduler - 905369-51335.log +1 -0
  470. data/spec/support/logs/Scheduler - 905373-43552.log +2 -0
  471. data/spec/support/logs/error-3206970.log +801 -0
  472. data/spec/support/logs/error-903103.log +797 -0
  473. data/spec/support/logs/output_spec_3206970.log +390 -0
  474. data/spec/support/logs/output_spec_903103.log +390 -0
  475. data/spec/support/logs/placeholder +0 -0
  476. data/spec/support/pems/cacert.pem +37 -0
  477. data/spec/support/pems/client/cert.pem +37 -0
  478. data/spec/support/pems/client/foo-cert.pem +39 -0
  479. data/spec/support/pems/client/foo-key.pem +51 -0
  480. data/spec/support/pems/client/key.pem +51 -0
  481. data/spec/support/pems/server/cert.pem +37 -0
  482. data/spec/support/pems/server/key.pem +51 -0
  483. data/spec/support/reports/010223f6102d7d7ef50d7061f5a7c120.crf +0 -0
  484. data/spec/support/reports/0efcc0441bc58e27299737fc0e8bdb4a.crf +0 -0
  485. data/spec/support/reports/1444c78cae8a70d9a8f64a5b84579248.crf +0 -0
  486. data/spec/support/reports/16d1cdae64bbcf0b2083bc1870940fe8.crf +0 -0
  487. data/spec/support/reports/22cd328dd5adf2e5830db3eaf3e6d2fa.crf +0 -0
  488. data/spec/support/reports/26f5f97b84015ea1b3ebfaa04e6863f2.crf +0 -0
  489. data/spec/support/reports/40d544db82e9be4328c8bb16f2abbe96.crf +0 -0
  490. data/spec/support/reports/432466f64ec7b3a9e3a51e6c0c0f2b68.crf +0 -0
  491. data/spec/support/reports/493d52465fdd74388e1c1769e738fe0a.crf +0 -0
  492. data/spec/support/reports/49593f3c7dcff9466cebd4a3f71df16e.crf +0 -0
  493. data/spec/support/reports/4a875ccf578b82ea8af0661d09a0c9a2.crf +0 -0
  494. data/spec/support/reports/4fe265d0f318a758fff8f9c117d85c70.crf +0 -0
  495. data/spec/support/reports/5405af2d7e6bdba82761b3deb0316abb.crf +0 -0
  496. data/spec/support/reports/5801342bc5e7553ca065d9fc76b80a31.crf +0 -0
  497. data/spec/support/reports/5ca817d21692604d643a1ec4b9d698f8.crf +0 -0
  498. data/spec/support/reports/60a48dd87c16aaba48705cfa1102e6f0.crf +0 -0
  499. data/spec/support/reports/61b93d5be434e58e8286bc24375df5a6.crf +0 -0
  500. data/spec/support/reports/62ae63c7a653ccc450a042c83be6272e.crf +0 -0
  501. data/spec/support/reports/6dfba35f84478f2f8740989650e5c9b2.crf +0 -0
  502. data/spec/support/reports/72d8ff7e33ea0a4fa3208de46060ecb4.crf +0 -0
  503. data/spec/support/reports/7e73587e8be563c70f2864bb9982d4ac.crf +0 -0
  504. data/spec/support/reports/8a20cd9e7ea1f083c463f85990e48b9d.crf +0 -0
  505. data/spec/support/reports/8e22c8f69d18bfdc387ac2e2c73fd994.crf +0 -0
  506. data/spec/support/reports/99de7d4c926e154d9df18bbb66044360.crf +0 -0
  507. data/spec/support/reports/a8cda3f125d6de78da7e601e17ae02e0.crf +0 -0
  508. data/spec/support/reports/aa6b3e0cabbfa8f622cc3faa5e70d82d.crf +0 -0
  509. data/spec/support/reports/ad7582cad690ca1f6ec5529766dacecd.crf +0 -0
  510. data/spec/support/reports/af253c3c9e54c7efc1eb19a1ba0bc45b.crf +0 -0
  511. data/spec/support/reports/b57af832ae733e1a4182138f8373029d.crf +0 -0
  512. data/spec/support/reports/c266644ae90cff19058101b06c2410bd.crf +0 -0
  513. data/spec/support/reports/c684686518f8bb5af1fc05632b2ee3a1.crf +0 -0
  514. data/spec/support/reports/d0de163911157b30b56076653a01bd04.crf +0 -0
  515. data/spec/support/reports/d11cb8c19f0ef398e393e461d48fab49.crf +0 -0
  516. data/spec/support/reports/d29486b6155119827e12d512f38cf1a5.crf +0 -0
  517. data/spec/support/reports/d6348fa0f269cef7861d8a55ccb817b8.crf +0 -0
  518. data/spec/support/reports/d68cddd22874664f66ea296768de93cb.crf +0 -0
  519. data/spec/support/reports/d73172a30f03f6e4f73e77a379876368.crf +0 -0
  520. data/spec/support/reports/e0113960b4015876416519d1e36c6174.crf +0 -0
  521. data/spec/support/reports/e684ad3b2061330bf8016b0cda4c8aeb.crf +0 -0
  522. data/spec/support/reports/e6bec3c23e6367f309a43b6faec6c1af.crf +0 -0
  523. data/spec/support/reports/eadbebf5e6e8a2b325cdc82a4a667d1a.crf +0 -0
  524. data/spec/support/reports/fe4ca4a133464c018e8405dd73064f04.crf +0 -0
  525. data/spec/support/reports/placeholder +0 -0
  526. data/spec/support/shared/application.rb +10 -0
  527. data/spec/support/shared/component/options/base.rb +187 -0
  528. data/spec/support/shared/component.rb +31 -0
  529. data/spec/support/shared/option_group.rb +98 -0
  530. data/spec/support/shared/support/cache.rb +419 -0
  531. data/spec/support/shared/support/filter.rb +143 -0
  532. data/spec/support/shared/system/platforms/base.rb +25 -0
  533. data/spec/support/shared/system/platforms/mixins/unix.rb +37 -0
  534. data/spec/support/snapshots/Cuboid 2021-11-28 11_34_27 +0200 7757c257352bfa7abdfc764fa978115c.csf +0 -0
  535. data/spec/support/snapshots/Cuboid 2021-11-28 11_34_41 +0200 30367c49c18c17b84f6cdbfad6fe8209.csf +0 -0
  536. data/spec/support/snapshots/Cuboid 2021-11-28 11_35_24 +0200 0faa83c7ec023eca9e68e959b2b6a991.csf +0 -0
  537. data/spec/support/snapshots/Cuboid 2021-11-28 11_35_38 +0200 e61c3dae449133e330c24f9d1d34bc17.csf +0 -0
  538. data/spec/support/snapshots/Cuboid 2021-11-28 11_45_36 +0200 ef5b013868ce241f47ebef4f0ee96d23.csf +0 -0
  539. data/spec/support/snapshots/Cuboid 2021-11-28 11_45_42 +0200 ae63b2e851a211039d4dfa999bfc1f79.csf +0 -0
  540. data/spec/support/snapshots/Cuboid 2021-11-28 11_45_45 +0200 59a5d8a5ef5de0937e0d8a697d3a06cb.csf +0 -0
  541. data/spec/support/snapshots/Cuboid 2021-12-26 08_10_45 +0200 7534324302d1127f33460417057c0d99.csf +0 -0
  542. data/spec/support/snapshots/Cuboid 2021-12-26 08_10_59 +0200 2e45425f623e46a876531b65ff3319d4.csf +0 -0
  543. data/spec/support/snapshots/Cuboid 2021-12-26 08_14_43 +0200 d570989be752d5e9f930379a7f861028.csf +0 -0
  544. data/spec/support/snapshots/Cuboid 2021-12-26 08_14_57 +0200 37fe4c6328f04448257e962065d49d05.csf +0 -0
  545. data/spec/support/snapshots/Cuboid 2021-12-26 08_25_10 +0200 728fc33e7947c9dc606d69d7b9202dbc.csf +0 -0
  546. data/spec/support/snapshots/Cuboid 2021-12-26 08_25_15 +0200 cde4edd9a05a4183ff301d157654cb30.csf +0 -0
  547. data/spec/support/snapshots/Cuboid 2021-12-26 08_25_17 +0200 e47c2b6d6354bca5f07fd2903aefd262.csf +0 -0
  548. data/spec/support/snapshots/placeholder +0 -0
  549. metadata +1222 -23
  550. data/.gitignore +0 -8
  551. data/bin/console +0 -15
  552. data/bin/setup +0 -8
@@ -0,0 +1,51 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIIJKAIBAAKCAgEAvSvk3+294jH4y+7DHlHWsW4rojy52OTOPs3nMWz8k2wcD/2l
3
+ V8R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U
38
+ XxQc+csmLwoyZsiLougOqAJtgvGg4TaKxrc2OVHS273aSkbh0cfmGco77psB+aAn
39
+ 6M2IXA0IIJoDE2zUP2yEh116iXIlWoyN/mGa9VLkKAKYZeIZOL1TH46MHDj3raWl
40
+ AQtRnT0CggEBAKx/SceWAIF7nyEEjxj+daCua99JNiB9jWd4Y+WLXyGSwVeSeKhj
41
+ 5tKlaGsPo7CQxIrdZgut1xKX3HLyi2u8hafuVcjTtZ11u/O3rkJyTS6/Uft+z3W4
42
+ sOC1A6idDh+EWUR398KwdWyfIs7AWY0Gr50dRoBnKv0h9CpKCe20/9x2INeCsgwv
43
+ D4j2fYDDN7nRt/4sO2IU5ZUBEHcRFjsj6M8Dh0IUbyU21Qle56H4KrSt1xa0dJLb
44
+ W1vaS8lOIWhMO5iG32shO90Vk06IhC2vJ1C/jRpAnJyT8XfwEW73hngrstdjyK/C
45
+ lD8GvxED3UpuLxDRrtuz3H13gNfqsotbGWsCggEAAnt56fTLGmTu9pdM3FtTEaLN
46
+ rmO9JbRDsxnXTN84hLci27HW0rU/AFGw+a6MHNiBNVfBqhMnZwPgAsNVf6TB//iE
47
+ FZTotJWcTHkbiBwpXvRHHQ0BwxKluDicLqzzvEW8fmiNVjDig2JeS/45r2x0S4M/
48
+ 3TVHK7A/vXQWvBgQi9a2ooViRjRXdhzlIkjNNsYieAwX7793Nw2KqZbHKXvelEOQ
49
+ I6nTIqNDZOZ7MmGKHnGpj4SIupCKdkalQgakkGFbpltsyKBC7gooHQuKjQsYnRgl
50
+ XzOy39QzIn0WF9AoyLg/W8yPsnhc1S5Ed6Lq8KL3HWV6a8n9QRSHVCX6dafBcg==
51
+ -----END RSA PRIVATE KEY-----
File without changes
@@ -0,0 +1,10 @@
1
+ require "#{fixtures_path}/mock_app"
2
+
3
+ shared_examples_for 'application' do
4
+
5
+ after(:each) { subject.reset }
6
+
7
+ subject { MockApp.unsafe }
8
+ let(:url) { web_server_url_for( :auditor ) }
9
+ let(:f_url) { web_server_url_for( :framework ) }
10
+ end
@@ -0,0 +1,187 @@
1
+ shared_examples_for 'component_option' do
2
+
3
+ let(:subject) do
4
+ described_class.new( :option_name,
5
+ description: 'Description',
6
+ required: true,
7
+ value: 'my value',
8
+ default: 'default value'
9
+ )
10
+ end
11
+
12
+ it "supports #{Cuboid::RPC::Serializer}" do
13
+ expect(subject).to eq(Cuboid::RPC::Serializer.deep_clone( subject ))
14
+ end
15
+
16
+ describe '#to_rpc_data' do
17
+ let(:data) { subject.to_rpc_data }
18
+
19
+ %w(name description default value type).each do |attribute|
20
+ it "includes '#{attribute}'" do
21
+ expect(data[attribute]).to eq(subject.send( attribute ))
22
+ end
23
+ end
24
+
25
+ it "includes 'class'" do
26
+ expect(data['class']).to eq(subject.class.to_s)
27
+ end
28
+
29
+ it "includes 'required'" do
30
+ expect(data['required']).to eq(subject.required?)
31
+ end
32
+ end
33
+
34
+ describe '.from_rpc_data' do
35
+ let(:restored) { described_class.from_rpc_data data }
36
+ let(:data) { Cuboid::RPC::Serializer.rpc_data( subject ) }
37
+
38
+ %w(name description default value type class).each do |attribute|
39
+ it "restores '#{attribute}'" do
40
+ expect(restored.send( attribute )).to eq(subject.send( attribute ))
41
+ end
42
+ end
43
+
44
+ it "restores 'required'" do
45
+ expect(restored.required?).to eq(subject.required?)
46
+ end
47
+ end
48
+
49
+ describe '#initialize' do
50
+ context 'when passed invalid options' do
51
+ it "raises #{ArgumentError}" do
52
+ expect { described_class.new( :myname, stuff: 1 ) }.to raise_error ArgumentError
53
+ end
54
+ end
55
+ end
56
+
57
+ describe '#name' do
58
+ it 'returns the name of the option' do
59
+ name = 'myname'
60
+ expect(described_class.new( name ).name).to eq(name.to_sym)
61
+ end
62
+ end
63
+
64
+ describe '#description' do
65
+ it 'returns the description' do
66
+ description = 'a description'
67
+ expect(described_class.new( '', description: description ).description).to eq(description)
68
+ end
69
+ end
70
+
71
+ describe '#default' do
72
+ it 'returns the default value' do
73
+ default = 'default value'
74
+ expect(described_class.new( '', default: default ).default).to eq(default)
75
+ end
76
+ end
77
+
78
+ describe '#required?' do
79
+ context 'when the option is mandatory' do
80
+ it 'returns true' do
81
+ expect(described_class.new( '', required: true ).required?).to be_truthy
82
+ end
83
+ end
84
+
85
+ context 'when the option is not mandatory' do
86
+ it 'returns false' do
87
+ expect(described_class.new( '', required: false ).required?).to be_falsey
88
+ end
89
+ end
90
+
91
+ context 'by default' do
92
+ it 'returns false' do
93
+ expect(described_class.new( '' ).required?).to be_falsey
94
+ end
95
+ end
96
+ end
97
+
98
+ describe '#missing_value?' do
99
+ context 'when the option is required' do
100
+ context 'and the value is not empty' do
101
+ it 'returns false' do
102
+ expect(described_class.new( '', required: true, value: 'stuff' ).missing_value?).to be_falsey
103
+ end
104
+ end
105
+
106
+ context 'and the value is nil' do
107
+ it 'returns true' do
108
+ expect(described_class.new( '', required: true ).missing_value?).to be_truthy
109
+ end
110
+ end
111
+ end
112
+
113
+ context 'when the option is not required' do
114
+ context 'and the value is not empty' do
115
+ it 'returns false' do
116
+ expect(described_class.new( '', value: 'true' ).missing_value?).to be_falsey
117
+ end
118
+ end
119
+
120
+ context 'and the value is empty' do
121
+ it 'returns false' do
122
+ expect(described_class.new( '' ).missing_value?).to be_falsey
123
+ end
124
+ end
125
+ end
126
+ end
127
+
128
+ describe '#value=' do
129
+ it 'sets #value' do
130
+ option = described_class.new( '' )
131
+ option.value = 1
132
+ expect(option.value).to eq(1)
133
+ end
134
+ end
135
+
136
+ describe '#value' do
137
+ it 'returns the set value' do
138
+ option = described_class.new( '' )
139
+ option.value = 1
140
+ expect(option.value).to eq(1)
141
+ end
142
+ end
143
+
144
+ describe '#effective_value' do
145
+ it 'returns the set value' do
146
+ option = described_class.new( '' )
147
+ option.value = 1
148
+ expect(option.value).to eq(1)
149
+ end
150
+ end
151
+
152
+ describe '#effective_value' do
153
+ it 'returns the value as is' do
154
+ expect(described_class.new( '', value: 'blah' ).effective_value).to eq('blah')
155
+ end
156
+
157
+ context 'when no #value is set' do
158
+ it 'returns #default' do
159
+ expect(described_class.new( '', default: 'test' ).effective_value).to eq('test')
160
+ end
161
+ end
162
+ end
163
+
164
+ describe '#to_h' do
165
+ let(:option) do
166
+ described_class.new( :my_name,
167
+ description: 'My description',
168
+ required: true,
169
+ default: 'stuff'
170
+ )
171
+ end
172
+
173
+ %w(name description value default type).each do |m|
174
+ it "includes :#{m}" do
175
+ expect(option.to_h[m.to_sym]).to eq(option.send(m))
176
+ end
177
+ end
178
+
179
+ it 'includes :required' do
180
+ expect(option.to_h[:required]).to eq(option.required?)
181
+ end
182
+
183
+ it 'is aliased to #to_hash' do
184
+ expect(option.to_hash).to eq(option.to_h)
185
+ end
186
+ end
187
+ end
@@ -0,0 +1,31 @@
1
+ shared_examples_for "component" do
2
+
3
+ before :all do
4
+ @name = self.class.metadata[:example_group][:description]
5
+ end
6
+
7
+ let(:name) { @name }
8
+ let(:component_name) { name }
9
+ let(:framework) { Cuboid::Framework.unsafe }
10
+ let(:session) { framework.session }
11
+ let(:http) { Cuboid::HTTP::Client }
12
+ let(:options) { Cuboid::Options }
13
+
14
+ def self.use_https
15
+ @use_https = true
16
+ end
17
+
18
+ def url
19
+ @url ||= web_server_url_for( @use_https ? "#{name}_https" : name ) + '/'
20
+ rescue
21
+ raise "Could not find server for '#{name}' component."
22
+ end
23
+
24
+ def yaml_load( yaml )
25
+ YAML.load yaml.gsub( '__URL__', url )
26
+ end
27
+
28
+ def run
29
+ framework.run
30
+ end
31
+ end
@@ -0,0 +1,98 @@
1
+ shared_examples_for 'option_group' do
2
+ it { is_expected.to respond_to :to_h }
3
+
4
+ describe '#to_rpc_data' do
5
+ let(:data) { subject.to_rpc_data }
6
+
7
+ it 'converts self to a serializable hash' do
8
+ expect(data).to be_kind_of Hash
9
+
10
+ expect(Cuboid::RPC::Serializer.load(
11
+ Cuboid::RPC::Serializer.dump( data )
12
+ )).to eq(data)
13
+ end
14
+ end
15
+
16
+ described_class.defaults.each do |k, v|
17
+ describe "##{k}" do
18
+ it "defaults to #{v}" do
19
+ expect(subject.instance_variable_get( "@#{k}".to_sym )).to eq(v)
20
+ expect(subject.send( k )).to eq(v)
21
+ end
22
+ end
23
+ end
24
+
25
+ it 'honors default values for attributes' do
26
+ subject.defaults.each do |k, v|
27
+ subject.send "#{k}=", nil
28
+ expect(subject.instance_variable_get( "@#{k}".to_sym )).to eq(v)
29
+ expect(subject.send( k )).to eq(v)
30
+ end
31
+ end
32
+
33
+ describe '#to_hash' do
34
+ it 'returns a hash' do
35
+ expect(subject.to_hash).to be_kind_of Hash
36
+ end
37
+ end
38
+
39
+ describe '#to_h' do
40
+ it 'returns a hash' do
41
+ expect(subject.to_h).to be_kind_of Hash
42
+ end
43
+
44
+ it 'only includes attributes with accessors' do
45
+ method = subject.methods.find { |m| m.to_s.end_with? '=' }
46
+ if method == :=== || method == :==
47
+ expect(subject.to_h).to be_empty
48
+ next
49
+ end
50
+
51
+ subject.send( method, subject.defaults[method.to_s[0..-1].to_sym] )
52
+
53
+ hash = subject.to_h
54
+ expect(hash).to be_any
55
+ hash.each do |k, v|
56
+ expect(subject).to respond_to "#{k}="
57
+ end
58
+ end
59
+ end
60
+
61
+ describe '#update' do
62
+ it 'updates self with the values of the given hash' do
63
+ method = subject.methods.find { |m| m.to_s.end_with? '=' }
64
+ next if method == :=== || method == :==
65
+
66
+ method = method.to_s[0...-1].to_sym
67
+ value = subject.defaults[method.to_s[0..-1].to_sym]
68
+
69
+ subject.update( { method => value } )
70
+ expect(subject.send( method )).to eq(value)
71
+ end
72
+
73
+ it 'returns self' do
74
+ expect(subject.update({})).to eq(subject)
75
+ end
76
+ end
77
+
78
+ describe '#merge' do
79
+ it 'updates self with the values of the given OptionGroup' do
80
+ method = subject.methods.find { |m| m.to_s.end_with? '=' }
81
+ next if method == :=== || method == :==
82
+
83
+ method = method.to_s[0...-1].to_sym
84
+ value = subject.defaults[method.to_s[0..-1].to_sym]
85
+
86
+ group = described_class.new
87
+ group.update( { method => value } )
88
+
89
+ subject.merge( group )
90
+ expect(subject.send( method )).to eq(value)
91
+ end
92
+
93
+ it 'returns self' do
94
+ group = described_class.new
95
+ expect(subject.merge( group )).to eq(subject)
96
+ end
97
+ end
98
+ end