vedeu 0.4.56 → 0.4.57
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/borders_app.rb +22 -24
- data/examples/colours_app.rb +4 -6
- data/examples/configuration_app.rb +5 -7
- data/examples/drb_app.rb +1 -1
- data/examples/focus_app.rb +1 -1
- data/examples/geometry_app.rb +8 -10
- data/examples/hello_world.rb +4 -6
- data/examples/material_colours_app.rb +19 -9
- data/examples/material_colours_app_20150721.svg +2285 -0
- data/examples/panel_app.rb +6 -8
- data/examples/typed_commands/typed_commands_app.rb +15 -17
- data/examples/view_templates_app/view_templates_app.rb +1 -1
- data/lib/vedeu/all.rb +82 -10
- data/lib/vedeu/api.rb +34 -14
- data/lib/vedeu/application.rb +0 -1
- data/lib/vedeu/application/application_controller.rb +0 -1
- data/lib/vedeu/application/application_helper.rb +0 -1
- data/lib/vedeu/application/application_view.rb +0 -1
- data/lib/vedeu/application/controller.rb +0 -1
- data/lib/vedeu/application/helper.rb +0 -1
- data/lib/vedeu/application/view.rb +0 -1
- data/lib/vedeu/bindings/all.rb +0 -1
- data/lib/vedeu/bindings/visibility.rb +2 -19
- data/lib/vedeu/buffers/buffer.rb +0 -1
- data/lib/vedeu/buffers/display_buffer.rb +0 -1
- data/lib/vedeu/cli/generator/application.rb +0 -1
- data/lib/vedeu/cli/generator/helpers.rb +0 -1
- data/lib/vedeu/cli/generator/view.rb +0 -1
- data/lib/vedeu/colours/background.rb +0 -1
- data/lib/vedeu/colours/colour.rb +0 -1
- data/lib/vedeu/colours/colour_translator.rb +0 -1
- data/lib/vedeu/colours/foreground.rb +0 -1
- data/lib/vedeu/common.rb +0 -1
- data/lib/vedeu/configuration/configuration.rb +0 -1
- data/lib/vedeu/cursor/cursor.rb +0 -1
- data/lib/vedeu/cursor/move.rb +0 -1
- data/lib/vedeu/cursor/refresh_cursor.rb +0 -1
- data/lib/vedeu/cursor/reposition.rb +0 -1
- data/lib/vedeu/distributed/client.rb +2 -0
- data/lib/vedeu/distributed/server.rb +2 -0
- data/lib/vedeu/distributed/uri.rb +2 -1
- data/lib/vedeu/exceptions.rb +0 -7
- data/lib/vedeu/geometry/area.rb +0 -1
- data/lib/vedeu/geometry/coordinate.rb +0 -1
- data/lib/vedeu/geometry/dimension.rb +14 -1
- data/lib/vedeu/geometry/geometry.rb +0 -1
- data/lib/vedeu/geometry/index_position.rb +0 -1
- data/lib/vedeu/geometry/position.rb +0 -1
- data/lib/vedeu/geometry/position_index.rb +0 -1
- data/lib/vedeu/geometry/position_validator.rb +0 -1
- data/lib/vedeu/input/input.rb +0 -1
- data/lib/vedeu/input/key.rb +0 -1
- data/lib/vedeu/input/keymap.rb +0 -1
- data/lib/vedeu/input/mapper.rb +0 -1
- data/lib/vedeu/log.rb +0 -1
- data/lib/vedeu/main_loop.rb +0 -1
- data/lib/vedeu/models/cell.rb +0 -1
- data/lib/vedeu/models/char.rb +0 -1
- data/lib/vedeu/models/composition.rb +0 -1
- data/lib/vedeu/models/escape.rb +0 -1
- data/lib/vedeu/models/focus.rb +0 -1
- data/lib/vedeu/models/group.rb +37 -15
- data/lib/vedeu/models/interface.rb +1 -2
- data/lib/vedeu/models/line.rb +0 -1
- data/lib/vedeu/models/menu.rb +0 -1
- data/lib/vedeu/models/stream.rb +0 -1
- data/lib/vedeu/models/toggleable.rb +21 -11
- data/lib/vedeu/null/all.rb +0 -1
- data/lib/vedeu/null/border.rb +0 -1
- data/lib/vedeu/null/buffer.rb +0 -1
- data/lib/vedeu/null/generic.rb +0 -1
- data/lib/vedeu/null/geometry.rb +0 -1
- data/lib/vedeu/null/interface.rb +0 -1
- data/lib/vedeu/output/border.rb +0 -1
- data/lib/vedeu/output/clear/named_group.rb +3 -2
- data/lib/vedeu/output/clear/named_interface.rb +2 -1
- data/lib/vedeu/output/compressor.rb +0 -1
- data/lib/vedeu/output/html_char.rb +0 -1
- data/lib/vedeu/output/output.rb +0 -1
- data/lib/vedeu/output/presentation.rb +0 -1
- data/lib/vedeu/output/refresh_group.rb +0 -1
- data/lib/vedeu/output/render_border.rb +0 -1
- data/lib/vedeu/output/renderers/all.rb +0 -1
- data/lib/vedeu/output/renderers/escape_sequence.rb +0 -1
- data/lib/vedeu/output/renderers/file.rb +0 -1
- data/lib/vedeu/output/renderers/html.rb +0 -1
- data/lib/vedeu/output/renderers/json.rb +0 -1
- data/lib/vedeu/output/renderers/null.rb +0 -1
- data/lib/vedeu/output/renderers/renderer_options.rb +0 -1
- data/lib/vedeu/output/renderers/terminal.rb +0 -1
- data/lib/vedeu/output/renderers/text.rb +0 -1
- data/lib/vedeu/output/style.rb +0 -1
- data/lib/vedeu/output/text.rb +0 -1
- data/lib/vedeu/output/viewport.rb +0 -1
- data/lib/vedeu/output/virtual_terminal.rb +0 -1
- data/lib/vedeu/output/wordwrap.rb +0 -1
- data/lib/vedeu/repositories/collection.rb +0 -7
- data/lib/vedeu/repositories/model.rb +0 -1
- data/lib/vedeu/repositories/registerable.rb +0 -1
- data/lib/vedeu/repositories/repository.rb +0 -1
- data/lib/vedeu/repositories/store.rb +0 -1
- data/lib/vedeu/templating/directive.rb +1 -1
- data/lib/vedeu/templating/helpers.rb +1 -1
- data/lib/vedeu/templating/preprocessor.rb +1 -1
- data/lib/vedeu/templating/template.rb +1 -1
- data/lib/vedeu/traps.rb +0 -1
- data/lib/vedeu/version.rb +1 -1
- data/test/lib/vedeu/application/controller_test.rb +8 -1
- data/test/lib/vedeu/buffers/buffer_test.rb +5 -0
- data/test/lib/vedeu/cursor/reposition_test.rb +5 -5
- data/test/lib/vedeu/models/group_test.rb +4 -3
- data/test/lib/vedeu/models/interface_test.rb +15 -1
- data/test/lib/vedeu/null/interface_test.rb +7 -21
- data/test/lib/vedeu/output/esc_test.rb +105 -109
- metadata +3 -15
- data/lib/vedeu/application/all.rb +0 -6
- data/lib/vedeu/buffers/all.rb +0 -3
- data/lib/vedeu/cli/all.rb +0 -1
- data/lib/vedeu/colours/all.rb +0 -7
- data/lib/vedeu/configuration/all.rb +0 -3
- data/lib/vedeu/cursor/all.rb +0 -7
- data/lib/vedeu/distributed/all.rb +0 -15
- data/lib/vedeu/events/all.rb +0 -5
- data/lib/vedeu/geometry/all.rb +0 -14
- data/lib/vedeu/models/all.rb +0 -16
- data/lib/vedeu/output/all.rb +0 -21
- data/lib/vedeu/output/clear/all.rb +0 -13
- 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.
|
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-
|
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
|
data/lib/vedeu/buffers/all.rb
DELETED
data/lib/vedeu/cli/all.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'vedeu/cli/main'
|
data/lib/vedeu/colours/all.rb
DELETED
data/lib/vedeu/cursor/all.rb
DELETED
@@ -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
|
data/lib/vedeu/events/all.rb
DELETED
data/lib/vedeu/geometry/all.rb
DELETED
@@ -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'
|
data/lib/vedeu/models/all.rb
DELETED
@@ -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'
|
data/lib/vedeu/output/all.rb
DELETED
@@ -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'
|
data/lib/vedeu/templating/all.rb
DELETED
@@ -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'
|