newgem 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +25 -0
- data/Manifest.txt +22 -1
- data/Rakefile +38 -5
- data/bin/newgem +38 -26
- data/lib/newgem/version.rb +2 -2
- data/scripts/txt2html +68 -0
- data/scripts/txt2js +59 -0
- data/templates/History.txt +4 -0
- data/templates/Manifest.txt +8 -5
- data/templates/Rakefile +26 -5
- data/templates/app.rb +38 -0
- data/templates/scripts/txt2html +67 -0
- data/templates/website/index.txt +30 -0
- data/templates/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/templates/website/stylesheets/screen.css +129 -0
- data/templates/website/template.rhtml +48 -0
- data/website/index.html +287 -0
- data/website/index.txt +178 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/rubyforge.html +147 -0
- data/website/rubyforge.txt +72 -0
- data/website/stylesheets/screen.css +129 -0
- data/website/template.js +3 -0
- data/website/template.rhtml +53 -0
- data/website/version-raw.js +3 -0
- data/website/version-raw.txt +2 -0
- data/website/version.js +4 -0
- data/website/version.txt +3 -0
- metadata +44 -5
- data/CHANGELOG +0 -8
@@ -0,0 +1,129 @@
|
|
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
|
+
|
data/website/template.js
ADDED
@@ -0,0 +1,53 @@
|
|
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
|
+
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
46
|
+
</script>
|
47
|
+
<script type="text/javascript">
|
48
|
+
_uacct = "UA-567811-2";
|
49
|
+
urchinTracker();
|
50
|
+
</script>
|
51
|
+
|
52
|
+
</body>
|
53
|
+
</html>
|
data/website/version.js
ADDED
data/website/version.txt
ADDED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: newgem
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.9.0
|
7
|
+
date: 2007-04-15 00:00:00 +02:00
|
8
8
|
summary: Make your own gems at home
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -29,7 +29,7 @@ post_install_message:
|
|
29
29
|
authors:
|
30
30
|
- Dr Nic Williams
|
31
31
|
files:
|
32
|
-
-
|
32
|
+
- History.txt
|
33
33
|
- Manifest.txt
|
34
34
|
- README
|
35
35
|
- Rakefile
|
@@ -37,13 +37,34 @@ files:
|
|
37
37
|
- install.rb
|
38
38
|
- lib/newgem.rb
|
39
39
|
- lib/newgem/version.rb
|
40
|
+
- scripts/txt2html
|
41
|
+
- scripts/txt2js
|
40
42
|
- setup.rb
|
43
|
+
- templates/History.txt
|
41
44
|
- templates/Manifest.txt
|
42
45
|
- templates/Rakefile
|
46
|
+
- templates/app.rb
|
47
|
+
- templates/scripts/txt2html
|
43
48
|
- templates/setup.rb
|
44
49
|
- templates/test.rb
|
50
|
+
- templates/website/index.txt
|
51
|
+
- templates/website/javascripts/rounded_corners_lite.inc.js
|
52
|
+
- templates/website/stylesheets/screen.css
|
53
|
+
- templates/website/template.rhtml
|
45
54
|
- test/test_helper.rb
|
46
55
|
- test/test_newgem.rb
|
56
|
+
- website/index.html
|
57
|
+
- website/index.txt
|
58
|
+
- website/javascripts/rounded_corners_lite.inc.js
|
59
|
+
- website/rubyforge.html
|
60
|
+
- website/rubyforge.txt
|
61
|
+
- website/stylesheets/screen.css
|
62
|
+
- website/template.js
|
63
|
+
- website/template.rhtml
|
64
|
+
- website/version-raw.js
|
65
|
+
- website/version-raw.txt
|
66
|
+
- website/version.js
|
67
|
+
- website/version.txt
|
47
68
|
test_files:
|
48
69
|
- test/test_helper.rb
|
49
70
|
- test/test_newgem.rb
|
@@ -63,9 +84,27 @@ dependencies:
|
|
63
84
|
version_requirement:
|
64
85
|
version_requirements: !ruby/object:Gem::Version::Requirement
|
65
86
|
requirements:
|
66
|
-
- - "
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.2.0
|
90
|
+
version:
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: RedCloth
|
93
|
+
version_requirement:
|
94
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 3.0.4
|
99
|
+
version:
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: syntax
|
102
|
+
version_requirement:
|
103
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
67
106
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
107
|
+
version: 1.0.0
|
69
108
|
version:
|
70
109
|
- !ruby/object:Gem::Dependency
|
71
110
|
name: hoe
|
data/CHANGELOG
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
0.8.1 - Generated test file's class name now prefixed with Test, instead of suffixed
|
2
|
-
|
3
|
-
0.8.0 - Uses hoe itself - less hypocritical
|
4
|
-
- Generated test files use name 'test_<gemname>.rb' instead of '<gemname>_test.rb' to support
|
5
|
-
ZenTest's autotest expectations of naming. Manifest updated too.
|
6
|
-
|
7
|
-
0.7.1 - Installed gems now don't require 'hoe' (based on comments at http://blog.evanweaver.com/articles/2007/01/10/if-you-dont-want-to-hoe-echoe)
|
8
|
-
|