clbustos-rtf 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/.gemtest +0 -0
  2. data/History.txt +53 -0
  3. data/{LICENSE → LICENSE.txt} +0 -0
  4. data/Manifest.txt +52 -0
  5. data/README.rdoc +60 -63
  6. data/README.txt +201 -0
  7. data/Rakefile +18 -34
  8. data/examples/example01.rb +5 -1
  9. data/examples/example02.rb +1 -0
  10. data/examples/example03.rb +1 -0
  11. data/examples/example03.rtf +0 -0
  12. data/examples/example04.rb +1 -0
  13. data/examples/rubyrtf.bmp +0 -0
  14. data/examples/rubyrtf.jpg +0 -0
  15. data/examples/rubyrtf.png +0 -0
  16. data/ifad-rtf.gemspec +120 -0
  17. data/lib/rtf.rb +1 -0
  18. data/lib/rtf/colour.rb +0 -0
  19. data/lib/rtf/converters.rb +5 -0
  20. data/lib/rtf/converters/html.rb +123 -0
  21. data/lib/rtf/font.rb +0 -0
  22. data/lib/rtf/information.rb +0 -0
  23. data/lib/rtf/node.rb +136 -109
  24. data/lib/rtf/paper.rb +0 -0
  25. data/lib/rtf/style.rb +0 -0
  26. data/test/fixtures/bitmap1.bmp +0 -0
  27. data/test/fixtures/bitmap2.bmp +0 -0
  28. data/test/fixtures/jpeg1.jpg +0 -0
  29. data/test/fixtures/jpeg2.jpg +0 -0
  30. data/test/fixtures/png1.png +0 -0
  31. data/test/fixtures/png2.png +0 -0
  32. data/test/{test_helper.rb → helper_tests.rb} +1 -0
  33. data/test/{character_style_test.rb → test_character_style.rb} +1 -1
  34. data/test/{colour_test.rb → test_colour.rb} +2 -2
  35. data/test/{colour_table_test.rb → test_colour_table.rb} +2 -2
  36. data/test/{command_node_test.rb → test_command_node.rb} +1 -1
  37. data/test/{container_node_test.rb → test_container_node.rb} +2 -1
  38. data/test/{document_test.rb → test_document.rb} +1 -1
  39. data/test/{document_style_test.rb → test_document_style.rb} +1 -1
  40. data/test/{font_test.rb → test_font.rb} +2 -2
  41. data/test/{font_table_test.rb → test_font_table.rb} +2 -2
  42. data/test/{footer_node_test.rb → test_footer_node.rb} +1 -1
  43. data/test/{header_node_test.rb → test_header_node.rb} +1 -1
  44. data/test/{image_node_test.rb → test_image_node.rb} +10 -3
  45. data/test/{information_test.rb → test_information.rb} +1 -1
  46. data/test/{node_test.rb → test_node.rb} +1 -1
  47. data/test/{paragraph_style_test.rb → test_paragraph_style.rb} +1 -1
  48. data/test/{style_test.rb → test_style.rb} +1 -1
  49. data/test/{table_cell_node_test.rb → test_table_cell_node.rb} +1 -1
  50. data/test/{table_node_test.rb → test_table_node.rb} +2 -1
  51. data/test/{table_row_node_test.rb → test_table_row_node.rb} +1 -1
  52. data/test/text_node_test.rb +35 -10
  53. metadata +137 -97
  54. data/CHANGES +0 -23
  55. 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]
@@ -1,5 +0,0 @@
1
- ---
2
- :major: 0
3
- :minor: 4
4
- :patch: 2
5
- :build: