vedeu 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.yardopts +0 -1
- data/README.md +1 -4
- data/docs/api.md +0 -8
- data/docs/borders.md +4 -0
- data/docs/dsl/borders.md +37 -0
- data/docs/dsl/by_method/add_command.md +0 -0
- data/docs/dsl/by_method/add_keypress.md +0 -0
- data/docs/dsl/by_method/all_commands.md +0 -0
- data/docs/dsl/by_method/all_keypresses.md +0 -0
- data/docs/dsl/by_method/background_colours.md +3 -0
- data/docs/dsl/by_method/bind.md +0 -0
- data/docs/dsl/by_method/bind_alias.md +0 -0
- data/docs/dsl/by_method/border.md +7 -0
- data/docs/dsl/by_method/borders.md +0 -0
- data/docs/dsl/by_method/bottom.md +10 -0
- data/docs/dsl/by_method/bottom_horizontal.md +8 -0
- data/docs/dsl/by_method/bottom_left.md +8 -0
- data/docs/dsl/by_method/bottom_right.md +8 -0
- data/docs/dsl/by_method/bound.md +0 -0
- data/docs/dsl/by_method/buffer_update.md +0 -0
- data/docs/dsl/by_method/buffer_write.md +0 -0
- data/docs/dsl/by_method/buffers.md +0 -0
- data/docs/dsl/by_method/caption.md +11 -0
- data/docs/dsl/by_method/clear.md +7 -0
- data/docs/dsl/by_method/clear_by_group.md +0 -0
- data/docs/dsl/by_method/clear_by_name.md +0 -0
- data/docs/dsl/by_method/clear_content_by_name.md +0 -0
- data/docs/dsl/by_method/clock_time.md +0 -0
- data/docs/dsl/by_method/configuration.md +5 -0
- data/docs/dsl/by_method/configure.md +6 -0
- data/docs/dsl/by_method/cursor.md +0 -0
- data/docs/dsl/by_method/cursors.md +0 -0
- data/docs/dsl/by_method/debug.md +4 -0
- data/docs/dsl/by_method/direct_write.md +0 -0
- data/docs/dsl/by_method/disable.md +14 -0
- data/docs/dsl/by_method/documents.md +0 -0
- data/docs/dsl/by_method/drb_restart.md +0 -0
- data/docs/dsl/by_method/drb_start.md +0 -0
- data/docs/dsl/by_method/drb_status.md +0 -0
- data/docs/dsl/by_method/drb_stop.md +0 -0
- data/docs/dsl/by_method/enable.md +14 -0
- data/docs/dsl/by_method/events.md +0 -0
- data/docs/dsl/by_method/exit.md +0 -0
- data/docs/dsl/by_method/focus.md +0 -0
- data/docs/dsl/by_method/focus_by_name.md +0 -0
- data/docs/dsl/by_method/focus_next.md +0 -0
- data/docs/dsl/by_method/focus_previous.md +0 -0
- data/docs/dsl/by_method/focussed.md +0 -0
- data/docs/dsl/by_method/foreground_colours.md +3 -0
- data/docs/dsl/by_method/geometries.md +0 -0
- data/docs/dsl/by_method/geometry.md +0 -0
- data/docs/dsl/by_method/goto.md +6 -0
- data/docs/dsl/by_method/group.md +0 -0
- data/docs/dsl/by_method/groups.md +0 -0
- data/docs/dsl/by_method/height.md +7 -0
- data/docs/dsl/by_method/hide_cursor.md +0 -0
- data/docs/dsl/by_method/hide_group.md +0 -0
- data/docs/dsl/by_method/hide_interface.md +0 -0
- data/docs/dsl/by_method/horizontal.md +6 -0
- data/docs/dsl/by_method/interface.md +0 -0
- data/docs/dsl/by_method/interfaces.md +0 -0
- data/docs/dsl/by_method/keymap.md +0 -0
- data/docs/dsl/by_method/keymaps.md +0 -0
- data/docs/dsl/by_method/keypress.md +0 -0
- data/docs/dsl/by_method/last_command.md +0 -0
- data/docs/dsl/by_method/last_keypress.md +0 -0
- data/docs/dsl/by_method/left.md +10 -0
- data/docs/dsl/by_method/left_vertical.md +8 -0
- data/docs/dsl/by_method/log.md +0 -0
- data/docs/dsl/by_method/log_stderr.md +0 -0
- data/docs/dsl/by_method/log_stdout.md +0 -0
- data/docs/dsl/by_method/log_timestamp.md +0 -0
- data/docs/dsl/by_method/menu.md +0 -0
- data/docs/dsl/by_method/menus.md +0 -0
- data/docs/dsl/by_method/profile.md +6 -0
- data/docs/dsl/by_method/read.md +0 -0
- data/docs/dsl/by_method/ready.md +0 -0
- data/docs/dsl/by_method/refresh.md +3 -0
- data/docs/dsl/by_method/render.md +0 -0
- data/docs/dsl/by_method/render_output.md +0 -0
- data/docs/dsl/by_method/renderer.md +0 -0
- data/docs/dsl/by_method/renderers.md +0 -0
- data/docs/dsl/by_method/renders.md +0 -0
- data/docs/dsl/by_method/resize.md +5 -0
- data/docs/dsl/by_method/right.md +10 -0
- data/docs/dsl/by_method/right_vertical.md +8 -0
- data/docs/dsl/by_method/show_cursor.md +0 -0
- data/docs/dsl/by_method/show_group.md +0 -0
- data/docs/dsl/by_method/show_interface.md +0 -0
- data/docs/dsl/by_method/timer.md +12 -0
- data/docs/dsl/by_method/title.md +12 -0
- data/docs/dsl/by_method/toggle_cursor.md +0 -0
- data/docs/dsl/by_method/toggle_group.md +0 -0
- data/docs/dsl/by_method/toggle_interface.md +0 -0
- data/docs/dsl/by_method/top.md +10 -0
- data/docs/dsl/by_method/top_horizontal.md +8 -0
- data/docs/dsl/by_method/top_left.md +8 -0
- data/docs/dsl/by_method/top_right.md +8 -0
- data/docs/dsl/by_method/trigger.md +0 -0
- data/docs/dsl/by_method/unbind.md +0 -0
- data/docs/dsl/by_method/unbind_alias.md +0 -0
- data/docs/dsl/by_method/vertical.md +7 -0
- data/docs/dsl/by_method/views.md +0 -0
- data/docs/dsl/by_method/width.md +7 -0
- data/docs/dsl/by_method/write.md +0 -0
- data/examples/284_slow_rendering.rb +6 -3
- data/examples/dsl_alignment.rb +16 -14
- data/examples/dsl_colours.rb +17 -14
- data/examples/dsl_demo_groups.rb +3 -0
- data/examples/dsl_editor.rb +13 -10
- data/examples/dsl_hello_worlds.rb +2 -0
- data/examples/dsl_horizontal_alignment.rb +14 -27
- data/examples/dsl_menus.rb +2 -0
- data/examples/dsl_vertical_alignment.rb +35 -27
- data/examples/views/empty_template.rb +3 -1
- data/examples/views/full_screen.rb +100 -0
- data/examples/views/line.rb +5 -2
- data/examples/views/lines.rb +5 -2
- data/examples/views/lines_alignment.rb +5 -2
- data/examples/views/lines_line_stream.rb +14 -18
- data/examples/views/lines_line_streams.rb +5 -3
- data/examples/views/lines_line_streams_stream.rb +16 -21
- data/examples/views/lines_line_streams_stream_stream.rb +5 -8
- data/examples/views/lines_streams.rb +5 -7
- data/examples/views/lines_streams_stream.rb +5 -8
- data/lib/vedeu.rb +16 -0
- data/lib/vedeu/all.rb +11 -8
- data/lib/vedeu/application/application_controller.rb +2 -0
- data/lib/vedeu/application/application_helper.rb +2 -0
- data/lib/vedeu/application/application_view.rb +4 -2
- data/lib/vedeu/application/controller.rb +2 -0
- data/lib/vedeu/application/helper.rb +2 -0
- data/lib/vedeu/application/view.rb +2 -0
- data/lib/vedeu/boolean.rb +2 -0
- data/lib/vedeu/borders/all.rb +2 -1
- data/lib/vedeu/borders/border.rb +5 -3
- data/lib/vedeu/borders/caption.rb +2 -0
- data/lib/vedeu/borders/dsl.rb +37 -160
- data/lib/vedeu/borders/refresh.rb +3 -1
- data/lib/vedeu/borders/repository.rb +8 -2
- data/lib/vedeu/borders/title.rb +3 -1
- data/lib/vedeu/buffers/all.rb +2 -0
- data/lib/vedeu/buffers/buffer.rb +4 -2
- data/lib/vedeu/buffers/empty.rb +2 -0
- data/lib/vedeu/buffers/null.rb +2 -0
- data/lib/vedeu/buffers/refresh.rb +2 -0
- data/lib/vedeu/buffers/repository.rb +2 -0
- data/lib/vedeu/buffers/terminal.rb +6 -14
- data/lib/vedeu/buffers/view.rb +2 -0
- data/lib/vedeu/cells/all.rb +2 -0
- data/lib/vedeu/cells/border.rb +2 -0
- data/lib/vedeu/cells/borders/all.rb +2 -0
- data/lib/vedeu/cells/borders/bottom_horizontal.rb +2 -0
- data/lib/vedeu/cells/borders/bottom_left.rb +2 -0
- data/lib/vedeu/cells/borders/bottom_right.rb +2 -0
- data/lib/vedeu/cells/borders/corner.rb +2 -0
- data/lib/vedeu/cells/borders/horizontal.rb +2 -0
- data/lib/vedeu/cells/borders/left_vertical.rb +2 -0
- data/lib/vedeu/cells/borders/right_vertical.rb +2 -0
- data/lib/vedeu/cells/borders/top_horizontal.rb +2 -0
- data/lib/vedeu/cells/borders/top_left.rb +2 -0
- data/lib/vedeu/cells/borders/top_right.rb +2 -0
- data/lib/vedeu/cells/borders/vertical.rb +2 -0
- data/lib/vedeu/cells/char.rb +2 -0
- data/lib/vedeu/cells/clear.rb +3 -1
- data/lib/vedeu/cells/empty.rb +6 -4
- data/lib/vedeu/cells/escape.rb +4 -2
- data/lib/vedeu/cells/html.rb +2 -0
- data/lib/vedeu/cells/json.rb +2 -0
- data/lib/vedeu/coercers/alignment.rb +2 -0
- data/lib/vedeu/coercers/all.rb +2 -0
- data/lib/vedeu/coercers/colour.rb +3 -1
- data/lib/vedeu/coercers/colour_attributes.rb +2 -0
- data/lib/vedeu/coercers/horizontal_alignment.rb +2 -0
- data/lib/vedeu/coercers/vertical_alignment.rb +2 -0
- data/lib/vedeu/colours/all.rb +2 -0
- data/lib/vedeu/colours/background.rb +3 -1
- data/lib/vedeu/colours/backgrounds.rb +3 -5
- data/lib/vedeu/colours/colour.rb +2 -0
- data/lib/vedeu/colours/foreground.rb +3 -1
- data/lib/vedeu/colours/foregrounds.rb +3 -5
- data/lib/vedeu/colours/repository.rb +2 -0
- data/lib/vedeu/colours/translator.rb +5 -3
- data/lib/vedeu/colours/validator.rb +3 -1
- data/lib/vedeu/common.rb +17 -8
- data/lib/vedeu/configuration/all.rb +4 -2
- data/lib/vedeu/configuration/api.rb +5 -15
- data/lib/vedeu/configuration/configuration.rb +14 -27
- data/lib/vedeu/cursors/all.rb +2 -0
- data/lib/vedeu/cursors/coordinate.rb +4 -2
- data/lib/vedeu/cursors/cursor.rb +7 -5
- data/lib/vedeu/cursors/dsl.rb +2 -0
- data/lib/vedeu/cursors/move.rb +2 -0
- data/lib/vedeu/cursors/refresh.rb +3 -1
- data/lib/vedeu/cursors/reposition.rb +2 -0
- data/lib/vedeu/cursors/repository.rb +2 -0
- data/lib/vedeu/distributed/all.rb +2 -0
- data/lib/vedeu/distributed/client.rb +5 -3
- data/lib/vedeu/distributed/server.rb +17 -15
- data/lib/vedeu/distributed/subprocess.rb +4 -2
- data/lib/vedeu/distributed/test_application.rb +2 -0
- data/lib/vedeu/distributed/uri.rb +3 -1
- data/lib/vedeu/dsl/all.rb +2 -0
- data/lib/vedeu/dsl/attributes.rb +7 -5
- data/lib/vedeu/dsl/border.rb +2 -0
- data/lib/vedeu/dsl/cursors.rb +2 -0
- data/lib/vedeu/dsl/dsl.rb +3 -1
- data/lib/vedeu/dsl/elements.rb +14 -8
- data/lib/vedeu/dsl/geometry.rb +2 -0
- data/lib/vedeu/dsl/presentation.rb +2 -0
- data/lib/vedeu/dsl/string/align.rb +2 -0
- data/lib/vedeu/dsl/string/all.rb +2 -0
- data/lib/vedeu/dsl/string/text.rb +2 -0
- data/lib/vedeu/dsl/string/truncate.rb +2 -0
- data/lib/vedeu/dsl/string/wordwrap.rb +3 -1
- data/lib/vedeu/dsl/use.rb +2 -0
- data/lib/vedeu/dsl/view.rb +5 -3
- data/lib/vedeu/dsl/views.rb +4 -2
- data/lib/vedeu/editor/all.rb +2 -0
- data/lib/vedeu/editor/collection.rb +2 -0
- data/lib/vedeu/editor/cropper.rb +3 -1
- data/lib/vedeu/editor/cursor.rb +4 -2
- data/lib/vedeu/editor/delete.rb +2 -0
- data/lib/vedeu/editor/document.rb +3 -1
- data/lib/vedeu/editor/editor.rb +2 -0
- data/lib/vedeu/editor/insert.rb +16 -6
- data/lib/vedeu/editor/item.rb +2 -0
- data/lib/vedeu/editor/line.rb +2 -0
- data/lib/vedeu/editor/lines.rb +2 -0
- data/lib/vedeu/editor/repository.rb +2 -0
- data/lib/vedeu/error.rb +9 -4
- data/lib/vedeu/esc/actions.rb +17 -15
- data/lib/vedeu/esc/all.rb +2 -0
- data/lib/vedeu/esc/background.rb +36 -34
- data/lib/vedeu/esc/borders.rb +14 -12
- data/lib/vedeu/esc/colours.rb +12 -8
- data/lib/vedeu/esc/esc.rb +16 -14
- data/lib/vedeu/esc/foreground.rb +36 -34
- data/lib/vedeu/esc/mouse.rb +6 -4
- data/lib/vedeu/events/aliases.rb +3 -1
- data/lib/vedeu/events/all.rb +2 -0
- data/lib/vedeu/events/collection.rb +2 -0
- data/lib/vedeu/events/event.rb +21 -9
- data/lib/vedeu/events/repository.rb +2 -0
- data/lib/vedeu/events/trigger.rb +3 -1
- data/lib/vedeu/geometries/all.rb +2 -0
- data/lib/vedeu/geometries/area/all.rb +2 -0
- data/lib/vedeu/geometries/area/area.rb +46 -18
- data/lib/vedeu/geometries/area/dimension.rb +7 -0
- data/lib/vedeu/geometries/area/x_dimension.rb +2 -0
- data/lib/vedeu/geometries/area/y_dimension.rb +2 -0
- data/lib/vedeu/geometries/dsl/all.rb +2 -0
- data/lib/vedeu/geometries/dsl/dsl.rb +2 -0
- data/lib/vedeu/geometries/dsl/grid.rb +2 -0
- data/lib/vedeu/geometries/dsl/validator.rb +6 -4
- data/lib/vedeu/geometries/geometry.rb +4 -2
- data/lib/vedeu/geometries/move.rb +3 -1
- data/lib/vedeu/geometries/position.rb +4 -2
- data/lib/vedeu/geometries/positionable.rb +2 -0
- data/lib/vedeu/geometries/repository.rb +2 -0
- data/lib/vedeu/groups/all.rb +2 -0
- data/lib/vedeu/groups/clear.rb +2 -0
- data/lib/vedeu/groups/dsl.rb +3 -1
- data/lib/vedeu/groups/group.rb +3 -1
- data/lib/vedeu/groups/refresh.rb +4 -2
- data/lib/vedeu/groups/repository.rb +2 -0
- data/lib/vedeu/input/all.rb +2 -0
- data/lib/vedeu/input/capture.rb +4 -2
- data/lib/vedeu/input/dsl.rb +8 -6
- data/lib/vedeu/input/key.rb +3 -1
- data/lib/vedeu/input/keymap.rb +5 -3
- data/lib/vedeu/input/keys.rb +2 -0
- data/lib/vedeu/input/mapper.rb +7 -5
- data/lib/vedeu/input/mouse.rb +4 -2
- data/lib/vedeu/input/raw.rb +2 -0
- data/lib/vedeu/input/read.rb +3 -1
- data/lib/vedeu/input/repository.rb +2 -0
- data/lib/vedeu/input/store.rb +2 -0
- data/lib/vedeu/input/translator.rb +3 -1
- data/lib/vedeu/interfaces/all.rb +2 -0
- data/lib/vedeu/interfaces/clear.rb +7 -5
- data/lib/vedeu/interfaces/dsl.rb +4 -2
- data/lib/vedeu/interfaces/interface.rb +4 -2
- data/lib/vedeu/interfaces/null.rb +2 -0
- data/lib/vedeu/interfaces/repository.rb +2 -0
- data/lib/vedeu/logging/all.rb +2 -1
- data/lib/vedeu/logging/clock_time.rb +2 -0
- data/lib/vedeu/logging/debug.rb +32 -44
- data/lib/vedeu/logging/lockless_log_device.rb +3 -1
- data/lib/vedeu/logging/log.rb +13 -39
- data/lib/vedeu/logging/mono_logger.rb +3 -1
- data/lib/vedeu/logging/timer.rb +7 -19
- data/lib/vedeu/menus/all.rb +2 -0
- data/lib/vedeu/menus/dsl.rb +2 -0
- data/lib/vedeu/menus/menu.rb +3 -1
- data/lib/vedeu/menus/repository.rb +2 -0
- data/lib/vedeu/models/all.rb +2 -0
- data/lib/vedeu/models/focus.rb +7 -5
- data/lib/vedeu/models/page.rb +3 -1
- data/lib/vedeu/models/row.rb +2 -0
- data/lib/vedeu/models/toggleable.rb +2 -0
- data/lib/vedeu/null/all.rb +2 -0
- data/lib/vedeu/null/generic.rb +2 -0
- data/lib/vedeu/output/all.rb +2 -0
- data/lib/vedeu/output/compressor.rb +9 -7
- data/lib/vedeu/output/compressor_cache.rb +3 -1
- data/lib/vedeu/output/output.rb +2 -0
- data/lib/vedeu/output/refresh.rb +3 -1
- data/lib/vedeu/output/viewport.rb +4 -2
- data/lib/vedeu/output/write.rb +2 -0
- data/lib/vedeu/plugins/plugin.rb +5 -3
- data/lib/vedeu/plugins/plugins.rb +5 -3
- data/lib/vedeu/presentation/all.rb +2 -0
- data/lib/vedeu/presentation/background.rb +2 -0
- data/lib/vedeu/presentation/colour.rb +2 -0
- data/lib/vedeu/presentation/foreground.rb +2 -0
- data/lib/vedeu/presentation/presentation.rb +4 -2
- data/lib/vedeu/presentation/style.rb +2 -0
- data/lib/vedeu/presentation/styles.rb +2 -0
- data/lib/vedeu/renderers/all.rb +10 -22
- data/lib/vedeu/renderers/file.rb +4 -2
- data/lib/vedeu/renderers/html.rb +19 -19
- data/lib/vedeu/renderers/json.rb +2 -0
- data/lib/vedeu/renderers/options.rb +2 -0
- data/lib/vedeu/renderers/terminal.rb +2 -0
- data/lib/vedeu/renderers/text.rb +2 -0
- data/lib/vedeu/repositories/all.rb +2 -0
- data/lib/vedeu/repositories/assemblage.rb +2 -0
- data/lib/vedeu/repositories/collection.rb +2 -0
- data/lib/vedeu/repositories/defaults.rb +2 -0
- data/lib/vedeu/repositories/model.rb +3 -1
- data/lib/vedeu/repositories/parent.rb +2 -0
- data/lib/vedeu/repositories/registerable.rb +2 -0
- data/lib/vedeu/repositories/repositories.rb +3 -1
- data/lib/vedeu/repositories/repository.rb +8 -6
- data/lib/vedeu/repositories/store.rb +3 -1
- data/lib/vedeu/runtime/all.rb +2 -0
- data/lib/vedeu/runtime/application.rb +2 -0
- data/lib/vedeu/runtime/bootstrap.rb +10 -8
- data/lib/vedeu/runtime/flags.rb +2 -0
- data/lib/vedeu/runtime/launcher.rb +5 -3
- data/lib/vedeu/runtime/main_loop.rb +3 -1
- data/lib/vedeu/runtime/router.rb +11 -14
- data/lib/vedeu/runtime/traps.rb +2 -0
- data/lib/vedeu/templating/all.rb +2 -0
- data/lib/vedeu/templating/decoder.rb +2 -0
- data/lib/vedeu/templating/encoder.rb +3 -1
- data/lib/vedeu/templating/helpers.rb +5 -3
- data/lib/vedeu/templating/template.rb +4 -2
- data/lib/vedeu/templating/view_template.rb +2 -0
- data/lib/vedeu/terminal/all.rb +2 -0
- data/lib/vedeu/terminal/mode.rb +2 -0
- data/lib/vedeu/terminal/terminal.rb +9 -34
- data/lib/vedeu/version.rb +3 -1
- data/lib/vedeu/views/all.rb +2 -0
- data/lib/vedeu/views/char.rb +5 -7
- data/lib/vedeu/views/chars.rb +3 -1
- data/lib/vedeu/views/composition.rb +2 -0
- data/lib/vedeu/views/default_attributes.rb +4 -2
- data/lib/vedeu/views/html_char.rb +18 -15
- data/lib/vedeu/views/line.rb +2 -0
- data/lib/vedeu/views/lines.rb +3 -1
- data/lib/vedeu/views/stream.rb +2 -0
- data/lib/vedeu/views/streams.rb +3 -1
- data/lib/vedeu/views/value.rb +2 -0
- data/lib/vedeu/views/view.rb +4 -3
- data/lib/vedeu/views/views.rb +2 -0
- data/test/lib/vedeu/application/application_controller_test.rb +2 -0
- data/test/lib/vedeu/application/application_helper_test.rb +2 -0
- data/test/lib/vedeu/application/application_view_test.rb +2 -0
- data/test/lib/vedeu/application/controller_test.rb +2 -0
- data/test/lib/vedeu/application/helper_test.rb +2 -0
- data/test/lib/vedeu/application/view_test.rb +2 -0
- data/test/lib/vedeu/boolean_test.rb +2 -0
- data/test/lib/vedeu/borders/border_test.rb +2 -0
- data/test/lib/vedeu/borders/caption_test.rb +2 -0
- data/test/lib/vedeu/borders/dsl_test.rb +6 -0
- data/test/lib/vedeu/borders/refresh_test.rb +2 -0
- data/test/lib/vedeu/borders/repository_test.rb +2 -0
- data/test/lib/vedeu/borders/title_test.rb +2 -0
- data/test/lib/vedeu/buffers/buffer_test.rb +2 -0
- data/test/lib/vedeu/buffers/empty_test.rb +2 -0
- data/test/lib/vedeu/buffers/null_test.rb +2 -0
- data/test/lib/vedeu/buffers/refresh_test.rb +2 -0
- data/test/lib/vedeu/buffers/repository_test.rb +2 -0
- data/test/lib/vedeu/buffers/terminal_test.rb +2 -0
- data/test/lib/vedeu/buffers/view_test.rb +2 -0
- data/test/lib/vedeu/cells/border_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/bottom_horizontal_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/bottom_left_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/bottom_right_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/corner_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/horizontal_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/left_vertical_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/right_vertical_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/top_horizontal_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/top_left_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/top_right_test.rb +2 -0
- data/test/lib/vedeu/cells/borders/vertical_test.rb +2 -0
- data/test/lib/vedeu/cells/char_test.rb +2 -0
- data/test/lib/vedeu/cells/clear_test.rb +2 -0
- data/test/lib/vedeu/cells/empty_test.rb +2 -0
- data/test/lib/vedeu/cells/escape_test.rb +2 -0
- data/test/lib/vedeu/cells/html_test.rb +2 -0
- data/test/lib/vedeu/cells/json_test.rb +2 -0
- data/test/lib/vedeu/coercers/alignment_test.rb +2 -0
- data/test/lib/vedeu/coercers/colour_attributes_test.rb +2 -0
- data/test/lib/vedeu/coercers/colour_test.rb +2 -0
- data/test/lib/vedeu/coercers/horizontal_alignment_test.rb +2 -0
- data/test/lib/vedeu/coercers/vertical_alignment_test.rb +2 -0
- data/test/lib/vedeu/colours/background_test.rb +2 -0
- data/test/lib/vedeu/colours/backgrounds_test.rb +2 -0
- data/test/lib/vedeu/colours/colour_test.rb +2 -0
- data/test/lib/vedeu/colours/foreground_test.rb +2 -0
- data/test/lib/vedeu/colours/foregrounds_test.rb +2 -0
- data/test/lib/vedeu/colours/repository_test.rb +2 -0
- data/test/lib/vedeu/colours/translator_test.rb +2 -0
- data/test/lib/vedeu/colours/validator_test.rb +2 -0
- data/test/lib/vedeu/common_test.rb +39 -6
- data/test/lib/vedeu/configuration/api_test.rb +37 -18
- data/test/lib/vedeu/configuration/configuration_test.rb +4 -2
- data/test/lib/vedeu/cursors/coordinate_test.rb +2 -0
- data/test/lib/vedeu/cursors/cursor_test.rb +2 -0
- data/test/lib/vedeu/cursors/dsl_test.rb +2 -0
- data/test/lib/vedeu/cursors/move_test.rb +2 -0
- data/test/lib/vedeu/cursors/refresh_test.rb +2 -0
- data/test/lib/vedeu/cursors/reposition_test.rb +2 -0
- data/test/lib/vedeu/cursors/repository_test.rb +2 -0
- data/test/lib/vedeu/distributed/client_test.rb +2 -0
- data/test/lib/vedeu/distributed/server_test.rb +2 -0
- data/test/lib/vedeu/distributed/subprocess_test.rb +2 -0
- data/test/lib/vedeu/distributed/test_application_test.rb +2 -0
- data/test/lib/vedeu/distributed/uri_test.rb +2 -0
- data/test/lib/vedeu/dsl/attributes_test.rb +2 -0
- data/test/lib/vedeu/dsl/border_test.rb +2 -0
- data/test/lib/vedeu/dsl/cursors_test.rb +2 -0
- data/test/lib/vedeu/dsl/dsl_test.rb +2 -0
- data/test/lib/vedeu/dsl/elements_test.rb +2 -0
- data/test/lib/vedeu/dsl/geometry_test.rb +2 -0
- data/test/lib/vedeu/dsl/presentation_test.rb +2 -0
- data/test/lib/vedeu/dsl/string/align_test.rb +2 -0
- data/test/lib/vedeu/dsl/string/text_test.rb +2 -0
- data/test/lib/vedeu/dsl/string/truncate_test.rb +2 -0
- data/test/lib/vedeu/dsl/string/wordwrap_test.rb +2 -0
- data/test/lib/vedeu/dsl/use_test.rb +2 -0
- data/test/lib/vedeu/dsl/view_test.rb +2 -0
- data/test/lib/vedeu/dsl/views_test.rb +2 -0
- data/test/lib/vedeu/editor/collection_test.rb +2 -0
- data/test/lib/vedeu/editor/cropper_test.rb +2 -0
- data/test/lib/vedeu/editor/cursor_test.rb +2 -0
- data/test/lib/vedeu/editor/delete_test.rb +2 -0
- data/test/lib/vedeu/editor/document_test.rb +2 -0
- data/test/lib/vedeu/editor/editor_test.rb +2 -0
- data/test/lib/vedeu/editor/insert_test.rb +2 -0
- data/test/lib/vedeu/editor/item_test.rb +2 -0
- data/test/lib/vedeu/editor/line_test.rb +2 -0
- data/test/lib/vedeu/editor/lines_test.rb +2 -0
- data/test/lib/vedeu/editor/repository_test.rb +2 -0
- data/test/lib/vedeu/error_test.rb +2 -0
- data/test/lib/vedeu/esc/actions_test.rb +2 -0
- data/test/lib/vedeu/esc/background_test.rb +2 -0
- data/test/lib/vedeu/esc/borders_test.rb +2 -0
- data/test/lib/vedeu/esc/colours_test.rb +2 -0
- data/test/lib/vedeu/esc/esc_test.rb +2 -0
- data/test/lib/vedeu/esc/foreground_test.rb +2 -0
- data/test/lib/vedeu/esc/mouse_test.rb +2 -0
- data/test/lib/vedeu/events/aliases_test.rb +2 -0
- data/test/lib/vedeu/events/collection_test.rb +2 -0
- data/test/lib/vedeu/events/event_test.rb +2 -0
- data/test/lib/vedeu/events/repository_test.rb +2 -0
- data/test/lib/vedeu/events/trigger_test.rb +2 -0
- data/test/lib/vedeu/geometries/area/area_test.rb +54 -26
- data/test/lib/vedeu/geometries/area/dimension_test.rb +2 -0
- data/test/lib/vedeu/geometries/area/x_dimension_test.rb +2 -0
- data/test/lib/vedeu/geometries/area/y_dimension_test.rb +2 -0
- data/test/lib/vedeu/geometries/dsl/dsl_test.rb +2 -0
- data/test/lib/vedeu/geometries/dsl/grid_test.rb +2 -0
- data/test/lib/vedeu/geometries/dsl/validator_test.rb +2 -0
- data/test/lib/vedeu/geometries/geometry_test.rb +2 -0
- data/test/lib/vedeu/geometries/move_test.rb +2 -0
- data/test/lib/vedeu/geometries/position_test.rb +2 -0
- data/test/lib/vedeu/geometries/positionable_test.rb +2 -0
- data/test/lib/vedeu/geometries/repository_test.rb +2 -0
- data/test/lib/vedeu/groups/clear_test.rb +2 -0
- data/test/lib/vedeu/groups/dsl_test.rb +2 -0
- data/test/lib/vedeu/groups/group_test.rb +2 -0
- data/test/lib/vedeu/groups/refresh_test.rb +2 -0
- data/test/lib/vedeu/groups/repository_test.rb +2 -0
- data/test/lib/vedeu/input/capture_test.rb +2 -0
- data/test/lib/vedeu/input/dsl_test.rb +2 -0
- data/test/lib/vedeu/input/key_test.rb +2 -0
- data/test/lib/vedeu/input/keymap_test.rb +2 -0
- data/test/lib/vedeu/input/keys_test.rb +2 -0
- data/test/lib/vedeu/input/mapper_test.rb +2 -0
- data/test/lib/vedeu/input/mouse_test.rb +2 -0
- data/test/lib/vedeu/input/raw_test.rb +2 -0
- data/test/lib/vedeu/input/read_test.rb +2 -0
- data/test/lib/vedeu/input/repository_test.rb +2 -0
- data/test/lib/vedeu/input/store_test.rb +2 -0
- data/test/lib/vedeu/input/translator_test.rb +2 -0
- data/test/lib/vedeu/interfaces/clear_test.rb +2 -0
- data/test/lib/vedeu/interfaces/dsl_test.rb +2 -0
- data/test/lib/vedeu/interfaces/interface_test.rb +2 -0
- data/test/lib/vedeu/interfaces/null_test.rb +2 -0
- data/test/lib/vedeu/interfaces/repository_test.rb +2 -0
- data/test/lib/vedeu/logging/clock_time_test.rb +2 -0
- data/test/lib/vedeu/logging/debug_test.rb +37 -9
- data/test/lib/vedeu/logging/lockless_log_device_test.rb +2 -0
- data/test/lib/vedeu/logging/log_test.rb +2 -0
- data/test/lib/vedeu/logging/mono_logger_test.rb +2 -0
- data/test/lib/vedeu/logging/timer_test.rb +2 -0
- data/test/lib/vedeu/menus/dsl_test.rb +2 -0
- data/test/lib/vedeu/menus/menu_test.rb +2 -0
- data/test/lib/vedeu/menus/repository_test.rb +2 -0
- data/test/lib/vedeu/models/focus_test.rb +2 -0
- data/test/lib/vedeu/models/page_test.rb +2 -0
- data/test/lib/vedeu/models/row_test.rb +2 -0
- data/test/lib/vedeu/models/toggleable_test.rb +2 -0
- data/test/lib/vedeu/null/generic_test.rb +2 -0
- data/test/lib/vedeu/output/compressor_cache_test.rb +2 -0
- data/test/lib/vedeu/output/compressor_test.rb +2 -0
- data/test/lib/vedeu/output/output_test.rb +2 -0
- data/test/lib/vedeu/output/refresh_test.rb +2 -0
- data/test/lib/vedeu/output/viewport_test.rb +2 -0
- data/test/lib/vedeu/output/write_test.rb +2 -0
- data/test/lib/vedeu/plugins/plugin_test.rb +2 -0
- data/test/lib/vedeu/plugins/plugins_test.rb +2 -0
- data/test/lib/vedeu/presentation/background_test.rb +2 -0
- data/test/lib/vedeu/presentation/colour_test.rb +2 -0
- data/test/lib/vedeu/presentation/foreground_test.rb +2 -0
- data/test/lib/vedeu/presentation/presentation_test.rb +2 -0
- data/test/lib/vedeu/presentation/style_test.rb +2 -0
- data/test/lib/vedeu/presentation/styles_test.rb +2 -0
- data/test/lib/vedeu/renderers/all_test.rb +4 -95
- data/test/lib/vedeu/renderers/file_test.rb +2 -0
- data/test/lib/vedeu/renderers/html_test.rb +28 -1
- data/test/lib/vedeu/renderers/json_test.rb +2 -0
- data/test/lib/vedeu/renderers/options_test.rb +2 -0
- data/test/lib/vedeu/renderers/terminal_test.rb +2 -0
- data/test/lib/vedeu/renderers/text_test.rb +2 -0
- data/test/lib/vedeu/repositories/assemblage_test.rb +2 -0
- data/test/lib/vedeu/repositories/collection_test.rb +2 -0
- data/test/lib/vedeu/repositories/defaults_test.rb +2 -0
- data/test/lib/vedeu/repositories/model_test.rb +2 -0
- data/test/lib/vedeu/repositories/registerable_test.rb +2 -0
- data/test/lib/vedeu/repositories/repositories_test.rb +2 -0
- data/test/lib/vedeu/repositories/repository_test.rb +2 -0
- data/test/lib/vedeu/repositories/store_test.rb +2 -0
- data/test/lib/vedeu/runtime/application_test.rb +2 -0
- data/test/lib/vedeu/runtime/bootstrap_test.rb +2 -0
- data/test/lib/vedeu/runtime/flags_test.rb +2 -0
- data/test/lib/vedeu/runtime/launcher_test.rb +2 -0
- data/test/lib/vedeu/runtime/main_loop_test.rb +2 -0
- data/test/lib/vedeu/runtime/router_test.rb +2 -0
- data/test/lib/vedeu/runtime/traps_test.rb +2 -0
- data/test/lib/vedeu/templating/decoder_test.rb +2 -0
- data/test/lib/vedeu/templating/encoder_test.rb +2 -0
- data/test/lib/vedeu/templating/helpers_test.rb +2 -0
- data/test/lib/vedeu/templating/template_test.rb +2 -0
- data/test/lib/vedeu/templating/view_template_test.rb +2 -0
- data/test/lib/vedeu/terminal/mode_test.rb +2 -0
- data/test/lib/vedeu/terminal/terminal_test.rb +2 -0
- data/test/lib/vedeu/views/char_test.rb +2 -0
- data/test/lib/vedeu/views/chars_test.rb +2 -0
- data/test/lib/vedeu/views/composition_test.rb +2 -0
- data/test/lib/vedeu/views/default_attributes_test.rb +2 -0
- data/test/lib/vedeu/views/html_char_test.rb +2 -0
- data/test/lib/vedeu/views/line_test.rb +2 -0
- data/test/lib/vedeu/views/lines_test.rb +2 -0
- data/test/lib/vedeu/views/stream_test.rb +2 -0
- data/test/lib/vedeu/views/streams_test.rb +2 -0
- data/test/lib/vedeu/views/value_test.rb +2 -0
- data/test/lib/vedeu/views/view_test.rb +2 -0
- data/test/lib/vedeu/views/views_test.rb +2 -0
- data/test/lib/vedeu_test.rb +21 -3
- data/test/support/examples/material_colours_app.rb +17 -1
- data/test/support/helpers/model_test_class.rb +2 -0
- data/test/support/helpers/presentation_colour_test_class.rb +2 -0
- data/test/test_helper.rb +3 -22
- data/vedeu.gemspec +0 -3
- metadata +105 -52
- data/docs/debugging.md +0 -18
- data/lib/vedeu/borders/set_attribute.rb +0 -73
- data/lib/vedeu/logging/ips.rb +0 -66
- data/test/lib/vedeu/borders/set_attribute_test.rb +0 -62
- data/test/lib/vedeu/logging/ips_test.rb +0 -52
data/test/lib/vedeu_test.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'test_helper'
|
2
4
|
|
3
5
|
describe Vedeu do
|
@@ -42,7 +44,7 @@ describe Vedeu do
|
|
42
44
|
it { Vedeu.must_respond_to(:group) }
|
43
45
|
it { Vedeu.must_respond_to(:groups) }
|
44
46
|
|
45
|
-
describe '
|
47
|
+
describe '.height' do
|
46
48
|
before { Vedeu::Terminal.stubs(:size).returns([25, 40]) }
|
47
49
|
|
48
50
|
it { Vedeu.must_respond_to(:height) }
|
@@ -70,8 +72,24 @@ describe Vedeu do
|
|
70
72
|
it { Vedeu.must_respond_to(:render) }
|
71
73
|
it { Vedeu.must_respond_to(:render_output) }
|
72
74
|
it { Vedeu.must_respond_to(:renders) }
|
73
|
-
it { Vedeu.must_respond_to(:renderer) }
|
74
75
|
it { Vedeu.must_respond_to(:renderers) }
|
76
|
+
|
77
|
+
describe '.requires_gem!' do
|
78
|
+
let(:gem_name) { 'vedeu' }
|
79
|
+
|
80
|
+
subject { Vedeu.requires_gem!(gem_name) }
|
81
|
+
|
82
|
+
context 'when the gem is available' do
|
83
|
+
it { subject.must_equal(true) }
|
84
|
+
end
|
85
|
+
|
86
|
+
context 'when the gem is not available' do
|
87
|
+
let(:gem_name) { 'some_unknown_gem' }
|
88
|
+
|
89
|
+
it { proc { subject }.must_raise(Vedeu::Error::Fatal) }
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
75
93
|
it { Vedeu.must_respond_to(:resize) }
|
76
94
|
it { Vedeu.must_respond_to(:show_cursor) }
|
77
95
|
it { Vedeu.must_respond_to(:show_group) }
|
@@ -85,7 +103,7 @@ describe Vedeu do
|
|
85
103
|
it { Vedeu.must_respond_to(:unbind_alias) }
|
86
104
|
it { Vedeu.must_respond_to(:views) }
|
87
105
|
|
88
|
-
describe '
|
106
|
+
describe '.width' do
|
89
107
|
before { Vedeu::Terminal.stubs(:size).returns([25, 40]) }
|
90
108
|
|
91
109
|
it { Vedeu.must_respond_to(:width) }
|
@@ -18,7 +18,7 @@ class VedeuMaterialColoursApp
|
|
18
18
|
# performance.
|
19
19
|
Vedeu.configure do
|
20
20
|
# background '#607d8b'
|
21
|
-
|
21
|
+
colour background: '#607d8b', foreground: '#ffff00'
|
22
22
|
debug!
|
23
23
|
# foreground '#ffff00'
|
24
24
|
# profile!
|
@@ -52,6 +52,12 @@ class VedeuMaterialColoursApp
|
|
52
52
|
show_top false
|
53
53
|
end
|
54
54
|
|
55
|
+
# 0 1 2
|
56
|
+
# ----------------------
|
57
|
+
# 3456789012345678901234
|
58
|
+
# ----------------------
|
59
|
+
# 0 1 2
|
60
|
+
|
55
61
|
Vedeu.interface 'main_interface' do
|
56
62
|
border 'main_interface' do
|
57
63
|
colour foreground: '#ffffff', background: :default
|
@@ -485,33 +491,39 @@ class VedeuMaterialColoursApp
|
|
485
491
|
end
|
486
492
|
lines do
|
487
493
|
line 'default'
|
494
|
+
line '4, 10'
|
488
495
|
end
|
489
496
|
end
|
490
497
|
view('border_off') do
|
491
498
|
lines do
|
492
499
|
line 'border'
|
493
500
|
line 'off'
|
501
|
+
line '4, 10'
|
494
502
|
end
|
495
503
|
end
|
496
504
|
view('no_top') do
|
497
505
|
lines do
|
498
506
|
line 'no top'
|
507
|
+
line '4, 10'
|
499
508
|
end
|
500
509
|
end
|
501
510
|
view('no_bottom') do
|
502
511
|
lines do
|
503
512
|
line 'no'
|
504
513
|
line 'bottom'
|
514
|
+
line '4, 10'
|
505
515
|
end
|
506
516
|
end
|
507
517
|
view('no_left') do
|
508
518
|
lines do
|
509
519
|
line 'no left'
|
520
|
+
line '4, 10'
|
510
521
|
end
|
511
522
|
end
|
512
523
|
view('no_right') do
|
513
524
|
lines do
|
514
525
|
line 'no right'
|
526
|
+
line '4, 10'
|
515
527
|
end
|
516
528
|
end
|
517
529
|
view('custom_corners') do
|
@@ -545,24 +557,28 @@ class VedeuMaterialColoursApp
|
|
545
557
|
lines do
|
546
558
|
line 'only'
|
547
559
|
line 'top'
|
560
|
+
line '4, 10'
|
548
561
|
end
|
549
562
|
end
|
550
563
|
view('only_bottom') do
|
551
564
|
lines do
|
552
565
|
line 'only'
|
553
566
|
line 'bottom'
|
567
|
+
line '4, 10'
|
554
568
|
end
|
555
569
|
end
|
556
570
|
view('only_left') do
|
557
571
|
lines do
|
558
572
|
line 'only'
|
559
573
|
line 'left'
|
574
|
+
line '4, 10'
|
560
575
|
end
|
561
576
|
end
|
562
577
|
view('only_right') do
|
563
578
|
lines do
|
564
579
|
line 'only'
|
565
580
|
line 'right'
|
581
|
+
line '4, 10'
|
566
582
|
end
|
567
583
|
end
|
568
584
|
view('custom_colour') do
|
data/test/test_helper.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
if ENV['SIMPLECOV'].to_i == 1 || ENV['CONSOLE_COVERAGE'].to_i == 1
|
2
4
|
require 'simplecov'
|
3
5
|
require 'simplecov-console' if ENV['CONSOLE_COVERAGE'].to_i == 1
|
@@ -52,7 +54,7 @@ end
|
|
52
54
|
module VedeuMiniTestPlugin
|
53
55
|
# def before_setup
|
54
56
|
# # Vedeu::Repositories.reset!
|
55
|
-
# # Vedeu.log(type: :debug, message: "#{self.class}"
|
57
|
+
# # Vedeu.log(type: :debug, message: "#{self.class}")
|
56
58
|
#
|
57
59
|
# super
|
58
60
|
# end
|
@@ -129,24 +131,3 @@ def test_configuration
|
|
129
131
|
end
|
130
132
|
|
131
133
|
test_configuration
|
132
|
-
|
133
|
-
# require "benchmark/ips"
|
134
|
-
|
135
|
-
# def fast
|
136
|
-
# end
|
137
|
-
|
138
|
-
# def slow
|
139
|
-
# end
|
140
|
-
|
141
|
-
# Benchmark.ips do |x|
|
142
|
-
# x.report("describe") { fast }
|
143
|
-
# x.report("describe") { slow }
|
144
|
-
# x.compare!
|
145
|
-
# end
|
146
|
-
|
147
|
-
# ips = Vedeu::Logging::Debug::IPS.new
|
148
|
-
# ips.add_item('original') do
|
149
|
-
# end
|
150
|
-
# ips.add_item('newimproved') do
|
151
|
-
# end
|
152
|
-
# ips.execute!
|
data/vedeu.gemspec
CHANGED
@@ -31,11 +31,8 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency 'simplecov-console', '0.2.0'
|
32
32
|
spec.add_development_dependency 'yard', '0.8.7.6'
|
33
33
|
|
34
|
-
spec.add_dependency 'benchmark-ips', '2.3.0'
|
35
34
|
spec.add_dependency 'bundler', '~> 1.10'
|
36
|
-
spec.add_dependency 'pry', '0.10.3'
|
37
35
|
spec.add_dependency 'rake', '~> 10.4'
|
38
|
-
spec.add_dependency 'ruby-prof', '0.15.9'
|
39
36
|
spec.add_dependency 'thor', '0.19.1'
|
40
37
|
spec.add_dependency 'vedeu_cli', '0.0.8'
|
41
38
|
end
|
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.8.
|
4
|
+
version: 0.8.1
|
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-12-
|
11
|
+
date: 2015-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -150,20 +150,6 @@ dependencies:
|
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 0.8.7.6
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: benchmark-ips
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - '='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 2.3.0
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 2.3.0
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: bundler
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,20 +164,6 @@ dependencies:
|
|
178
164
|
- - "~>"
|
179
165
|
- !ruby/object:Gem::Version
|
180
166
|
version: '1.10'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: pry
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - '='
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 0.10.3
|
188
|
-
type: :runtime
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - '='
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: 0.10.3
|
195
167
|
- !ruby/object:Gem::Dependency
|
196
168
|
name: rake
|
197
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,20 +178,6 @@ dependencies:
|
|
206
178
|
- - "~>"
|
207
179
|
- !ruby/object:Gem::Version
|
208
180
|
version: '10.4'
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: ruby-prof
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - '='
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: 0.15.9
|
216
|
-
type: :runtime
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - '='
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 0.15.9
|
223
181
|
- !ruby/object:Gem::Dependency
|
224
182
|
name: thor
|
225
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -285,8 +243,108 @@ files:
|
|
285
243
|
- docs/colours_styles.md
|
286
244
|
- docs/configuration.md
|
287
245
|
- docs/cursors.md
|
288
|
-
- docs/debugging.md
|
289
246
|
- docs/dsl.md
|
247
|
+
- docs/dsl/borders.md
|
248
|
+
- docs/dsl/by_method/add_command.md
|
249
|
+
- docs/dsl/by_method/add_keypress.md
|
250
|
+
- docs/dsl/by_method/all_commands.md
|
251
|
+
- docs/dsl/by_method/all_keypresses.md
|
252
|
+
- docs/dsl/by_method/background_colours.md
|
253
|
+
- docs/dsl/by_method/bind.md
|
254
|
+
- docs/dsl/by_method/bind_alias.md
|
255
|
+
- docs/dsl/by_method/border.md
|
256
|
+
- docs/dsl/by_method/borders.md
|
257
|
+
- docs/dsl/by_method/bottom.md
|
258
|
+
- docs/dsl/by_method/bottom_horizontal.md
|
259
|
+
- docs/dsl/by_method/bottom_left.md
|
260
|
+
- docs/dsl/by_method/bottom_right.md
|
261
|
+
- docs/dsl/by_method/bound.md
|
262
|
+
- docs/dsl/by_method/buffer_update.md
|
263
|
+
- docs/dsl/by_method/buffer_write.md
|
264
|
+
- docs/dsl/by_method/buffers.md
|
265
|
+
- docs/dsl/by_method/caption.md
|
266
|
+
- docs/dsl/by_method/clear.md
|
267
|
+
- docs/dsl/by_method/clear_by_group.md
|
268
|
+
- docs/dsl/by_method/clear_by_name.md
|
269
|
+
- docs/dsl/by_method/clear_content_by_name.md
|
270
|
+
- docs/dsl/by_method/clock_time.md
|
271
|
+
- docs/dsl/by_method/configuration.md
|
272
|
+
- docs/dsl/by_method/configure.md
|
273
|
+
- docs/dsl/by_method/cursor.md
|
274
|
+
- docs/dsl/by_method/cursors.md
|
275
|
+
- docs/dsl/by_method/debug.md
|
276
|
+
- docs/dsl/by_method/direct_write.md
|
277
|
+
- docs/dsl/by_method/disable.md
|
278
|
+
- docs/dsl/by_method/documents.md
|
279
|
+
- docs/dsl/by_method/drb_restart.md
|
280
|
+
- docs/dsl/by_method/drb_start.md
|
281
|
+
- docs/dsl/by_method/drb_status.md
|
282
|
+
- docs/dsl/by_method/drb_stop.md
|
283
|
+
- docs/dsl/by_method/enable.md
|
284
|
+
- docs/dsl/by_method/events.md
|
285
|
+
- docs/dsl/by_method/exit.md
|
286
|
+
- docs/dsl/by_method/focus.md
|
287
|
+
- docs/dsl/by_method/focus_by_name.md
|
288
|
+
- docs/dsl/by_method/focus_next.md
|
289
|
+
- docs/dsl/by_method/focus_previous.md
|
290
|
+
- docs/dsl/by_method/focussed.md
|
291
|
+
- docs/dsl/by_method/foreground_colours.md
|
292
|
+
- docs/dsl/by_method/geometries.md
|
293
|
+
- docs/dsl/by_method/geometry.md
|
294
|
+
- docs/dsl/by_method/goto.md
|
295
|
+
- docs/dsl/by_method/group.md
|
296
|
+
- docs/dsl/by_method/groups.md
|
297
|
+
- docs/dsl/by_method/height.md
|
298
|
+
- docs/dsl/by_method/hide_cursor.md
|
299
|
+
- docs/dsl/by_method/hide_group.md
|
300
|
+
- docs/dsl/by_method/hide_interface.md
|
301
|
+
- docs/dsl/by_method/horizontal.md
|
302
|
+
- docs/dsl/by_method/interface.md
|
303
|
+
- docs/dsl/by_method/interfaces.md
|
304
|
+
- docs/dsl/by_method/keymap.md
|
305
|
+
- docs/dsl/by_method/keymaps.md
|
306
|
+
- docs/dsl/by_method/keypress.md
|
307
|
+
- docs/dsl/by_method/last_command.md
|
308
|
+
- docs/dsl/by_method/last_keypress.md
|
309
|
+
- docs/dsl/by_method/left.md
|
310
|
+
- docs/dsl/by_method/left_vertical.md
|
311
|
+
- docs/dsl/by_method/log.md
|
312
|
+
- docs/dsl/by_method/log_stderr.md
|
313
|
+
- docs/dsl/by_method/log_stdout.md
|
314
|
+
- docs/dsl/by_method/log_timestamp.md
|
315
|
+
- docs/dsl/by_method/menu.md
|
316
|
+
- docs/dsl/by_method/menus.md
|
317
|
+
- docs/dsl/by_method/profile.md
|
318
|
+
- docs/dsl/by_method/read.md
|
319
|
+
- docs/dsl/by_method/ready.md
|
320
|
+
- docs/dsl/by_method/refresh.md
|
321
|
+
- docs/dsl/by_method/render.md
|
322
|
+
- docs/dsl/by_method/render_output.md
|
323
|
+
- docs/dsl/by_method/renderer.md
|
324
|
+
- docs/dsl/by_method/renderers.md
|
325
|
+
- docs/dsl/by_method/renders.md
|
326
|
+
- docs/dsl/by_method/resize.md
|
327
|
+
- docs/dsl/by_method/right.md
|
328
|
+
- docs/dsl/by_method/right_vertical.md
|
329
|
+
- docs/dsl/by_method/show_cursor.md
|
330
|
+
- docs/dsl/by_method/show_group.md
|
331
|
+
- docs/dsl/by_method/show_interface.md
|
332
|
+
- docs/dsl/by_method/timer.md
|
333
|
+
- docs/dsl/by_method/title.md
|
334
|
+
- docs/dsl/by_method/toggle_cursor.md
|
335
|
+
- docs/dsl/by_method/toggle_group.md
|
336
|
+
- docs/dsl/by_method/toggle_interface.md
|
337
|
+
- docs/dsl/by_method/top.md
|
338
|
+
- docs/dsl/by_method/top_horizontal.md
|
339
|
+
- docs/dsl/by_method/top_left.md
|
340
|
+
- docs/dsl/by_method/top_right.md
|
341
|
+
- docs/dsl/by_method/trigger.md
|
342
|
+
- docs/dsl/by_method/unbind.md
|
343
|
+
- docs/dsl/by_method/unbind_alias.md
|
344
|
+
- docs/dsl/by_method/vertical.md
|
345
|
+
- docs/dsl/by_method/views.md
|
346
|
+
- docs/dsl/by_method/width.md
|
347
|
+
- docs/dsl/by_method/write.md
|
290
348
|
- docs/dsl_elements.md
|
291
349
|
- docs/events.md
|
292
350
|
- docs/events/application.md
|
@@ -412,6 +470,7 @@ files:
|
|
412
470
|
- examples/views/expected/line.out
|
413
471
|
- examples/views/expected/lines.out
|
414
472
|
- examples/views/expected/lines_alignment.out
|
473
|
+
- examples/views/full_screen.rb
|
415
474
|
- examples/views/line.rb
|
416
475
|
- examples/views/lines.rb
|
417
476
|
- examples/views/lines_alignment.rb
|
@@ -438,7 +497,6 @@ files:
|
|
438
497
|
- lib/vedeu/borders/dsl.rb
|
439
498
|
- lib/vedeu/borders/refresh.rb
|
440
499
|
- lib/vedeu/borders/repository.rb
|
441
|
-
- lib/vedeu/borders/set_attribute.rb
|
442
500
|
- lib/vedeu/borders/title.rb
|
443
501
|
- lib/vedeu/buffers/all.rb
|
444
502
|
- lib/vedeu/buffers/buffer.rb
|
@@ -596,7 +654,6 @@ files:
|
|
596
654
|
- lib/vedeu/logging/all.rb
|
597
655
|
- lib/vedeu/logging/clock_time.rb
|
598
656
|
- lib/vedeu/logging/debug.rb
|
599
|
-
- lib/vedeu/logging/ips.rb
|
600
657
|
- lib/vedeu/logging/lockless_log_device.rb
|
601
658
|
- lib/vedeu/logging/log.rb
|
602
659
|
- lib/vedeu/logging/mono_logger.rb
|
@@ -690,7 +747,6 @@ files:
|
|
690
747
|
- test/lib/vedeu/borders/dsl_test.rb
|
691
748
|
- test/lib/vedeu/borders/refresh_test.rb
|
692
749
|
- test/lib/vedeu/borders/repository_test.rb
|
693
|
-
- test/lib/vedeu/borders/set_attribute_test.rb
|
694
750
|
- test/lib/vedeu/borders/title_test.rb
|
695
751
|
- test/lib/vedeu/buffers/buffer_test.rb
|
696
752
|
- test/lib/vedeu/buffers/empty_test.rb
|
@@ -819,7 +875,6 @@ files:
|
|
819
875
|
- test/lib/vedeu/interfaces/repository_test.rb
|
820
876
|
- test/lib/vedeu/logging/clock_time_test.rb
|
821
877
|
- test/lib/vedeu/logging/debug_test.rb
|
822
|
-
- test/lib/vedeu/logging/ips_test.rb
|
823
878
|
- test/lib/vedeu/logging/lockless_log_device_test.rb
|
824
879
|
- test/lib/vedeu/logging/log_test.rb
|
825
880
|
- test/lib/vedeu/logging/mono_logger_test.rb
|
@@ -927,7 +982,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
927
982
|
version: '0'
|
928
983
|
requirements: []
|
929
984
|
rubyforge_project:
|
930
|
-
rubygems_version: 2.
|
985
|
+
rubygems_version: 2.5.1
|
931
986
|
signing_key:
|
932
987
|
specification_version: 4
|
933
988
|
summary: A terminal case of wonderland.
|
@@ -944,7 +999,6 @@ test_files:
|
|
944
999
|
- test/lib/vedeu/borders/dsl_test.rb
|
945
1000
|
- test/lib/vedeu/borders/refresh_test.rb
|
946
1001
|
- test/lib/vedeu/borders/repository_test.rb
|
947
|
-
- test/lib/vedeu/borders/set_attribute_test.rb
|
948
1002
|
- test/lib/vedeu/borders/title_test.rb
|
949
1003
|
- test/lib/vedeu/buffers/buffer_test.rb
|
950
1004
|
- test/lib/vedeu/buffers/empty_test.rb
|
@@ -1073,7 +1127,6 @@ test_files:
|
|
1073
1127
|
- test/lib/vedeu/interfaces/repository_test.rb
|
1074
1128
|
- test/lib/vedeu/logging/clock_time_test.rb
|
1075
1129
|
- test/lib/vedeu/logging/debug_test.rb
|
1076
|
-
- test/lib/vedeu/logging/ips_test.rb
|
1077
1130
|
- test/lib/vedeu/logging/lockless_log_device_test.rb
|
1078
1131
|
- test/lib/vedeu/logging/log_test.rb
|
1079
1132
|
- test/lib/vedeu/logging/mono_logger_test.rb
|