guff 0.0.2 → 0.0.4
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/History.txt +4 -0
- data/License.txt +20 -0
- data/Manifest.txt +37 -21
- data/README.txt +1 -3
- data/Rakefile +3 -53
- data/config/hoe.rb +71 -0
- data/config/requirements.rb +17 -0
- data/lib/guff.rb +8 -2
- data/lib/guff/java_source.rb +167 -35
- data/lib/guff/version.rb +9 -9
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +74 -0
- data/setup.rb +1585 -1585
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/website.rake +17 -0
- data/test/java_source/files/ClassWithConstructors.java +22 -0
- data/test/java_source/files/ClassWithFields.java +4 -0
- data/test/java_source/files/ClassWithImports.java +8 -0
- data/test/java_source/files/ClassWithMethods.java +5 -1
- data/test/java_source/files/GenericClass.java +3 -0
- data/test/java_source/{annotation_declaration_test.rb → test_annotation_declaration.rb} +0 -0
- data/test/java_source/{class_declaration_test.rb → test_class_declaration.rb} +20 -0
- data/test/java_source/{field_declaration_test.rb → test_field_declaration.rb} +1 -1
- data/test/java_source/test_helper.rb +0 -2
- data/test/java_source/test_import_declaration.rb +14 -0
- data/test/java_source/{method_declaration_test.rb → test_method_declaration.rb} +4 -2
- data/test/test_helper.rb +2 -1
- data/website/index.html +326 -0
- data/website/index.txt +240 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +138 -0
- data/website/template.rhtml +48 -0
- metadata +82 -50
- data/CHANGELOG.txt +0 -0
@@ -0,0 +1,138 @@
|
|
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: 52em;
|
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
|
+
margin-bottom: 15px;
|
118
|
+
}
|
119
|
+
|
120
|
+
#version p {
|
121
|
+
text-decoration: none;
|
122
|
+
color: #141331;
|
123
|
+
background-color: #B3ABFF;
|
124
|
+
margin: 0;
|
125
|
+
padding: 0;
|
126
|
+
}
|
127
|
+
|
128
|
+
#version a {
|
129
|
+
text-decoration: none;
|
130
|
+
color: #141331;
|
131
|
+
background-color: #B3ABFF;
|
132
|
+
}
|
133
|
+
|
134
|
+
.clickable {
|
135
|
+
cursor: pointer;
|
136
|
+
cursor: hand;
|
137
|
+
}
|
138
|
+
|
@@ -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
|
+
<p>Get Version</p>
|
36
|
+
<a href="<%= download %>" class="numbers"><%= version %></a>
|
37
|
+
</div>
|
38
|
+
<%= body %>
|
39
|
+
<p class="coda">
|
40
|
+
<a href="mailto:me@mikehogan.net">Mike Hogan</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
CHANGED
@@ -1,68 +1,100 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.0
|
3
|
-
specification_version: 1
|
4
2
|
name: guff
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2007-03-03 00:00:00 +00:00
|
8
|
-
summary: An API to describe and generate Java source code. The idea is to avoid writing all the 'guff' that is typical in java projects by generating it from more succinct ruby models.
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: me@mikehogan.net
|
12
|
-
homepage: http://guff.rubyforge.org
|
13
|
-
rubyforge_project: guff
|
14
|
-
description: An API to describe and generate Java source code. The idea is to avoid writing all the 'guff' that is typical in java projects by generating it from more succinct ruby models.
|
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:
|
4
|
+
version: 0.0.4
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Mike Hogan
|
31
|
-
|
32
|
-
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-03-06 00:00:00 +00:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Provides a set of classes to describe and save java classes. The idea is to avoid writing all the 'guff' that is typical in java projects by generating it from more succinct ruby models
|
17
|
+
email: me@mikehogan.net
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- History.txt
|
24
|
+
- License.txt
|
25
|
+
- Manifest.txt
|
33
26
|
- README.txt
|
34
|
-
-
|
27
|
+
- website/index.txt
|
28
|
+
files:
|
29
|
+
- History.txt
|
30
|
+
- License.txt
|
35
31
|
- Manifest.txt
|
36
|
-
-
|
37
|
-
-
|
38
|
-
-
|
32
|
+
- README.txt
|
33
|
+
- Rakefile
|
34
|
+
- config/hoe.rb
|
35
|
+
- config/requirements.rb
|
39
36
|
- lib/guff.rb
|
40
|
-
-
|
37
|
+
- lib/guff/java_source.rb
|
38
|
+
- lib/guff/version.rb
|
39
|
+
- script/destroy
|
40
|
+
- script/generate
|
41
|
+
- script/txt2html
|
42
|
+
- setup.rb
|
43
|
+
- tasks/deployment.rake
|
44
|
+
- tasks/environment.rake
|
45
|
+
- tasks/website.rake
|
46
|
+
- test/java_source/test_annotation_declaration.rb
|
47
|
+
- test/java_source/test_class_declaration.rb
|
48
|
+
- test/java_source/test_field_declaration.rb
|
49
|
+
- test/java_source/test_import_declaration.rb
|
50
|
+
- test/java_source/test_method_declaration.rb
|
41
51
|
- test/java_source/files/ClassWithAnnotatedFields.java
|
42
52
|
- test/java_source/files/ClassWithAnnotatedMethods.java
|
53
|
+
- test/java_source/files/ClassWithConstructors.java
|
43
54
|
- test/java_source/files/ClassWithFields.java
|
55
|
+
- test/java_source/files/ClassWithImports.java
|
44
56
|
- test/java_source/files/ClassWithMethods.java
|
45
57
|
- test/java_source/files/EmptyClass.java
|
46
58
|
- test/java_source/files/GenericClass.java
|
47
|
-
- test/java_source/annotation_declaration_test.rb
|
48
|
-
- test/java_source/class_declaration_test.rb
|
49
|
-
- test/java_source/field_declaration_test.rb
|
50
|
-
- test/java_source/method_declaration_test.rb
|
51
59
|
- test/java_source/test_helper.rb
|
52
|
-
|
53
|
-
-
|
54
|
-
-
|
55
|
-
-
|
56
|
-
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
60
|
+
- test/test_helper.rb
|
61
|
+
- website/index.html
|
62
|
+
- website/index.txt
|
63
|
+
- website/javascripts/rounded_corners_lite.inc.js
|
64
|
+
- website/stylesheets/screen.css
|
65
|
+
- website/template.rhtml
|
66
|
+
has_rdoc: true
|
67
|
+
homepage: http://guff.rubyforge.org
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options:
|
70
|
+
- --main
|
71
|
+
- README.txt
|
72
|
+
require_paths:
|
73
|
+
- lib
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0"
|
79
|
+
version:
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: "0"
|
85
|
+
version:
|
65
86
|
requirements: []
|
66
87
|
|
67
|
-
|
68
|
-
|
88
|
+
rubyforge_project: guff
|
89
|
+
rubygems_version: 1.0.1
|
90
|
+
signing_key:
|
91
|
+
specification_version: 2
|
92
|
+
summary: Provides a set of classes to describe and save java classes. The idea is to avoid writing all the 'guff' that is typical in java projects by generating it from more succinct ruby models
|
93
|
+
test_files:
|
94
|
+
- test/java_source/test_annotation_declaration.rb
|
95
|
+
- test/java_source/test_class_declaration.rb
|
96
|
+
- test/java_source/test_field_declaration.rb
|
97
|
+
- test/java_source/test_helper.rb
|
98
|
+
- test/java_source/test_import_declaration.rb
|
99
|
+
- test/java_source/test_method_declaration.rb
|
100
|
+
- test/test_helper.rb
|
data/CHANGELOG.txt
DELETED
File without changes
|