html-table 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +3 -1
- data.tar.gz.sig +0 -0
- data/CHANGES +159 -155
- data/MANIFEST +59 -59
- data/README +132 -132
- data/certs/djberg96_pub.pem +22 -17
- data/doc/attributes.rdoc +143 -143
- data/doc/table.rdoc +158 -158
- data/doc/table_body.rdoc +9 -9
- data/doc/table_caption.rdoc +9 -9
- data/doc/table_colgroup.rdoc +8 -8
- data/doc/table_colgroup_col.rdoc +9 -9
- data/doc/table_content.rdoc +15 -15
- data/doc/table_foot.rdoc +8 -8
- data/doc/table_head.rdoc +11 -11
- data/doc/table_row.rdoc +105 -105
- data/doc/table_row_data.rdoc +92 -92
- data/doc/table_row_header.rdoc +7 -7
- data/examples/advanced.rb +128 -128
- data/examples/intermediate1.rb +72 -72
- data/examples/intermediate2.rb +62 -62
- data/examples/intermediate3.rb +46 -46
- data/examples/simple1.rb +39 -39
- data/examples/simple2.rb +47 -47
- data/examples/simple3.rb +41 -41
- data/html-table.gemspec +28 -28
- data/lib/html-table.rb +1 -1
- data/lib/html/attribute_handler.rb +403 -403
- data/lib/html/body.rb +37 -37
- data/lib/html/caption.rb +49 -49
- data/lib/html/col.rb +41 -41
- data/lib/html/colgroup.rb +113 -113
- data/lib/html/content.rb +18 -18
- data/lib/html/data.rb +69 -69
- data/lib/html/foot.rb +49 -49
- data/lib/html/head.rb +49 -49
- data/lib/html/header.rb +65 -65
- data/lib/html/html_handler.rb +120 -120
- data/lib/html/row.rb +188 -188
- data/lib/html/table.rb +323 -323
- data/lib/html/tablesection.rb +48 -48
- data/lib/html/tag_handler.rb +121 -121
- data/test/test_attribute_handler.rb +361 -361
- data/test/test_body.rb +87 -87
- data/test/test_caption.rb +80 -80
- data/test/test_col.rb +40 -40
- data/test/test_colgroup.rb +89 -89
- data/test/test_data.rb +77 -77
- data/test/test_foot.rb +111 -111
- data/test/test_head.rb +104 -104
- data/test/test_header.rb +77 -77
- data/test/test_html_handler.rb +37 -37
- data/test/test_row.rb +141 -141
- data/test/test_table.rb +159 -158
- data/test/test_tablesection.rb +42 -42
- data/test/test_tag_handler.rb +90 -90
- metadata +25 -20
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a908e60fdbe3fecf3fa94be736696edc9c36005ae9df7fe118d2380992b43e5a
|
4
|
+
data.tar.gz: bc0f0554f82383e7e63b0e47fd786e8159f27cbe2720f4658b184410fb723e6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7527011bee9e70bbe0ea903c5762d7dc0bc7ab5a39c6afa04c4668646798766867aa8241289bbf2e72254cce392ed4427692e8c7c3f9dd13d4583a1ca5869096
|
7
|
+
data.tar.gz: 64e8a5a420e2cb421ecd7ddfca46b7f19f963b3a1de2746a1fa76f7b9028b67c60224c32a0fe319150efecba870e699ca28c60acb0beec3c82919e81acf097ba
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
)���b���G@�O>:�m|�0ҟ]J�_�l/������u)�z��/�7�Z���kr`�����g��e���`Š�v>��Yn��
|
2
|
+
�ݳ��/+H�a��{ov�'_�wѫ��&NĹsm,nL��!�����z�Q@�w���4q&�S��&6Á���ŝ�m�b��UP=
|
3
|
+
�@���9�a-ď�^�u9�'rH���gOqZ�?�p�Fe�s.��"�������n�rN����c��Pei�6������w�B\߷Q��u{��3�
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES
CHANGED
@@ -1,155 +1,159 @@
|
|
1
|
-
== 1.5.
|
2
|
-
*
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
*
|
9
|
-
*
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
*
|
15
|
-
*
|
16
|
-
|
17
|
-
== 1.4.
|
18
|
-
*
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
*
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
*
|
37
|
-
|
38
|
-
|
39
|
-
*
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
* Added
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
*
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
*
|
54
|
-
|
55
|
-
|
56
|
-
*
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
*
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
*
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
* Added
|
78
|
-
|
79
|
-
*
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
*
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
*
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
* Added
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
*
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
*
|
121
|
-
|
122
|
-
*
|
123
|
-
|
124
|
-
*
|
125
|
-
|
126
|
-
* Added
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
*
|
131
|
-
|
132
|
-
|
133
|
-
== 0.0
|
134
|
-
*
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
*
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
*
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
*
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
*
|
1
|
+
== 1.5.1 - 31-Mar-2018
|
2
|
+
* Fixed deprecation warnings.
|
3
|
+
* Updated cert.
|
4
|
+
|
5
|
+
== 1.5.0 - 29-Mar-2017
|
6
|
+
* Updated the structured_warnings dependency to 0.3.0, and modified the
|
7
|
+
warning classes to subclass the new warning types.
|
8
|
+
* The VERSION constant is now frozen.
|
9
|
+
* Updated cert file.
|
10
|
+
|
11
|
+
== 1.4.2 - 8-Apr-2016
|
12
|
+
* This gem is now signed.
|
13
|
+
* Added the html-table.rb file for convenience.
|
14
|
+
* Updated the gem related rake tasks.
|
15
|
+
* Corrections to the README.
|
16
|
+
|
17
|
+
== 1.4.1 - 8-Nov-2014
|
18
|
+
* Minor updates to Rakefile and gemspec.
|
19
|
+
* Use require_relative where appropriate.
|
20
|
+
|
21
|
+
== 1.4.0 - 28-Aug-2013
|
22
|
+
* The HTML::Table constructor now accepts an optional hash of options.
|
23
|
+
If present, they are treated as table attributes.
|
24
|
+
* Some Rakefile and gemspec updates.
|
25
|
+
* Minor test file cleanup.
|
26
|
+
|
27
|
+
== 1.3.6 - 19-Sep-2011
|
28
|
+
* Fixes header.rb, data.rb and caption.rb for Ruby 1.9.
|
29
|
+
|
30
|
+
== 1.3.5 - 1-Sep-2011
|
31
|
+
* Refactored the Rakefile. Removed an old install task, reworked the
|
32
|
+
gem tasks and added a default task.
|
33
|
+
* Minor updates to the gemspec.
|
34
|
+
|
35
|
+
== 1.3.4 - 29-Sep-2009
|
36
|
+
* The test-unit library is now a development dependency instead of a
|
37
|
+
standard dependency.
|
38
|
+
* Removed all load path mangling.
|
39
|
+
* License changed to Artistic 2.0.
|
40
|
+
* Updated the gemspec description, added a license.
|
41
|
+
|
42
|
+
== 1.3.3 - 5-Feb-2009
|
43
|
+
* Added structured_warnings as a requirement. The non standard tags now
|
44
|
+
raise a NonStandardExtensionWarning. These are now _always_ raised whenever
|
45
|
+
used (instead of only in $VERBOSE mode), but the warning can be disabled as
|
46
|
+
you see fit. See the documentation on structured_warnings for more details.
|
47
|
+
* Added test-unit 2.x as a requirement.
|
48
|
+
* Refactored and renamed the tests.
|
49
|
+
* The gem now includes the example files.
|
50
|
+
* Added additional rake tasks for the sake of testing individual portions
|
51
|
+
of the html-table library instead of the all or nothing approach I had
|
52
|
+
before.
|
53
|
+
* Added rake tasks for running the example programs.
|
54
|
+
|
55
|
+
== 1.3.2 - 15-Jul-2008
|
56
|
+
* Added to_s and to_str aliases for the html method for all classes.
|
57
|
+
* Some documentation updates.
|
58
|
+
* Removed unnecessary presetup code from the test files that was no longer
|
59
|
+
necessary thanks to Rake.
|
60
|
+
* Removed the ts_all.rb file. It was no longer necessary thanks to Rake.
|
61
|
+
|
62
|
+
== 1.3.1 - 8-Feb-2008
|
63
|
+
* Fully qualified the HTML::Table class in the HTMLHandler module. This fix
|
64
|
+
eliminates the need to 'include HTML' to actually get some code to work
|
65
|
+
properly. Thanks go to Jos Backus for the spot and patch.
|
66
|
+
* Added a Rakefile with tasks for testing and installation.
|
67
|
+
* Removed the install.rb file. That's now handled by the Rakefile.
|
68
|
+
* Cleaned up some warnings in the AttributeHandler and TagHandler modules.
|
69
|
+
* Updated the MANIFEST and README files.
|
70
|
+
|
71
|
+
== 1.3.0 - 2-Aug-2006
|
72
|
+
* Added support for DSI style syntax, i.e. the ability to omit the explicit
|
73
|
+
receiver in block form.
|
74
|
+
* The content method now creates a Table::Content object behind the scenes
|
75
|
+
(a subclass of String) and allows physical tags to generated on the fly
|
76
|
+
via a block.
|
77
|
+
* Added support for physical tags for content, e.g. <b>, <i> etc. See the
|
78
|
+
documentation for more details.
|
79
|
+
* Added the 'style' and 'class_' attribute handlers for you CSS lovers.
|
80
|
+
* Added the 'data' alias for the 'content' method.
|
81
|
+
* Added the 'header' method to the Table class so that you can explicitly
|
82
|
+
generate <th> content instead of <td> content if you prefer.
|
83
|
+
* The .html method now accepts an optional boolean that can be used to
|
84
|
+
disable formatting. If set to true, the output will not include newlines
|
85
|
+
or spaces between the tags (i.e. it will give you a single long string).
|
86
|
+
* Some comment additions and tweaks.
|
87
|
+
|
88
|
+
== 1.2.2 - 17-Jun-2005
|
89
|
+
* Each class now defines its own content= method (rather than a generic module
|
90
|
+
method that handles it). Internal change only.
|
91
|
+
* The Head, Foot and Body classes now use the inherited version of content=
|
92
|
+
method, instead of defining them individually (which they should have
|
93
|
+
been doing all along).
|
94
|
+
* Made the README and CHANGES file rdoc friendly.
|
95
|
+
* Removed the .rd and html files under the 'doc' directory. All of those
|
96
|
+
files have been made rdoc friendly and been given .rdoc extensions.
|
97
|
+
* Some $LOAD_PATH setup changes for the test suite.
|
98
|
+
|
99
|
+
== 1.2.1 - 26-Oct-2004
|
100
|
+
* Documentation additions to make the code rdoc friendly.
|
101
|
+
* Minor typo/bug fix in the background method of the AttributeHandler module.
|
102
|
+
* Added an assertion to the test suite, mostly to make tc_all.rb work
|
103
|
+
correctly (one test was causing other tests to fail due to a global
|
104
|
+
setting that was made in a previous test).
|
105
|
+
|
106
|
+
== 1.2.0 - 8-Aug-2004
|
107
|
+
* Added the global_end_tags= class method for the Table class. This allows
|
108
|
+
you to configure you want end tags or not for all classes, rather than
|
109
|
+
having to configure each class individually. Note that classes which
|
110
|
+
require end tags are unaffected.
|
111
|
+
* Added handling for '<<' for those classes where it was appropriate (i.e.
|
112
|
+
any class that also used 'push').
|
113
|
+
* Minor update in the Table::Row#unshift method.
|
114
|
+
* Modified the border= method in the AttributeHandler module to accept true
|
115
|
+
or false as arguments. I had forgotten that you could specify 'border' as
|
116
|
+
an attribute without a value.
|
117
|
+
* Yet more tests.
|
118
|
+
|
119
|
+
== 1.1.0 - 6-Aug-2004
|
120
|
+
* Modified the constructors for all of the classes that can contain content
|
121
|
+
to accept an optional argument. If present it is assumed to be content.
|
122
|
+
* Fixed a bug/feature in Table::Row where it didn't allow you to add or
|
123
|
+
delete Fixnums. Henceforth, Fixnum's are stringified.
|
124
|
+
* The Table::ColGroup class no longer has the content or content= methods.
|
125
|
+
This was illegal in 1.0.0 as well but it now raises a NoMethodError instead.
|
126
|
+
* Added many more tests, including tests for attribute handlers and html
|
127
|
+
handlers.
|
128
|
+
* Made the modify_html method in the HtmlHandler module private. This should
|
129
|
+
have no affect on your code.
|
130
|
+
* Added another simple sample program under doc/examples.
|
131
|
+
* Documentation updates.
|
132
|
+
|
133
|
+
== 1.0.0 - 23-May-2004
|
134
|
+
* No API changes - same as 0.0.4 but now officially declared "stable". The
|
135
|
+
only change that was made is that each class is now in its own file.
|
136
|
+
|
137
|
+
== 0.0.4 - 16-May-2004 (Beta4)
|
138
|
+
* Prerequisites now include Ruby 1.8.0 or later and the StrongTyping package from
|
139
|
+
Ryan Pavlik.
|
140
|
+
* More stringent type checking added using the StrongTyping package.
|
141
|
+
* Bug in Table::Foot class corrected.
|
142
|
+
* Minor name change for included modules (AttributeHandler, HtmlHandler).
|
143
|
+
* Many more tests added
|
144
|
+
|
145
|
+
== 0.0.3 - 9-Jul-2003 (Beta3)
|
146
|
+
* Added html_case() class method for those who want their HTML tags in upper
|
147
|
+
case
|
148
|
+
* Fixed up the docs, added the html docs to the core distro
|
149
|
+
* Added some config info to table.rb so that this package works as expected
|
150
|
+
after installation
|
151
|
+
|
152
|
+
== 0.0.2 - 5-Jul-2003 (Beta2)
|
153
|
+
* API completely rewritten
|
154
|
+
* End tags and indentation level now configurable
|
155
|
+
* Added all remaining tag types (caption, colgroup, col, tbody, tfoot and
|
156
|
+
thead)
|
157
|
+
|
158
|
+
== 0.0.1 11-Jun-2003 (Beta1)
|
159
|
+
* Initial Release
|
data/MANIFEST
CHANGED
@@ -1,59 +1,59 @@
|
|
1
|
-
MANIFEST
|
2
|
-
CHANGES
|
3
|
-
README
|
4
|
-
Rakefile
|
5
|
-
html-table.gemspec
|
6
|
-
|
7
|
-
certs/djberg96_pub.pem
|
8
|
-
|
9
|
-
doc/attributes.rdoc
|
10
|
-
doc/table_body.rdoc
|
11
|
-
doc/table_caption.rdoc
|
12
|
-
doc/table_content.rdoc
|
13
|
-
doc/table_colgroup.rdoc
|
14
|
-
doc/table_colgroup_col.rdoc
|
15
|
-
doc/table_foot.rdoc
|
16
|
-
doc/table_head.rdoc
|
17
|
-
doc/table_row_data.rdoc
|
18
|
-
doc/table_row_header.rdoc
|
19
|
-
doc/table_row.rdoc
|
20
|
-
doc/table.rdoc
|
21
|
-
|
22
|
-
doc/examples/advanced.rb
|
23
|
-
doc/examples/intermediate1.rb
|
24
|
-
doc/examples/intermediate2.rb
|
25
|
-
doc/examples/intermediate3.rb
|
26
|
-
doc/examples/simple1.rb
|
27
|
-
doc/examples/simple2.rb
|
28
|
-
doc/examples/simple3.rb
|
29
|
-
|
30
|
-
lib/html-table.rb
|
31
|
-
lib/html/attribute_handler.rb
|
32
|
-
lib/html/body.rb
|
33
|
-
lib/html/caption.rb
|
34
|
-
lib/html/col.rb
|
35
|
-
lib/html/colgroup.rb
|
36
|
-
lib/html/content.rb
|
37
|
-
lib/html/data.rb
|
38
|
-
lib/html/foot.rb
|
39
|
-
lib/html/head.rb
|
40
|
-
lib/html/header.rb
|
41
|
-
lib/html/html_handler.rb
|
42
|
-
lib/html/row.rb
|
43
|
-
lib/html/table.rb
|
44
|
-
lib/html/tablesection.rb
|
45
|
-
lib/html/tag_handler.rb
|
46
|
-
|
47
|
-
test/test_attribute_handler.rb
|
48
|
-
test/test_body.rb
|
49
|
-
test/test_caption.rb
|
50
|
-
test/test_col.rb
|
51
|
-
test/test_colgroup.rb
|
52
|
-
test/test_data.rb
|
53
|
-
test/test_head.rb
|
54
|
-
test/test_header.rb
|
55
|
-
test/test_html_handler.rb
|
56
|
-
test/test_row.rb
|
57
|
-
test/test_table.rb
|
58
|
-
test/test_tablesection.rb
|
59
|
-
test/test_tag_handler.rb
|
1
|
+
MANIFEST
|
2
|
+
CHANGES
|
3
|
+
README
|
4
|
+
Rakefile
|
5
|
+
html-table.gemspec
|
6
|
+
|
7
|
+
certs/djberg96_pub.pem
|
8
|
+
|
9
|
+
doc/attributes.rdoc
|
10
|
+
doc/table_body.rdoc
|
11
|
+
doc/table_caption.rdoc
|
12
|
+
doc/table_content.rdoc
|
13
|
+
doc/table_colgroup.rdoc
|
14
|
+
doc/table_colgroup_col.rdoc
|
15
|
+
doc/table_foot.rdoc
|
16
|
+
doc/table_head.rdoc
|
17
|
+
doc/table_row_data.rdoc
|
18
|
+
doc/table_row_header.rdoc
|
19
|
+
doc/table_row.rdoc
|
20
|
+
doc/table.rdoc
|
21
|
+
|
22
|
+
doc/examples/advanced.rb
|
23
|
+
doc/examples/intermediate1.rb
|
24
|
+
doc/examples/intermediate2.rb
|
25
|
+
doc/examples/intermediate3.rb
|
26
|
+
doc/examples/simple1.rb
|
27
|
+
doc/examples/simple2.rb
|
28
|
+
doc/examples/simple3.rb
|
29
|
+
|
30
|
+
lib/html-table.rb
|
31
|
+
lib/html/attribute_handler.rb
|
32
|
+
lib/html/body.rb
|
33
|
+
lib/html/caption.rb
|
34
|
+
lib/html/col.rb
|
35
|
+
lib/html/colgroup.rb
|
36
|
+
lib/html/content.rb
|
37
|
+
lib/html/data.rb
|
38
|
+
lib/html/foot.rb
|
39
|
+
lib/html/head.rb
|
40
|
+
lib/html/header.rb
|
41
|
+
lib/html/html_handler.rb
|
42
|
+
lib/html/row.rb
|
43
|
+
lib/html/table.rb
|
44
|
+
lib/html/tablesection.rb
|
45
|
+
lib/html/tag_handler.rb
|
46
|
+
|
47
|
+
test/test_attribute_handler.rb
|
48
|
+
test/test_body.rb
|
49
|
+
test/test_caption.rb
|
50
|
+
test/test_col.rb
|
51
|
+
test/test_colgroup.rb
|
52
|
+
test/test_data.rb
|
53
|
+
test/test_head.rb
|
54
|
+
test/test_header.rb
|
55
|
+
test/test_html_handler.rb
|
56
|
+
test/test_row.rb
|
57
|
+
test/test_table.rb
|
58
|
+
test/test_tablesection.rb
|
59
|
+
test/test_tag_handler.rb
|