vedeu 0.4.56 → 0.4.57

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/examples/borders_app.rb +22 -24
  3. data/examples/colours_app.rb +4 -6
  4. data/examples/configuration_app.rb +5 -7
  5. data/examples/drb_app.rb +1 -1
  6. data/examples/focus_app.rb +1 -1
  7. data/examples/geometry_app.rb +8 -10
  8. data/examples/hello_world.rb +4 -6
  9. data/examples/material_colours_app.rb +19 -9
  10. data/examples/material_colours_app_20150721.svg +2285 -0
  11. data/examples/panel_app.rb +6 -8
  12. data/examples/typed_commands/typed_commands_app.rb +15 -17
  13. data/examples/view_templates_app/view_templates_app.rb +1 -1
  14. data/lib/vedeu/all.rb +82 -10
  15. data/lib/vedeu/api.rb +34 -14
  16. data/lib/vedeu/application.rb +0 -1
  17. data/lib/vedeu/application/application_controller.rb +0 -1
  18. data/lib/vedeu/application/application_helper.rb +0 -1
  19. data/lib/vedeu/application/application_view.rb +0 -1
  20. data/lib/vedeu/application/controller.rb +0 -1
  21. data/lib/vedeu/application/helper.rb +0 -1
  22. data/lib/vedeu/application/view.rb +0 -1
  23. data/lib/vedeu/bindings/all.rb +0 -1
  24. data/lib/vedeu/bindings/visibility.rb +2 -19
  25. data/lib/vedeu/buffers/buffer.rb +0 -1
  26. data/lib/vedeu/buffers/display_buffer.rb +0 -1
  27. data/lib/vedeu/cli/generator/application.rb +0 -1
  28. data/lib/vedeu/cli/generator/helpers.rb +0 -1
  29. data/lib/vedeu/cli/generator/view.rb +0 -1
  30. data/lib/vedeu/colours/background.rb +0 -1
  31. data/lib/vedeu/colours/colour.rb +0 -1
  32. data/lib/vedeu/colours/colour_translator.rb +0 -1
  33. data/lib/vedeu/colours/foreground.rb +0 -1
  34. data/lib/vedeu/common.rb +0 -1
  35. data/lib/vedeu/configuration/configuration.rb +0 -1
  36. data/lib/vedeu/cursor/cursor.rb +0 -1
  37. data/lib/vedeu/cursor/move.rb +0 -1
  38. data/lib/vedeu/cursor/refresh_cursor.rb +0 -1
  39. data/lib/vedeu/cursor/reposition.rb +0 -1
  40. data/lib/vedeu/distributed/client.rb +2 -0
  41. data/lib/vedeu/distributed/server.rb +2 -0
  42. data/lib/vedeu/distributed/uri.rb +2 -1
  43. data/lib/vedeu/exceptions.rb +0 -7
  44. data/lib/vedeu/geometry/area.rb +0 -1
  45. data/lib/vedeu/geometry/coordinate.rb +0 -1
  46. data/lib/vedeu/geometry/dimension.rb +14 -1
  47. data/lib/vedeu/geometry/geometry.rb +0 -1
  48. data/lib/vedeu/geometry/index_position.rb +0 -1
  49. data/lib/vedeu/geometry/position.rb +0 -1
  50. data/lib/vedeu/geometry/position_index.rb +0 -1
  51. data/lib/vedeu/geometry/position_validator.rb +0 -1
  52. data/lib/vedeu/input/input.rb +0 -1
  53. data/lib/vedeu/input/key.rb +0 -1
  54. data/lib/vedeu/input/keymap.rb +0 -1
  55. data/lib/vedeu/input/mapper.rb +0 -1
  56. data/lib/vedeu/log.rb +0 -1
  57. data/lib/vedeu/main_loop.rb +0 -1
  58. data/lib/vedeu/models/cell.rb +0 -1
  59. data/lib/vedeu/models/char.rb +0 -1
  60. data/lib/vedeu/models/composition.rb +0 -1
  61. data/lib/vedeu/models/escape.rb +0 -1
  62. data/lib/vedeu/models/focus.rb +0 -1
  63. data/lib/vedeu/models/group.rb +37 -15
  64. data/lib/vedeu/models/interface.rb +1 -2
  65. data/lib/vedeu/models/line.rb +0 -1
  66. data/lib/vedeu/models/menu.rb +0 -1
  67. data/lib/vedeu/models/stream.rb +0 -1
  68. data/lib/vedeu/models/toggleable.rb +21 -11
  69. data/lib/vedeu/null/all.rb +0 -1
  70. data/lib/vedeu/null/border.rb +0 -1
  71. data/lib/vedeu/null/buffer.rb +0 -1
  72. data/lib/vedeu/null/generic.rb +0 -1
  73. data/lib/vedeu/null/geometry.rb +0 -1
  74. data/lib/vedeu/null/interface.rb +0 -1
  75. data/lib/vedeu/output/border.rb +0 -1
  76. data/lib/vedeu/output/clear/named_group.rb +3 -2
  77. data/lib/vedeu/output/clear/named_interface.rb +2 -1
  78. data/lib/vedeu/output/compressor.rb +0 -1
  79. data/lib/vedeu/output/html_char.rb +0 -1
  80. data/lib/vedeu/output/output.rb +0 -1
  81. data/lib/vedeu/output/presentation.rb +0 -1
  82. data/lib/vedeu/output/refresh_group.rb +0 -1
  83. data/lib/vedeu/output/render_border.rb +0 -1
  84. data/lib/vedeu/output/renderers/all.rb +0 -1
  85. data/lib/vedeu/output/renderers/escape_sequence.rb +0 -1
  86. data/lib/vedeu/output/renderers/file.rb +0 -1
  87. data/lib/vedeu/output/renderers/html.rb +0 -1
  88. data/lib/vedeu/output/renderers/json.rb +0 -1
  89. data/lib/vedeu/output/renderers/null.rb +0 -1
  90. data/lib/vedeu/output/renderers/renderer_options.rb +0 -1
  91. data/lib/vedeu/output/renderers/terminal.rb +0 -1
  92. data/lib/vedeu/output/renderers/text.rb +0 -1
  93. data/lib/vedeu/output/style.rb +0 -1
  94. data/lib/vedeu/output/text.rb +0 -1
  95. data/lib/vedeu/output/viewport.rb +0 -1
  96. data/lib/vedeu/output/virtual_terminal.rb +0 -1
  97. data/lib/vedeu/output/wordwrap.rb +0 -1
  98. data/lib/vedeu/repositories/collection.rb +0 -7
  99. data/lib/vedeu/repositories/model.rb +0 -1
  100. data/lib/vedeu/repositories/registerable.rb +0 -1
  101. data/lib/vedeu/repositories/repository.rb +0 -1
  102. data/lib/vedeu/repositories/store.rb +0 -1
  103. data/lib/vedeu/templating/directive.rb +1 -1
  104. data/lib/vedeu/templating/helpers.rb +1 -1
  105. data/lib/vedeu/templating/preprocessor.rb +1 -1
  106. data/lib/vedeu/templating/template.rb +1 -1
  107. data/lib/vedeu/traps.rb +0 -1
  108. data/lib/vedeu/version.rb +1 -1
  109. data/test/lib/vedeu/application/controller_test.rb +8 -1
  110. data/test/lib/vedeu/buffers/buffer_test.rb +5 -0
  111. data/test/lib/vedeu/cursor/reposition_test.rb +5 -5
  112. data/test/lib/vedeu/models/group_test.rb +4 -3
  113. data/test/lib/vedeu/models/interface_test.rb +15 -1
  114. data/test/lib/vedeu/null/interface_test.rb +7 -21
  115. data/test/lib/vedeu/output/esc_test.rb +105 -109
  116. metadata +3 -15
  117. data/lib/vedeu/application/all.rb +0 -6
  118. data/lib/vedeu/buffers/all.rb +0 -3
  119. data/lib/vedeu/cli/all.rb +0 -1
  120. data/lib/vedeu/colours/all.rb +0 -7
  121. data/lib/vedeu/configuration/all.rb +0 -3
  122. data/lib/vedeu/cursor/all.rb +0 -7
  123. data/lib/vedeu/distributed/all.rb +0 -15
  124. data/lib/vedeu/events/all.rb +0 -5
  125. data/lib/vedeu/geometry/all.rb +0 -14
  126. data/lib/vedeu/models/all.rb +0 -16
  127. data/lib/vedeu/output/all.rb +0 -21
  128. data/lib/vedeu/output/clear/all.rb +0 -13
  129. data/lib/vedeu/templating/all.rb +0 -13
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vedeu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.56
4
+ version: 0.4.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Laking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -250,6 +250,7 @@ files:
250
250
  - examples/geometry_app.rb
