html-table 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/{CHANGES.rdoc → CHANGES.md} +73 -69
  4. data/Gemfile +2 -7
  5. data/{MANIFEST.rdoc → MANIFEST.md} +15 -15
  6. data/{README.rdoc → README.md} +80 -71
  7. data/Rakefile +7 -2
  8. data/doc/attributes.md +160 -0
  9. data/doc/table.md +173 -0
  10. data/doc/table_body.md +9 -0
  11. data/doc/table_caption.md +10 -0
  12. data/doc/table_colgroup.md +8 -0
  13. data/doc/table_colgroup_col.md +7 -0
  14. data/doc/table_content.md +17 -0
  15. data/doc/table_foot.md +8 -0
  16. data/doc/table_head.md +10 -0
  17. data/doc/table_row.md +114 -0
  18. data/doc/table_row_data.md +100 -0
  19. data/doc/table_row_header.md +6 -0
  20. data/examples/simple1.rb +7 -5
  21. data/html-table.gemspec +13 -8
  22. data/lib/html/body.rb +9 -7
  23. data/lib/html/caption.rb +4 -2
  24. data/lib/html/col.rb +37 -34
  25. data/lib/html/colgroup.rb +90 -97
  26. data/lib/html/content.rb +3 -6
  27. data/lib/html/data.rb +3 -1
  28. data/lib/html/foot.rb +53 -45
  29. data/lib/html/head.rb +54 -47
  30. data/lib/html/header.rb +5 -3
  31. data/lib/html/mixin/attribute_handler.rb +57 -53
  32. data/lib/html/mixin/html_handler.rb +33 -35
  33. data/lib/html/mixin/strongtyping.rb +6 -6
  34. data/lib/html/mixin/tag_handler.rb +6 -2
  35. data/lib/html/row.rb +156 -183
  36. data/lib/html/table.rb +45 -45
  37. data/lib/html/tablesection.rb +51 -46
  38. data/spec/attribute_handler_spec.rb +94 -80
  39. data/spec/body_spec.rb +54 -37
  40. data/spec/caption_spec.rb +41 -32
  41. data/spec/colgroup_col_spec.rb +7 -7
  42. data/spec/colgroup_spec.rb +50 -36
  43. data/spec/data_spec.rb +39 -23
  44. data/spec/foot_spec.rb +58 -46
  45. data/spec/head_spec.rb +62 -47
  46. data/spec/header_spec.rb +35 -22
  47. data/spec/html_handler_spec.rb +15 -12
  48. data/spec/row_spec.rb +95 -68
  49. data/spec/table_spec.rb +65 -31
  50. data/spec/tablesection_spec.rb +13 -13
  51. data/spec/tag_handler_spec.rb +13 -13
  52. data.tar.gz.sig +0 -0
  53. metadata +103 -78
  54. metadata.gz.sig +0 -0
  55. data/doc/attributes.rdoc +0 -143
  56. data/doc/table.rdoc +0 -156
  57. data/doc/table_body.rdoc +0 -9
  58. data/doc/table_caption.rdoc +0 -9
  59. data/doc/table_colgroup.rdoc +0 -8
  60. data/doc/table_colgroup_col.rdoc +0 -9
  61. data/doc/table_content.rdoc +0 -15
  62. data/doc/table_foot.rdoc +0 -8
  63. data/doc/table_head.rdoc +0 -11
  64. data/doc/table_row.rdoc +0 -105
  65. data/doc/table_row_data.rdoc +0 -92
  66. data/doc/table_row_header.rdoc +0 -7
data/spec/table_spec.rb CHANGED
@@ -10,92 +10,119 @@ require 'html/table'
10
10
  RSpec.describe HTML::Table do
11
11
  before do
12
12
  @table = described_class.new
13
+ @original_case = described_class.html_case
13
14
  end
14
15
 
