fail-fast 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/Manifest.txt +21 -0
- data/PostInstall.txt +7 -0
- data/README.rdoc +87 -0
- data/Rakefile +24 -0
- data/config/website.yml +2 -0
- data/lib/fail_fast.rb +81 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +71 -0
- data/spec/fail_fast_spec.rb +315 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +10 -0
- data/tasks/rspec.rake +21 -0
- data/website/index.html +117 -0
- data/website/index.txt +103 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +159 -0
- data/website/template.html.erb +50 -0
- metadata +117 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,159 @@
|
|
1
|
+
body {
|
2
|
+
background-color: #8DBD82;
|
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: #A1DDB1;
|
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: 55em;
|
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
|
+
width: 50em;
|
87
|
+
padding: 2px 10px 2px 10px;
|
88
|
+
}
|
89
|
+
.comment { color: #aaa; font-style: italic; }
|
90
|
+
.keyword { color: #eff; font-weight: bold; }
|
91
|
+
.punct { color: #eee; font-weight: bold; }
|
92
|
+
.symbol { color: #0bb; }
|
93
|
+
.string { color: #6b4; }
|
94
|
+
.ident { color: #ff8; }
|
95
|
+
.constant { color: #66f; }
|
96
|
+
.regex { color: #ec6; }
|
97
|
+
.number { color: #F99; }
|
98
|
+
.expr { color: #227; }
|
99
|
+
|
100
|
+
.sidebar {
|
101
|
+
float: right;
|
102
|
+
}
|
103
|
+
|
104
|
+
#version {
|
105
|
+
width: 217px;
|
106
|
+
text-align: right;
|
107
|
+
font-family: sans-serif;
|
108
|
+
font-weight: normal;
|
109
|
+
color: #141331;
|
110
|
+
padding: 15px 20px 10px 20px;
|
111
|
+
margin: 0 auto;
|
112
|
+
margin-top: 15px;
|
113
|
+
background-color: #9A5535;
|
114
|
+
border: 3px solid #7E393E;
|
115
|
+
}
|
116
|
+
|
117
|
+
#version .numbers {
|
118
|
+
display: block;
|
119
|
+
font-size: 4em;
|
120
|
+
line-height: 0.8em;
|
121
|
+
letter-spacing: -0.1ex;
|
122
|
+
margin-bottom: 15px;
|
123
|
+
}
|
124
|
+
|
125
|
+
#version p {
|
126
|
+
text-decoration: none;
|
127
|
+
color: #F1F4FF;
|
128
|
+
background-color: #9A5535;
|
129
|
+
margin: 0;
|
130
|
+
padding: 0;
|
131
|
+
}
|
132
|
+
|
133
|
+
#version a {
|
134
|
+
text-decoration: none;
|
135
|
+
color: #F1F4FF;
|
136
|
+
background-color: #9A5535;
|
137
|
+
}
|
138
|
+
|
139
|
+
.clickable {
|
140
|
+
cursor: pointer;
|
141
|
+
cursor: hand;
|
142
|
+
}
|
143
|
+
|
144
|
+
#twitter_search {
|
145
|
+
margin: 40px 0 10px 15px;
|
146
|
+
color: #F1F4FF;
|
147
|
+
background-color: #9A5535;
|
148
|
+
border: 3px solid #7E393E;
|
149
|
+
}
|
150
|
+
|
151
|
+
#twitter_search h3 {
|
152
|
+
color: #F1F4FF;
|
153
|
+
margin-bottom: 0px;
|
154
|
+
}
|
155
|
+
|
156
|
+
#twitter_search center b {
|
157
|
+
display: none;
|
158
|
+
}
|
159
|
+
|
@@ -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 class="sidebar">
|
35
|
+
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
|
36
|
+
<p>Get Version</p>
|
37
|
+
<a href="<%= download %>" class="numbers"><%= version %></a>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<%= body %>
|
41
|
+
<p class="coda">
|
42
|
+
<a href="avdi@avdi.org">Avdi Grimm</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,117 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fail-fast
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Avdi Grimm
|
8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F8cW0PheDtlY0Ywo+wdUhD+LFH+2VanZNx2dz6IjSh
|
27
|
+
A0uvcb+roaNG70ESPvoJO4PZFCkrgS2QE9TwnhRLi1DONaGmbMYWSZku4tHFEu+R
|
28
|
+
B/QQd37jgRGtEcplcoMaoCOqAvlIu6QkQt4X3jVhNGqeF2Wgmb1QXEF8cH/hqX4T
|
29
|
+
NNbtubu/GbyYwC2cb3Clh5gMrAYS765Q8U2aySfRySAFaQyPub+h0uVWkIc=
|
30
|
+
-----END CERTIFICATE-----
|
31
|
+
|
32
|
+
date: 2008-11-30 00:00:00 -05:00
|
33
|
+
default_executable:
|
34
|
+
dependencies:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: newgem
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.1.0
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: hoe
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.8.0
|
54
|
+
version:
|
55
|
+
description: FailFast is a collection of assertion methods intended for lightweight contract checking.
|
56
|
+
email:
|
57
|
+
- avdi@avdi.org
|
58
|
+
executables: []
|
59
|
+
|
60
|
+
extensions: []
|
61
|
+
|
62
|
+
extra_rdoc_files:
|
63
|
+
- History.txt
|
64
|
+
- Manifest.txt
|
65
|
+
- PostInstall.txt
|
66
|
+
- README.rdoc
|
67
|
+
- website/index.txt
|
68
|
+
files:
|
69
|
+
- History.txt
|
70
|
+
- Manifest.txt
|
71
|
+
- PostInstall.txt
|
72
|
+
- README.rdoc
|
73
|
+
- Rakefile
|
74
|
+
- config/website.yml
|
75
|
+
- lib/fail_fast.rb
|
76
|
+
- script/console
|
77
|
+
- script/destroy
|
78
|
+
- script/generate
|
79
|
+
- script/txt2html
|
80
|
+
- spec/fail_fast_spec.rb
|
81
|
+
- spec/spec.opts
|
82
|
+
- spec/spec_helper.rb
|
83
|
+
- tasks/rspec.rake
|
84
|
+
- website/index.html
|
85
|
+
- website/index.txt
|
86
|
+
- website/javascripts/rounded_corners_lite.inc.js
|
87
|
+
- website/stylesheets/screen.css
|
88
|
+
- website/template.html.erb
|
89
|
+
has_rdoc: true
|
90
|
+
homepage: http://fail-fast.rubyforge.org
|
91
|
+
post_install_message:
|
92
|
+
rdoc_options:
|
93
|
+
- --main
|
94
|
+
- README.rdoc
|
95
|
+
require_paths:
|
96
|
+
- lib
|
97
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: "0"
|
102
|
+
version:
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: "0"
|
108
|
+
version:
|
109
|
+
requirements: []
|
110
|
+
|
111
|
+
rubyforge_project: fail-fast
|
112
|
+
rubygems_version: 1.2.0
|
113
|
+
signing_key:
|
114
|
+
specification_version: 2
|
115
|
+
summary: FailFast is a collection of assertion methods intended for lightweight contract checking.
|
116
|
+
test_files: []
|
117
|
+
|
metadata.gz.sig
ADDED
Binary file
|