251
251
  - examples/hello_world.rb
252
252
  - examples/material_colours_app.rb
253
+ - examples/material_colours_app_20150721.svg
253
254
  - examples/panel_app.rb
254
255
  - examples/typed_commands/command.erb
255
256
  - examples/typed_commands/output.erb
@@ -263,7 +264,6 @@ files:
263
264
  - lib/vedeu/all.rb
264
265
  - lib/vedeu/api.rb
265
266
  - lib/vedeu/application.rb
266
- - lib/vedeu/application/all.rb
267
267
  - lib/vedeu/application/application_controller.rb
268
268
  - lib/vedeu/application/application_helper.rb
269
269
  - lib/vedeu/application/application_view.rb
@@ -277,11 +277,9 @@ files:
277
277
  - lib/vedeu/bindings/system.rb
278
278
  - lib/vedeu/bindings/visibility.rb
279
279
  - lib/vedeu/bootstrap.rb
280
- - lib/vedeu/buffers/all.rb
281
280
  - lib/vedeu/buffers/buffer.rb
282
281
  - lib/vedeu/buffers/buffers.rb
283
282
  - lib/vedeu/buffers/display_buffer.rb
284
- - lib/vedeu/cli/all.rb
285
283
  - lib/vedeu/cli/generator/all.rb
