vedeu 0.4.54 → 0.4.55
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vedeu.rb +1 -1
- data/lib/vedeu/all.rb +5 -1
- data/lib/vedeu/api.rb +7 -3
- data/lib/vedeu/application/all.rb +6 -6
- data/lib/vedeu/application/application_controller.rb +1 -1
- data/lib/vedeu/application/application_helper.rb +1 -1
- data/lib/vedeu/application/application_view.rb +1 -1
- data/lib/vedeu/application/view.rb +10 -0
- data/lib/vedeu/bindings/all.rb +13 -5
- data/lib/vedeu/bootstrap.rb +0 -2
- data/lib/vedeu/buffers/all.rb +3 -2
- data/lib/vedeu/{repositories/repositories → buffers}/buffers.rb +1 -1
- data/lib/vedeu/cli/all.rb +1 -1
- data/lib/vedeu/cli/generator/helpers.rb +2 -2
- data/lib/vedeu/colours/all.rb +7 -0
- data/lib/vedeu/{output → colours}/background.rb +0 -0
- data/lib/vedeu/{repositories/repositories → colours}/backgrounds.rb +0 -0
- data/lib/vedeu/{output → colours}/colour.rb +0 -0
- data/lib/vedeu/{output → colours}/colour_translator.rb +0 -0
- data/lib/vedeu/{repositories/repositories → colours}/colours.rb +0 -0
- data/lib/vedeu/{output → colours}/foreground.rb +0 -0
- data/lib/vedeu/{repositories/repositories → colours}/foregrounds.rb +0 -0
- data/lib/vedeu/{support/common.rb → common.rb} +0 -0
- data/lib/vedeu/configuration/all.rb +3 -3
- data/lib/vedeu/cursor/all.rb +5 -4
- data/lib/vedeu/cursor/cursor.rb +1 -1
- data/lib/vedeu/{repositories/repositories → cursor}/cursors.rb +2 -19
- data/lib/vedeu/distributed/all.rb +5 -5
- data/lib/vedeu/distributed/test_application.rb +1 -1
- data/lib/vedeu/dsl/all.rb +1 -1
- data/lib/vedeu/dsl/composition.rb +1 -1
- data/lib/vedeu/dsl/use.rb +1 -1
- data/lib/vedeu/events/all.rb +4 -3
- data/lib/vedeu/{repositories/repositories → events}/events.rb +0 -0
- data/lib/vedeu/geometry/all.rb +14 -9
- data/lib/vedeu/{repositories/repositories → geometry}/geometries.rb +0 -0
- data/lib/vedeu/input/all.rb +5 -4
- data/lib/vedeu/{repositories/repositories → input}/keymaps.rb +0 -0
- data/lib/vedeu/{support/log.rb → log.rb} +0 -0
- data/lib/vedeu/models/all.rb +14 -10
- data/lib/vedeu/models/group.rb +3 -3
- data/lib/vedeu/{repositories/repositories → models}/groups.rb +2 -16
- data/lib/vedeu/models/interface.rb +1 -1
- data/lib/vedeu/{repositories/repositories → models}/interfaces.rb +1 -1
- data/lib/vedeu/{repositories/repositories → models}/menus.rb +0 -0
- data/lib/vedeu/{support → models}/toggleable.rb +4 -4
- data/lib/vedeu/null/all.rb +5 -5
- data/lib/vedeu/null/border.rb +5 -3
- data/lib/vedeu/null/buffer.rb +5 -3
- data/lib/vedeu/null/generic.rb +6 -1
- data/lib/vedeu/null/geometry.rb +6 -4
- data/lib/vedeu/null/interface.rb +9 -10
- data/lib/vedeu/output/all.rb +21 -21
- data/lib/vedeu/{repositories/repositories → output}/borders.rb +0 -0
- data/lib/vedeu/output/clear/all.rb +2 -2
- data/lib/vedeu/output/html_char.rb +1 -1
- data/lib/vedeu/output/presentation.rb +25 -0
- data/lib/vedeu/output/refresh.rb +1 -1
- data/lib/vedeu/output/refresh_group.rb +5 -3
- data/lib/vedeu/output/renderers/all.rb +8 -8
- data/lib/vedeu/output/renderers/html.rb +2 -2
- data/lib/vedeu/repositories/all.rb +5 -7
- data/lib/vedeu/repositories/collection.rb +42 -0
- data/lib/vedeu/repositories/model.rb +2 -2
- data/lib/vedeu/repositories/repository.rb +11 -2
- data/lib/vedeu/templating/all.rb +4 -3
- data/lib/vedeu/templating/template.rb +75 -0
- data/lib/vedeu/{support/terminal.rb → terminal.rb} +0 -0
- data/lib/vedeu/{support/timer.rb → timer.rb} +0 -0
- data/lib/vedeu/version.rb +1 -1
- data/test/lib/vedeu/application/view_test.rb +11 -1
- data/test/lib/vedeu/bootstrap_test.rb +5 -5
- data/test/lib/vedeu/{repositories/repositories → buffers}/buffers_test.rb +0 -0
- data/test/lib/vedeu/cli/generator/helpers_test.rb +1 -1
- data/test/lib/vedeu/{output → colours}/background_test.rb +0 -0
- data/test/lib/vedeu/{repositories/repositories → colours}/backgrounds_test.rb +0 -0
- data/test/lib/vedeu/{output → colours}/colour_test.rb +0 -0
- data/test/lib/vedeu/{output → colours}/colour_translator_test.rb +0 -0
- data/test/lib/vedeu/{repositories/repositories → colours}/colours_test.rb +0 -0
- data/test/lib/vedeu/{output → colours}/foreground_test.rb +0 -0
- data/test/lib/vedeu/{repositories/repositories → colours}/foregrounds_test.rb +0 -0
- data/test/lib/vedeu/{support/common_test.rb → common_test.rb} +0 -0
- data/test/lib/vedeu/{repositories/repositories → cursor}/cursors_test.rb +0 -21
- data/test/lib/vedeu/dsl/composition_test.rb +1 -1
- data/test/lib/vedeu/dsl/use_test.rb +9 -0
- data/test/lib/vedeu/{repositories/repositories → events}/events_test.rb +0 -0
- data/test/lib/vedeu/{repositories/repositories → geometry}/geometries_test.rb +0 -0
- data/test/lib/vedeu/{repositories/repositories → input}/keymaps_test.rb +0 -0
- data/test/lib/vedeu/{support/log_test.rb → log_test.rb} +0 -0
- data/test/lib/vedeu/models/groups_test.rb +21 -0
- data/test/lib/vedeu/{repositories/repositories → models}/interfaces_test.rb +0 -0
- data/test/lib/vedeu/{repositories/repositories → models}/menus_test.rb +0 -0
- data/test/lib/vedeu/{support → models}/toggleable_test.rb +0 -0
- data/test/lib/vedeu/null/border_test.rb +9 -1
- data/test/lib/vedeu/null/buffer_test.rb +9 -1
- data/test/lib/vedeu/null/generic_test.rb +10 -1
- data/test/lib/vedeu/null/geometry_test.rb +9 -1
- data/test/lib/vedeu/null/interface_test.rb +11 -8
- data/test/lib/vedeu/{repositories/repositories → output}/borders_test.rb +0 -0
- data/test/lib/vedeu/output/compressor_test.rb +47 -2
- data/test/lib/vedeu/output/refresh_group_test.rb +5 -5
- data/test/lib/vedeu/output/refresh_test.rb +1 -1
- data/test/lib/vedeu/repositories/collection_test.rb +78 -0
- data/test/lib/vedeu/repositories/repository_test.rb +8 -3
- data/test/lib/vedeu/templating/template_test.rb +46 -0
- data/test/lib/vedeu/{support/terminal_test.rb → terminal_test.rb} +0 -0
- data/test/lib/vedeu/{support/timer_test.rb → timer_test.rb} +0 -0
- data/test/support/all_seeds.sh +9 -0
- data/test/support/templates/inline.erb +1 -0
- data/test/test_helper.rb +7 -1
- metadata +74 -78
- data/lib/vedeu/output/view_helpers/all.rb +0 -5
- data/lib/vedeu/output/view_helpers/view_helpers.rb +0 -21
- data/lib/vedeu/repositories/collections/all.rb +0 -47
- data/lib/vedeu/repositories/repositories/all.rb +0 -14
- data/lib/vedeu/support/all.rb +0 -5
- data/lib/vedeu/support/template.rb +0 -73
- data/test/lib/vedeu/output/view_helpers/view_helpers_test.rb +0 -30
- data/test/lib/vedeu/repositories/collections/all_test.rb +0 -83
- data/test/lib/vedeu/repositories/repositories/groups_test.rb +0 -35
- data/test/lib/vedeu/support/template_test.rb +0 -44
@@ -14,11 +14,7 @@ module Vedeu
|
|
14
14
|
end
|
15
15
|
|
16
16
|
describe '.by_name' do
|
17
|
-
|
18
|
-
end
|
19
|
-
|
20
|
-
describe '#by_name' do
|
21
|
-
subject { instance.by_name }
|
17
|
+
subject { described.by_name(_name) }
|
22
18
|
|
23
19
|
context 'when the name is not present' do
|
24
20
|
let(:_name) { '' }
|
@@ -32,6 +28,10 @@ module Vedeu
|
|
32
28
|
end
|
33
29
|
end
|
34
30
|
|
31
|
+
describe '#by_name' do
|
32
|
+
it { instance.must_respond_to(:by_name) }
|
33
|
+
end
|
34
|
+
|
35
35
|
end # RefreshGroup
|
36
36
|
|
37
37
|
end # Vedeu
|
@@ -122,4 +122,82 @@ module Vedeu
|
|
122
122
|
|
123
123
|
end # Collection
|
124
124
|
|
125
|
+
describe Chars do
|
126
|
+
|
127
|
+
let(:described) { Vedeu::Chars }
|
128
|
+
let(:instance) { described.new }
|
129
|
+
|
130
|
+
it { described.superclass.must_equal(Vedeu::Collection) }
|
131
|
+
|
132
|
+
describe '#initialize' do
|
133
|
+
it { instance.must_be_instance_of(described) }
|
134
|
+
end
|
135
|
+
|
136
|
+
end # Chars
|
137
|
+
|
138
|
+
describe EventCollection do
|
139
|
+
|
140
|
+
let(:described) { Vedeu::EventCollection }
|
141
|
+
let(:instance) { described.new }
|
142
|
+
|
143
|
+
it { described.superclass.must_equal(Vedeu::Collection) }
|
144
|
+
|
145
|
+
describe '#initialize' do
|
146
|
+
it { instance.must_be_instance_of(described) }
|
147
|
+
end
|
148
|
+
|
149
|
+
end # EventCollection
|
150
|
+
|
151
|
+
describe InterfaceCollection do
|
152
|
+
|
153
|
+
let(:described) { Vedeu::InterfaceCollection }
|
154
|
+
let(:instance) { described.new }
|
155
|
+
|
156
|
+
it { described.superclass.must_equal(Vedeu::Collection) }
|
157
|
+
|
158
|
+
describe '#initialize' do
|
159
|
+
it { instance.must_be_instance_of(described) }
|
160
|
+
end
|
161
|
+
|
162
|
+
end # InterfaceCollection
|
163
|
+
|
164
|
+
describe Keys do
|
165
|
+
|
166
|
+
let(:described) { Vedeu::Keys }
|
167
|
+
let(:instance) { described.new }
|
168
|
+
|
169
|
+
it { described.superclass.must_equal(Vedeu::Collection) }
|
170
|
+
|
171
|
+
describe '#initialize' do
|
172
|
+
it { instance.must_be_instance_of(described) }
|
173
|
+
end
|
174
|
+
|
175
|
+
end # Keys
|
176
|
+
|
177
|
+
describe Lines do
|
178
|
+
|
179
|
+
let(:described) { Vedeu::Lines }
|
180
|
+
let(:instance) { described.new }
|
181
|
+
|
182
|
+
it { described.superclass.must_equal(Vedeu::Collection) }
|
183
|
+
|
184
|
+
describe '#initialize' do
|
185
|
+
it { instance.must_be_instance_of(described) }
|
186
|
+
end
|
187
|
+
|
188
|
+
end # Lines
|
189
|
+
|
190
|
+
describe Streams do
|
191
|
+
|
192
|
+
let(:described) { Vedeu::Streams }
|
193
|
+
let(:instance) { described.new }
|
194
|
+
|
195
|
+
it { described.superclass.must_equal(Vedeu::Collection) }
|
196
|
+
|
197
|
+
describe '#initialize' do
|
198
|
+
it { instance.must_be_instance_of(described) }
|
199
|
+
end
|
200
|
+
|
201
|
+
end # Streams
|
202
|
+
|
125
203
|
end # Vedeu
|
@@ -87,12 +87,17 @@ module Vedeu
|
|
87
87
|
end
|
88
88
|
|
89
89
|
describe '#by_name' do
|
90
|
-
let(:_name) {}
|
90
|
+
let(:_name) { 'carbon' }
|
91
91
|
|
92
92
|
subject { instance.by_name(_name) }
|
93
93
|
|
94
|
-
|
95
|
-
|
94
|
+
context 'when the model exists' do
|
95
|
+
# it { skip }
|
96
|
+
end
|
97
|
+
|
98
|
+
context 'when the model does not exist' do
|
99
|
+
# it { skip }
|
100
|
+
end
|
96
101
|
end
|
97
102
|
|
98
103
|
describe '#current' do
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Vedeu
|
4
|
+
|
5
|
+
module Templating
|
6
|
+
|
7
|
+
describe Template do
|
8
|
+
|
9
|
+
let(:described) { Vedeu::Templating::Template }
|
10
|
+
let(:instance) { described.new(object, path) }
|
11
|
+
let(:object) {}
|
12
|
+
let(:path) {}
|
13
|
+
|
14
|
+
describe '#initialize' do
|
15
|
+
it { instance.must_be_instance_of(described) }
|
16
|
+
it { instance.instance_variable_get('@object').must_equal(object) }
|
17
|
+
it { instance.instance_variable_get('@path').must_equal('') }
|
18
|
+
end
|
19
|
+
|
20
|
+
describe '.parse' do
|
21
|
+
subject { described.parse(object, path) }
|
22
|
+
|
23
|
+
context 'when the path is empty' do
|
24
|
+
let(:path) { '' }
|
25
|
+
|
26
|
+
it { proc { subject }.must_raise(MissingRequired) }
|
27
|
+
end
|
28
|
+
|
29
|
+
context 'when the path is does not exist' do
|
30
|
+
let(:path) { '/tmp/vedeu_does_not_exist' }
|
31
|
+
|
32
|
+
it { proc { subject }.must_raise(MissingRequired) }
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'when the path exists' do
|
36
|
+
let(:path) { 'test/support/templates/inline.erb' }
|
37
|
+
|
38
|
+
it { subject.must_equal("This is a test.\n") }
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end # Templating
|
43
|
+
|
44
|
+
end # Template
|
45
|
+
|
46
|
+
end # Vedeu
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
This is a test.
|
data/test/test_helper.rb
CHANGED
@@ -5,7 +5,13 @@ require 'minitest/autorun'
|
|
5
5
|
require 'minitest/pride' unless ENV['NO_COLOR']
|
6
6
|
require 'minitest/hell'
|
7
7
|
|
8
|
-
#
|
8
|
+
# Notes: (2015-07-20)
|
9
|
+
#
|
10
|
+
# On my MacBookPro 6,2 (Mid-2010), the test speed is around 0.9s to 1.1s.
|
11
|
+
# On my Raspberry Pi 2 (Early 2015), the test speed is around 6.5s to 7.0s.
|
12
|
+
|
13
|
+
# GC.disable # Uncomment to remove ~20ms from test run speed; left uncommented
|
14
|
+
# though makes tests slower over time with 'guard'.
|
9
15
|
|
10
16
|
SimpleCov.start do
|
11
17
|
formatter SimpleCov::Formatter::Console if ENV['CONSOLE_COVERAGE']
|
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.55
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -279,6 +279,7 @@ files:
|
|
279
279
|
- lib/vedeu/bootstrap.rb
|
280
280
|
- lib/vedeu/buffers/all.rb
|
281
281
|
- lib/vedeu/buffers/buffer.rb
|
282
|
+
- lib/vedeu/buffers/buffers.rb
|
282
283
|
- lib/vedeu/buffers/display_buffer.rb
|
283
284
|
- lib/vedeu/cli/all.rb
|
284
285
|
- lib/vedeu/cli/generator/all.rb
|
@@ -306,12 +307,22 @@ files:
|
|
306
307
|
- lib/vedeu/cli/generator/templates/application/vendor/.gitkeep
|
307
308
|
- lib/vedeu/cli/generator/view.rb
|
308
309
|
- lib/vedeu/cli/main.rb
|
310
|
+
- lib/vedeu/colours/all.rb
|
311
|
+
- lib/vedeu/colours/background.rb
|
312
|
+
- lib/vedeu/colours/backgrounds.rb
|
313
|
+
- lib/vedeu/colours/colour.rb
|
314
|
+
- lib/vedeu/colours/colour_translator.rb
|
315
|
+
- lib/vedeu/colours/colours.rb
|
316
|
+
- lib/vedeu/colours/foreground.rb
|
317
|
+
- lib/vedeu/colours/foregrounds.rb
|
318
|
+
- lib/vedeu/common.rb
|
309
319
|
- lib/vedeu/configuration/all.rb
|
310
320
|
- lib/vedeu/configuration/api.rb
|
311
321
|
- lib/vedeu/configuration/cli.rb
|
312
322
|
- lib/vedeu/configuration/configuration.rb
|
313
323
|
- lib/vedeu/cursor/all.rb
|
314
324
|
- lib/vedeu/cursor/cursor.rb
|
325
|
+
- lib/vedeu/cursor/cursors.rb
|
315
326
|
- lib/vedeu/cursor/move.rb
|
316
327
|
- lib/vedeu/cursor/refresh_cursor.rb
|
317
328
|
- lib/vedeu/cursor/reposition.rb
|
@@ -347,12 +358,14 @@ files:
|
|
347
358
|
- lib/vedeu/dsl/view.rb
|
348
359
|
- lib/vedeu/events/all.rb
|
349
360
|
- lib/vedeu/events/event.rb
|
361
|
+
- lib/vedeu/events/events.rb
|
350
362
|
- lib/vedeu/events/trigger.rb
|
351
363
|
- lib/vedeu/exceptions.rb
|
352
364
|
- lib/vedeu/geometry/all.rb
|
353
365
|
- lib/vedeu/geometry/area.rb
|
354
366
|
- lib/vedeu/geometry/coordinate.rb
|
355
367
|
- lib/vedeu/geometry/dimension.rb
|
368
|
+
- lib/vedeu/geometry/geometries.rb
|
356
369
|
- lib/vedeu/geometry/geometry.rb
|
357
370
|
- lib/vedeu/geometry/grid.rb
|
358
371
|
- lib/vedeu/geometry/index_position.rb
|
@@ -363,8 +376,10 @@ files:
|
|
363
376
|
- lib/vedeu/input/input.rb
|
364
377
|
- lib/vedeu/input/key.rb
|
365
378
|
- lib/vedeu/input/keymap.rb
|
379
|
+
- lib/vedeu/input/keymaps.rb
|
366
380
|
- lib/vedeu/input/mapper.rb
|
367
381
|
- lib/vedeu/launcher.rb
|
382
|
+
- lib/vedeu/log.rb
|
368
383
|
- lib/vedeu/main_loop.rb
|
369
384
|
- lib/vedeu/models/all.rb
|
370
385
|
- lib/vedeu/models/cell.rb
|
@@ -373,10 +388,14 @@ files:
|
|
373
388
|
- lib/vedeu/models/escape_char.rb
|
374
389
|
- lib/vedeu/models/focus.rb
|
375
390
|
- lib/vedeu/models/group.rb
|
391
|
+
- lib/vedeu/models/groups.rb
|
376
392
|
- lib/vedeu/models/interface.rb
|
393
|
+
- lib/vedeu/models/interfaces.rb
|
377
394
|
- lib/vedeu/models/line.rb
|
378
395
|
- lib/vedeu/models/menu.rb
|
396
|
+
- lib/vedeu/models/menus.rb
|
379
397
|
- lib/vedeu/models/stream.rb
|
398
|
+
- lib/vedeu/models/toggleable.rb
|
380
399
|
- lib/vedeu/null/all.rb
|
381
400
|
- lib/vedeu/null/border.rb
|
382
401
|
- lib/vedeu/null/buffer.rb
|
@@ -384,16 +403,13 @@ files:
|
|
384
403
|
- lib/vedeu/null/geometry.rb
|
385
404
|
- lib/vedeu/null/interface.rb
|
386
405
|
- lib/vedeu/output/all.rb
|
387
|
-
- lib/vedeu/output/background.rb
|
388
406
|
- lib/vedeu/output/border.rb
|
407
|
+
- lib/vedeu/output/borders.rb
|
389
408
|
- lib/vedeu/output/clear/all.rb
|
390
409
|
- lib/vedeu/output/clear/named_group.rb
|
391
410
|
- lib/vedeu/output/clear/named_interface.rb
|
392
|
-
- lib/vedeu/output/colour.rb
|
393
|
-
- lib/vedeu/output/colour_translator.rb
|
394
411
|
- lib/vedeu/output/compressor.rb
|
395
412
|
- lib/vedeu/output/esc.rb
|
396
|
-
- lib/vedeu/output/foreground.rb
|
397
413
|
- lib/vedeu/output/html_char.rb
|
398
414
|
- lib/vedeu/output/output.rb
|
399
415
|
- lib/vedeu/output/presentation.rb
|
@@ -412,43 +428,23 @@ files:
|
|
412
428
|
- lib/vedeu/output/style.rb
|
413
429
|
- lib/vedeu/output/templates/html_renderer.vedeu
|
414
430
|
- lib/vedeu/output/text.rb
|
415
|
-
- lib/vedeu/output/view_helpers/all.rb
|
416
|
-
- lib/vedeu/output/view_helpers/view_helpers.rb
|
417
431
|
- lib/vedeu/output/viewport.rb
|
418
432
|
- lib/vedeu/output/virtual_buffer.rb
|
419
433
|
- lib/vedeu/output/virtual_terminal.rb
|
420
434
|
- lib/vedeu/output/wordwrap.rb
|
421
435
|
- lib/vedeu/repositories/all.rb
|
422
436
|
- lib/vedeu/repositories/collection.rb
|
423
|
-
- lib/vedeu/repositories/collections/all.rb
|
424
437
|
- lib/vedeu/repositories/model.rb
|
425
438
|
- lib/vedeu/repositories/registerable.rb
|
426
|
-
- lib/vedeu/repositories/repositories/all.rb
|
427
|
-
- lib/vedeu/repositories/repositories/backgrounds.rb
|
428
|
-
- lib/vedeu/repositories/repositories/borders.rb
|
429
|
-
- lib/vedeu/repositories/repositories/buffers.rb
|
430
|
-
- lib/vedeu/repositories/repositories/colours.rb
|
431
|
-
- lib/vedeu/repositories/repositories/cursors.rb
|
432
|
-
- lib/vedeu/repositories/repositories/events.rb
|
433
|
-
- lib/vedeu/repositories/repositories/foregrounds.rb
|
434
|
-
- lib/vedeu/repositories/repositories/geometries.rb
|
435
|
-
- lib/vedeu/repositories/repositories/groups.rb
|
436
|
-
- lib/vedeu/repositories/repositories/interfaces.rb
|
437
|
-
- lib/vedeu/repositories/repositories/keymaps.rb
|
438
|
-
- lib/vedeu/repositories/repositories/menus.rb
|
439
439
|
- lib/vedeu/repositories/repository.rb
|
440
440
|
- lib/vedeu/repositories/store.rb
|
441
|
-
- lib/vedeu/support/all.rb
|
442
|
-
- lib/vedeu/support/common.rb
|
443
|
-
- lib/vedeu/support/log.rb
|
444
|
-
- lib/vedeu/support/template.rb
|
445
|
-
- lib/vedeu/support/terminal.rb
|
446
|
-
- lib/vedeu/support/timer.rb
|
447
|
-
- lib/vedeu/support/toggleable.rb
|
448
441
|
- lib/vedeu/templating/all.rb
|
449
442
|
- lib/vedeu/templating/directive.rb
|
450
443
|
- lib/vedeu/templating/helpers.rb
|
451
444
|
- lib/vedeu/templating/preprocessor.rb
|
445
|
+
- lib/vedeu/templating/template.rb
|
446
|
+
- lib/vedeu/terminal.rb
|
447
|
+
- lib/vedeu/timer.rb
|
452
448
|
- lib/vedeu/traps.rb
|
453
449
|
- lib/vedeu/version.rb
|
454
450
|
- test/lib/vedeu/api_test.rb
|
@@ -466,15 +462,25 @@ files:
|
|
466
462
|
- test/lib/vedeu/bindings/visibility_test.rb
|
467
463
|
- test/lib/vedeu/bootstrap_test.rb
|
468
464
|
- test/lib/vedeu/buffers/buffer_test.rb
|
465
|
+
- test/lib/vedeu/buffers/buffers_test.rb
|
469
466
|
- test/lib/vedeu/buffers/display_buffer_test.rb
|
470
467
|
- test/lib/vedeu/cli/generator/application_test.rb
|
471
468
|
- test/lib/vedeu/cli/generator/helpers_test.rb
|
472
469
|
- test/lib/vedeu/cli/generator/view_test.rb
|
473
470
|
- test/lib/vedeu/cli/main_test.rb
|
471
|
+
- test/lib/vedeu/colours/background_test.rb
|
472
|
+
- test/lib/vedeu/colours/backgrounds_test.rb
|
473
|
+
- test/lib/vedeu/colours/colour_test.rb
|
474
|
+
- test/lib/vedeu/colours/colour_translator_test.rb
|
475
|
+
- test/lib/vedeu/colours/colours_test.rb
|
476
|
+
- test/lib/vedeu/colours/foreground_test.rb
|
477
|
+
- test/lib/vedeu/colours/foregrounds_test.rb
|
478
|
+
- test/lib/vedeu/common_test.rb
|
474
479
|
- test/lib/vedeu/configuration/api_test.rb
|
475
480
|
- test/lib/vedeu/configuration/cli_test.rb
|
476
481
|
- test/lib/vedeu/configuration/configuration_test.rb
|
477
482
|
- test/lib/vedeu/cursor/cursor_test.rb
|
483
|
+
- test/lib/vedeu/cursor/cursors_test.rb
|
478
484
|
- test/lib/vedeu/cursor/move_test.rb
|
479
485
|
- test/lib/vedeu/cursor/refresh_cursor_test.rb
|
480
486
|
- test/lib/vedeu/cursor/reposition_test.rb
|
@@ -497,11 +503,13 @@ files:
|
|
497
503
|
- test/lib/vedeu/dsl/use_test.rb
|
498
504
|
- test/lib/vedeu/dsl/view_test.rb
|
499
505
|
- test/lib/vedeu/events/event_test.rb
|
506
|
+
- test/lib/vedeu/events/events_test.rb
|
500
507
|
- test/lib/vedeu/events/trigger_test.rb
|
501
508
|
- test/lib/vedeu/exceptions_test.rb
|
502
509
|
- test/lib/vedeu/geometry/area_test.rb
|
503
510
|
- test/lib/vedeu/geometry/coordinate_test.rb
|
504
511
|
- test/lib/vedeu/geometry/dimension_test.rb
|
512
|
+
- test/lib/vedeu/geometry/geometries_test.rb
|
505
513
|
- test/lib/vedeu/geometry/geometry_test.rb
|
506
514
|
- test/lib/vedeu/geometry/grid_test.rb
|
507
515
|
- test/lib/vedeu/geometry/index_position_test.rb
|
@@ -511,8 +519,10 @@ files:
|
|
511
519
|
- test/lib/vedeu/input/input_test.rb
|
512
520
|
- test/lib/vedeu/input/key_test.rb
|
513
521
|
- test/lib/vedeu/input/keymap_test.rb
|
522
|
+
- test/lib/vedeu/input/keymaps_test.rb
|
514
523
|
- test/lib/vedeu/input/mapper_test.rb
|
515
524
|
- test/lib/vedeu/launcher_test.rb
|
525
|
+
- test/lib/vedeu/log_test.rb
|
516
526
|
- test/lib/vedeu/main_loop_test.rb
|
517
527
|
- test/lib/vedeu/models/cell_test.rb
|
518
528
|
- test/lib/vedeu/models/char_test.rb
|
@@ -520,24 +530,25 @@ files:
|
|
520
530
|
- test/lib/vedeu/models/escape_char_test.rb
|
521
531
|
- test/lib/vedeu/models/focus_test.rb
|
522
532
|
- test/lib/vedeu/models/group_test.rb
|
533
|
+
- test/lib/vedeu/models/groups_test.rb
|
523
534
|
- test/lib/vedeu/models/interface_test.rb
|
535
|
+
- test/lib/vedeu/models/interfaces_test.rb
|
524
536
|
- test/lib/vedeu/models/line_test.rb
|
525
537
|
- test/lib/vedeu/models/menu_test.rb
|
538
|
+
- test/lib/vedeu/models/menus_test.rb
|
526
539
|
- test/lib/vedeu/models/stream_test.rb
|
540
|
+
- test/lib/vedeu/models/toggleable_test.rb
|
527
541
|
- test/lib/vedeu/null/border_test.rb
|
528
542
|
- test/lib/vedeu/null/buffer_test.rb
|
529
543
|
- test/lib/vedeu/null/generic_test.rb
|
530
544
|
- test/lib/vedeu/null/geometry_test.rb
|
531
545
|
- test/lib/vedeu/null/interface_test.rb
|
532
|
-
- test/lib/vedeu/output/background_test.rb
|
533
546
|
- test/lib/vedeu/output/border_test.rb
|
547
|
+
- test/lib/vedeu/output/borders_test.rb
|
534
548
|
- test/lib/vedeu/output/clear/named_group_test.rb
|
535
549
|
- test/lib/vedeu/output/clear/named_interface_test.rb
|
536
|
-
- test/lib/vedeu/output/colour_test.rb
|
537
|
-
- test/lib/vedeu/output/colour_translator_test.rb
|
538
550
|
- test/lib/vedeu/output/compressor_test.rb
|
539
551
|
- test/lib/vedeu/output/esc_test.rb
|
540
|
-
- test/lib/vedeu/output/foreground_test.rb
|
541
552
|
- test/lib/vedeu/output/html_char_test.rb
|
542
553
|
- test/lib/vedeu/output/output_test.rb
|
543
554
|
- test/lib/vedeu/output/presentation_test.rb
|
@@ -555,43 +566,28 @@ files:
|
|
555
566
|
- test/lib/vedeu/output/renderers/text_test.rb
|
556
567
|
- test/lib/vedeu/output/style_test.rb
|
557
568
|
- test/lib/vedeu/output/text_test.rb
|
558
|
-
- test/lib/vedeu/output/view_helpers/view_helpers_test.rb
|
559
569
|
- test/lib/vedeu/output/viewport_test.rb
|
560
570
|
- test/lib/vedeu/output/virtual_buffer_test.rb
|
561
571
|
- test/lib/vedeu/output/virtual_terminal_test.rb
|
562
572
|
- test/lib/vedeu/output/wordwrap_test.rb
|
563
573
|
- test/lib/vedeu/repositories/collection_test.rb
|
564
|
-
- test/lib/vedeu/repositories/collections/all_test.rb
|
565
574
|
- test/lib/vedeu/repositories/model_test.rb
|
566
575
|
- test/lib/vedeu/repositories/registerable_test.rb
|
567
|
-
- test/lib/vedeu/repositories/repositories/backgrounds_test.rb
|
568
|
-
- test/lib/vedeu/repositories/repositories/borders_test.rb
|
569
|
-
- test/lib/vedeu/repositories/repositories/buffers_test.rb
|
570
|
-
- test/lib/vedeu/repositories/repositories/colours_test.rb
|
571
|
-
- test/lib/vedeu/repositories/repositories/cursors_test.rb
|
572
|
-
- test/lib/vedeu/repositories/repositories/events_test.rb
|
573
|
-
- test/lib/vedeu/repositories/repositories/foregrounds_test.rb
|
574
|
-
- test/lib/vedeu/repositories/repositories/geometries_test.rb
|
575
|
-
- test/lib/vedeu/repositories/repositories/groups_test.rb
|
576
|
-
- test/lib/vedeu/repositories/repositories/interfaces_test.rb
|
577
|
-
- test/lib/vedeu/repositories/repositories/keymaps_test.rb
|
578
|
-
- test/lib/vedeu/repositories/repositories/menus_test.rb
|
579
576
|
- test/lib/vedeu/repositories/repository_test.rb
|
580
577
|
- test/lib/vedeu/repositories/store_test.rb
|
581
|
-
- test/lib/vedeu/support/common_test.rb
|
582
|
-
- test/lib/vedeu/support/log_test.rb
|
583
|
-
- test/lib/vedeu/support/template_test.rb
|
584
|
-
- test/lib/vedeu/support/terminal_test.rb
|
585
|
-
- test/lib/vedeu/support/timer_test.rb
|
586
|
-
- test/lib/vedeu/support/toggleable_test.rb
|
587
578
|
- test/lib/vedeu/templating/directive_test.rb
|
588
579
|
- test/lib/vedeu/templating/helpers_test.rb
|
589
580
|
- test/lib/vedeu/templating/preprocessor_test.rb
|
581
|
+
- test/lib/vedeu/templating/template_test.rb
|
582
|
+
- test/lib/vedeu/terminal_test.rb
|
583
|
+
- test/lib/vedeu/timer_test.rb
|
590
584
|
- test/lib/vedeu/traps_test.rb
|
591
585
|
- test/lib/vedeu_test.rb
|
586
|
+
- test/support/all_seeds.sh
|
592
587
|
- test/support/colour_test.sh
|
593
588
|
- test/support/helpers/model_test_class.rb
|
594
589
|
- test/support/stats.sh
|
590
|
+
- test/support/templates/inline.erb
|
595
591
|
- test/support/templates/simple_stuff.erb
|
596
592
|
- test/test_helper.rb
|
597
593
|
- vedeu.gemspec
|
@@ -615,7 +611,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
615
611
|
version: '0'
|
616
612
|
requirements: []
|
617
613
|
rubyforge_project:
|
618
|
-
rubygems_version: 2.4.
|
614
|
+
rubygems_version: 2.4.8
|
619
615
|
signing_key:
|
620
616
|
specification_version: 4
|
621
617
|
summary: A terminal case of wonderland.
|
@@ -635,15 +631,25 @@ test_files:
|
|
635
631
|
- test/lib/vedeu/bindings/visibility_test.rb
|
636
632
|
- test/lib/vedeu/bootstrap_test.rb
|
637
633
|
- test/lib/vedeu/buffers/buffer_test.rb
|
634
|
+
- test/lib/vedeu/buffers/buffers_test.rb
|
638
635
|
- test/lib/vedeu/buffers/display_buffer_test.rb
|
639
636
|
- test/lib/vedeu/cli/generator/application_test.rb
|
640
637
|
- test/lib/vedeu/cli/generator/helpers_test.rb
|
641
638
|
- test/lib/vedeu/cli/generator/view_test.rb
|
642
639
|
- test/lib/vedeu/cli/main_test.rb
|
640
|
+
- test/lib/vedeu/colours/background_test.rb
|
641
|
+
- test/lib/vedeu/colours/backgrounds_test.rb
|
642
|
+
- test/lib/vedeu/colours/colour_test.rb
|
643
|
+
- test/lib/vedeu/colours/colour_translator_test.rb
|
644
|
+
- test/lib/vedeu/colours/colours_test.rb
|
645
|
+
- test/lib/vedeu/colours/foreground_test.rb
|
646
|
+
- test/lib/vedeu/colours/foregrounds_test.rb
|
647
|
+
- test/lib/vedeu/common_test.rb
|
643
648
|
- test/lib/vedeu/configuration/api_test.rb
|
644
649
|
- test/lib/vedeu/configuration/cli_test.rb
|
645
650
|
- test/lib/vedeu/configuration/configuration_test.rb
|
646
651
|
- test/lib/vedeu/cursor/cursor_test.rb
|
652
|
+
- test/lib/vedeu/cursor/cursors_test.rb
|
647
653
|
- test/lib/vedeu/cursor/move_test.rb
|
648
654
|
- test/lib/vedeu/cursor/refresh_cursor_test.rb
|
649
655
|
- test/lib/vedeu/cursor/reposition_test.rb
|
@@ -666,11 +672,13 @@ test_files:
|
|
666
672
|
- test/lib/vedeu/dsl/use_test.rb
|
667
673
|
- test/lib/vedeu/dsl/view_test.rb
|
668
674
|
- test/lib/vedeu/events/event_test.rb
|
675
|
+
- test/lib/vedeu/events/events_test.rb
|
669
676
|
- test/lib/vedeu/events/trigger_test.rb
|
670
677
|
- test/lib/vedeu/exceptions_test.rb
|
671
678
|
- test/lib/vedeu/geometry/area_test.rb
|
672
679
|
- test/lib/vedeu/geometry/coordinate_test.rb
|
673
680
|
- test/lib/vedeu/geometry/dimension_test.rb
|
681
|
+
- test/lib/vedeu/geometry/geometries_test.rb
|
674
682
|
- test/lib/vedeu/geometry/geometry_test.rb
|
675
683
|
- test/lib/vedeu/geometry/grid_test.rb
|
676
684
|
- test/lib/vedeu/geometry/index_position_test.rb
|
@@ -680,8 +688,10 @@ test_files:
|
|
680
688
|
- test/lib/vedeu/input/input_test.rb
|
681
689
|
- test/lib/vedeu/input/key_test.rb
|
682
690
|
- test/lib/vedeu/input/keymap_test.rb
|
691
|
+
- test/lib/vedeu/input/keymaps_test.rb
|
683
692
|
- test/lib/vedeu/input/mapper_test.rb
|
684
693
|
- test/lib/vedeu/launcher_test.rb
|
694
|
+
- test/lib/vedeu/log_test.rb
|
685
695
|
- test/lib/vedeu/main_loop_test.rb
|
686
696
|
- test/lib/vedeu/models/cell_test.rb
|
687
697
|
- test/lib/vedeu/models/char_test.rb
|
@@ -689,24 +699,25 @@ test_files:
|
|
689
699
|
- test/lib/vedeu/models/escape_char_test.rb
|
690
700
|
- test/lib/vedeu/models/focus_test.rb
|
691
701
|
- test/lib/vedeu/models/group_test.rb
|
702
|
+
- test/lib/vedeu/models/groups_test.rb
|
692
703
|
- test/lib/vedeu/models/interface_test.rb
|
704
|
+
- test/lib/vedeu/models/interfaces_test.rb
|
693
705
|
- test/lib/vedeu/models/line_test.rb
|
694
706
|
- test/lib/vedeu/models/menu_test.rb
|
707
|
+
- test/lib/vedeu/models/menus_test.rb
|
695
708
|
- test/lib/vedeu/models/stream_test.rb
|
709
|
+
- test/lib/vedeu/models/toggleable_test.rb
|
696
710
|
- test/lib/vedeu/null/border_test.rb
|
697
711
|
- test/lib/vedeu/null/buffer_test.rb
|
698
712
|
- test/lib/vedeu/null/generic_test.rb
|
699
713
|
- test/lib/vedeu/null/geometry_test.rb
|
700
714
|
- test/lib/vedeu/null/interface_test.rb
|
701
|
-
- test/lib/vedeu/output/background_test.rb
|
702
715
|
- test/lib/vedeu/output/border_test.rb
|
716
|
+
- test/lib/vedeu/output/borders_test.rb
|
703
717
|
- test/lib/vedeu/output/clear/named_group_test.rb
|
704
718
|
- test/lib/vedeu/output/clear/named_interface_test.rb
|
705
|
-
- test/lib/vedeu/output/colour_test.rb
|
706
|
-
- test/lib/vedeu/output/colour_translator_test.rb
|
707
719
|
- test/lib/vedeu/output/compressor_test.rb
|
708
720
|
- test/lib/vedeu/output/esc_test.rb
|
709
|
-
- test/lib/vedeu/output/foreground_test.rb
|
710
721
|
- test/lib/vedeu/output/html_char_test.rb
|
711
722
|
- test/lib/vedeu/output/output_test.rb
|
712
723
|
- test/lib/vedeu/output/presentation_test.rb
|
@@ -724,43 +735,28 @@ test_files:
|
|
724
735
|
- test/lib/vedeu/output/renderers/text_test.rb
|
725
736
|
- test/lib/vedeu/output/style_test.rb
|
726
737
|
- test/lib/vedeu/output/text_test.rb
|
727
|
-
- test/lib/vedeu/output/view_helpers/view_helpers_test.rb
|
728
738
|
- test/lib/vedeu/output/viewport_test.rb
|
729
739
|
- test/lib/vedeu/output/virtual_buffer_test.rb
|
730
740
|
- test/lib/vedeu/output/virtual_terminal_test.rb
|
731
741
|
- test/lib/vedeu/output/wordwrap_test.rb
|
732
742
|
- test/lib/vedeu/repositories/collection_test.rb
|
733
|
-
- test/lib/vedeu/repositories/collections/all_test.rb
|
734
743
|
- test/lib/vedeu/repositories/model_test.rb
|
735
744
|
- test/lib/vedeu/repositories/registerable_test.rb
|
736
|
-
- test/lib/vedeu/repositories/repositories/backgrounds_test.rb
|
737
|
-
- test/lib/vedeu/repositories/repositories/borders_test.rb
|
738
|
-
- test/lib/vedeu/repositories/repositories/buffers_test.rb
|
739
|
-
- test/lib/vedeu/repositories/repositories/colours_test.rb
|
740
|
-
- test/lib/vedeu/repositories/repositories/cursors_test.rb
|
741
|
-
- test/lib/vedeu/repositories/repositories/events_test.rb
|
742
|
-
- test/lib/vedeu/repositories/repositories/foregrounds_test.rb
|
743
|
-
- test/lib/vedeu/repositories/repositories/geometries_test.rb
|
744
|
-
- test/lib/vedeu/repositories/repositories/groups_test.rb
|
745
|
-
- test/lib/vedeu/repositories/repositories/interfaces_test.rb
|
746
|
-
- test/lib/vedeu/repositories/repositories/keymaps_test.rb
|
747
|
-
- test/lib/vedeu/repositories/repositories/menus_test.rb
|
748
745
|
- test/lib/vedeu/repositories/repository_test.rb
|
749
746
|
- test/lib/vedeu/repositories/store_test.rb
|
750
|
-
- test/lib/vedeu/support/common_test.rb
|
751
|
-
- test/lib/vedeu/support/log_test.rb
|
752
|
-
- test/lib/vedeu/support/template_test.rb
|
753
|
-
- test/lib/vedeu/support/terminal_test.rb
|
754
|
-
- test/lib/vedeu/support/timer_test.rb
|
755
|
-
- test/lib/vedeu/support/toggleable_test.rb
|
756
747
|
- test/lib/vedeu/templating/directive_test.rb
|
757
748
|
- test/lib/vedeu/templating/helpers_test.rb
|
758
749
|
- test/lib/vedeu/templating/preprocessor_test.rb
|
750
|
+
- test/lib/vedeu/templating/template_test.rb
|
751
|
+
- test/lib/vedeu/terminal_test.rb
|
752
|
+
- test/lib/vedeu/timer_test.rb
|
759
753
|
- test/lib/vedeu/traps_test.rb
|
760
754
|
- test/lib/vedeu_test.rb
|
755
|
+
- test/support/all_seeds.sh
|
761
756
|
- test/support/colour_test.sh
|
762
757
|
- test/support/helpers/model_test_class.rb
|
763
758
|
- test/support/stats.sh
|
759
|
+
- test/support/templates/inline.erb
|
764
760
|
- test/support/templates/simple_stuff.erb
|
765
761
|
- test/test_helper.rb
|
766
762
|
has_rdoc:
|