15
- example "version" do
16
- expect(described_class::VERSION).to eq('1.7.0')
16
+ after do
17
+ described_class.html_case = @original_case
18
+ end
19
+
20
+ example 'version' do
21
+ expect(described_class::VERSION).to eq('1.7.1')
17
22
  expect(described_class::VERSION).to be_frozen
18
23
  end
19
24
 
20
- example "constructor" do
25
+ example 'constructor' do
21
26
  expect{ described_class.new }.not_to raise_error
27
+ end
28
+
29
+ example 'constructor with string' do
22
30
  expect{ described_class.new('foo') }.not_to raise_error
31
+ end
32
+
33
+ example 'constructor with numeric' do
23
34
  expect{ described_class.new(1) }.not_to raise_error
24
- expect{ described_class.new(%w/foo bar baz/) }.not_to raise_error
25
- expect{ described_class.new([1,2,3]) }.not_to raise_error
26
- expect{ described_class.new([[1,2,3],['foo','bar']]) }.not_to raise_error
27
35
  end
28
36
 
29
- example "constructor_with_attributes" do
30
- expect{ described_class.new(%w[foo bar baz], :border => 1) }.not_to raise_error
37
+ example 'constructor with arrays' do
38
+ expect{ described_class.new(%w[foo bar baz]) }.not_to raise_error
39
+ expect{ described_class.new([1, 2, 3]) }.not_to raise_error
40
+ expect{ described_class.new([[1, 2, 3], %w[foo bar]]) }.not_to raise_error
41
+ end
42
+
43
+ example 'constructor_with_attributes' do
44
+ expect{ described_class.new(%w[foo bar baz], border: 1) }.not_to raise_error
31
45
  end
32
46
 
33
- example "html_case" do
47
+ example 'html_case method basic functionality' do
34
48
  expect(described_class).to respond_to(:html_case)
35
49
  expect(described_class).to respond_to(:html_case=)
50
+ end
51
+
52
+ example "html_case writer method only accepts 'upper' and 'lower'" do
36
53
  expect{ described_class.html_case = 'upper' }.not_to raise_error
37
54
  expect{ described_class.html_case = 'lower' }.not_to raise_error
38
55
  expect{ described_class.html_case = 'foo' }.to raise_error(ArgumentError)
39
56
  expect{ described_class.html_case = 7 }.to raise_error(ArgumentTypeError)
40
57
  end
41
58
 
42
- example "indent_level" do
59
+ example 'html_case causes uppercased output as expected' do
60
+ html = '<TABLE><TR><TD>hello</TD></TR></TABLE>'
61
+ described_class.html_case = 'upper'
62
+ @table.content = 'hello'
63
+ expect(@table.html.gsub(/\s+/, '')).to eq(html)
64
+ end
65
+
66
+ example 'indent_level' do
43
67
  expect(described_class).to respond_to(:indent_level)
44
68
  expect(described_class).to respond_to(:indent_level=)
45
69
  expect{ described_class.indent_level = 0 }.not_to raise_error
46
70
  expect{ described_class.indent_level = 'foo' }.to raise_error(ArgumentTypeError)
47
71
  end
48
72
 
49
- example "index" do
73
+ example 'index' do
50
74
  expect{ @table[0] = 'foo' }.to raise_error(ArgumentTypeError)
51
75
  end
52
76
 
53
- example "caption_index_constraints" do
77
+ example 'caption_index_constraints' do
54
78
  expect{ @table[0] = described_class::Caption.new }.not_to raise_error
55
79
  expect{ @table[1] = described_class::Caption.new }.to raise_error(ArgumentError)
56
80
  end
57
81
 
58
- example "head_index_constraints" do
82
+ example 'head_index_constraints' do
59
83
  expect{ @table[0] = described_class::Head.create }.not_to raise_error
60
84
  expect{ @table[1] = described_class::Head.create }.to raise_error(ArgumentError)
61
85
  expect{ @table[2] = described_class::Head.create }.to raise_error(ArgumentError)
62
86
  end
63
87
 