286
284
  - lib/vedeu/cli/generator/application.rb
287
285
  - lib/vedeu/cli/generator/helpers.rb
@@ -307,7 +305,6 @@ files:
307
305
  - lib/vedeu/cli/generator/templates/application/vendor/.gitkeep
308
306
  - lib/vedeu/cli/generator/view.rb
309
307
  - lib/vedeu/cli/main.rb
310
- - lib/vedeu/colours/all.rb
311
308
  - lib/vedeu/colours/background.rb
312
309
  - lib/vedeu/colours/backgrounds.rb
313
310
  - lib/vedeu/colours/colour.rb
@@ -316,18 +313,15 @@ files:
316
313
  - lib/vedeu/colours/foreground.rb
317
314
  - lib/vedeu/colours/foregrounds.rb
318
315
  - lib/vedeu/common.rb
319
- - lib/vedeu/configuration/all.rb
320
316
  - lib/vedeu/configuration/api.rb
321
317
  - lib/vedeu/configuration/cli.rb
322
318
  - lib/vedeu/configuration/configuration.rb
323
- - lib/vedeu/cursor/all.rb
324
319
  - lib/vedeu/cursor/cursor.rb
325
320
  - lib/vedeu/cursor/cursors.rb
326
321
  - lib/vedeu/cursor/move.rb
327
322
  - lib/vedeu/cursor/refresh_cursor.rb
328
323
  - lib/vedeu/cursor/reposition.rb
329
324
  - lib/vedeu/debug.rb
330
- - lib/vedeu/distributed/all.rb
331
325
  - lib/vedeu/distributed/client.rb
332
326
  - lib/vedeu/distributed/server.rb
333
327
  - lib/vedeu/distributed/subprocess.rb
@@ -356,12 +350,10 @@ files:
356
350
  - lib/vedeu/dsl/text.rb
357
351
  - lib/vedeu/dsl/use.rb
358
352
  - lib/vedeu/dsl/view.rb
359
- - lib/vedeu/events/all.rb
360
353
  - lib/vedeu/events/event.rb
361
354
  - lib/vedeu/events/events.rb
362
355
  - lib/vedeu/events/trigger.rb
363
356
  - lib/vedeu/exceptions.rb
364
- - lib/vedeu/geometry/all.rb
365
357
  - lib/vedeu/geometry/area.rb
366
358
  - lib/vedeu/geometry/coordinate.rb
367
359
  - lib/vedeu/geometry/dimension.rb
@@ -381,7 +373,6 @@ files:
381
373
  - lib/vedeu/launcher.rb
382
374
  - lib/vedeu/log.rb
383
375
  - lib/vedeu/main_loop.rb
384
- - lib/vedeu/models/all.rb
385
376
  - lib/vedeu/models/cell.rb
386
377
  - lib/vedeu/models/char.rb
387
378
  - lib/vedeu/models/composition.rb
@@ -402,10 +393,8 @@ files:
402
393
  - lib/vedeu/null/generic.rb
403
394
  - lib/vedeu/null/geometry.rb
404
395
  - lib/vedeu/null/interface.rb
405
- - lib/vedeu/output/all.rb
406
396
  - lib/vedeu/output/border.rb
407
397
  - lib/vedeu/output/borders.rb
408
- - lib/vedeu/output/clear/all.rb
409
398
  - lib/vedeu/output/clear/named_group.rb
410
399
  - lib/vedeu/output/clear/named_interface.rb
411
400
  - lib/vedeu/output/compressor.rb
@@ -438,7 +427,6 @@ files:
438
427
  - lib/vedeu/repositories/registerable.rb
439
428
  - lib/vedeu/repositories/repository.rb
440
429
  - lib/vedeu/repositories/store.rb
441
- - lib/vedeu/templating/all.rb
442
430
  - lib/vedeu/templating/directive.rb
443
431
  - lib/vedeu/templating/helpers.rb
444
432
  - lib/vedeu/templating/preprocessor.rb
