tty 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +75 -19
- data/lib/tty.rb +7 -0
- data/lib/tty/shell/question.rb +3 -3
- data/lib/tty/shell/response.rb +5 -5
- data/lib/tty/table.rb +51 -19
- data/lib/tty/table/column_set.rb +42 -1
- data/lib/tty/table/columns.rb +167 -0
- data/lib/tty/table/field.rb +2 -2
- data/lib/tty/table/indentation.rb +54 -0
- data/lib/tty/table/operation/escape.rb +1 -1
- data/lib/tty/table/operation/filter.rb +0 -1
- data/lib/tty/table/operation/padding.rb +95 -0
- data/lib/tty/table/operation/wrapped.rb +6 -3
- data/lib/tty/table/operations.rb +3 -2
- data/lib/tty/table/orientation/horizontal.rb +27 -1
- data/lib/tty/table/orientation/vertical.rb +17 -1
- data/lib/tty/table/padder.rb +142 -0
- data/lib/tty/table/renderer/basic.rb +101 -31
- data/lib/tty/table/validatable.rb +0 -7
- data/lib/tty/terminal/color.rb +36 -20
- data/lib/tty/text/truncation.rb +16 -1
- data/lib/tty/text/wrapping.rb +31 -10
- data/lib/tty/version.rb +1 -1
- data/spec/tty/shell/question/argument_spec.rb +1 -1
- data/spec/tty/shell/question/modify_spec.rb +2 -2
- data/spec/tty/shell/response/read_email_spec.rb +0 -1
- data/spec/tty/table/border/ascii/rendering_spec.rb +34 -7
- data/spec/tty/table/border/null/rendering_spec.rb +34 -7
- data/spec/tty/table/column_set/extract_widths_spec.rb +1 -1
- data/spec/tty/table/column_set/widths_from_spec.rb +52 -0
- data/spec/tty/table/columns/enforce_spec.rb +68 -0
- data/spec/tty/table/columns/widths_spec.rb +33 -0
- data/spec/tty/table/indentation/insert_indent_spec.rb +27 -0
- data/spec/tty/table/operation/wrapped/call_spec.rb +2 -1
- data/spec/tty/table/operation/wrapped/wrap_spec.rb +3 -2
- data/spec/tty/table/operations/new_spec.rb +3 -5
- data/spec/tty/table/orientation_spec.rb +68 -22
- data/spec/tty/table/padder/parse_spec.rb +45 -0
- data/spec/tty/table/padding_spec.rb +120 -0
- data/spec/tty/table/renderer/ascii/indentation_spec.rb +41 -0
- data/spec/tty/table/renderer/ascii/padding_spec.rb +61 -0
- data/spec/tty/table/renderer/ascii/resizing_spec.rb +114 -0
- data/spec/tty/table/renderer/basic/alignment_spec.rb +18 -19
- data/spec/tty/table/renderer/basic/coloring_spec.rb +45 -0
- data/spec/tty/table/renderer/basic/indentation_spec.rb +46 -0
- data/spec/tty/table/renderer/basic/options_spec.rb +2 -2
- data/spec/tty/table/renderer/basic/padding_spec.rb +52 -0
- data/spec/tty/table/renderer/basic/resizing_spec.rb +96 -0
- data/spec/tty/table/renderer/render_spec.rb +36 -0
- data/spec/tty/table/renderer/unicode/indentation_spec.rb +41 -0
- data/spec/tty/table/renderer/unicode/padding_spec.rb +61 -0
- data/spec/tty/table/renderer_spec.rb +19 -0
- data/spec/tty/table/rotate_spec.rb +20 -6
- data/spec/tty/text/truncation/truncate_spec.rb +18 -3
- data/spec/tty/text/wrapping/wrap_spec.rb +24 -7
- metadata +56 -18
@@ -0,0 +1,19 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe TTY::Table, '#renderer' do
|
6
|
+
let(:object) { described_class }
|
7
|
+
let(:header) { ['h1', 'h2'] }
|
8
|
+
let(:rows) { [['a1', 'a2'], ['b1', 'b2']] }
|
9
|
+
|
10
|
+
subject { object.new(header, rows).renderer }
|
11
|
+
|
12
|
+
it 'creates new renderer' do
|
13
|
+
expect(subject).to be_kind_of(TTY::Table::Renderer::Basic)
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'chains calls on renderer' do
|
17
|
+
expect(subject.render).to eql("h1 h2\na1 a2\nb1 b2")
|
18
|
+
end
|
19
|
+
end
|
@@ -33,9 +33,12 @@ describe TTY::Table, '#rotate' do
|
|
33
33
|
it 'rotates the rows' do
|
34
34
|
subject.orientation = :vertical
|
35
35
|
expect(subject.rotate.to_a).to eql [
|
36
|
-
['
|
37
|
-
['
|
38
|
-
['
|
36
|
+
['1', 'a1'],
|
37
|
+
['2', 'a2'],
|
38
|
+
['3', 'a3'],
|
39
|
+
['1', 'b1'],
|
40
|
+
['2', 'b2'],
|
41
|
+
['3', 'b3'],
|
39
42
|
]
|
40
43
|
expect(subject.header).to be_nil
|
41
44
|
end
|
@@ -47,15 +50,25 @@ describe TTY::Table, '#rotate' do
|
|
47
50
|
expect(subject.rotate.to_a).to eql rows
|
48
51
|
expect(subject.header).to eql header
|
49
52
|
end
|
53
|
+
|
54
|
+
it 'roates the output' do
|
55
|
+
expect(subject.to_s).to eq("a1 a2 a3\nb1 b2 b3")
|
56
|
+
subject.orientation = :vertical
|
57
|
+
subject.rotate
|
58
|
+
expect(subject.to_s).to eq("1 a1\n2 a2\n3 a3\n1 b1\n2 b2\n3 b3")
|
59
|
+
end
|
50
60
|
end
|
51
61
|
|
52
62
|
context 'with header' do
|
53
63
|
it 'rotates the rows and merges header' do
|
54
64
|
subject.orientation = :vertical
|
55
65
|
expect(subject.rotate.to_a).to eql [
|
56
|
-
['h1', 'a1'
|
57
|
-
['h2', 'a2'
|
58
|
-
['h3', 'a3'
|
66
|
+
['h1', 'a1'],
|
67
|
+
['h2', 'a2'],
|
68
|
+
['h3', 'a3'],
|
69
|
+
['h1', 'b1'],
|
70
|
+
['h2', 'b2'],
|
71
|
+
['h3', 'b3'],
|
59
72
|
]
|
60
73
|
expect(subject.header).to be_empty
|
61
74
|
end
|
@@ -64,6 +77,7 @@ describe TTY::Table, '#rotate' do
|
|
64
77
|
subject.orientation = :vertical
|
65
78
|
subject.rotate
|
66
79
|
expect(subject.orientation).to be_a TTY::Table::Orientation::Vertical
|
80
|
+
|
67
81
|
subject.orientation = :horizontal
|
68
82
|
expect(subject.rotate.to_a).to eql [header] + rows
|
69
83
|
expect(subject.header).to eql header
|
@@ -3,15 +3,15 @@
|
|
3
3
|
require 'spec_helper'
|
4
4
|
|
5
5
|
describe TTY::Text::Truncation, '#truncate' do
|
6
|
-
let(:object) { described_class.new(text, options) }
|
7
6
|
let(:separator) { nil }
|
8
|
-
let(:trailing) { '…' }
|
9
7
|
let(:options) { { :length => length, :separator => separator, :trailing => trailing } }
|
8
|
+
let(:trailing) { '…' }
|
9
|
+
let(:object) { described_class.new(text, options) }
|
10
10
|
|
11
11
|
subject { object.truncate }
|
12
12
|
|
13
13
|
context 'unicode support' do
|
14
|
-
let(:text)
|
14
|
+
let(:text) { 'ラドクリフ、マラソン五輪代表に1万m出場にも含み' }
|
15
15
|
|
16
16
|
context 'with zero length' do
|
17
17
|
let(:length) { 0 }
|
@@ -76,4 +76,19 @@ describe TTY::Text::Truncation, '#truncate' do
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
+
context 'with excape' do
|
80
|
+
let(:text) { "This is a \e[1m\e[34mbold blue text\e[0m" }
|
81
|
+
|
82
|
+
context 'removes ansi chars' do
|
83
|
+
let(:options) { {escape: true} }
|
84
|
+
|
85
|
+
it { expect(subject).to eq 'This is a bold blue text' }
|
86
|
+
end
|
87
|
+
|
88
|
+
context 'preserves ansi chars' do
|
89
|
+
let(:options) { {escape: false, length: -1} }
|
90
|
+
|
91
|
+
it { expect(subject).to eq text }
|
92
|
+
end
|
93
|
+
end
|
79
94
|
end # truncate
|
@@ -3,11 +3,12 @@
|
|
3
3
|
require 'spec_helper'
|
4
4
|
|
5
5
|
describe TTY::Text::Wrapping, '#wrap' do
|
6
|
-
let(:
|
7
|
-
let(:indent)
|
8
|
-
let(:
|
6
|
+
let(:object) { described_class.new(text, options) }
|
7
|
+
let(:indent) { 0 }
|
8
|
+
let(:padding) { [] }
|
9
|
+
let(:options) { {length: length, indent: indent, padding: padding} }
|
9
10
|
|
10
|
-
subject {
|
11
|
+
subject { object.wrap }
|
11
12
|
|
12
13
|
context 'unicode support' do
|
13
14
|
let(:text) { 'ラドクリフ、マラソン五輪代表に1万m出場にも含み' }
|
@@ -39,7 +40,7 @@ describe TTY::Text::Wrapping, '#wrap' do
|
|
39
40
|
|
40
41
|
context 'ascii long text' do
|
41
42
|
let(:length) { 45 }
|
42
|
-
let(:text)
|
43
|
+
let(:text) { "What of it, if some old hunks of a sea-captain orders me to get a broom
|
43
44
|
and sweep down the decks? What does that indignity amount to, weighed,
|
44
45
|
I mean, in the scales of the New Testament? Do you think the archangel
|
45
46
|
Gabriel thinks anything the less of me, because I promptly and
|
@@ -63,7 +64,7 @@ describe TTY::Text::Wrapping, '#wrap' do
|
|
63
64
|
end
|
64
65
|
|
65
66
|
context 'with indent' do
|
66
|
-
let(:text)
|
67
|
+
let(:text) { 'ラドクリフ、マラソン五輪代表に1万m出場にも含み' }
|
67
68
|
let(:length) { 8 }
|
68
69
|
let(:indent) { 4 }
|
69
70
|
|
@@ -71,10 +72,26 @@ describe TTY::Text::Wrapping, '#wrap' do
|
|
71
72
|
end
|
72
73
|
|
73
74
|
context 'with ansi colors' do
|
74
|
-
let(:text)
|
75
|
+
let(:text) { "\[\033[01;32m\]Hey have\[\033[01;34m\]some cake\[\033[00m\]" }
|
75
76
|
let(:length) { 6 }
|
76
77
|
|
77
78
|
it { should == "\[\033[01;32m\]Hey have\[\033[01;34m\]some\ncake\[\033[00m\]" }
|
78
79
|
end
|
79
80
|
|
81
|
+
context 'with newlines' do
|
82
|
+
context 'with both prefix and postfix' do
|
83
|
+
let(:text) { "\n\nラドクリフ、マラソン五輪代表に1万m出場にも含み\n\n\n" }
|
84
|
+
let(:length) { 10 }
|
85
|
+
|
86
|
+
it { should == "\n\nラドクリフ、マラソン\n五輪代表に1万m出場\nにも含み\n\n\n" }
|
87
|
+
end
|
88
|
+
|
89
|
+
context 'with padding' do
|
90
|
+
let(:text) { "\n\nラドクリフ、マラソン五輪代表に1万m出場にも含み\n\n" }
|
91
|
+
let(:length) { 10 }
|
92
|
+
let(:padding) { [1,2,3,4] }
|
93
|
+
|
94
|
+
it { should == "\n\n ラドクリフ、マラソン \n 五輪代表に1万m出場 \n にも含み \n\n" }
|
95
|
+
end
|
96
|
+
end
|
80
97
|
end # wrap
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &2152680020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '2.14'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152680020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &2152679080 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '10.1'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2152679080
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: yard
|
38
|
-
requirement: &
|
38
|
+
requirement: &2152678360 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0.8'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2152678360
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: benchmark_suite
|
49
|
-
requirement: &
|
49
|
+
requirement: &2152677540 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2152677540
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: bundler
|
60
|
-
requirement: &
|
60
|
+
requirement: &2152675960 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2152675960
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: yard
|
71
|
-
requirement: &
|
71
|
+
requirement: &2152674320 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0.8'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2152674320
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: simplecov
|
82
|
-
requirement: &
|
82
|
+
requirement: &2152672200 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 0.7.1
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2152672200
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: coveralls
|
93
|
-
requirement: &
|
93
|
+
requirement: &2152670720 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
version: 0.6.7
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2152670720
|
102
102
|
description: Toolbox for developing CLI clients
|
103
103
|
email:
|
104
104
|
- ''
|
@@ -153,19 +153,23 @@ files:
|
|
153
153
|
- lib/tty/table/border_dsl.rb
|
154
154
|
- lib/tty/table/border_options.rb
|
155
155
|
- lib/tty/table/column_set.rb
|
156
|
+
- lib/tty/table/columns.rb
|
156
157
|
- lib/tty/table/error.rb
|
157
158
|
- lib/tty/table/field.rb
|
158
159
|
- lib/tty/table/header.rb
|
160
|
+
- lib/tty/table/indentation.rb
|
159
161
|
- lib/tty/table/operation/alignment.rb
|
160
162
|
- lib/tty/table/operation/alignment_set.rb
|
161
163
|
- lib/tty/table/operation/escape.rb
|
162
164
|
- lib/tty/table/operation/filter.rb
|
165
|
+
- lib/tty/table/operation/padding.rb
|
163
166
|
- lib/tty/table/operation/truncation.rb
|
164
167
|
- lib/tty/table/operation/wrapped.rb
|
165
168
|
- lib/tty/table/operations.rb
|
166
169
|
- lib/tty/table/orientation.rb
|
167
170
|
- lib/tty/table/orientation/horizontal.rb
|
168
171
|
- lib/tty/table/orientation/vertical.rb
|
172
|
+
- lib/tty/table/padder.rb
|
169
173
|
- lib/tty/table/renderer.rb
|
170
174
|
- lib/tty/table/renderer/ascii.rb
|
171
175
|
- lib/tty/table/renderer/basic.rb
|
@@ -252,6 +256,9 @@ files:
|
|
252
256
|
- spec/tty/table/border/unicode/rendering_spec.rb
|
253
257
|
- spec/tty/table/column_set/extract_widths_spec.rb
|
254
258
|
- spec/tty/table/column_set/total_width_spec.rb
|
259
|
+
- spec/tty/table/column_set/widths_from_spec.rb
|
260
|
+
- spec/tty/table/columns/enforce_spec.rb
|
261
|
+
- spec/tty/table/columns/widths_spec.rb
|
255
262
|
- spec/tty/table/data_spec.rb
|
256
263
|
- spec/tty/table/each_spec.rb
|
257
264
|
- spec/tty/table/each_with_index_spec.rb
|
@@ -269,6 +276,7 @@ files:
|
|
269
276
|
- spec/tty/table/header/set_spec.rb
|
270
277
|
- spec/tty/table/header/to_ary_spec.rb
|
271
278
|
- spec/tty/table/header_spec.rb
|
279
|
+
- spec/tty/table/indentation/insert_indent_spec.rb
|
272
280
|
- spec/tty/table/initialize_spec.rb
|
273
281
|
- spec/tty/table/operation/alignment/format_spec.rb
|
274
282
|
- spec/tty/table/operation/alignment/new_spec.rb
|
@@ -285,27 +293,40 @@ files:
|
|
285
293
|
- spec/tty/table/operations/new_spec.rb
|
286
294
|
- spec/tty/table/options_spec.rb
|
287
295
|
- spec/tty/table/orientation_spec.rb
|
296
|
+
- spec/tty/table/padder/parse_spec.rb
|
297
|
+
- spec/tty/table/padding_spec.rb
|
288
298
|
- spec/tty/table/properties_spec.rb
|
289
299
|
- spec/tty/table/render_spec.rb
|
290
300
|
- spec/tty/table/render_with_spec.rb
|
301
|
+
- spec/tty/table/renderer/ascii/indentation_spec.rb
|
302
|
+
- spec/tty/table/renderer/ascii/padding_spec.rb
|
291
303
|
- spec/tty/table/renderer/ascii/render_spec.rb
|
304
|
+
- spec/tty/table/renderer/ascii/resizing_spec.rb
|
292
305
|
- spec/tty/table/renderer/ascii/separator_spec.rb
|
293
306
|
- spec/tty/table/renderer/basic/alignment_spec.rb
|
307
|
+
- spec/tty/table/renderer/basic/coloring_spec.rb
|
294
308
|
- spec/tty/table/renderer/basic/extract_column_widths_spec.rb
|
295
309
|
- spec/tty/table/renderer/basic/filter_spec.rb
|
310
|
+
- spec/tty/table/renderer/basic/indentation_spec.rb
|
296
311
|
- spec/tty/table/renderer/basic/multiline_content_spec.rb
|
297
312
|
- spec/tty/table/renderer/basic/new_spec.rb
|
298
313
|
- spec/tty/table/renderer/basic/options_spec.rb
|
314
|
+
- spec/tty/table/renderer/basic/padding_spec.rb
|
299
315
|
- spec/tty/table/renderer/basic/render_spec.rb
|
316
|
+
- spec/tty/table/renderer/basic/resizing_spec.rb
|
300
317
|
- spec/tty/table/renderer/basic/separator_spec.rb
|
301
318
|
- spec/tty/table/renderer/basic/truncation_spec.rb
|
302
319
|
- spec/tty/table/renderer/basic/wrapping_spec.rb
|
303
320
|
- spec/tty/table/renderer/basic_spec.rb
|
304
321
|
- spec/tty/table/renderer/border_spec.rb
|
322
|
+
- spec/tty/table/renderer/render_spec.rb
|
305
323
|
- spec/tty/table/renderer/select_spec.rb
|
306
324
|
- spec/tty/table/renderer/style_spec.rb
|
325
|
+
- spec/tty/table/renderer/unicode/indentation_spec.rb
|
326
|
+
- spec/tty/table/renderer/unicode/padding_spec.rb
|
307
327
|
- spec/tty/table/renderer/unicode/render_spec.rb
|
308
328
|
- spec/tty/table/renderer/unicode/separator_spec.rb
|
329
|
+
- spec/tty/table/renderer_spec.rb
|
309
330
|
- spec/tty/table/rotate_spec.rb
|
310
331
|
- spec/tty/table/row/access_spec.rb
|
311
332
|
- spec/tty/table/row/call_spec.rb
|
@@ -437,6 +458,9 @@ test_files:
|
|
437
458
|
- spec/tty/table/border/unicode/rendering_spec.rb
|
438
459
|
- spec/tty/table/column_set/extract_widths_spec.rb
|
439
460
|
- spec/tty/table/column_set/total_width_spec.rb
|
461
|
+
- spec/tty/table/column_set/widths_from_spec.rb
|
462
|
+
- spec/tty/table/columns/enforce_spec.rb
|
463
|
+
- spec/tty/table/columns/widths_spec.rb
|
440
464
|
- spec/tty/table/data_spec.rb
|
441
465
|
- spec/tty/table/each_spec.rb
|
442
466
|
- spec/tty/table/each_with_index_spec.rb
|
@@ -454,6 +478,7 @@ test_files:
|
|
454
478
|
- spec/tty/table/header/set_spec.rb
|
455
479
|
- spec/tty/table/header/to_ary_spec.rb
|
456
480
|
- spec/tty/table/header_spec.rb
|
481
|
+
- spec/tty/table/indentation/insert_indent_spec.rb
|
457
482
|
- spec/tty/table/initialize_spec.rb
|
458
483
|
- spec/tty/table/operation/alignment/format_spec.rb
|
459
484
|
- spec/tty/table/operation/alignment/new_spec.rb
|
@@ -470,27 +495,40 @@ test_files:
|
|
470
495
|
- spec/tty/table/operations/new_spec.rb
|
471
496
|
- spec/tty/table/options_spec.rb
|
472
497
|
- spec/tty/table/orientation_spec.rb
|
498
|
+
- spec/tty/table/padder/parse_spec.rb
|
499
|
+
- spec/tty/table/padding_spec.rb
|
473
500
|
- spec/tty/table/properties_spec.rb
|
474
501
|
- spec/tty/table/render_spec.rb
|
475
502
|
- spec/tty/table/render_with_spec.rb
|
503
|
+
- spec/tty/table/renderer/ascii/indentation_spec.rb
|
504
|
+
- spec/tty/table/renderer/ascii/padding_spec.rb
|
476
505
|
- spec/tty/table/renderer/ascii/render_spec.rb
|
506
|
+
- spec/tty/table/renderer/ascii/resizing_spec.rb
|
477
507
|
- spec/tty/table/renderer/ascii/separator_spec.rb
|
478
508
|
- spec/tty/table/renderer/basic/alignment_spec.rb
|
509
|
+
- spec/tty/table/renderer/basic/coloring_spec.rb
|
479
510
|
- spec/tty/table/renderer/basic/extract_column_widths_spec.rb
|
480
511
|
- spec/tty/table/renderer/basic/filter_spec.rb
|
512
|
+
- spec/tty/table/renderer/basic/indentation_spec.rb
|
481
513
|
- spec/tty/table/renderer/basic/multiline_content_spec.rb
|
482
514
|
- spec/tty/table/renderer/basic/new_spec.rb
|
483
515
|
- spec/tty/table/renderer/basic/options_spec.rb
|
516
|
+
- spec/tty/table/renderer/basic/padding_spec.rb
|
484
517
|
- spec/tty/table/renderer/basic/render_spec.rb
|
518
|
+
- spec/tty/table/renderer/basic/resizing_spec.rb
|
485
519
|
- spec/tty/table/renderer/basic/separator_spec.rb
|
486
520
|
- spec/tty/table/renderer/basic/truncation_spec.rb
|
487
521
|
- spec/tty/table/renderer/basic/wrapping_spec.rb
|
488
522
|
- spec/tty/table/renderer/basic_spec.rb
|
489
523
|
- spec/tty/table/renderer/border_spec.rb
|
524
|
+
- spec/tty/table/renderer/render_spec.rb
|
490
525
|
- spec/tty/table/renderer/select_spec.rb
|
491
526
|
- spec/tty/table/renderer/style_spec.rb
|
527
|
+
- spec/tty/table/renderer/unicode/indentation_spec.rb
|
528
|
+
- spec/tty/table/renderer/unicode/padding_spec.rb
|
492
529
|
- spec/tty/table/renderer/unicode/render_spec.rb
|
493
530
|
- spec/tty/table/renderer/unicode/separator_spec.rb
|
531
|
+
- spec/tty/table/renderer_spec.rb
|
494
532
|
- spec/tty/table/rotate_spec.rb
|
495
533
|
- spec/tty/table/row/access_spec.rb
|
496
534
|
- spec/tty/table/row/call_spec.rb
|