64
- example "foot_index_constraints" do
65
- expect {
88
+ example 'foot_index_constraints' do
89
+ expect do
66
90
  @table[0] = described_class::Caption.new
67
91
  @table[-1] = described_class::Foot.create
68
- }.not_to raise_error
92
+ end.not_to raise_error
69
93
  expect{ @table[0] = described_class::Foot.create }.to raise_error(ArgumentError)
70
94
  end
71
95
 
72
- example "unshift_constraints" do
96
+ example 'unshift_constraints' do
73
97
  expect{ @table.unshift described_class::Row.new }.not_to raise_error
74
98
  expect{ @table.unshift described_class::Row::Data.new }.to raise_error(ArgumentTypeError)
75
99
  expect{ @table.unshift 'foo' }.to raise_error(ArgumentTypeError)
76
100
  end
77
101
 
78
- example "push_constraints" do
102
+ example 'push_constraints' do
79
103
  expect{ @table.push described_class::Row.new }.not_to raise_error
80
104
  expect{ @table.push('foo') }.to raise_error(ArgumentTypeError)
81
105
  expect{ @table.push(7) }.to raise_error(ArgumentTypeError)
82
106
  expect{ @table.push(nil) }.to raise_error(ArgumentTypeError)
83
107
  end
84
108
 
85
- example "double_arrow_constraints" do
109
+ example 'double arrow allows valid values' do
86
110
  expect{ @table << HTML::Table::Row.new }.not_to raise_error
87
111
  expect{ @table << HTML::Table::Row.new << HTML::Table::Row.new }.not_to raise_error
112
+ end
113
+
114
+ example 'double arrow raises an error for invalid types' do
88
115
  expect{ @table << 'foo' }.to raise_error(ArgumentTypeError)
89
116
  expect{ @table << 7 }.to raise_error(ArgumentTypeError)
90
117
  expect{ @table << nil }.to raise_error(ArgumentTypeError)
91
118
  end
92
119
 
93
- example "basic" do
120
+ example 'basic' do
94
121
  html = "<table>\n</table>"
95
122
  expect(@table.html).to eq(html)
96
123
  end
97
124
 
98
- example "with_attributes" do
125
+ example 'with_attributes' do
99
126
  html = "<table border=1 align='left' nowrap>\n</table>"
100
127
  @table.border = 1
101
128
  @table.align = 'left'
@@ -103,48 +130,55 @@ RSpec.describe HTML::Table do
103
130
  expect(@table.html).to eq(html)
104
131
  end
105
132
 
106
- example "add_row_push" do
133
+ example 'add_row_push' do
107
134
  html = '<table><tr></tr></table>'
108
135
  @table.push(described_class::Row.new)
109
136
  expect(@table.html.gsub(/\s+/, '')).to eq(html)
110
137
  end
111
138
 
112
- example "add_row_by_index" do
139
+ example 'add_row_by_index' do
113
140
  html = '<table><tr></tr></table>'
114
141
  @table[0] = described_class::Row.new
115
142
  expect(@table.html.gsub(/\s+/, '')).to eq(html)
116
143
  end
117
144
 
118
- example "add_multiple_rows" do
145
+ example 'add_multiple_rows' do
119
146
  html = '<table><tr></tr><tr></tr></table>'
120
147
  @table.push HTML::Table::Row.new, HTML::Table::Row.new
121
148
  expect(@table.html.gsub(/\s+/, '')).to eq(html)
122
149
  end
123
150
 
124
- example "add_single_data_element" do
151
+ example 'add_single_data_element' do
125
152
  html = '<table><tr><td>hello</td></tr></table>'
126
153
  @table.content = 'hello'
127
154
  expect(@table.html.gsub(/\s+/, '')).to eq(html)
128
155
  end
129
156
 
130
- example "add_multiple_data_elements" do
157
+ example 'add_multiple_data_elements' do
131
158
  html = '<table><tr><td>hello</td></tr><tr><td>world</td></tr></table>'
132
- @table.content = 'hello','world'
159
+ @table.content = 'hello', 'world'
133
160
  expect(@table.html.gsub(/\s+/, '')).to eq(html)
