clbustos-rtf 0.4.2 → 0.5.0
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.
- data/.gemtest +0 -0
- data/History.txt +53 -0
- data/{LICENSE → LICENSE.txt} +0 -0
- data/Manifest.txt +52 -0
- data/README.rdoc +60 -63
- data/README.txt +201 -0
- data/Rakefile +18 -34
- data/examples/example01.rb +5 -1
- data/examples/example02.rb +1 -0
- data/examples/example03.rb +1 -0
- data/examples/example03.rtf +0 -0
- data/examples/example04.rb +1 -0
- data/examples/rubyrtf.bmp +0 -0
- data/examples/rubyrtf.jpg +0 -0
- data/examples/rubyrtf.png +0 -0
- data/ifad-rtf.gemspec +120 -0
- data/lib/rtf.rb +1 -0
- data/lib/rtf/colour.rb +0 -0
- data/lib/rtf/converters.rb +5 -0
- data/lib/rtf/converters/html.rb +123 -0
- data/lib/rtf/font.rb +0 -0
- data/lib/rtf/information.rb +0 -0
- data/lib/rtf/node.rb +136 -109
- data/lib/rtf/paper.rb +0 -0
- data/lib/rtf/style.rb +0 -0
- data/test/fixtures/bitmap1.bmp +0 -0
- data/test/fixtures/bitmap2.bmp +0 -0
- data/test/fixtures/jpeg1.jpg +0 -0
- data/test/fixtures/jpeg2.jpg +0 -0
- data/test/fixtures/png1.png +0 -0
- data/test/fixtures/png2.png +0 -0
- data/test/{test_helper.rb → helper_tests.rb} +1 -0
- data/test/{character_style_test.rb → test_character_style.rb} +1 -1
- data/test/{colour_test.rb → test_colour.rb} +2 -2
- data/test/{colour_table_test.rb → test_colour_table.rb} +2 -2
- data/test/{command_node_test.rb → test_command_node.rb} +1 -1
- data/test/{container_node_test.rb → test_container_node.rb} +2 -1
- data/test/{document_test.rb → test_document.rb} +1 -1
- data/test/{document_style_test.rb → test_document_style.rb} +1 -1
- data/test/{font_test.rb → test_font.rb} +2 -2
- data/test/{font_table_test.rb → test_font_table.rb} +2 -2
- data/test/{footer_node_test.rb → test_footer_node.rb} +1 -1
- data/test/{header_node_test.rb → test_header_node.rb} +1 -1
- data/test/{image_node_test.rb → test_image_node.rb} +10 -3
- data/test/{information_test.rb → test_information.rb} +1 -1
- data/test/{node_test.rb → test_node.rb} +1 -1
- data/test/{paragraph_style_test.rb → test_paragraph_style.rb} +1 -1
- data/test/{style_test.rb → test_style.rb} +1 -1
- data/test/{table_cell_node_test.rb → test_table_cell_node.rb} +1 -1
- data/test/{table_node_test.rb → test_table_node.rb} +2 -1
- data/test/{table_row_node_test.rb → test_table_row_node.rb} +1 -1
- data/test/text_node_test.rb +35 -10
- metadata +137 -97
- data/CHANGES +0 -23
- data/VERSION.yml +0 -5
data/CHANGES
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
== CHANGES
|
2
|
-
0.4.2
|
3
|
-
* Fix bug causing TextNode.to_rtf to return nil under 1.8.7[Jason Langenauer]
|
4
|
-
* Tests run under Ruby 1.9.2 and later [clbustos]
|
5
|
-
0.4.1
|
6
|
-
* Links: implemented hyperlinks[Marcello Barnaba]
|
7
|
-
* Lists: add a newline before every new list[Marcello Barnaba]
|
8
|
-
0.4.0
|
9
|
-
* Lists: Decimal: quick&dirty implementation of sequential numbering[Marcello Barnaba]
|
10
|
-
* Lists: Decimal: fixed marker name generation: it must contain the dot[Marcello Barnaba]
|
11
|
-
* Lists: removed last StringIO occurrences in new code[Marcello Barnaba]
|
12
|
-
* Lists: wrote minimal object model test[Marcello Barnaba]
|
13
|
-
* Lists: refactored and cleaned up the API a bit[Marcello Barnaba]
|
14
|
-
* Lists: wrote the API bridge between Nodes and Lists[Marcello Barnaba]
|
15
|
-
* Lists: initial implementation of listtable header generation[Marcello Barnaba]
|
16
|
-
* Node: cleaned up the generic to_rtf, added the .wrap option to the constructor[Marcello Barnaba]
|
17
|
-
* Node: stubbed out paragraph generation into a new ParagraphNode[Marcello Barnaba]
|
18
|
-
0.3.1
|
19
|
-
* Added the #subscript helper to the CommandNode class [vjt]
|
20
|
-
|
21
|
-
0.3.0
|
22
|
-
* Resolve problems on Ruby 1.9.1 with ImageNode#read_source. Peter uses IO#getc, which returns a String on Ruby 1.9.1, not a Integer, so I replaced with getbyte. [clbustos]
|
23
|
-
* Deleted duplicated definition of ImageNode#style= with attr_writer and def. [clbustos]
|