skema 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -0
- data/License.txt +21 -0
- data/Manifest.txt +35 -0
- data/README.txt +17 -0
- data/Rakefile +4 -0
- data/bin/skema +137 -0
- data/config/hoe.rb +70 -0
- data/config/requirements.rb +17 -0
- data/lib/modules/gpl/gpl.rb +4 -0
- data/lib/modules/gpl/templates/file +10 -0
- data/lib/modules/kapp/kapp.rb +6 -0
- data/lib/modules/kapp/templates/CMakeLists.txt +17 -0
- data/lib/modules/kapp/templates/appui.rc +5 -0
- data/lib/modules/kapp/templates/main.cpp +34 -0
- data/lib/modules/lgpl/lgpl.rb +4 -0
- data/lib/modules/lgpl/templates/file +19 -0
- data/lib/modules/skemaconfig/skemaconfig.rb +1 -0
- data/lib/modules/skemaconfig/templates/skemarc +5 -0
- data/lib/skema.rb +122 -0
- data/lib/skema/version.rb +9 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +74 -0
- data/setup.rb +1585 -0
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/website.rake +17 -0
- data/test/test_helper.rb +2 -0
- data/test/test_skema.rb +11 -0
- data/website/img/header_bg.png +0 -0
- data/website/index.html +199 -0
- data/website/index.txt +129 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +172 -0
- data/website/template.rhtml +52 -0
- metadata +88 -0
@@ -0,0 +1,172 @@
|
|
1
|
+
body {
|
2
|
+
font-family: "Georgia", sans-serif;
|
3
|
+
font-size: 16px;
|
4
|
+
line-height: 1.6em;
|
5
|
+
padding: 1.6em 0 0 0;
|
6
|
+
color: #333;
|
7
|
+
}
|
8
|
+
|
9
|
+
#header {
|
10
|
+
background: url(../img/header_bg.png) repeat-x scroll 0pt 100%;
|
11
|
+
height: 8em;
|
12
|
+
padding: 0.5em 0.5em 0.5em 0.5em
|
13
|
+
}
|
14
|
+
|
15
|
+
h1, h2, h3, h4, h5, h6 {
|
16
|
+
color: #444;
|
17
|
+
}
|
18
|
+
|
19
|
+
#header h1 {
|
20
|
+
color: black;
|
21
|
+
}
|
22
|
+
|
23
|
+
#header h3 {
|
24
|
+
font-style: italic;
|
25
|
+
margin-left: 3em;
|
26
|
+
}
|
27
|
+
|
28
|
+
#content {
|
29
|
+
padding: 0 1em 0 1em;
|
30
|
+
}
|
31
|
+
|
32
|
+
#content h2 {
|
33
|
+
padding: 0.2em 0 0.2em 0.5em;
|
34
|
+
border-width: 1px 1px 1px 0.5em;
|
35
|
+
border-style: solid;
|
36
|
+
border-color: #2a638d;
|
37
|
+
}
|
38
|
+
|
39
|
+
h1 {
|
40
|
+
font-family: sans-serif;
|
41
|
+
font-weight: normal;
|
42
|
+
font-size: 4em;
|
43
|
+
line-height: 0.8em;
|
44
|
+
letter-spacing: -0.1ex;
|
45
|
+
margin: 5px;
|
46
|
+
}
|
47
|
+
li {
|
48
|
+
padding: 0;
|
49
|
+
margin: 0;
|
50
|
+
list-style-type: square;
|
51
|
+
}
|
52
|
+
a {
|
53
|
+
color: #5E5AFF;
|
54
|
+
/* background-color: #DAC; */
|
55
|
+
font-weight: normal;
|
56
|
+
text-decoration: underline;
|
57
|
+
}
|
58
|
+
blockquote {
|
59
|
+
font-size: 90%;
|
60
|
+
font-style: italic;
|
61
|
+
border-left: 1px solid #111;
|
62
|
+
padding-left: 1em;
|
63
|
+
}
|
64
|
+
.caps {
|
65
|
+
font-size: 80%;
|
66
|
+
}
|
67
|
+
|
68
|
+
#main {
|
69
|
+
width: 50em;
|
70
|
+
padding: 0;
|
71
|
+
margin: 0 auto;
|
72
|
+
}
|
73
|
+
.coda {
|
74
|
+
text-align: right;
|
75
|
+
font-size: smaller;
|
76
|
+
background: #d8e5f1;
|
77
|
+
padding-right: 1em;
|
78
|
+
}
|
79
|
+
|
80
|
+
table {
|
81
|
+
font-size: 90%;
|
82
|
+
line-height: 1.4em;
|
83
|
+
color: #ff8;
|
84
|
+
background-color: #111;
|
85
|
+
padding: 2px 10px 2px 10px;
|
86
|
+
border-style: dashed;
|
87
|
+
}
|
88
|
+
|
89
|
+
th {
|
90
|
+
color: #fff;
|
91
|
+
}
|
92
|
+
|
93
|
+
td {
|
94
|
+
padding: 2px 10px 2px 10px;
|
95
|
+
}
|
96
|
+
|
97
|
+
.success {
|
98
|
+
color: #0CC52B;
|
99
|
+
}
|
100
|
+
|
101
|
+
.failed {
|
102
|
+
color: #E90A1B;
|
103
|
+
}
|
104
|
+
|
105
|
+
.unknown {
|
106
|
+
color: #995000;
|
107
|
+
}
|
108
|
+
pre {
|
109
|
+
font-family: monospace;
|
110
|
+
font-size: 90%;
|
111
|
+
line-height: 1.4em;
|
112
|
+
color: black;
|
113
|
+
background-color: #edf1f4;
|
114
|
+
padding: 2px 10px 2px 10px;
|
115
|
+
margin-left: 0.8em;
|
116
|
+
border: 1px solid #93aabb;
|
117
|
+
}
|
118
|
+
|
119
|
+
code {
|
120
|
+
font-family: monospace;
|
121
|
+
font-size: 90%;
|
122
|
+
}
|
123
|
+
.comment { color: #aaa; font-style: italic; }
|
124
|
+
.keyword { color: #eff; font-weight: bold; }
|
125
|
+
.punct { color: #eee; font-weight: bold; }
|
126
|
+
.symbol { color: #0bb; }
|
127
|
+
.string { color: #6b4; }
|
128
|
+
.ident { color: #ff8; }
|
129
|
+
.constant { color: #66f; }
|
130
|
+
.regex { color: #ec6; }
|
131
|
+
.number { color: #F99; }
|
132
|
+
.expr { color: #227; }
|
133
|
+
|
134
|
+
#version {
|
135
|
+
float: right;
|
136
|
+
text-align: center;
|
137
|
+
font-family: sans-serif;
|
138
|
+
font-weight: normal;
|
139
|
+
background-color: #8cb6de;
|
140
|
+
color: #141331;
|
141
|
+
padding: 15px 20px 10px 20px;
|
142
|
+
margin: 0 auto;
|
143
|
+
margin-top: 15px;
|
144
|
+
margin-right: 1em;
|
145
|
+
border: 2px solid black;
|
146
|
+
}
|
147
|
+
|
148
|
+
#version .numbers {
|
149
|
+
display: block;
|
150
|
+
font-size: 2em;
|
151
|
+
line-height: 0.8em;
|
152
|
+
}
|
153
|
+
|
154
|
+
#version p {
|
155
|
+
text-decoration: none;
|
156
|
+
color: #141331;
|
157
|
+
margin: 0;
|
158
|
+
padding: 0;
|
159
|
+
font-weight: bold;
|
160
|
+
}
|
161
|
+
|
162
|
+
#version a {
|
163
|
+
text-decoration: none;
|
164
|
+
color: #141331;
|
165
|
+
/* background-color: #B3ABFF; */
|
166
|
+
}
|
167
|
+
|
168
|
+
.clickable {
|
169
|
+
cursor: pointer;
|
170
|
+
cursor: hand;
|
171
|
+
}
|
172
|
+
|
@@ -0,0 +1,52 @@
|
|
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
|
+
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
|
33
|
+
<p>Download!</p>
|
34
|
+
<a href="<%= download %>" class="numbers"><%= version %></a>
|
35
|
+
</div>
|
36
|
+
<div id="header">
|
37
|
+
<h1><%= title %></h1>
|
38
|
+
<h3>A command line template expansion tool</h3>
|
39
|
+
</div>
|
40
|
+
<div id="content">
|
41
|
+
<%= body %>
|
42
|
+
</div>
|
43
|
+
<p class="coda">
|
44
|
+
<a href="p.capriotti@gmail.com">Paolo Capriotti</a>, <%= modified.pretty %><br>
|
45
|
+
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
46
|
+
</p>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<!-- insert site tracking codes here, like Google Urchin -->
|
50
|
+
|
51
|
+
</body>
|
52
|
+
</html>
|
metadata
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.4
|
3
|
+
specification_version: 1
|
4
|
+
name: skema
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.2.0
|
7
|
+
date: 2008-03-06 00:00:00 +01:00
|
8
|
+
summary: Command line template expansion tool
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email:
|
12
|
+
- p.capriotti@gmail.com
|
13
|
+
homepage: http://skema.rubyforge.org
|
14
|
+
rubyforge_project: skema
|
15
|
+
description: Command line template expansion tool
|
16
|
+
autorequire:
|
17
|
+
default_executable:
|
18
|
+
bindir: bin
|
19
|
+
has_rdoc: true
|
20
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.0.0
|
25
|
+
version:
|
26
|
+
platform: ruby
|
27
|
+
signing_key:
|
28
|
+
cert_chain:
|
29
|
+
post_install_message:
|
30
|
+
authors:
|
31
|
+
- Paolo Capriotti
|
32
|
+
files:
|
33
|
+
- History.txt
|
34
|
+
- License.txt
|
35
|
+
- Manifest.txt
|
36
|
+
- README.txt
|
37
|
+
- Rakefile
|
38
|
+
- bin/skema
|
39
|
+
- config/hoe.rb
|
40
|
+
- config/requirements.rb
|
41
|
+
- lib/modules/gpl/gpl.rb
|
42
|
+
- lib/modules/gpl/templates/file
|
43
|
+
- lib/modules/kapp/kapp.rb
|
44
|
+
- lib/modules/kapp/templates/CMakeLists.txt
|
45
|
+
- lib/modules/kapp/templates/appui.rc
|
46
|
+
- lib/modules/kapp/templates/main.cpp
|
47
|
+
- lib/modules/lgpl/lgpl.rb
|
48
|
+
- lib/modules/lgpl/templates/file
|
49
|
+
- lib/modules/skemaconfig/skemaconfig.rb
|
50
|
+
- lib/modules/skemaconfig/templates/skemarc
|
51
|
+
- lib/skema.rb
|
52
|
+
- lib/skema/version.rb
|
53
|
+
- script/destroy
|
54
|
+
- script/generate
|
55
|
+
- script/txt2html
|
56
|
+
- setup.rb
|
57
|
+
- tasks/deployment.rake
|
58
|
+
- tasks/environment.rake
|
59
|
+
- tasks/website.rake
|
60
|
+
- test/test_helper.rb
|
61
|
+
- test/test_skema.rb
|
62
|
+
- website/img/header_bg.png
|
63
|
+
- website/index.html
|
64
|
+
- website/index.txt
|
65
|
+
- website/javascripts/rounded_corners_lite.inc.js
|
66
|
+
- website/stylesheets/screen.css
|
67
|
+
- website/template.rhtml
|
68
|
+
test_files:
|
69
|
+
- test/test_helper.rb
|
70
|
+
- test/test_skema.rb
|
71
|
+
rdoc_options:
|
72
|
+
- --main
|
73
|
+
- README.txt
|
74
|
+
extra_rdoc_files:
|
75
|
+
- History.txt
|
76
|
+
- License.txt
|
77
|
+
- Manifest.txt
|
78
|
+
- README.txt
|
79
|
+
- lib/modules/kapp/templates/CMakeLists.txt
|
80
|
+
- website/index.txt
|
81
|
+
executables:
|
82
|
+
- skema
|
83
|
+
extensions: []
|
84
|
+
|
85
|
+
requirements: []
|
86
|
+
|
87
|
+
dependencies: []
|
88
|
+
|