134
161
  end
135
162
 
136
- example "configure_row" do
163
+ example 'configure_row' do
137
164
  html = "<table><tr align='center'><td bgcolor='red'>hello</td></tr>"
138
165
  html << '</table>'
139
- @table.push HTML::Table::Row::Data.new{ |d| d.content = 'hello' }
166
+ @table.push(HTML::Table::Row::Data.new{ |d| d.content = 'hello' })
140
167
  @table.configure(0){ |t| t.align = 'center' }
141
- @table.configure(0,0){ |d| d.bgcolor = 'red' }
168
+ @table.configure(0, 0){ |d| d.bgcolor = 'red' }
142
169
  expect(@table.html.gsub(/\s{2,}|\n+/, '')).to eq(html)
143
170
  end
144
171
 
145
- example "global_end_tags" do
172
+ example 'global_end_tags? basic functionality' do
146
173
  expect(described_class).to respond_to(:global_end_tags?)
174
+ expect(described_class.global_end_tags?).to be(true)
175
+ end
176
+
177
+ example 'global_end_tags= basic functionality' do
147
178
  expect(described_class).to respond_to(:global_end_tags=)
179
+ end
180
+
181
+ example 'global_end_tags= only accepts valid values' do
148
182
  expect{ described_class.global_end_tags = false }.not_to raise_error
149
183
  expect{ described_class.global_end_tags = true }.not_to raise_error
150
184
  expect{ described_class.global_end_tags = 'foo' }.to raise_error(ArgumentTypeError)
@@ -8,29 +8,29 @@ require 'html/table'
8
8
 
9
9
  RSpec.describe HTML::Table::TableSection do
10
10
  before do
11
- @table = Table.new
12
- @tsection = HTML::Table::TableSection.new
11
+ @table = HTML::Table.new
12
+ @tsection = described_class.new
13
13
  end
14
14
 
15
- example "indent_level" do
16
- expect(HTML::Table::TableSection).to respond_to(:indent_level)
17
- expect(HTML::Table::TableSection).to respond_to(:indent_level=)
18
- expect{ HTML::Table::TableSection.indent_level = "foo" }.to raise_error(ArgumentTypeError)
19
- expect{ HTML::Table::TableSection.indent_level = 3 }.not_to raise_error
15
+ example 'indent_level' do
16
+ expect(described_class).to respond_to(:indent_level)
17
+ expect(described_class).to respond_to(:indent_level=)
18
+ expect{ described_class.indent_level = 'foo' }.to raise_error(ArgumentTypeError)
19
+ expect{ described_class.indent_level = 3 }.not_to raise_error
20
20
  end
21
21
 
22
- example "indices" do
23
- expect{ @tsection[0] = "foo" }.to raise_error(ArgumentTypeError)
22
+ example 'indices' do
23
+ expect{ @tsection[0] = 'foo' }.to raise_error(ArgumentTypeError)
24
24
  expect{ @tsection[0] = HTML::Table::Row.new }.not_to raise_error
25
25
  end
26
26
 
27
- example "push" do
28
- expect{ @tsection.push("foo") }.to raise_error(ArgumentTypeError)
27
+ example 'push' do
28
+ expect{ @tsection.push('foo') }.to raise_error(ArgumentTypeError)
29
29
  expect{ @tsection.push(HTML::Table::Row.new) }.not_to raise_error
30
30
  end
31
31
 
32
- example "unshift" do
33
- expect{ @tsection.unshift("foo") }.to raise_error(ArgumentTypeError)
32
+ example 'unshift' do
33
+ expect{ @tsection.unshift('foo') }.to raise_error(ArgumentTypeError)
34
34
  expect{ @tsection.unshift(HTML::Table::Row.new) }.not_to raise_error
35
35
  end
36
36
  end
@@ -16,70 +16,70 @@ RSpec.describe HTML::Mixin::TagHandler do
16
16
  @tcontent = HTML::Table::Content.new('test')
