rghost 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/History.txt +4 -0
  2. data/Manifest.txt +101 -0
  3. data/README.txt +3 -0
  4. data/Rakefile +93 -0
  5. data/lib/rghost.rb +3 -0
  6. data/lib/rghost/arc.rb +39 -0
  7. data/lib/rghost/barcode.rb +40 -0
  8. data/lib/rghost/callback.rb +55 -0
  9. data/lib/rghost/color.rb +118 -0
  10. data/lib/rghost/constants.rb +616 -0
  11. data/lib/rghost/convert.rb +24 -0
  12. data/lib/rghost/cursor.rb +82 -0
  13. data/lib/rghost/data_grid/basic_grid.rb +136 -0
  14. data/lib/rghost/data_grid/csv_grid.rb +27 -0
  15. data/lib/rghost/data_grid/data_grid.rb +14 -0
  16. data/lib/rghost/data_grid/dynamic_callback.rb +12 -0
  17. data/lib/rghost/data_grid/field_format.rb +60 -0
  18. data/lib/rghost/data_grid/grid.rb +18 -0
  19. data/lib/rghost/data_grid/header.rb +111 -0
  20. data/lib/rghost/data_grid/rails_grid.rb +37 -0
  21. data/lib/rghost/data_grid/static_callback.rb +13 -0
  22. data/lib/rghost/data_grid/style/border_lines.rb +47 -0
  23. data/lib/rghost/data_grid/style/bottom_lines.rb +30 -0
  24. data/lib/rghost/data_grid/style/old_forms.rb +30 -0
  25. data/lib/rghost/data_grid/style/style.rb +8 -0
  26. data/lib/rghost/document.rb +380 -0
  27. data/lib/rghost/dsc_entry.rb +20 -0
  28. data/lib/rghost/dynamic_document_callback.rb +27 -0
  29. data/lib/rghost/eps.rb +22 -0
  30. data/lib/rghost/font.rb +52 -0
  31. data/lib/rghost/function.rb +36 -0
  32. data/lib/rghost/gif.rb +28 -0
  33. data/lib/rghost/graphic.rb +28 -0
  34. data/lib/rghost/gs_alone.rb +17 -0
  35. data/lib/rghost/helpers.rb +13 -0
  36. data/lib/rghost/horizontal_line.rb +29 -0
  37. data/lib/rghost/image.rb +26 -0
  38. data/lib/rghost/jpeg.rb +26 -0
  39. data/lib/rghost/line.rb +40 -0
  40. data/lib/rghost/line_width.rb +17 -0
  41. data/lib/rghost/load.rb +37 -0
  42. data/lib/rghost/newpath.rb +20 -0
  43. data/lib/rghost/paper.rb +88 -0
  44. data/lib/rghost/point.rb +22 -0
  45. data/lib/rghost/point_with_command.rb +17 -0
  46. data/lib/rghost/ps/basic.ps +14 -0
  47. data/lib/rghost/ps/begin_document.ps +7 -0
  48. data/lib/rghost/ps/callbacks.ps +146 -0
  49. data/lib/rghost/ps/code128.font +344 -0
  50. data/lib/rghost/ps/code39.font +195 -0
  51. data/lib/rghost/ps/cursor.ps +41 -0
  52. data/lib/rghost/ps/datagrid.ps +52 -0
  53. data/lib/rghost/ps/ean.font +150 -0
  54. data/lib/rghost/ps/eps.ps +42 -0
  55. data/lib/rghost/ps/font.ps +31 -0
  56. data/lib/rghost/ps/functions.ps +646 -0
  57. data/lib/rghost/ps/gif.ps +150 -0
  58. data/lib/rghost/ps/horizontal_line.ps +3 -0
  59. data/lib/rghost/ps/i25.font +103 -0
  60. data/lib/rghost/ps/jpeg.ps +122 -0
  61. data/lib/rghost/ps/paper.ps +8 -0
  62. data/lib/rghost/ps/rectangle.ps +5 -0
  63. data/lib/rghost/ps/row.ps +4 -0
  64. data/lib/rghost/ps/show.ps +20 -0
  65. data/lib/rghost/ps/table_callbacks.ps +96 -0
  66. data/lib/rghost/ps/textarea.ps +11 -0
  67. data/lib/rghost/ps/type.ps +1 -0
  68. data/lib/rghost/ps/unit.ps +3 -0
  69. data/lib/rghost/ps/vertical_line.ps +14 -0
  70. data/lib/rghost/ps_object.rb +51 -0
  71. data/lib/rghost/rectangle.rb +39 -0
  72. data/lib/rghost/rgengine.so +0 -0
  73. data/lib/rghost/rghost.rb +3 -0
  74. data/lib/rghost/ruby_ghost_config.rb +25 -0
  75. data/lib/rghost/ruby_ghost_engine.rb +175 -0
  76. data/lib/rghost/ruby_to_ps.rb +92 -0
  77. data/lib/rghost/scale.rb +14 -0
  78. data/lib/rghost/show.rb +31 -0
  79. data/lib/rghost/static_document_callback.rb +22 -0
  80. data/lib/rghost/text_in.rb +29 -0
  81. data/lib/rghost/textarea.rb +115 -0
  82. data/lib/rghost/units.rb +81 -0
  83. data/lib/rghost/variable.rb +12 -0
  84. data/lib/rghost/version.rb +9 -0
  85. data/lib/rghost/vertical_line.rb +29 -0
  86. data/scripts/txt2html +67 -0
  87. data/setup.rb +1585 -0
  88. data/test/test_helper.rb +2 -0
  89. data/test/test_rghost.rb +11 -0
  90. data/website/index.html +11 -0
  91. data/website/index.txt +30 -0
  92. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  93. data/website/stylesheets/screen.css +129 -0
  94. data/website/template.rhtml +48 -0
  95. metadata +145 -0
