printing_labels 0.0.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.
@@ -0,0 +1,337 @@
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ }
118
+
119
+ #version a {
120
+ text-decoration: none;
121
+ color: #141331;
122
+ background-color: #B3ABFF;
123
+ }
124
+
125
+ .clickable {
126
+ cursor: pointer;
127
+ cursor: hand;
128
+ }
129
+
130
+ pre{overflow:auto;width:800px;border:5px solid #eee}
131
+ pre.textmate-source{
132
+ overflow:auto;
133
+ width:800px;
134
+ margin: 0;
135
+ padding: 2px 0 0 1px;
136
+ font-family:Monaco, monospace;
137
+ font-size: .8em;
138
+ line-height: 1.5em;
139
+
140
+ }
141
+
142
+ pre.textmate-source {
143
+ color: #000000;
144
+ background-color:#e2e2e2;
145
+ }
146
+
147
+ pre.textmate-source .linenum {
148
+ width: 75px;
149
+ padding: 0.1em 1em 0.2em 0;
150
+ color: #888;
151
+ background-color: #eee;
152
+ }
153
+ pre.textmate-source span {
154
+ padding-top: 0.2em;
155
+ padding-bottom: 0.1em;
156
+ }
157
+ pre.textmate-source ::selection {
158
+ background-color: #C3DCFF;
159
+ }
160
+ /* Comment */
161
+ pre.textmate-source .comment {
162
+ color: #0066FF;
163
+ font-style: italic;
164
+ }
165
+
166
+ /* Keyword */
167
+ pre.textmate-source .keyword, pre.textmate-source .storage {
168
+ color: #0000FF;
169
+ font-weight: bold;
170
+ }
171
+
172
+ /* Number */
173
+ pre.textmate-source .constant_numeric {
174
+ color: #0000CD;
175
+ }
176
+
177
+ /* User-defined constant */
178
+ pre.textmate-source .constant {
179
+ color: #C5060B;
180
+ font-weight: bold;
181
+ }
182
+
183
+ /* Built-in constant */
184
+ pre.textmate-source .constant_language {
185
+ color: #585CF6;
186
+ font-weight: bold;
187
+ }
188
+
189
+ /* Variable */
190
+ pre.textmate-source .variable_language, pre.textmate-source .variable_other {
191
+ color: #318495;
192
+ }
193
+
194
+ /* String */
195
+ pre.textmate-source .string {
196
+ color: #036A07;
197
+ }
198
+
199
+ /* String interpolation */
200
+ pre.textmate-source .constant_character_escape, pre.textmate-source .string .source {
201
+ color: #26B31A;
202
+ }
203
+
204
+ /* Preprocessor line */
205
+ pre.textmate-source .meta_preprocessor {
206
+ color: #1A921C;
207
+ }
208
+
209
+ /* Preprocessor directive */
210
+ pre.textmate-source .keyword_control_import {
211
+ color: #0C450D;
212
+ font-weight: bold;
213
+ }
214
+
215
+ /* Function name */
216
+ pre.textmate-source .entity_name_function, pre.textmate-source .keyword_other_name-of-parameter_objc {
217
+ color: #0000A2;
218
+ font-weight: bold;
219
+ }
220
+
221
+ /* Type name */
222
+ pre.textmate-source .entity_name_type {
223
+ text-decoration: underline;
224
+ }
225
+
226
+ /* Inherited class name */
227
+ pre.textmate-source .entity_other_inherited-class {
228
+ font-style: italic;
229
+ }
230
+
231
+ /* Function parameter */
232
+ pre.textmate-source .variable_parameter {
233
+ font-style: italic;
234
+ }
235
+
236
+ /* Function argument and result types */
237
+ pre.textmate-source .storage_type_method {
238
+ color: #70727E;
239
+ }
240
+
241
+ /* Section */
242
+ pre.textmate-source .meta_section .entity_name_section, pre.textmate-source .declaration_section .entity_name_section {
243
+ font-style: italic;
244
+ }
245
+
246
+ /* Library function */
247
+ pre.textmate-source .support_function {
248
+ color: #3C4C72;
249
+ font-weight: bold;
250
+ }
251
+
252
+ /* Library object */
253
+ pre.textmate-source .support_class, pre.textmate-source .support_type {
254
+ color: #6D79DE;
255
+ font-weight: bold;
256
+ }
257
+
258
+ /* Library constant */
259
+ pre.textmate-source .support_constant {
260
+ color: #06960E;
261
+ font-weight: bold;
262
+ }
263
+
264
+ /* Library variable */
265
+ pre.textmate-source .support_variable {
266
+ color: #21439C;
267
+ font-weight: bold;
268
+ }
269
+
270
+ /* JS: Operator */
271
+ pre.textmate-source .keyword_operator_js {
272
+ color: #687687;
273
+ }
274
+
275
+ /* Invalid */
276
+ pre.textmate-source .invalid {
277
+ color: #FFFFFF;
278
+ background-color: #990000;
279
+ }
280
+
281
+ /* Invalid trailing whitespace */
282
+ pre.textmate-source .invalid_deprecated_trailing-whitespace {
283
+ background-color: #FFD0D0;
284
+ }
285
+
286
+ /* Embedded source */
287
+ pre.textmate-source .text .source, pre.textmate-source .string_unquoted {
288
+ background-color: rgba(66, 127, 245, 0.19);
289
+ }
290
+
291
+ /* Markup XML declaration */
292
+ pre.textmate-source .meta_tag_preprocessor_xml {
293
+ color: #68685B;
294
+ }
295
+
296
+ /* Markup DOCTYPE */
297
+ pre.textmate-source .meta_tag_sgml_doctype, pre.textmate-source .meta_tag_sgml_doctype .entity, pre.textmate-source .meta_tag_sgml_doctype .string, pre.textmate-source .meta_tag_preprocessor_xml, pre.textmate-source .meta_tag_preprocessor_xml .entity, pre.textmate-source .meta_tag_preprocessor_xml .string {
298
+ color: #888888;
299
+ }
300
+
301
+ /* Markup DTD */
302
+ pre.textmate-source .string_quoted_docinfo_doctype_DTD {
303
+ font-style: italic;
304
+ }
305
+
306
+ /* Markup tag */
307
+ pre.textmate-source .meta_tag, pre.textmate-source .declaration_tag {
308
+ color: #1C02FF;
309
+ }
310
+
311
+ /* Markup name of tag */
312
+ pre.textmate-source .entity_name_tag {
313
+ font-weight: bold;
314
+ }
315
+
316
+ /* Markup tag attribute */
317
+ pre.textmate-source .entity_other_attribute-name {
318
+ font-style: italic;
319
+ }
320
+
321
+ /* Markup: Heading */
322
+ pre.textmate-source .markup_heading {
323
+ color: #0C07FF;
324
+ font-weight: bold;
325
+ }
326
+
327
+ /* Markup: Quote */
328
+ pre.textmate-source .markup_quote {
329
+ color: #000000;
330
+ font-style: italic;
331
+ }
332
+
333
+ /* Markup: List */
334
+ pre.textmate-source .markup_list {
335
+ color: #B90690;
336
+ }
337
+
@@ -0,0 +1,50 @@
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="http://www.extendi.it/">Extendi</a><br>
41
+ <a href="http://www.extendi.it/ruby-on-rails/">Rails on the Road</a><br>
42
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, <%= modified.pretty %><br>
43
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
44
+ </p>
45
+ </div>
46
+
47
+ <!-- insert site tracking codes here, like Google Urchin -->
48
+
49
+ </body>
50
+ </html>
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.0
3
+ specification_version: 1
4
+ name: printing_labels
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.0.1
7
+ date: 2007-06-12 00:00:00 +02:00
8
+ summary: create pdf labels sheet defining template and label start point
9
+ require_paths:
10
+ - lib
11
+ email: giovannelli@extendi.it
12
+ homepage: http://printing-labels.rubyforge.org
13
+ rubyforge_project: printing-labels
14
+ description: create pdf labels sheet defining template and label start point
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
+ - Duccio Giovannelli
31
+ files:
32
+ - History.txt
33
+ - License.txt
34
+ - Manifest.txt
35
+ - README.txt
36
+ - Rakefile
37
+ - lib/printing_labels.rb
38
+ - lib/printing_labels/version.rb
39
+ - scripts/txt2html
40
+ - setup.rb
41
+ - test/test_helper.rb
42
+ - test/test_printing_labels.rb
43
+ - website/index.html
44
+ - website/index.txt
45
+ - website/javascripts/rounded_corners_lite.inc.js
46
+ - website/stylesheets/screen.css
47
+ - website/template.rhtml
48
+ test_files:
49
+ - test/test_helper.rb
50
+ - test/test_printing_labels.rb
51
+ rdoc_options:
52
+ - --main
53
+ - README.txt
54
+ extra_rdoc_files:
55
+ - History.txt
56
+ - License.txt
57
+ - Manifest.txt
58
+ - README.txt
59
+ - website/index.txt
60
+ executables: []
61
+
62
+ extensions: []
63
+
64
+ requirements: []
65
+
66
+ dependencies:
67
+ - !ruby/object:Gem::Dependency
68
+ name: pdf-writer
69
+ version_requirement:
70
+ version_requirements: !ruby/object:Gem::Version::Requirement
71
+ requirements:
72
+ - - "="
73
+ - !ruby/object:Gem::Version
74
+ version: 1.1.3
75
+ version: