vedeu 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vedeu/api.rb +8 -0
- data/lib/vedeu/application.rb +2 -0
- data/lib/vedeu/bindings.rb +3 -0
- data/lib/vedeu/configuration/configuration.rb +1 -1
- data/lib/vedeu/cursor/cursor.rb +1 -1
- data/lib/vedeu/cursor/move.rb +1 -1
- data/lib/vedeu/cursor/refresh_cursor.rb +2 -0
- data/lib/vedeu/cursor/toggle.rb +1 -1
- data/lib/vedeu/debug.rb +36 -1
- data/lib/vedeu/distributed/client.rb +2 -0
- data/lib/vedeu/distributed/subprocess.rb +2 -0
- data/lib/vedeu/distributed/test_application.rb +2 -0
- data/lib/vedeu/distributed/uri.rb +2 -0
- data/lib/vedeu/events/event.rb +1 -1
- data/lib/vedeu/events/trigger.rb +2 -0
- data/lib/vedeu/geometry/all.rb +0 -1
- data/lib/vedeu/geometry/area.rb +22 -0
- data/lib/vedeu/geometry/centre.rb +2 -0
- data/lib/vedeu/geometry/content.rb +2 -0
- data/lib/vedeu/geometry/coordinate.rb +2 -0
- data/lib/vedeu/geometry/dimension.rb +2 -0
- data/lib/vedeu/geometry/geometry.rb +8 -3
- data/lib/vedeu/geometry/grid.rb +2 -0
- data/lib/vedeu/geometry/index_position.rb +21 -0
- data/lib/vedeu/geometry/limit.rb +2 -0
- data/lib/vedeu/geometry/position.rb +1 -1
- data/lib/vedeu/geometry/position_index.rb +2 -0
- data/lib/vedeu/geometry/position_validator.rb +2 -0
- data/lib/vedeu/input/input.rb +1 -1
- data/lib/vedeu/input/key.rb +1 -1
- data/lib/vedeu/input/keymap.rb +2 -0
- data/lib/vedeu/input/mapper.rb +8 -0
- data/lib/vedeu/launcher.rb +2 -0
- data/lib/vedeu/main_loop.rb +1 -3
- data/lib/vedeu/models/cell.rb +2 -0
- data/lib/vedeu/models/composition.rb +1 -1
- data/lib/vedeu/models/group.rb +1 -1
- data/lib/vedeu/models/interface.rb +35 -3
- data/lib/vedeu/models/line.rb +6 -1
- data/lib/vedeu/models/menu.rb +1 -1
- data/lib/vedeu/models/stream.rb +6 -17
- data/lib/vedeu/output/all.rb +3 -2
- data/lib/vedeu/output/background.rb +26 -0
- data/lib/vedeu/output/border.rb +105 -25
- data/lib/vedeu/output/clear.rb +17 -10
- data/lib/vedeu/output/colour.rb +1 -1
- data/lib/vedeu/output/compositor.rb +4 -1
- data/lib/vedeu/output/foreground.rb +26 -0
- data/lib/vedeu/output/html_char.rb +2 -0
- data/lib/vedeu/output/null_border.rb +49 -0
- data/lib/vedeu/output/output.rb +8 -44
- data/lib/vedeu/output/renderers/all.rb +3 -0
- data/lib/vedeu/output/{renderer.rb → renderers/file_renderer.rb} +14 -6
- data/lib/vedeu/output/{html_renderer.rb → renderers/html_renderer.rb} +3 -1
- data/lib/vedeu/output/renderers/terminal_renderer.rb +50 -0
- data/lib/vedeu/output/text.rb +1 -1
- data/lib/vedeu/output/translator.rb +21 -2
- data/lib/vedeu/output/viewport.rb +17 -50
- data/lib/vedeu/output/virtual_terminal.rb +2 -0
- data/lib/vedeu/output/wordwrap.rb +2 -0
- data/lib/vedeu/repositories/all.rb +82 -0
- data/lib/vedeu/repositories/collection.rb +16 -0
- data/lib/vedeu/repositories/repository.rb +2 -0
- data/lib/vedeu/support/log.rb +3 -0
- data/lib/vedeu/support/sentence.rb +2 -0
- data/lib/vedeu/support/template.rb +2 -0
- data/lib/vedeu/support/terminal.rb +6 -1
- data/lib/vedeu/support/trace.rb +2 -0
- data/lib/vedeu/support/visible.rb +6 -0
- data/test/lib/vedeu/dsl/components/border_test.rb +0 -270
- data/test/lib/vedeu/dsl/shared/text_test.rb +19 -0
- data/test/lib/vedeu/geometry/area_test.rb +32 -0
- data/test/lib/vedeu/geometry/index_position_test.rb +36 -0
- data/test/lib/vedeu/models/interface_test.rb +42 -1
- data/test/lib/vedeu/models/line_test.rb +15 -1
- data/test/lib/vedeu/models/stream_test.rb +15 -1
- data/test/lib/vedeu/output/background_test.rb +4 -2
- data/test/lib/vedeu/output/border_test.rb +229 -127
- data/test/lib/vedeu/output/clear_test.rb +14 -0
- data/test/lib/vedeu/output/foreground_test.rb +4 -2
- data/test/lib/vedeu/output/null_border_test.rb +53 -0
- data/test/lib/vedeu/output/output_test.rb +2 -0
- data/test/lib/vedeu/output/{renderer_test.rb → renderers/file_renderer_test.rb} +5 -5
- data/test/lib/vedeu/output/renderers/html_renderer_test.rb +71 -0
- data/test/lib/vedeu/output/renderers/terminal_renderer_test.rb +24 -0
- data/test/lib/vedeu/output/viewport_test.rb +100 -74
- data/vedeu.gemspec +1 -1
- metadata +15 -11
- data/lib/vedeu/geometry/bounding_area.rb +0 -136
- data/test/lib/vedeu/geometry/bounding_area_test.rb +0 -123
- data/test/lib/vedeu/output/html_renderer_test.rb +0 -42
@@ -7,16 +7,30 @@ module Vedeu
|
|
7
7
|
let(:described) { Vedeu::Clear }
|
8
8
|
let(:instance) { described.new(interface) }
|
9
9
|
let(:interface) { Vedeu::Interface.new({ name: 'xenon' }) }
|
10
|
+
let(:geometry) { Vedeu::Geometry.new({ x: 1, y: 1, xn: 3, yn: 3 })}
|
11
|
+
|
12
|
+
before { interface.stubs(:geometry).returns(geometry) }
|
10
13
|
|
11
14
|
describe '#initialize' do
|
12
15
|
it { instance.must_be_instance_of(Vedeu::Clear) }
|
13
16
|
it { instance.instance_variable_get('@interface').must_equal(interface) }
|
14
17
|
end
|
15
18
|
|
19
|
+
describe 'alias methods' do
|
20
|
+
it { described.must_respond_to(:render) }
|
21
|
+
end
|
22
|
+
|
16
23
|
describe '.clear' do
|
17
24
|
subject { described.clear(interface) }
|
18
25
|
end
|
19
26
|
|
27
|
+
describe '#clear' do
|
28
|
+
subject { instance.clear }
|
29
|
+
|
30
|
+
it { subject.must_be_instance_of(Array) }
|
31
|
+
it { subject.flatten.size.must_equal(9) }
|
32
|
+
end
|
33
|
+
|
20
34
|
describe '#write' do
|
21
35
|
subject { instance.write }
|
22
36
|
end
|
@@ -5,8 +5,10 @@ module Vedeu
|
|
5
5
|
describe Foreground do
|
6
6
|
|
7
7
|
let(:described) { Vedeu::Foreground }
|
8
|
-
let(:instance)
|
9
|
-
let(:colour)
|
8
|
+
let(:instance) { described.new(colour) }
|
9
|
+
let(:colour) {}
|
10
|
+
|
11
|
+
before { Vedeu.foreground_colours.reset! }
|
10
12
|
|
11
13
|
describe '.escape_sequence' do
|
12
14
|
context 'when the colour is empty' do
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Vedeu
|
4
|
+
|
5
|
+
describe NullBorder do
|
6
|
+
|
7
|
+
let(:described) { Vedeu::NullBorder }
|
8
|
+
let(:instance) { described.new(interface) }
|
9
|
+
let(:interface) { stub('Interface', x: 4, y: 6, xn: 10, yn: 12) }
|
10
|
+
|
11
|
+
describe '#initialize' do
|
12
|
+
it { instance.must_be_instance_of(Vedeu::NullBorder) }
|
13
|
+
it { instance.instance_variable_get('@interface').must_equal(interface) }
|
14
|
+
end
|
15
|
+
|
16
|
+
describe '#bx' do
|
17
|
+
subject { instance.bx }
|
18
|
+
|
19
|
+
it { subject.must_be_instance_of(Fixnum) }
|
20
|
+
it { subject.must_equal(4) }
|
21
|
+
end
|
22
|
+
|
23
|
+
describe '#by' do
|
24
|
+
subject { instance.by }
|
25
|
+
|
26
|
+
it { subject.must_be_instance_of(Fixnum) }
|
27
|
+
it { subject.must_equal(6) }
|
28
|
+
end
|
29
|
+
|
30
|
+
describe '#bxn' do
|
31
|
+
subject { instance.bxn }
|
32
|
+
|
33
|
+
it { subject.must_be_instance_of(Fixnum) }
|
34
|
+
it { subject.must_equal(10) }
|
35
|
+
end
|
36
|
+
|
37
|
+
describe '#byn' do
|
38
|
+
subject { instance.byn }
|
39
|
+
|
40
|
+
it { subject.must_be_instance_of(Fixnum) }
|
41
|
+
it { subject.must_equal(12) }
|
42
|
+
end
|
43
|
+
|
44
|
+
describe '#render' do
|
45
|
+
subject { instance.render }
|
46
|
+
|
47
|
+
it { subject.must_be_instance_of(Array) }
|
48
|
+
it { subject.must_equal([]) }
|
49
|
+
end
|
50
|
+
|
51
|
+
end # NullBorder
|
52
|
+
|
53
|
+
end # Vedeu
|
@@ -2,23 +2,23 @@ require 'test_helper'
|
|
2
2
|
|
3
3
|
module Vedeu
|
4
4
|
|
5
|
-
describe
|
5
|
+
describe FileRenderer do
|
6
6
|
|
7
|
-
let(:described) { Vedeu::
|
7
|
+
let(:described) { Vedeu::FileRenderer }
|
8
8
|
let(:instance) { described.new(output) }
|
9
9
|
let(:output) {}
|
10
10
|
|
11
11
|
describe '#initialize' do
|
12
|
-
it { instance.must_be_instance_of(Vedeu::
|
12
|
+
it { instance.must_be_instance_of(Vedeu::FileRenderer) }
|
13
13
|
it { instance.instance_variable_get('@output').must_equal([output]) }
|
14
14
|
end
|
15
15
|
|
16
16
|
describe '.render' do
|
17
17
|
subject { described.render }
|
18
18
|
|
19
|
-
it { subject.must_be_instance_of(String) }
|
19
|
+
# it { subject.must_be_instance_of(String) }
|
20
20
|
end
|
21
21
|
|
22
|
-
end #
|
22
|
+
end # FileRenderer
|
23
23
|
|
24
24
|
end # Vedeu
|
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Vedeu
|
4
|
+
|
5
|
+
describe HTMLRenderer do
|
6
|
+
|
7
|
+
let(:described) { Vedeu::HTMLRenderer }
|
8
|
+
let(:instance) { described.new(output) }
|
9
|
+
let(:output) {}
|
10
|
+
|
11
|
+
describe '#initialize' do
|
12
|
+
it { instance.must_be_instance_of(Vedeu::HTMLRenderer) }
|
13
|
+
it { instance.instance_variable_get('@output').must_equal(output) }
|
14
|
+
end
|
15
|
+
|
16
|
+
describe '#render' do
|
17
|
+
subject { instance.render }
|
18
|
+
|
19
|
+
it { subject.must_be_instance_of(String) }
|
20
|
+
end
|
21
|
+
|
22
|
+
describe '.to_file' do
|
23
|
+
before { File.stubs(:open) }
|
24
|
+
|
25
|
+
subject { described.to_file(output, path) }
|
26
|
+
|
27
|
+
context 'when a path is given' do
|
28
|
+
let(:path) { '/tmp/test_vedeu_html_renderer.html' }
|
29
|
+
|
30
|
+
#it { subject.must_equal('') }
|
31
|
+
end
|
32
|
+
|
33
|
+
context 'when a path is not given' do
|
34
|
+
let(:path) {}
|
35
|
+
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe '#html_body' do
|
41
|
+
subject { instance.html_body }
|
42
|
+
|
43
|
+
it { subject.must_be_instance_of(String) }
|
44
|
+
|
45
|
+
it { subject.must_equal('') }
|
46
|
+
|
47
|
+
context 'when there is output' do
|
48
|
+
let(:output) {
|
49
|
+
[
|
50
|
+
[
|
51
|
+
Vedeu::Char.new({ value: 't' }),
|
52
|
+
Vedeu::Char.new({ value: 'e' }),
|
53
|
+
Vedeu::Char.new({ value: 's' }),
|
54
|
+
Vedeu::Char.new({ value: 't' }),
|
55
|
+
]
|
56
|
+
]
|
57
|
+
}
|
58
|
+
|
59
|
+
it { subject.must_equal(
|
60
|
+
"<tr>\n" \
|
61
|
+
"<td style='background:#000;color:#222;border:1px #000 solid;'>t</td>\n" \
|
62
|
+
"<td style='background:#000;color:#222;border:1px #000 solid;'>e</td>\n" \
|
63
|
+
"<td style='background:#000;color:#222;border:1px #000 solid;'>s</td>\n" \
|
64
|
+
"<td style='background:#000;color:#222;border:1px #000 solid;'>t</td>\n" \
|
65
|
+
"</tr>\n") }
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
end # HTMLRenderer
|
70
|
+
|
71
|
+
end # Vedeu
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Vedeu
|
4
|
+
|
5
|
+
describe TerminalRenderer do
|
6
|
+
|
7
|
+
let(:described) { Vedeu::TerminalRenderer }
|
8
|
+
let(:instance) { described.new(output) }
|
9
|
+
let(:output) {}
|
10
|
+
|
11
|
+
describe '#initialize' do
|
12
|
+
it { instance.must_be_instance_of(Vedeu::TerminalRenderer) }
|
13
|
+
it { instance.instance_variable_get('@output').must_equal([output]) }
|
14
|
+
end
|
15
|
+
|
16
|
+
describe '.render' do
|
17
|
+
subject { described.render }
|
18
|
+
|
19
|
+
it { subject.must_be_instance_of(Array) }
|
20
|
+
end
|
21
|
+
|
22
|
+
end # TerminalRenderer
|
23
|
+
|
24
|
+
end # Vedeu
|
@@ -47,84 +47,110 @@ module Vedeu
|
|
47
47
|
|
48
48
|
it { subject.must_be_instance_of(Array) }
|
49
49
|
|
50
|
-
|
51
|
-
|
50
|
+
context 'when there is no content' do
|
51
|
+
before { interface.stubs(:lines).returns([]) }
|
52
52
|
|
53
|
-
|
54
|
-
# end
|
55
|
-
|
56
|
-
context 'when there is content' do
|
57
|
-
context "when the cursor's y position is outside the viewable area - negative" do
|
58
|
-
let(:ox) { -4 }
|
59
|
-
let(:oy) { -4 }
|
60
|
-
|
61
|
-
it 'scrolls the content the correct position' do
|
62
|
-
instance.to_s.must_equal("bar\ncar\nhel")
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
context "when the cursor's y position is inside the viewable area" do
|
67
|
-
context "when there is not enough content to fill the height" do
|
68
|
-
let(:ox) { 3 }
|
69
|
-
let(:oy) { 7 }
|
70
|
-
|
71
|
-
it 'is padded with spaces' do
|
72
|
-
instance.to_s.must_equal("nic\nosm\n ")
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
|
-
context "when there is more content than the height" do
|
77
|
-
let(:ox) { 3 }
|
78
|
-
let(:oy) { 3 }
|
79
|
-
|
80
|
-
it "is cropped to show only that which fits" do
|
81
|
-
instance.to_s.must_equal("bar\ncar\nhel")
|
82
|
-
end
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
context "when the cursor's x position is outside the viewable area" do
|
87
|
-
context "but inside the content" do
|
88
|
-
let(:ox) { 6 }
|
89
|
-
let(:oy) { 6 }
|
90
|
-
|
91
|
-
it 'scrolls the content the correct position' do
|
92
|
-
instance.to_s.must_equal("ine\nkel\nium")
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
context "and outside the content" do
|
97
|
-
let(:ox) { 7 }
|
98
|
-
let(:oy) { 7 }
|
99
|
-
|
100
|
-
it "scrolls the content the correct position" do
|
101
|
-
instance.to_s.must_equal("el \num \n ")
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
|
-
context "when the cursor's x position is inside the viewable area" do
|
107
|
-
context "when there is not enough content to fill the width" do
|
108
|
-
let(:ox) { 7 }
|
109
|
-
let(:oy) { 3 }
|
110
|
-
|
111
|
-
it "is padded with spaces" do
|
112
|
-
instance.to_s.must_equal("um \non \num ")
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
context "when there is more content than the width" do
|
117
|
-
let(:ox) { 3 }
|
118
|
-
let(:oy) { 3 }
|
119
|
-
|
120
|
-
it "is cropped to show only that which fits" do
|
121
|
-
instance.to_s.must_equal("bar\ncar\nhel")
|
122
|
-
end
|
123
|
-
end
|
124
|
-
end
|
53
|
+
it { subject.must_equal([]) }
|
125
54
|
end
|
126
55
|
end
|
127
56
|
|
57
|
+
# describe '#to_s' do
|
58
|
+
# let(:cursor) { Cursor.new(cursor_attributes) }
|
59
|
+
# let(:cursor_attributes) {
|
60
|
+
# { name: 'lithium', ox: ox, oy: oy, state: true, x: x, y: y }
|
61
|
+
# }
|
62
|
+
# let(:lines) { [] }
|
63
|
+
# let(:ox) { 0 }
|
64
|
+
# let(:oy) { 0 }
|
65
|
+
# let(:x) { 1 }
|
66
|
+
# let(:y) { 1 }
|
67
|
+
|
68
|
+
# before do
|
69
|
+
# interface.stubs(:cursor).returns(cursor)
|
70
|
+
# end
|
71
|
+
|
72
|
+
# subject { instance.to_s }
|
73
|
+
|
74
|
+
# it { subject.must_be_instance_of(Array) }
|
75
|
+
|
76
|
+
# context 'when there is no content' do
|
77
|
+
# before { interface.stubs(:lines).returns([]) }
|
78
|
+
|
79
|
+
# it { subject.must_equal([]) }
|
80
|
+
# end
|
81
|
+
|
82
|
+
# context 'when there is content' do
|
83
|
+
# context "when the cursor's y position is outside the viewable area - negative" do
|
84
|
+
# let(:ox) { -4 }
|
85
|
+
# let(:oy) { -4 }
|
86
|
+
|
87
|
+
# it 'scrolls the content the correct position' do
|
88
|
+
# subject.must_equal("bar\ncar\nhel")
|
89
|
+
# end
|
90
|
+
# end
|
91
|
+
|
92
|
+
# context "when the cursor's y position is inside the viewable area" do
|
93
|
+
# context "when there is not enough content to fill the height" do
|
94
|
+
# let(:ox) { 3 }
|
95
|
+
# let(:oy) { 7 }
|
96
|
+
|
97
|
+
# it "renders the visible content" do
|
98
|
+
# subject.must_equal("nic\nosm\n")
|
99
|
+
# end
|
100
|
+
# end
|
101
|
+
|
102
|
+
# context "when there is more content than the height" do
|
103
|
+
# let(:ox) { 3 }
|
104
|
+
# let(:oy) { 3 }
|
105
|
+
|
106
|
+
# it "is cropped to show only that which fits" do
|
107
|
+
# subject.must_equal("bar\ncar\nhel")
|
108
|
+
# end
|
109
|
+
# end
|
110
|
+
# end
|
111
|
+
|
112
|
+
# context "when the cursor's x position is outside the viewable area" do
|
113
|
+
# context "but inside the content" do
|
114
|
+
# let(:ox) { 6 }
|
115
|
+
# let(:oy) { 6 }
|
116
|
+
|
117
|
+
# it 'scrolls the content the correct position' do
|
118
|
+
# subject.must_equal("ine\nkel\nium")
|
119
|
+
# end
|
120
|
+
# end
|
121
|
+
|
122
|
+
# context "and outside the content" do
|
123
|
+
# let(:ox) { 7 }
|
124
|
+
# let(:oy) { 7 }
|
125
|
+
|
126
|
+
# it "scrolls the content the correct position" do
|
127
|
+
# subject.must_equal("el\num\n")
|
128
|
+
# end
|
129
|
+
# end
|
130
|
+
# end
|
131
|
+
|
132
|
+
# context "when the cursor's x position is inside the viewable area" do
|
133
|
+
# context "when there is not enough content to fill the width" do
|
134
|
+
# let(:ox) { 7 }
|
135
|
+
# let(:oy) { 3 }
|
136
|
+
|
137
|
+
# it "renders the visible content" do
|
138
|
+
# subject.must_equal("um\non\num")
|
139
|
+
# end
|
140
|
+
# end
|
141
|
+
|
142
|
+
# context "when there is more content than the width" do
|
143
|
+
# let(:ox) { 3 }
|
144
|
+
# let(:oy) { 3 }
|
145
|
+
|
146
|
+
# it "is cropped to show only that which fits" do
|
147
|
+
# subject.must_equal("bar\ncar\nhel")
|
148
|
+
# end
|
149
|
+
# end
|
150
|
+
# end
|
151
|
+
# end
|
152
|
+
# end
|
153
|
+
|
128
154
|
end # Viewport
|
129
155
|
|
130
156
|
end # Vedeu
|
data/vedeu.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'vedeu'
|
7
|
-
spec.version = '0.4.
|
7
|
+
spec.version = '0.4.10'
|
8
8
|
spec.authors = ['Gavin Laking']
|
9
9
|
spec.email = ['gavinlaking@gmail.com']
|
10
10
|
spec.summary = %q{A terminal case of wonderland.}
|
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.10
|
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-03-
|
11
|
+
date: 2015-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aruba
|
@@ -353,7 +353,6 @@ files:
|
|
353
353
|
- lib/vedeu/exceptions.rb
|
354
354
|
- lib/vedeu/geometry/all.rb
|
355
355
|
- lib/vedeu/geometry/area.rb
|
356
|
-
- lib/vedeu/geometry/bounding_area.rb
|
357
356
|
- lib/vedeu/geometry/canvas.rb
|
358
357
|
- lib/vedeu/geometry/centre.rb
|
359
358
|
- lib/vedeu/geometry/content.rb
|
@@ -392,11 +391,14 @@ files:
|
|
392
391
|
- lib/vedeu/output/esc.rb
|
393
392
|
- lib/vedeu/output/foreground.rb
|
394
393
|
- lib/vedeu/output/html_char.rb
|
395
|
-
- lib/vedeu/output/
|
394
|
+
- lib/vedeu/output/null_border.rb
|
396
395
|
- lib/vedeu/output/output.rb
|
397
396
|
- lib/vedeu/output/presentation.rb
|
398
397
|
- lib/vedeu/output/refresh.rb
|
399
|
-
- lib/vedeu/output/
|
398
|
+
- lib/vedeu/output/renderers/all.rb
|
399
|
+
- lib/vedeu/output/renderers/file_renderer.rb
|
400
|
+
- lib/vedeu/output/renderers/html_renderer.rb
|
401
|
+
- lib/vedeu/output/renderers/terminal_renderer.rb
|
400
402
|
- lib/vedeu/output/style.rb
|
401
403
|
- lib/vedeu/output/templates/html_renderer.vedeu
|
402
404
|
- lib/vedeu/output/text.rb
|
@@ -455,7 +457,6 @@ files:
|
|
455
457
|
- test/lib/vedeu/events/event_test.rb
|
456
458
|
- test/lib/vedeu/events/trigger_test.rb
|
457
459
|
- test/lib/vedeu/geometry/area_test.rb
|
458
|
-
- test/lib/vedeu/geometry/bounding_area_test.rb
|
459
460
|
- test/lib/vedeu/geometry/canvas_test.rb
|
460
461
|
- test/lib/vedeu/geometry/centre_test.rb
|
461
462
|
- test/lib/vedeu/geometry/content_test.rb
|
@@ -491,11 +492,13 @@ files:
|
|
491
492
|
- test/lib/vedeu/output/esc_test.rb
|
492
493
|
- test/lib/vedeu/output/foreground_test.rb
|
493
494
|
- test/lib/vedeu/output/html_char_test.rb
|
494
|
-
- test/lib/vedeu/output/
|
495
|
+
- test/lib/vedeu/output/null_border_test.rb
|
495
496
|
- test/lib/vedeu/output/output_test.rb
|
496
497
|
- test/lib/vedeu/output/presentation_test.rb
|
497
498
|
- test/lib/vedeu/output/refresh_test.rb
|
498
|
-
- test/lib/vedeu/output/
|
499
|
+
- test/lib/vedeu/output/renderers/file_renderer_test.rb
|
500
|
+
- test/lib/vedeu/output/renderers/html_renderer_test.rb
|
501
|
+
- test/lib/vedeu/output/renderers/terminal_renderer_test.rb
|
499
502
|
- test/lib/vedeu/output/style_test.rb
|
500
503
|
- test/lib/vedeu/output/text_test.rb
|
501
504
|
- test/lib/vedeu/output/translator_test.rb
|
@@ -589,7 +592,6 @@ test_files:
|
|
589
592
|
- test/lib/vedeu/events/event_test.rb
|
590
593
|
- test/lib/vedeu/events/trigger_test.rb
|
591
594
|
- test/lib/vedeu/geometry/area_test.rb
|
592
|
-
- test/lib/vedeu/geometry/bounding_area_test.rb
|
593
595
|
- test/lib/vedeu/geometry/canvas_test.rb
|
594
596
|
- test/lib/vedeu/geometry/centre_test.rb
|
595
597
|
- test/lib/vedeu/geometry/content_test.rb
|
@@ -625,11 +627,13 @@ test_files:
|
|
625
627
|
- test/lib/vedeu/output/esc_test.rb
|
626
628
|
- test/lib/vedeu/output/foreground_test.rb
|
627
629
|
- test/lib/vedeu/output/html_char_test.rb
|
628
|
-
- test/lib/vedeu/output/
|
630
|
+
- test/lib/vedeu/output/null_border_test.rb
|
629
631
|
- test/lib/vedeu/output/output_test.rb
|
630
632
|
- test/lib/vedeu/output/presentation_test.rb
|
631
633
|
- test/lib/vedeu/output/refresh_test.rb
|
632
|
-
- test/lib/vedeu/output/
|
634
|
+
- test/lib/vedeu/output/renderers/file_renderer_test.rb
|
635
|
+
- test/lib/vedeu/output/renderers/html_renderer_test.rb
|
636
|
+
- test/lib/vedeu/output/renderers/terminal_renderer_test.rb
|
633
637
|
- test/lib/vedeu/output/style_test.rb
|
634
638
|
- test/lib/vedeu/output/text_test.rb
|
635
639
|
- test/lib/vedeu/output/translator_test.rb
|