@@ -1,6 +0,0 @@
1
- require 'vedeu/application/controller'
2
- require 'vedeu/application/helper'
3
- require 'vedeu/application/view'
4
- require 'vedeu/application/application_controller'
5
- require 'vedeu/application/application_helper'
6
- require 'vedeu/application/application_view'
@@ -1,3 +0,0 @@
1
- require 'vedeu/buffers/buffers'
2
- require 'vedeu/buffers/buffer'
3
- require 'vedeu/buffers/display_buffer'
data/lib/vedeu/cli/all.rb DELETED
@@ -1 +0,0 @@
1
- require 'vedeu/cli/main'
@@ -1,7 +0,0 @@
1
- require 'vedeu/colours/colours'
2
- require 'vedeu/colours/backgrounds'
3
- require 'vedeu/colours/foregrounds'
4
- require 'vedeu/colours/colour_translator'
5
- require 'vedeu/colours/background'
6
- require 'vedeu/colours/foreground'
7
- require 'vedeu/colours/colour'
@@ -1,3 +0,0 @@
1
- require 'vedeu/configuration/cli'
2
- require 'vedeu/configuration/api'
3
- require 'vedeu/configuration/configuration'
@@ -1,7 +0,0 @@
1
- require 'vedeu/repositories/all'
2
-
3
- require 'vedeu/cursor/cursor'
4
- require 'vedeu/cursor/cursors'
5
- require 'vedeu/cursor/move'
6
- require 'vedeu/cursor/refresh_cursor'
7
- require 'vedeu/cursor/reposition'
@@ -1,15 +0,0 @@
1
- require 'vedeu/distributed/uri'
2
- require 'vedeu/distributed/server'
3
- require 'vedeu/distributed/client'
4
- require 'vedeu/distributed/subprocess'
5
- require 'vedeu/distributed/test_application'
6
-
7
- module Vedeu
8
-
9
- # Provides a mechanism to control a running client application via DRb.
10
- #
11
- module Distributed
12
-
13
- end # Distributed
14
-
15
- end # Vedeu
@@ -1,5 +0,0 @@
1
- require 'vedeu/repositories/collection'
2
-
3
- require 'vedeu/events/events'
4
- require 'vedeu/events/event'
5
- require 'vedeu/events/trigger'
@@ -1,14 +0,0 @@
1
- require 'vedeu/geometry/area'
2
- require 'vedeu/geometry/coordinate'
3
- require 'vedeu/geometry/dimension'
4
-
5
- require 'vedeu/geometry/geometry'
6
- require 'vedeu/repositories/store'
7
- require 'vedeu/repositories/registerable'
8
- require 'vedeu/repositories/repository'
9
- require 'vedeu/geometry/geometries'
10
- require 'vedeu/geometry/grid'
11
- require 'vedeu/geometry/index_position'
12
- require 'vedeu/geometry/position_index'
13
- require 'vedeu/geometry/position'
14
- require 'vedeu/geometry/position_validator'
@@ -1,16 +0,0 @@
1
- require 'vedeu/repositories/all'
2
-
3
- require 'vedeu/models/toggleable'
4
- require 'vedeu/models/cell'
5
- require 'vedeu/models/char'
6
- require 'vedeu/models/escape'
7
- require 'vedeu/models/stream'
8
- require 'vedeu/models/line'
9
- require 'vedeu/models/interfaces'
10
- require 'vedeu/models/interface'
11
- require 'vedeu/models/composition'
12
- require 'vedeu/models/focus'
13
- require 'vedeu/models/groups'
14
- require 'vedeu/models/group'
15
- require 'vedeu/models/menus'
16
- require 'vedeu/models/menu'
@@ -1,21 +0,0 @@
1
- require 'vedeu/output/esc'
2
- require 'vedeu/colours/colour_translator'
3
- require 'vedeu/colours/background'
4
- require 'vedeu/colours/foreground'
5
- require 'vedeu/output/presentation'
6
- require 'vedeu/output/borders'
7
- require 'vedeu/output/border'
8
- require 'vedeu/colours/colour'
9
- require 'vedeu/output/compressor'
10
- require 'vedeu/output/clear/all'
11
- require 'vedeu/output/style'
12
- require 'vedeu/output/text'
13
- require 'vedeu/output/virtual_buffer'
14
- require 'vedeu/output/html_char'
15
- require 'vedeu/output/refresh_group'
16
- require 'vedeu/output/refresh'
17
- require 'vedeu/output/renderers/all'
18
- require 'vedeu/output/output'
19
- require 'vedeu/output/viewport'
20
- require 'vedeu/output/virtual_terminal'
21
- require 'vedeu/output/wordwrap'
@@ -1,13 +0,0 @@
1
- module Vedeu
2
-
3
- # Provides the mechanisms to clear an interface or group of interfaces.
4
- #
5
- # @api private
6
- module Clear
7
-
8
- end # Clear
9
-
10
- end # Vedeu
11
-
12
- require 'vedeu/output/clear/named_group'
13
- require 'vedeu/output/clear/named_interface'
@@ -1,13 +0,0 @@
1
- module Vedeu
2
-
3
- # Provides means to use templates with Vedeu.
4
- module Templating
5
-
6
- end # Templating
7
-
8
- end # Vedeu
9
-
10
- require 'vedeu/templating/helpers'
11
- require 'vedeu/templating/directive'
12
- require 'vedeu/templating/preprocessor'
13
- require 'vedeu/templating/template'