rvt 0.9.9

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 (88) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +25 -0
  4. data/app/assets/javascripts/rvt/application.js +1 -0
  5. data/app/assets/javascripts/rvt/console_sessions.js +182 -0
  6. data/app/assets/stylesheets/rvt/application.css +13 -0
  7. data/app/assets/stylesheets/rvt/console_sessions.css.erb +6 -0
  8. data/app/controllers/rvt/application_controller.rb +13 -0
  9. data/app/controllers/rvt/console_sessions_controller.rb +47 -0
  10. data/app/models/rvt/console_session.rb +109 -0
  11. data/app/views/layouts/rvt/application.html.erb +14 -0
  12. data/app/views/rvt/console_sessions/index.html.erb +17 -0
  13. data/config/routes.rb +11 -0
  14. data/lib/assets/javascripts/rvt.js +41 -0
  15. data/lib/rvt.rb +21 -0
  16. data/lib/rvt/colors.rb +87 -0
  17. data/lib/rvt/colors/light.rb +24 -0
  18. data/lib/rvt/colors/monokai.rb +24 -0
  19. data/lib/rvt/colors/solarized.rb +47 -0
  20. data/lib/rvt/colors/tango.rb +24 -0
  21. data/lib/rvt/colors/xterm.rb +24 -0
  22. data/lib/rvt/engine.rb +85 -0
  23. data/lib/rvt/slave.rb +147 -0
  24. data/lib/rvt/version.rb +3 -0
  25. data/test/controllers/rvt/console_sessions_controller_test.rb +100 -0
  26. data/test/dummy/Rakefile +6 -0
  27. data/test/dummy/app/assets/javascripts/application.js +13 -0
  28. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  29. data/test/dummy/app/controllers/application_controller.rb +5 -0
  30. data/test/dummy/app/helpers/application_helper.rb +2 -0
  31. data/test/dummy/app/views/controller_helper_test/index.html.erb +1 -0
  32. data/test/dummy/app/views/exception_test/xhr.html.erb +1 -0
  33. data/test/dummy/app/views/helper_test/index.html.erb +220 -0
  34. data/test/dummy/app/views/layouts/application.html.erb +16 -0
  35. data/test/dummy/bin/bundle +3 -0
  36. data/test/dummy/bin/rails +4 -0
  37. data/test/dummy/bin/rake +4 -0
  38. data/test/dummy/config.ru +4 -0
  39. data/test/dummy/config/application.rb +44 -0
  40. data/test/dummy/config/boot.rb +5 -0
  41. data/test/dummy/config/database.yml +25 -0
  42. data/test/dummy/config/environment.rb +5 -0
  43. data/test/dummy/config/environments/development.rb +29 -0
  44. data/test/dummy/config/environments/production.rb +80 -0
  45. data/test/dummy/config/environments/test.rb +34 -0
  46. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/test/dummy/config/initializers/inflections.rb +16 -0
  49. data/test/dummy/config/initializers/mime_types.rb +5 -0
  50. data/test/dummy/config/initializers/secret_token.rb +12 -0
  51. data/test/dummy/config/initializers/session_store.rb +3 -0
  52. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/test/dummy/config/locales/en.yml +23 -0
  54. data/test/dummy/config/routes.rb +2 -0
  55. data/test/dummy/db/development.sqlite3 +0 -0
  56. data/test/dummy/db/schema.rb +16 -0
  57. data/test/dummy/db/test.sqlite3 +0 -0
  58. data/test/dummy/log/development.log +247222 -0
  59. data/test/dummy/log/test.log +963 -0
  60. data/test/dummy/public/404.html +58 -0
  61. data/test/dummy/public/422.html +58 -0
  62. data/test/dummy/public/500.html +57 -0
  63. data/test/dummy/public/favicon.ico +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/0509a6e0e75d9ac5a88bba7291b04686 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/2bd9d10dae311aa2dfb6dea9c1e0ad50 +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/2f41a6a41d0a16db31cabd2b8689ca00 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/4de66e84a0d6f009fac50cd608fb8581 +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/56e8026311075410507152df2aea4307 +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/9542de15712d45f70221931bf78c00e5 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/98cea396a602c53d876e79bf4b89de3b +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/9df3968b0f171feec749766fffa50b2e +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/aa5fc4cb46c5294192c9d3af8824f88b +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/ac7197dc7dd9ab362d915d19e37a8e01 +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/b238befd6eff46b26d56322c1450ea45 +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/c69b8b79c21fd48ad84c3fad87945a5c +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/da4318a4d8364d0616edd706508371bc +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/dd71b14df42fd6dc95355cded9e4d0f9 +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/eb06cae1627276e46965809e766aff13 +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/edffb5017d27ddb65965203636286405 +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/f0ced5f3d4a75fce1c596d6c3f97a42d +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/fb9e611526e612ba797f0c11b987826b +0 -0
  82. data/test/models/console_session_test.rb +58 -0
  83. data/test/rvt/colors_test.rb +58 -0
  84. data/test/rvt/engine_test.rb +145 -0
  85. data/test/rvt/slave_test.rb +72 -0
  86. data/test/test_helper.rb +27 -0
  87. data/vendor/assets/javascripts/term.js +5771 -0
  88. metadata +284 -0