@@ -0,0 +1,48 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
11
+ <style>
12
+
13
+ </style>
14
+ <script type="text/javascript">
15
+ window.onload = function() {
16
+ settings = {
17
+ tl: { radius: 10 },
18
+ tr: { radius: 10 },
19
+ bl: { radius: 10 },
20
+ br: { radius: 10 },
21
+ antiAlias: true,
22
+ autoPad: true,
23
+ validTags: ["div"]
24
+ }
25
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
26
+ versionBox.applyCornersToAll();
27
+ }
28
+ </script>
29
+ </head>
30
+ <body>
31
+ <div id="main">
32
+
33
+ <h1><%= title %></h1>
34
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
+ Get Version
36
+ <a href="<%= download %>" class="numbers"><%= version %></a>
37
+ </div>
38
+ <%= body %>
39
+ <p class="coda">
40
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, <%= modified.pretty %><br>
41
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
+ </p>
43
+ </div>
44
+
45
+ <!-- insert site tracking codes here, like Google Urchin -->
46
+
47
+ </body>
48
+ </html>
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.2
3
+ specification_version: 1
4
+ name: rghost
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.6.5
7
+ date: 2007-06-06 00:00:00 -03:00
8
+ summary: description of gem
9
+ require_paths:
10
+ - lib
11
+ email: your contact email for bug fixes and info
12
+ homepage: http://rghost.rubyforge.org
13
+ rubyforge_project: rghost
14
+ description: description of gem
15
+ autorequire:
16
+ default_executable:
17
+ bindir: bin
18
+ has_rdoc: true
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ post_install_message:
29
+ authors:
30
+ - shairon
31
+ files:
32
+ - History.txt
33
+ - Manifest.txt
34
+ - README.txt
35
+ - Rakefile
36
+ - lib/rghost.rb
37
+ - lib/rghost/version.rb
38
+ - scripts/txt2html
39
+ - setup.rb
40
+ - test/test_helper.rb
41
+ - test/test_rghost.rb
42
+ - website/index.html
43
+ - website/index.txt
44
+ - website/javascripts/rounded_corners_lite.inc.js
45
+ - website/stylesheets/screen.css
46
+ - website/template.rhtml
47
+ - lib/
48
+ - lib/rghost
49
+ - lib/rghost/vertical_line.rb
50
+ - lib/rghost/graphic.rb
51
+ - lib/rghost/color.rb
52
+ - lib/rghost/document.rb
53
+ - lib/rghost/load.rb
54
+ - lib/rghost/convert.rb
55
+ - lib/rghost/function.rb
56
+ - lib/rghost/jpeg.rb
57
+ - lib/rghost/point_with_command.rb
58
+ - lib/rghost/horizontal_line.rb
59
+ - lib/rghost/ruby_to_ps.rb
60
+ - lib/rghost/line_width.rb
61
+ - lib/rghost/gs_alone.rb
62
+ - lib/rghost/eps.rb
63
+ - lib/rghost/point.rb
64
+ - lib/rghost/callback.rb
65
+ - lib/rghost/barcode.rb
66
+ - lib/rghost/rghost.rb
67
+ - lib/rghost/units.rb
68
+ - lib/rghost/gif.rb
69
+ - lib/rghost/font.rb
70
+ - lib/rghost/text_in.rb
71
+ - lib/rghost/paper.rb
72
+ - lib/rghost/data_grid
73
+ - lib/rghost/data_grid/style
74
+ - lib/rghost/data_grid/style/bottom_lines.rb
75
+ - lib/rghost/data_grid/style/style.rb
76
+ - lib/rghost/data_grid/style/old_forms.rb
77
+ - lib/rghost/data_grid/style/border_lines.rb
78
+ - lib/rghost/data_grid/data_grid.rb
79
+ - lib/rghost/data_grid/dynamic_callback.rb
80
+ - lib/rghost/data_grid/rails_grid.rb
81
+ - lib/rghost/data_grid/csv_grid.rb
82
+ - lib/rghost/data_grid/static_callback.rb
83
+ - lib/rghost/data_grid/grid.rb
84
+ - lib/rghost/data_grid/basic_grid.rb
85
+ - lib/rghost/data_grid/header.rb
86
+ - lib/rghost/data_grid/field_format.rb
87
+ - lib/rghost/rgengine.so
88
+ - lib/rghost/constants.rb
89
+ - lib/rghost/ps
90
+ - lib/rghost/ps/horizontal_line.ps
91
+ - lib/rghost/ps/rectangle.ps
92
+ - lib/rghost/ps/gif.ps
93
+ - lib/rghost/ps/font.ps
94
+ - lib/rghost/ps/paper.ps
95
+ - lib/rghost/ps/row.ps
96
+ - lib/rghost/ps/functions.ps
97
+ - lib/rghost/ps/code39.font
98
+ - lib/rghost/ps/cursor.ps
99
+ - lib/rghost/ps/textarea.ps
100
+ - lib/rghost/ps/datagrid.ps
101
+ - lib/rghost/ps/callbacks.ps
102
+ - lib/rghost/ps/unit.ps
103
+ - lib/rghost/ps/show.ps
104
+ - lib/rghost/ps/vertical_line.ps
105
+ - lib/rghost/ps/basic.ps
106
+ - lib/rghost/ps/type.ps
107
+ - lib/rghost/ps/begin_document.ps
108
+ - lib/rghost/ps/i25.font
109
+ - lib/rghost/ps/jpeg.ps
110
+ - lib/rghost/ps/table_callbacks.ps
111
+ - lib/rghost/ps/eps.ps
112
+ - lib/rghost/ps/ean.font
113
+ - lib/rghost/ps/code128.font
114
+ - lib/rghost/cursor.rb
115
+ - lib/rghost/textarea.rb
116
+ - lib/rghost/variable.rb
117
+ - lib/rghost/show.rb
118
+ - lib/rghost/image.rb
119
+ - lib/rghost/line.rb
120
+ - lib/rghost/scale.rb
121
+ - lib/rghost/dsc_entry.rb
122
+ - lib/rghost/helpers.rb
123
+ - lib/rghost/rectangle.rb
124
+ - lib/rghost/dynamic_document_callback.rb
125
+ - lib/rghost/static_document_callback.rb
126
+ - lib/rghost/arc.rb
127
+ - lib/rghost/newpath.rb
128
+ - lib/rghost/ps_object.rb
129
+ - lib/rghost/ruby_ghost_config.rb
130
+ - lib/rghost/ruby_ghost_engine.rb
131
+ test_files:
132
+ - test/test_helper.rb
133
+ - test/test_rghost.rb
134
+ rdoc_options: []
135
+
136
+ extra_rdoc_files: []
137
+
138
+ executables: []
139
+
140
+ extensions: []
141
+
142
+ requirements: []
143
+
144
+ dependencies: []
145
+