17
17
  end
18
18
 
19
- example "bold" do
19
+ after(:all) do
20
+ BlinkWarning.enable
21
+ end
22
+
23
+ example 'bold' do
20
24
  expect(@tcontent).to respond_to(:bold)
21
25
  expect(@tcontent).to respond_to(:bold=)
22
26
  expect{ @tcontent.bold }.not_to raise_error
23
27
  expect{ @tcontent.bold = true }.not_to raise_error
24
28
  end
25
29
 
26
- example "big" do
30
+ example 'big' do
27
31
  expect(@tcontent).to respond_to(:big)
28
32
  expect(@tcontent).to respond_to(:big=)
29
33
  expect{ @tcontent.big }.not_to raise_error
30
34
  expect{ @tcontent.big = true }.not_to raise_error
31
35
  end
32
36
 
33
- example "blink" do
37
+ example 'blink' do
34
38
  expect(@tcontent).to respond_to(:blink)
35
39
  expect(@tcontent).to respond_to(:blink=)
36
40
  expect{ @tcontent.blink }.not_to raise_error
37
41
  expect{ @tcontent.blink = true }.not_to raise_error
38
42
  end
39
43
 
40
- example "italic" do
44
+ example 'italic' do
41
45
  expect(@tcontent).to respond_to(:italic)
42
46
  expect(@tcontent).to respond_to(:italic=)
43
47
  expect{ @tcontent.italic }.not_to raise_error
44
48
  expect{ @tcontent.italic = true }.not_to raise_error
45
49
  end
46
50
 
47
- example "strike" do
51
+ example 'strike' do
48
52
  expect(@tcontent).to respond_to(:strike)
49
53
  expect(@tcontent).to respond_to(:strike=)
50
54
  expect{ @tcontent.strike }.not_to raise_error
51
55
  expect{ @tcontent.strike = true }.not_to raise_error
52
56
  end
53
57
 
54
- example "sub" do
58
+ example 'sub' do
55
59
  expect(@tcontent).to respond_to(:sub)
56
60
  expect(@tcontent).to respond_to(:sub)
57
61
  expect{ @tcontent.sub }.not_to raise_error
58
62
  expect{ @tcontent.sub = true }.not_to raise_error
59
63
  end
60
64
 
61
- example "sup" do
65
+ example 'sup' do
62
66
  expect(@tcontent).to respond_to(:sup)
63
67
  expect(@tcontent).to respond_to(:sup)
64
68
  expect{ @tcontent.sup }.not_to raise_error
65
69
  expect{ @tcontent.sup = true }.not_to raise_error
66
70
  end
67
71
 
68
- example "tt" do
72
+ example 'tt' do
69
73
  expect(@tcontent).to respond_to(:tt)
70
74
  expect(@tcontent).to respond_to(:tt)
71
75
  expect{ @tcontent.tt }.not_to raise_error
72
76
  expect{ @tcontent.tt = true }.not_to raise_error
73
77
  end
74
78
 
75
- example "underline" do
79
+ example 'underline' do
76
80
  expect(@tcontent).to respond_to(:underline)
77
81
  expect(@tcontent).to respond_to(:underline)
78
82
  expect{ @tcontent.underline }.not_to raise_error
79
83
  expect{ @tcontent.underline = true }.not_to raise_error
80
84
  end
81
-
82
- after(:all) do
83
- BlinkWarning.enable
84
- end
85
85
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-table
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -35,7 +35,7 @@ cert_chain:
35
35
  ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
36
36
  WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
37
37
  -----END CERTIFICATE-----
38
- date:
38
+ date: 2025-06-20 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: structured_warnings
@@ -79,6 +79,34 @@ dependencies:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: rubocop
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: rubocop-rspec
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
82
110
  description: |2
83
111
  The html-table library provides an interface for generating HTML tables
84
112
  in a syntax comfortable to Ruby programmers, but with some enforcement
@@ -87,96 +115,93 @@ email: djberg96@gmail.com
87
115
  executables: []
88
116
  extensions: []
89
117
  extra_rdoc_files:
90
- - README.rdoc
91
- - CHANGES.rdoc
92
- - doc/table_colgroup_col.rdoc
93
- - doc/table_colgroup.rdoc
94
- - doc/table_row.rdoc
95
- - doc/table_head.rdoc
96
- - doc/attributes.rdoc
97
- - doc/table_row_data.rdoc
98
- - doc/table_body.rdoc
99
- - doc/table_caption.rdoc
100
- - doc/table_foot.rdoc
101
- - doc/table.rdoc
102
- - doc/table_row_header.rdoc
103
- - doc/table_content.rdoc
118
+ - README.md
119
+ - CHANGES.md
120
+ - MANIFEST.md
121
+ - doc/attributes.md
122
+ - doc/table.md
123
+ - doc/table_body.md
124
+ - doc/table_caption.md
125
+ - doc/table_colgroup.md
126
+ - doc/table_colgroup_col.md
127
+ - doc/table_content.md
128
+ - doc/table_foot.md
129
+ - doc/table_head.md
130
+ - doc/table_row.md
131
+ - doc/table_row_data.md
132
+ - doc/table_row_header.md
104
133
  files:
105
- - html-table.gemspec
134
+ - CHANGES.md
135
+ - Gemfile
106
136
  - LICENSE
107
- - spec
108
- - spec/tag_handler_spec.rb
109
- - spec/attribute_handler_spec.rb
110
- - spec/colgroup_spec.rb
111
- - spec/caption_spec.rb
112
- - spec/row_spec.rb
113
- - spec/head_spec.rb
114
- - spec/colgroup_col_spec.rb
115
- - spec/data_spec.rb
116
- - spec/header_spec.rb
117
- - spec/body_spec.rb
118
- - spec/html_handler_spec.rb
119
- - spec/table_spec.rb
120
- - spec/tablesection_spec.rb
121
- - spec/foot_spec.rb
137
+ - MANIFEST.md
138
+ - README.md
122
139
  - Rakefile
123
- - certs
124
140
  - certs/djberg96_pub.pem
125
- - examples
126
- - examples/simple3.rb
141
+ - doc/attributes.md
142
+ - doc/table.md
143
+ - doc/table_body.md
144
+ - doc/table_caption.md
145
+ - doc/table_colgroup.md
146
+ - doc/table_colgroup_col.md
147
+ - doc/table_content.md
148
+ - doc/table_foot.md
149
+ - doc/table_head.md
150
+ - doc/table_row.md
151
+ - doc/table_row_data.md
152
+ - doc/table_row_header.md
153
+ - examples/advanced.rb
127
154
  - examples/intermediate1.rb
128
- - examples/simple2.rb
155
+ - examples/intermediate2.rb
129
156
  - examples/intermediate3.rb
130
157
  - examples/simple1.rb
131
- - examples/intermediate2.rb
132
- - examples/advanced.rb
133
- - lib
134
- - lib/html
135
- - lib/html/tablesection.rb
136
- - lib/html/data.rb
137
- - lib/html/table.rb
138
- - lib/html/row.rb
158
+ - examples/simple2.rb
159
+ - examples/simple3.rb
160
+ - html-table.gemspec
161
+ - lib/html-table.rb
162
+ - lib/html/body.rb
163
+ - lib/html/caption.rb
139
164
  - lib/html/col.rb
140
- - lib/html/head.rb
141
165
  - lib/html/colgroup.rb
142
- - lib/html/mixin
166
+ - lib/html/content.rb
167
+ - lib/html/data.rb
168
+ - lib/html/foot.rb
169
+ - lib/html/head.rb
170
+ - lib/html/header.rb
143
171
  - lib/html/mixin/attribute_handler.rb
144
172
  - lib/html/mixin/html_handler.rb
145
173
  - lib/html/mixin/strongtyping.rb
146
174
  - lib/html/mixin/tag_handler.rb
147
- - lib/html/caption.rb
148
- - lib/html/content.rb
149
- - lib/html/foot.rb
150
- - lib/html/body.rb
151
- - lib/html/header.rb
152
- - lib/html-table.rb
153
- - CHANGES.rdoc
154
- - Gemfile
155
- - doc
156
- - doc/table_colgroup_col.rdoc
157
- - doc/table_colgroup.rdoc
158
- - doc/table_row.rdoc
159
- - doc/table_head.rdoc
160
- - doc/attributes.rdoc
161
- - doc/table_row_data.rdoc
162
- - doc/table_body.rdoc
163
- - doc/table_caption.rdoc
164
- - doc/table_foot.rdoc
165
- - doc/table.rdoc
166
- - doc/table_row_header.rdoc
167
- - doc/table_content.rdoc
168
- - MANIFEST.rdoc
169
- - README.rdoc
175
+ - lib/html/row.rb
176
+ - lib/html/table.rb
177
+ - lib/html/tablesection.rb
178
+ - spec/attribute_handler_spec.rb
179
+ - spec/body_spec.rb
180
+ - spec/caption_spec.rb
181
+ - spec/colgroup_col_spec.rb
182
+ - spec/colgroup_spec.rb
183
+ - spec/data_spec.rb
184
+ - spec/foot_spec.rb
185
+ - spec/head_spec.rb
186
+ - spec/header_spec.rb
187
+ - spec/html_handler_spec.rb
188
+ - spec/row_spec.rb
189
+ - spec/table_spec.rb
190
+ - spec/tablesection_spec.rb
191
+ - spec/tag_handler_spec.rb
170
192
  homepage: http://github.com/djberg96/html-table
171
193
  licenses:
172
194
  - Apache-2.0
173
195
  metadata:
174
196
  homepage_uri: https://github.com/djberg96/html-table
175
197
  bug_tracker_uri: https://github.com/djberg96/html-table/issues
176
- changelog_uri: https://github.com/djberg96/html-table/blob/master/CHANGES
177
- documentation_uri: https://github.com/djberg96/html-table/wiki
198
+ changelog_uri: https://github.com/djberg96/html-table/blob/main/CHANGES.md
199
+ documentation_uri: https://djberg96.github.io/html-table
178
200
  source_code_uri: https://github.com/djberg96/html-table
179
201
  wiki_uri: https://github.com/djberg96/html-table/wiki
202
+ rubygems_mfa_required: 'true'
203
+ github_repo: https://github.com/djberg96/html-table
204
+ funding_uri: https://github.com/sponsors/djberg96
180
205
  post_install_message:
181
206
  rdoc_options: []
182
207
  require_paths:
@@ -192,22 +217,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
217
  - !ruby/object:Gem::Version
193
218
  version: '0'
194
219
  requirements: []
195
- rubygems_version: 3.1.4
220
+ rubygems_version: 3.5.22
196
221
  signing_key:
197
222
  specification_version: 4
198
223
  summary: A Ruby interface for generating HTML tables
199
224
  test_files:
200
- - spec/tag_handler_spec.rb
201
225
  - spec/attribute_handler_spec.rb
202
- - spec/colgroup_spec.rb
226
+ - spec/body_spec.rb
203
227
  - spec/caption_spec.rb
204
- - spec/row_spec.rb
205
- - spec/head_spec.rb
206
228
  - spec/colgroup_col_spec.rb
229
+ - spec/colgroup_spec.rb
207
230
  - spec/data_spec.rb
231
+ - spec/foot_spec.rb
232
+ - spec/head_spec.rb
208
233
  - spec/header_spec.rb
209
- - spec/body_spec.rb
210
234
  - spec/html_handler_spec.rb
235
+ - spec/row_spec.rb
211
236
  - spec/table_spec.rb
212
237
  - spec/tablesection_spec.rb
213
- - spec/foot_spec.rb
238
+ - spec/tag_handler_spec.rb
metadata.gz.sig CHANGED
Binary file