@@ -0,0 +1,963 @@
1
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
3
+  (0.1ms) select sqlite_version(*)
4
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT version FROM "schema_migrations"
6
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
7
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
+  (0.1ms) begin transaction
9
+ -------------------------------------------------------------
10
+ RVT::ColorsTest: test_#background=_is_an_alias_of_#background
11
+ -------------------------------------------------------------
12
+  (0.0ms) rollback transaction
13
+  (0.0ms) begin transaction
14
+ -------------------------------------------------------------
15
+ RVT::ColorsTest: test_#background_can_be_explicitly_specified
16
+ -------------------------------------------------------------
17
+  (0.0ms) rollback transaction
18
+  (0.0ms) begin transaction
19
+ ---------------------------------------------------------------------
20
+ RVT::ColorsTest: test_#background_is_the_first_color_if_not_specified
21
+ ---------------------------------------------------------------------
22
+  (0.0ms) rollback transaction
23
+  (0.0ms) begin transaction
24
+ ----------------------------------------
25
+ RVT::ColorsTest: test_#default_is_:light
26
+ ----------------------------------------
27
+  (0.0ms) rollback transaction
28
+  (0.0ms) begin transaction
29
+ -------------------------------------------------------------
30
+ RVT::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
31
+ -------------------------------------------------------------
32
+  (0.0ms) rollback transaction
33
+  (0.0ms) begin transaction
34
+ -------------------------------------------------------------
35
+ RVT::ColorsTest: test_#foreground_can_be_explicitly_specified
36
+ -------------------------------------------------------------
37
+  (0.0ms) rollback transaction
38
+  (0.0ms) begin transaction
39
+ --------------------------------------------------------------------
40
+ RVT::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
41
+ --------------------------------------------------------------------
42
+  (0.0ms) rollback transaction
43
+  (0.0ms) begin transaction
44
+ -------------------------------------------------------------------------
45
+ RVT::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
46
+ -------------------------------------------------------------------------
47
+  (0.0ms) rollback transaction
48
+  (0.0ms) begin transaction
49
+ ----------------------------------------------------
50
+ RVT::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
51
+ ----------------------------------------------------
52
+  (0.0ms) rollback transaction
53
+  (0.0ms) begin transaction
54
+ ---------------------------------------------------------------------------
55
+ RVT::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
56
+ ---------------------------------------------------------------------------
57
+  (0.0ms) rollback transaction
58
+  (0.0ms) begin transaction
59
+ -------------------------------------------------------------------------------
60
+ RVT::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
61
+ -------------------------------------------------------------------------------
62
+  (0.0ms) rollback transaction
63
+  (0.1ms) begin transaction
64
+ -------------------------------------------------------------------
65
+ RVT::ConsoleSessionTest: test_create_gives_already_persisted_models
66
+ -------------------------------------------------------------------
67
+  (0.0ms) rollback transaction
68
+  (0.0ms) begin transaction
69
+ -----------------------------------------
70
+ RVT::ConsoleSessionTest: test_errors_aref
71
+ -----------------------------------------
72
+  (0.0ms) rollback transaction
73
+  (0.0ms) begin transaction
74
+ ----------------------------------------------
75
+ RVT::ConsoleSessionTest: test_find_coerces_ids
76
+ ----------------------------------------------
77
+  (0.0ms) rollback transaction
78
+  (0.0ms) begin transaction
79
+ ------------------------------------------
80
+ RVT::ConsoleSessionTest: test_model_naming
81
+ ------------------------------------------
82
+  (0.1ms) rollback transaction
83
+  (0.0ms) begin transaction
84
+ -----------------------------------------------------------
85
+ RVT::ConsoleSessionTest: test_no_gives_not_persisted_models
86
+ -----------------------------------------------------------
87
+  (0.0ms) rollback transaction
88
+  (0.0ms) begin transaction
89
+ ------------------------------------------------------------------------
90
+ RVT::ConsoleSessionTest: test_not_found_exceptions_are_JSON_serializable
91
+ ------------------------------------------------------------------------
92
+  (0.0ms) rollback transaction
93
+  (0.0ms) begin transaction
94
+ ----------------------------------------
95
+ RVT::ConsoleSessionTest: test_persisted?
96
+ ----------------------------------------
97
+  (0.0ms) rollback transaction
98
+  (0.1ms) begin transaction
99
+ ---------------------------------------------------------------------
100
+ RVT::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
101
+ ---------------------------------------------------------------------
102
+  (0.0ms) rollback transaction
103
+  (0.0ms) begin transaction
104
+ ----------------------------------------------------------------------------
105
+ RVT::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
106
+ ----------------------------------------------------------------------------
107
+  (0.0ms) rollback transaction
108
+  (0.0ms) begin transaction
109
+ --------------------------------------------------------------------------------------
110
+ RVT::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
111
+ --------------------------------------------------------------------------------------
112
+  (0.0ms) rollback transaction
113
+  (0.0ms) begin transaction
114
+ -----------------------------------------------------------------------
115
+ RVT::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
116
+ -----------------------------------------------------------------------
117
+  (0.0ms) rollback transaction
118
+  (0.0ms) begin transaction
119
+ ------------------------------------
120
+ RVT::ConsoleSessionTest: test_to_key
121
+ ------------------------------------
122
+  (0.0ms) rollback transaction
123
+  (0.0ms) begin transaction
124
+ --------------------------------------
125
+ RVT::ConsoleSessionTest: test_to_param
126
+ --------------------------------------
127
+  (0.0ms) rollback transaction
128
+  (0.0ms) begin transaction
129
+ ---------------------------------------------
130
+ RVT::ConsoleSessionTest: test_to_partial_path
131
+ ---------------------------------------------
132
+  (0.0ms) rollback transaction
133
+  (0.1ms) begin transaction
134
+ ----------------------------------------------------------------------
135
+ RVT::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
136
+ ----------------------------------------------------------------------
137
+  (0.2ms) begin transaction
138
+ -----------------------------------------------
139
+ RVT::EngineTest: test_custom_default_mount_path
140
+ -----------------------------------------------
141
+  (0.2ms) begin transaction
142
+ --------------------------------------------
143
+ RVT::EngineTest: test_disabling_automounting
144
+ --------------------------------------------
145
+  (0.2ms) begin transaction
146
+ --------------------------------------------------------
147
+ RVT::EngineTest: test_present_commands_are_not_processed
148
+ --------------------------------------------------------
149
+  (0.3ms) begin transaction
150
+ -------------------------------------------------
151
+ RVT::EngineTest: test_whitelist_multiple_networks
152
+ -------------------------------------------------
153
+  (0.2ms) begin transaction
154
+ ----------------------------------------------
155
+ RVT::EngineTest: test_whitelist_whole_networks
156
+ ----------------------------------------------
157
+  (0.2ms) begin transaction
158
+ ----------------------------------------------------------------
159
+ RVT::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
160
+ ----------------------------------------------------------------
161
+  (0.2ms) begin transaction
162
+ ----------------------------------------------------------------
163
+ RVT::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
164
+ ----------------------------------------------------------------
165
+  (0.2ms) begin transaction
166
+ -----------------------------------------------------------
167
+ RVT::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
168
+ -----------------------------------------------------------
169
+  (0.2ms) begin transaction
170
+ ----------------------------------------------------------------------
171
+ RVT::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
172
+ ----------------------------------------------------------------------
173
+  (0.2ms) begin transaction
174
+ -----------------------------------------------------------------
175
+ RVT::EngineTest: test_whitelisted_ips_with_IPv6_format_as_default
176
+ -----------------------------------------------------------------
177
+  (0.2ms) begin transaction
178
+ ---------------------------------------------------------
179
+ RVT::SlaveTest: test_#configure_changes_@input_dimentions
180
+ ---------------------------------------------------------
181
+  (0.1ms) rollback transaction
182
+  (0.0ms) begin transaction
183
+ ------------------------------------------------------------------------------------
184
+ RVT::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
185
+ ------------------------------------------------------------------------------------
186
+  (0.0ms) rollback transaction
187
+  (0.0ms) begin transaction
188
+ -----------------------------------------------------------------------------------
189
+ RVT::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
190
+ -----------------------------------------------------------------------------------
191
+  (0.0ms) rollback transaction
192
+  (0.0ms) begin transaction
193
+ --------------------------------------------------------------------
194
+ RVT::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
195
+ --------------------------------------------------------------------
196
+  (0.0ms) rollback transaction
197
+  (0.0ms) begin transaction
198
+ ---------------------------------------------------------------------------
199
+ RVT::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
200
+ ---------------------------------------------------------------------------
201
+  (0.0ms) rollback transaction
202
+  (0.0ms) begin transaction
203
+ -------------------------------------------------------------------
204
+ RVT::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
205
+ -------------------------------------------------------------------
206
+  (0.0ms) rollback transaction
207
+  (0.0ms) begin transaction
208
+ --------------------------------------------------------------------------
209
+ RVT::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
210
+ --------------------------------------------------------------------------
211
+  (0.0ms) rollback transaction
212
+  (0.0ms) begin transaction
213
+ -------------------------------------------------------------------
214
+ RVT::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
215
+ -------------------------------------------------------------------
216
+  (0.0ms) rollback transaction
217
+  (0.0ms) begin transaction
218
+ --------------------------------------------------------------------------------------
219
+ RVT::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
220
+ --------------------------------------------------------------------------------------
221
+  (0.0ms) rollback transaction
222
+  (0.0ms) begin transaction
223
+ ----------------------------------------------------------------------------------------
224
+ RVT::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
225
+ ----------------------------------------------------------------------------------------
226
+  (0.0ms) rollback transaction
227
+  (0.0ms) begin transaction
228
+ -----------------------------------------------------------------------------
229
+ RVT::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
230
+ -----------------------------------------------------------------------------
231
+  (0.0ms) rollback transaction
232
+  (0.0ms) begin transaction
233
+ ---------------------------------------------------------------------
234
+ RVT::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
235
+ ---------------------------------------------------------------------
236
+  (0.0ms) rollback transaction
237
+  (0.0ms) begin transaction
238
+ ------------------------------------------------------------------
239
+ RVT::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
240
+ ------------------------------------------------------------------
241
+  (0.0ms) rollback transaction
242
+  (0.0ms) begin transaction
243
+ ------------------------------------------------------------------------------
244
+ RVT::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
245
+ ------------------------------------------------------------------------------
246
+  (0.1ms) rollback transaction
247
+  (0.0ms) begin transaction
248
+ ------------------------------------------------------------------------------------------
249
+ RVT::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
250
+ ------------------------------------------------------------------------------------------
251
+  (0.0ms) rollback transaction
252
+  (0.0ms) begin transaction
253
+ -------------------------------------------------------------------------------------------------
254
+ RVT::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
255
+ -------------------------------------------------------------------------------------------------
256
+  (0.0ms) rollback transaction
257
+  (0.0ms) begin transaction
258
+ -----------------------------------------------------------------------------------
259
+ RVT::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
260
+ -----------------------------------------------------------------------------------
261
+  (0.0ms) rollback transaction
262
+  (0.0ms) begin transaction
263
+ ---------------------------------------------------------------------------
264
+ RVT::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
265
+ ---------------------------------------------------------------------------
266
+  (0.0ms) rollback transaction
267
+  (0.0ms) begin transaction
268
+ ------------------------------------------------------------------------------
269
+ RVT::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
270
+ ------------------------------------------------------------------------------
271
+  (0.0ms) rollback transaction
272
+  (0.0ms) begin transaction
273
+ -----------------------------------------------------------------------------
274
+ RVT::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
275
+ -----------------------------------------------------------------------------
276
+  (0.0ms) rollback transaction
277
+  (0.0ms) begin transaction
278
+ ---------------------------------------------------------------------------------
279
+ RVT::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
280
+ ---------------------------------------------------------------------------------
281
+  (0.0ms) rollback transaction
282
+  (0.0ms) begin transaction
283
+ -------------------------------------------------------------
284
+ RVT::ConsoleSessionsControllerTest: test_index_generated_path
285
+ -------------------------------------------------------------
286
+  (0.0ms) rollback transaction
287
+  (0.0ms) begin transaction
288
+ ------------------------------------------------------------
289
+ RVT::ConsoleSessionsControllerTest: test_index_is_successful
290
+ ------------------------------------------------------------
291
+  (0.0ms) rollback transaction
292
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
293
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
294
+  (0.0ms) select sqlite_version(*)
295
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
296
+  (0.1ms) SELECT version FROM "schema_migrations"
297
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
298
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
299
+  (0.1ms) begin transaction
300
+ ----------------------------------------------------------------------
301
+ RVT::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
302
+ ----------------------------------------------------------------------
303
+  (0.3ms) begin transaction
304
+ -----------------------------------------------
305
+ RVT::EngineTest: test_custom_default_mount_path
306
+ -----------------------------------------------
307
+  (0.2ms) begin transaction
308
+ --------------------------------------------
309
+ RVT::EngineTest: test_disabling_automounting
310
+ --------------------------------------------
311
+  (0.2ms) begin transaction
312
+ --------------------------------------------------------
313
+ RVT::EngineTest: test_present_commands_are_not_processed
314
+ --------------------------------------------------------
315
+  (0.3ms) begin transaction
316
+ -------------------------------------------------
317
+ RVT::EngineTest: test_whitelist_multiple_networks
318
+ -------------------------------------------------
319
+  (0.2ms) begin transaction
320
+ ----------------------------------------------
321
+ RVT::EngineTest: test_whitelist_whole_networks
322
+ ----------------------------------------------
323
+  (0.2ms) begin transaction
324
+ ----------------------------------------------------------------
325
+ RVT::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
326
+ ----------------------------------------------------------------
327
+  (0.2ms) begin transaction
328
+ ----------------------------------------------------------------
329
+ RVT::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
330
+ ----------------------------------------------------------------
331
+  (0.2ms) begin transaction
332
+ -----------------------------------------------------------
333
+ RVT::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
334
+ -----------------------------------------------------------
335
+  (0.2ms) begin transaction
336
+ ----------------------------------------------------------------------
337
+ RVT::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
338
+ ----------------------------------------------------------------------
339
+  (0.2ms) begin transaction
340
+ -----------------------------------------------------------------
341
+ RVT::EngineTest: test_whitelisted_ips_with_IPv6_format_as_default
342
+ -----------------------------------------------------------------
343
+  (0.2ms) begin transaction
344
+ ---------------------------------------------------------
345
+ RVT::SlaveTest: test_#configure_changes_@input_dimentions
346
+ ---------------------------------------------------------
347
+  (0.0ms) rollback transaction
348
+  (0.0ms) begin transaction
349
+ ------------------------------------------------------------------------------------
350
+ RVT::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
351
+ ------------------------------------------------------------------------------------
352
+  (0.0ms) rollback transaction
353
+  (0.0ms) begin transaction
354
+ -----------------------------------------------------------------------------------
355
+ RVT::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
356
+ -----------------------------------------------------------------------------------
357
+  (0.0ms) rollback transaction
358
+  (0.0ms) begin transaction
359
+ --------------------------------------------------------------------
360
+ RVT::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
361
+ --------------------------------------------------------------------
362
+  (0.0ms) rollback transaction
363
+  (0.0ms) begin transaction
364
+ ---------------------------------------------------------------------------
365
+ RVT::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
366
+ ---------------------------------------------------------------------------
367
+  (0.0ms) rollback transaction
368
+  (0.0ms) begin transaction
369
+ -------------------------------------------------------------------
370
+ RVT::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
371
+ -------------------------------------------------------------------
372
+  (0.0ms) rollback transaction
373
+  (0.0ms) begin transaction
374
+ --------------------------------------------------------------------------
375
+ RVT::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
376
+ --------------------------------------------------------------------------
377
+  (0.0ms) rollback transaction
378
+  (0.0ms) begin transaction
379
+ -------------------------------------------------------------------
380
+ RVT::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
381
+ -------------------------------------------------------------------
382
+  (0.0ms) rollback transaction
383
+  (0.0ms) begin transaction
384
+ --------------------------------------------------------------------------------------
385
+ RVT::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
386
+ --------------------------------------------------------------------------------------
387
+  (0.0ms) rollback transaction
388
+  (0.0ms) begin transaction
389
+ ----------------------------------------------------------------------------------------
390
+ RVT::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
391
+ ----------------------------------------------------------------------------------------
392
+  (0.0ms) rollback transaction
393
+  (0.0ms) begin transaction
394
+ -----------------------------------------------------------------------------
395
+ RVT::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
396
+ -----------------------------------------------------------------------------
397
+  (0.1ms) rollback transaction
398
+  (0.0ms) begin transaction
399
+ ---------------------------------------------------------------------
400
+ RVT::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
401
+ ---------------------------------------------------------------------
402
+  (0.0ms) rollback transaction
403
+  (0.0ms) begin transaction
404
+ ------------------------------------------------------------------
405
+ RVT::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
406
+ ------------------------------------------------------------------
407
+  (0.0ms) rollback transaction
408
+  (0.0ms) begin transaction
409
+ -------------------------------------------------------------------------------
410
+ RVT::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
411
+ -------------------------------------------------------------------------------
412
+  (0.0ms) rollback transaction
413
+  (0.1ms) begin transaction
414
+ -------------------------------------------------------------------
415
+ RVT::ConsoleSessionTest: test_create_gives_already_persisted_models
416
+ -------------------------------------------------------------------
417
+  (0.0ms) rollback transaction
418
+  (0.0ms) begin transaction
419
+ -----------------------------------------
420
+ RVT::ConsoleSessionTest: test_errors_aref
421
+ -----------------------------------------
422
+  (0.1ms) rollback transaction
423
+  (0.1ms) begin transaction
424
+ ----------------------------------------------
425
+ RVT::ConsoleSessionTest: test_find_coerces_ids
426
+ ----------------------------------------------
427
+  (0.0ms) rollback transaction
428
+  (0.0ms) begin transaction
429
+ ------------------------------------------
430
+ RVT::ConsoleSessionTest: test_model_naming
431
+ ------------------------------------------
432
+  (0.1ms) rollback transaction
433
+  (0.0ms) begin transaction
434
+ -----------------------------------------------------------
435
+ RVT::ConsoleSessionTest: test_no_gives_not_persisted_models
436
+ -----------------------------------------------------------
437
+  (0.0ms) rollback transaction
438
+  (0.0ms) begin transaction
439
+ ------------------------------------------------------------------------
440
+ RVT::ConsoleSessionTest: test_not_found_exceptions_are_JSON_serializable
441
+ ------------------------------------------------------------------------
442
+  (0.0ms) rollback transaction
443
+  (0.0ms) begin transaction
444
+ ----------------------------------------
445
+ RVT::ConsoleSessionTest: test_persisted?
446
+ ----------------------------------------
447
+  (0.0ms) rollback transaction
448
+  (0.0ms) begin transaction
449
+ ---------------------------------------------------------------------
450
+ RVT::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
451
+ ---------------------------------------------------------------------
452
+  (0.0ms) rollback transaction
453
+  (0.0ms) begin transaction
454
+ ----------------------------------------------------------------------------
455
+ RVT::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
456
+ ----------------------------------------------------------------------------
457
+  (0.0ms) rollback transaction
458
+  (0.0ms) begin transaction
459
+ --------------------------------------------------------------------------------------
460
+ RVT::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
461
+ --------------------------------------------------------------------------------------
462
+  (0.0ms) rollback transaction
463
+  (0.0ms) begin transaction
464
+ -----------------------------------------------------------------------
465
+ RVT::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
466
+ -----------------------------------------------------------------------
467
+  (0.1ms) rollback transaction
468
+  (0.0ms) begin transaction
469
+ ------------------------------------
470
+ RVT::ConsoleSessionTest: test_to_key
471
+ ------------------------------------
472
+  (0.0ms) rollback transaction
473
+  (0.0ms) begin transaction
474
+ --------------------------------------
475
+ RVT::ConsoleSessionTest: test_to_param
476
+ --------------------------------------
477
+  (0.0ms) rollback transaction
478
+  (0.0ms) begin transaction
479
+ ---------------------------------------------
480
+ RVT::ConsoleSessionTest: test_to_partial_path
481
+ ---------------------------------------------
482
+  (0.0ms) rollback transaction
483
+  (0.0ms) begin transaction
484
+ ------------------------------------------------------------------------------
485
+ RVT::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
486
+ ------------------------------------------------------------------------------
487
+ Processing by RVT::ConsoleSessionsController#index as HTML
488
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (39.8ms)
489
+ Completed 200 OK in 75ms (Views: 73.3ms | ActiveRecord: 0.0ms)
490
+  (0.1ms) rollback transaction
491
+  (0.0ms) begin transaction
492
+ ------------------------------------------------------------------------------------------
493
+ RVT::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
494
+ ------------------------------------------------------------------------------------------
495
+ Processing by RVT::ConsoleSessionsController#index as HTML
496
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (5.6ms)
497
+ Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.0ms)
498
+ Processing by RVT::ConsoleSessionsController#pending_output as HTML
499
+ Parameters: {"id"=>"17494", "uid"=>"4202677a38c433a23da3e66613f2364e"}
500
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
501
+  (0.1ms) rollback transaction
502
+  (0.0ms) begin transaction
503
+ -------------------------------------------------------------------------------------------------
504
+ RVT::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
505
+ -------------------------------------------------------------------------------------------------
506
+ Processing by RVT::ConsoleSessionsController#index as HTML
507
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (4.8ms)
508
+ Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms)
509
+ Processing by RVT::ConsoleSessionsController#pending_output as HTML
510
+ Parameters: {"id"=>"1332", "uid"=>"a3ff3f564fd5495ae8c7173e3f6838d3"}
511
+ Completed 410 Gone in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
512
+  (0.1ms) rollback transaction
513
+  (0.0ms) begin transaction
514
+ -----------------------------------------------------------------------------------
515
+ RVT::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
516
+ -----------------------------------------------------------------------------------
517
+ Processing by RVT::ConsoleSessionsController#index as HTML
518
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (5.0ms)
519
+ Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)
520
+ Processing by RVT::ConsoleSessionsController#configuration as HTML
521
+ Parameters: {"id"=>"5834", "uid"=>"93b1f64736f9cec3d736a10bf646892a", "width"=>"80", "height"=>"24"}
522
+ Rendered text template (0.0ms)
523
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
524
+  (0.1ms) rollback transaction
525
+  (0.0ms) begin transaction
526
+ ---------------------------------------------------------------------------
527
+ RVT::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
528
+ ---------------------------------------------------------------------------
529
+ Processing by RVT::ConsoleSessionsController#index as HTML
530
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (5.0ms)
531
+ Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms)
532
+ Processing by RVT::ConsoleSessionsController#input as HTML
533
+ Parameters: {"input"=>" ", "id"=>"8209", "uid"=>"347011068dd8da46415f5dc567e34f32"}
534
+ Rendered text template (0.0ms)
535
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
536
+  (0.1ms) rollback transaction
537
+  (0.0ms) begin transaction
538
+ ------------------------------------------------------------------------------
539
+ RVT::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
540
+ ------------------------------------------------------------------------------
541
+ Processing by RVT::ConsoleSessionsController#index as HTML
542
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (4.9ms)
543
+ Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms)
544
+ Processing by RVT::ConsoleSessionsController#input as HTML
545
+ Parameters: {"id"=>"19741", "uid"=>"d9e0354c4501083bf23a18e38c9e55f9"}
546
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
547
+  (0.1ms) rollback transaction
548
+  (0.0ms) begin transaction
549
+ -----------------------------------------------------------------------------
550
+ RVT::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
551
+ -----------------------------------------------------------------------------
552
+ Processing by RVT::ConsoleSessionsController#index as HTML
553
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (5.1ms)
554
+ Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)
555
+  (0.1ms) rollback transaction
556
+  (0.1ms) begin transaction
557
+ ---------------------------------------------------------------------------------
558
+ RVT::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
559
+ ---------------------------------------------------------------------------------
560
+ Processing by RVT::ConsoleSessionsController#index as HTML
561
+ Rendered text template (0.0ms)
562
+ Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
563
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
564
+  (0.0ms) rollback transaction
565
+  (0.1ms) begin transaction
566
+ -------------------------------------------------------------
567
+ RVT::ConsoleSessionsControllerTest: test_index_generated_path
568
+ -------------------------------------------------------------
569
+  (0.0ms) rollback transaction
570
+  (0.0ms) begin transaction
571
+ ------------------------------------------------------------
572
+ RVT::ConsoleSessionsControllerTest: test_index_is_successful
573
+ ------------------------------------------------------------
574
+ Processing by RVT::ConsoleSessionsController#index as HTML
575
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (5.1ms)
576
+ Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.0ms)
577
+  (0.1ms) rollback transaction
578
+  (0.0ms) begin transaction
579
+ -------------------------------------------------------------
580
+ RVT::ColorsTest: test_#background=_is_an_alias_of_#background
581
+ -------------------------------------------------------------
582
+  (0.0ms) rollback transaction
583
+  (0.0ms) begin transaction
584
+ -------------------------------------------------------------
585
+ RVT::ColorsTest: test_#background_can_be_explicitly_specified
586
+ -------------------------------------------------------------
587
+  (0.0ms) rollback transaction
588
+  (0.0ms) begin transaction
589
+ ---------------------------------------------------------------------
590
+ RVT::ColorsTest: test_#background_is_the_first_color_if_not_specified
591
+ ---------------------------------------------------------------------
592
+  (0.0ms) rollback transaction
593
+  (0.0ms) begin transaction
594
+ ----------------------------------------
595
+ RVT::ColorsTest: test_#default_is_:light
596
+ ----------------------------------------
597
+  (0.0ms) rollback transaction
598
+  (0.0ms) begin transaction
599
+ -------------------------------------------------------------
600
+ RVT::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
601
+ -------------------------------------------------------------
602
+  (0.0ms) rollback transaction
603
+  (0.0ms) begin transaction
604
+ -------------------------------------------------------------
605
+ RVT::ColorsTest: test_#foreground_can_be_explicitly_specified
606
+ -------------------------------------------------------------
607
+  (0.0ms) rollback transaction
608
+  (0.1ms) begin transaction
609
+ --------------------------------------------------------------------
610
+ RVT::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
611
+ --------------------------------------------------------------------
612
+  (0.0ms) rollback transaction
613
+  (0.0ms) begin transaction
614
+ -------------------------------------------------------------------------
615
+ RVT::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
616
+ -------------------------------------------------------------------------
617
+  (0.0ms) rollback transaction
618
+  (0.0ms) begin transaction
619
+ ----------------------------------------------------
620
+ RVT::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
621
+ ----------------------------------------------------
622
+  (0.1ms) rollback transaction
623
+  (0.0ms) begin transaction
624
+ ---------------------------------------------------------------------------
625
+ RVT::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
626
+ ---------------------------------------------------------------------------
627
+  (0.0ms) rollback transaction
628
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
629
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
630
+  (0.1ms) select sqlite_version(*)
631
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
632
+  (0.1ms) SELECT version FROM "schema_migrations"
633
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
634
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
635
+  (0.1ms) begin transaction
636
+ -----------------------------------------------
637
+ RVT::EngineTest: test_custom_default_mount_path
638
+ -----------------------------------------------
639
+  (0.2ms) begin transaction
640
+ --------------------------------------------
641
+ RVT::EngineTest: test_disabling_automounting
642
+ --------------------------------------------
643
+  (0.2ms) begin transaction
644
+ ----------------------------------------------------------------
645
+ RVT::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
646
+ ----------------------------------------------------------------
647
+  (0.2ms) begin transaction
648
+ -----------------------------------------------------------
649
+ RVT::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
650
+ -----------------------------------------------------------
651
+  (0.2ms) begin transaction
652
+ -------------------------------------------------
653
+ RVT::EngineTest: test_whitelist_multiple_networks
654
+ -------------------------------------------------
655
+  (0.2ms) begin transaction
656
+ ----------------------------------------------
657
+ RVT::EngineTest: test_whitelist_whole_networks
658
+ ----------------------------------------------
659
+  (0.2ms) begin transaction
660
+ ----------------------------------------------------------------------
661
+ RVT::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
662
+ ----------------------------------------------------------------------
663
+  (0.2ms) begin transaction
664
+ --------------------------------------------------------
665
+ RVT::EngineTest: test_present_commands_are_not_processed
666
+ --------------------------------------------------------
667
+  (0.2ms) begin transaction
668
+ ----------------------------------------------------------------------
669
+ RVT::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
670
+ ----------------------------------------------------------------------
671
+  (0.2ms) begin transaction
672
+ ----------------------------------------------------------------
673
+ RVT::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
674
+ ----------------------------------------------------------------
675
+  (0.2ms) begin transaction
676
+ -----------------------------------------------------------------
677
+ RVT::EngineTest: test_whitelisted_ips_with_IPv6_format_as_default
678
+ -----------------------------------------------------------------
679
+  (0.2ms) begin transaction
680
+ ------------------------------------
681
+ RVT::ConsoleSessionTest: test_to_key
682
+ ------------------------------------
683
+  (0.1ms) rollback transaction
684
+  (0.0ms) begin transaction
685
+ -----------------------------------------
686
+ RVT::ConsoleSessionTest: test_errors_aref
687
+ -----------------------------------------
688
+  (0.1ms) rollback transaction
689
+  (0.0ms) begin transaction
690
+ --------------------------------------------------------------------------------------
691
+ RVT::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
692
+ --------------------------------------------------------------------------------------
693
+  (0.0ms) rollback transaction
694
+  (0.0ms) begin transaction
695
+ -----------------------------------------------------------------------
696
+ RVT::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
697
+ -----------------------------------------------------------------------
698
+  (0.0ms) rollback transaction
699
+  (0.1ms) begin transaction
700
+ ------------------------------------------
701
+ RVT::ConsoleSessionTest: test_model_naming
702
+ ------------------------------------------
703
+  (0.0ms) rollback transaction
704
+  (0.0ms) begin transaction
705
+ --------------------------------------
706
+ RVT::ConsoleSessionTest: test_to_param
707
+ --------------------------------------
708
+  (0.1ms) rollback transaction
709
+  (0.0ms) begin transaction
710
+ ------------------------------------------------------------------------
711
+ RVT::ConsoleSessionTest: test_not_found_exceptions_are_JSON_serializable
712
+ ------------------------------------------------------------------------
713
+  (0.0ms) rollback transaction
714
+  (0.0ms) begin transaction
715
+ -------------------------------------------------------------------
716
+ RVT::ConsoleSessionTest: test_create_gives_already_persisted_models
717
+ -------------------------------------------------------------------
718
+  (0.0ms) rollback transaction
719
+  (0.0ms) begin transaction
720
+ -------------------------------------------------------------------------------
721
+ RVT::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
722
+ -------------------------------------------------------------------------------
723
+  (0.0ms) rollback transaction
724
+  (0.0ms) begin transaction
725
+ ----------------------------------------
726
+ RVT::ConsoleSessionTest: test_persisted?
727
+ ----------------------------------------
728
+  (0.0ms) rollback transaction
729
+  (0.0ms) begin transaction
730
+ ----------------------------------------------------------------------------
731
+ RVT::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
732
+ ----------------------------------------------------------------------------
733
+  (0.0ms) rollback transaction
734
+  (0.0ms) begin transaction
735
+ ---------------------------------------------------------------------
736
+ RVT::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
737
+ ---------------------------------------------------------------------
738
+  (0.0ms) rollback transaction
739
+  (0.1ms) begin transaction
740
+ ---------------------------------------------
741
+ RVT::ConsoleSessionTest: test_to_partial_path
742
+ ---------------------------------------------
743
+  (0.1ms) rollback transaction
744
+  (0.0ms) begin transaction
745
+ -----------------------------------------------------------
746
+ RVT::ConsoleSessionTest: test_no_gives_not_persisted_models
747
+ -----------------------------------------------------------
748
+  (0.0ms) rollback transaction
749
+  (0.0ms) begin transaction
750
+ ----------------------------------------------
751
+ RVT::ConsoleSessionTest: test_find_coerces_ids
752
+ ----------------------------------------------
753
+  (0.0ms) rollback transaction
754
+  (0.0ms) begin transaction
755
+ -------------------------------------------------------------
756
+ RVT::ColorsTest: test_#background=_is_an_alias_of_#background
757
+ -------------------------------------------------------------
758
+  (0.0ms) rollback transaction
759
+  (0.0ms) begin transaction
760
+ -------------------------------------------------------------
761
+ RVT::ColorsTest: test_#background_can_be_explicitly_specified
762
+ -------------------------------------------------------------
763
+  (0.0ms) rollback transaction
764
+  (0.0ms) begin transaction
765
+ ----------------------------------------------------
766
+ RVT::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
767
+ ----------------------------------------------------
768
+  (0.0ms) rollback transaction
769
+  (0.0ms) begin transaction
770
+ -------------------------------------------------------------
771
+ RVT::ColorsTest: test_#foreground_can_be_explicitly_specified
772
+ -------------------------------------------------------------
773
+  (0.0ms) rollback transaction
774
+  (0.0ms) begin transaction
775
+ ---------------------------------------------------------------------------
776
+ RVT::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
777
+ ---------------------------------------------------------------------------
778
+  (0.0ms) rollback transaction
779
+  (0.0ms) begin transaction
780
+ ---------------------------------------------------------------------
781
+ RVT::ColorsTest: test_#background_is_the_first_color_if_not_specified
782
+ ---------------------------------------------------------------------
783
+  (0.0ms) rollback transaction
784
+  (0.0ms) begin transaction
785
+ --------------------------------------------------------------------
786
+ RVT::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
787
+ --------------------------------------------------------------------
788
+  (0.0ms) rollback transaction
789
+  (0.0ms) begin transaction
790
+ -------------------------------------------------------------------------
791
+ RVT::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
792
+ -------------------------------------------------------------------------
793
+  (0.0ms) rollback transaction
794
+  (0.0ms) begin transaction
795
+ -------------------------------------------------------------
796
+ RVT::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
797
+ -------------------------------------------------------------
798
+  (0.0ms) rollback transaction
799
+  (0.0ms) begin transaction
800
+ ----------------------------------------
801
+ RVT::ColorsTest: test_#default_is_:light
802
+ ----------------------------------------
803
+  (0.0ms) rollback transaction
804
+  (0.1ms) begin transaction
805
+ -----------------------------------------------------------------------------------
806
+ RVT::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
807
+ -----------------------------------------------------------------------------------
808
+  (0.0ms) rollback transaction
809
+  (0.0ms) begin transaction
810
+ -------------------------------------------------------------------
811
+ RVT::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
812
+ -------------------------------------------------------------------
813
+  (0.0ms) rollback transaction
814
+  (0.0ms) begin transaction
815
+ -----------------------------------------------------------------------------
816
+ RVT::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
817
+ -----------------------------------------------------------------------------
818
+  (0.0ms) rollback transaction
819
+  (0.0ms) begin transaction
820
+ --------------------------------------------------------------------------------------
821
+ RVT::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
822
+ --------------------------------------------------------------------------------------
823
+  (0.0ms) rollback transaction
824
+  (0.0ms) begin transaction
825
+ ------------------------------------------------------------------------------------
826
+ RVT::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
827
+ ------------------------------------------------------------------------------------
828
+  (0.0ms) rollback transaction
829
+  (0.0ms) begin transaction
830
+ ---------------------------------------------------------------------
831
+ RVT::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
832
+ ---------------------------------------------------------------------
833
+  (0.0ms) rollback transaction
834
+  (0.0ms) begin transaction
835
+ --------------------------------------------------------------------------
836
+ RVT::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
837
+ --------------------------------------------------------------------------
838
+  (0.1ms) rollback transaction
839
+  (0.1ms) begin transaction
840
+ ---------------------------------------------------------
841
+ RVT::SlaveTest: test_#configure_changes_@input_dimentions
842
+ ---------------------------------------------------------
843
+  (0.0ms) rollback transaction
844
+  (0.0ms) begin transaction
845
+ ------------------------------------------------------------------
846
+ RVT::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
847
+ ------------------------------------------------------------------
848
+  (0.1ms) rollback transaction
849
+  (0.0ms) begin transaction
850
+ ---------------------------------------------------------------------------
851
+ RVT::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
852
+ ---------------------------------------------------------------------------
853
+  (0.0ms) rollback transaction
854
+  (0.0ms) begin transaction
855
+ --------------------------------------------------------------------
856
+ RVT::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
857
+ --------------------------------------------------------------------
858
+  (0.1ms) rollback transaction
859
+  (0.0ms) begin transaction
860
+ ----------------------------------------------------------------------------------------
861
+ RVT::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
862
+ ----------------------------------------------------------------------------------------
863
+  (0.0ms) rollback transaction
864
+  (0.0ms) begin transaction
865
+ -------------------------------------------------------------------
866
+ RVT::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
867
+ -------------------------------------------------------------------
868
+  (0.0ms) rollback transaction
869
+  (0.0ms) begin transaction
870
+ -------------------------------------------------------------------------------------------------
871
+ RVT::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
872
+ -------------------------------------------------------------------------------------------------
873
+ Processing by RVT::ConsoleSessionsController#index as HTML
874
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (8.9ms)
875
+ Completed 200 OK in 56ms (Views: 54.8ms | ActiveRecord: 0.0ms)
876
+ Processing by RVT::ConsoleSessionsController#pending_output as HTML
877
+ Parameters: {"id"=>"19307", "uid"=>"002923be7f1e5b78e1370cd86fcf1233"}
878
+ Completed 410 Gone in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
879
+  (0.1ms) rollback transaction
880
+  (0.0ms) begin transaction
881
+ ------------------------------------------------------------
882
+ RVT::ConsoleSessionsControllerTest: test_index_is_successful
883
+ ------------------------------------------------------------
884
+ Processing by RVT::ConsoleSessionsController#index as HTML
885
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (5.6ms)
886
+ Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms)
887
+  (0.1ms) rollback transaction
888
+  (0.0ms) begin transaction
889
+ ---------------------------------------------------------------------------------
890
+ RVT::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
891
+ ---------------------------------------------------------------------------------
892
+ Processing by RVT::ConsoleSessionsController#index as HTML
893
+ Rendered text template (0.0ms)
894
+ Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
895
+ Completed 401 Unauthorized in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
896
+  (0.0ms) rollback transaction
897
+  (0.0ms) begin transaction
898
+ -----------------------------------------------------------------------------------
899
+ RVT::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
900
+ -----------------------------------------------------------------------------------
901
+ Processing by RVT::ConsoleSessionsController#index as HTML
902
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (5.6ms)
903
+ Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms)
904
+ Processing by RVT::ConsoleSessionsController#configuration as HTML
905
+ Parameters: {"id"=>"18510", "uid"=>"0dd8019ce71b9c4d95953da66577fd93", "width"=>"80", "height"=>"24"}
906
+ Rendered text template (0.0ms)
907
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
908
+  (0.1ms) rollback transaction
909
+  (0.1ms) begin transaction
910
+ ------------------------------------------------------------------------------
911
+ RVT::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
912
+ ------------------------------------------------------------------------------
913
+ Processing by RVT::ConsoleSessionsController#index as HTML
914
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (7.7ms)
915
+ Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.0ms)
916
+ Processing by RVT::ConsoleSessionsController#input as HTML
917
+ Parameters: {"id"=>"15542", "uid"=>"ff5f184d4afecb1a7787c7db9520a602"}
918
+ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
919
+  (0.1ms) rollback transaction
920
+  (0.0ms) begin transaction
921
+ ------------------------------------------------------------------------------------------
922
+ RVT::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
923
+ ------------------------------------------------------------------------------------------
924
+ Processing by RVT::ConsoleSessionsController#index as HTML
925
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (6.8ms)
926
+ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)
927
+ Processing by RVT::ConsoleSessionsController#pending_output as HTML
928
+ Parameters: {"id"=>"12625", "uid"=>"be378ae87be2317ec741fce1e41784ef"}
929
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
930
+  (0.0ms) rollback transaction
931
+  (0.0ms) begin transaction
932
+ -------------------------------------------------------------
933
+ RVT::ConsoleSessionsControllerTest: test_index_generated_path
934
+ -------------------------------------------------------------
935
+  (0.0ms) rollback transaction
936
+  (0.1ms) begin transaction
937
+ -----------------------------------------------------------------------------
938
+ RVT::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
939
+ -----------------------------------------------------------------------------
940
+ Processing by RVT::ConsoleSessionsController#index as HTML
941
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (4.5ms)
942
+ Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms)
943
+  (0.0ms) rollback transaction
944
+  (0.0ms) begin transaction
945
+ ---------------------------------------------------------------------------
946
+ RVT::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
947
+ ---------------------------------------------------------------------------
948
+ Processing by RVT::ConsoleSessionsController#index as HTML
949
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (5.7ms)
950
+ Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.0ms)
951
+ Processing by RVT::ConsoleSessionsController#input as HTML
952
+ Parameters: {"input"=>" ", "id"=>"12730", "uid"=>"d60c637e83f3c51a81b18daed58a4e90"}
953
+ Rendered text template (0.0ms)
954
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
955
+  (0.1ms) rollback transaction
956
+  (0.0ms) begin transaction
957
+ ------------------------------------------------------------------------------
958
+ RVT::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
959
+ ------------------------------------------------------------------------------
960
+ Processing by RVT::ConsoleSessionsController#index as HTML
961
+ Rendered /Users/genadi/Development/rvt/app/views/rvt/console_sessions/index.html.erb within layouts/rvt/application (4.8ms)
962
+ Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)
963
+  (0.1ms) rollback transaction