astrochimp 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +39 -0
- data/app/assets/images/astrochimp/bg-noise.png +0 -0
- data/app/assets/javascripts/astrochimp/application.js +9 -0
- data/app/assets/javascripts/astrochimp/dashboard.js +2 -0
- data/app/assets/stylesheets/astrochimp/application.css +7 -0
- data/app/assets/stylesheets/astrochimp/dashboard.css.sass +115 -0
- data/app/assets/stylesheets/astrochimp/reset.css.sass +151 -0
- data/app/controllers/astrochimp/application_controller.rb +4 -0
- data/app/controllers/astrochimp/dashboard_controller.rb +6 -0
- data/app/helpers/astrochimp/application_helper.rb +4 -0
- data/app/helpers/astrochimp/dashboard_helper.rb +4 -0
- data/app/views/astrochimp/dashboard/index.html.erb +23 -0
- data/app/views/layouts/astrochimp/application.html.erb +53 -0
- data/config/routes.rb +8 -0
- data/lib/astrochimp.rb +4 -0
- data/lib/astrochimp/engine.rb +5 -0
- data/lib/astrochimp/version.rb +3 -0
- data/lib/tasks/astrochimp_tasks.rake +4 -0
- data/test/astrochimp_test.rb +7 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +9 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +42 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +27 -0
- data/test/dummy/config/environments/production.rb +51 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +785 -0
- data/test/dummy/log/test.log +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/tmp/cache/assets/CCC/B30/sprockets%2F9e0547875983624fecd47c38f443d5d5 +0 -0
- data/test/dummy/tmp/cache/assets/CDF/260/sprockets%2Fb437014d51952f4ed168dfa5eb506835 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +10 -0
- data/test/dummy/tmp/cache/assets/D69/F30/sprockets%2F09f88f56ab157162d1e807c2d3ebcb2a +0 -0
- data/test/dummy/tmp/cache/assets/D7A/130/sprockets%2Fba2928fecee85859a262dbf147f436a4 +0 -0
- data/test/dummy/tmp/cache/assets/D82/E10/sprockets%2F954cbb70b65145f917df4749ee4fcb7f +14 -0
- data/test/dummy/tmp/cache/assets/DA1/DC0/sprockets%2F342dfdb79e3d2fe720bd5da829049c6a +0 -0
- data/test/dummy/tmp/cache/assets/DBF/880/sprockets%2F1f847fc47d1bbdc315e0ae1ec196a02e +262 -0
- data/test/dummy/tmp/cache/assets/E31/100/sprockets%2Fbb6c7450fa3629bb1fe9efaf6a5ec76a +15 -0
- data/test/functional/astrochimp/dashboard_controller_test.rb +9 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +10 -0
- data/test/unit/helpers/astrochimp/dashboard_helper_test.rb +6 -0
- metadata +229 -0
File without changes
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,10 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314296327.848792:@value{ I"length:EFi:I"digest;
|
2
|
+
F"%0b626a3b686318791645dfd74c7775bdI"source;
|
3
|
+
FI":/*
|
4
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
5
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
6
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
7
|
+
*/
|
8
|
+
;
|
9
|
+
FI"
|
10
|
+
F"%cd5f249171e5ed4a3ef20b9d7761d2a1
|
Binary file
|
Binary file
|
@@ -0,0 +1,14 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314298232.636477:@value{ I"length:EFi
|
2
|
+
F"%aba177ac77a0b5e010029f6ce16faf9aI"source;
|
3
|
+
FI"
|
4
|
+
background: #e9e8e5 url("assets/astrochimp/bg-noise.png");
|
5
|
+
height: 100%;
|
6
|
+
min-height: 100%;
|
7
|
+
font-family: "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
|
8
|
+
font-size: 15px;
|
9
|
+
font-weight: 300;
|
10
|
+
line-height: 1.3em;
|
11
|
+
color: #444444; }
|
12
|
+
;
|
13
|
+
FI"
|
14
|
+
F"%3c11d04587048deacbe7357be1bd6d9e
|
Binary file
|
@@ -0,0 +1,262 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314298686.080947:@value{ I"length:EFi�I"digest;
|
2
|
+
F"%2d9db60539b3860962e804cd93037715I"source;
|
3
|
+
FI"�/*
|
4
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
5
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
6
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
7
|
+
*/
|
8
|
+
|
9
|
+
html, body {
|
10
|
+
background: #e9e8e5 url(/assets/astrochimp/bg-noise.png);
|
11
|
+
height: 100%;
|
12
|
+
min-height: 100%;
|
13
|
+
font-family: "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
|
14
|
+
font-size: 15px;
|
15
|
+
font-weight: 300;
|
16
|
+
line-height: 1.3em;
|
17
|
+
color: #444444; }
|
18
|
+
|
19
|
+
a {
|
20
|
+
text-decoration: none; }
|
21
|
+
|
22
|
+
h1, h2, h3, h4, h5 {
|
23
|
+
font-weight: normal;
|
24
|
+
clear: both;
|
25
|
+
line-height: 1.5em;
|
26
|
+
font-weight: 300; }
|
27
|
+
|
28
|
+
h1 {
|
29
|
+
font-size: 26px; }
|
30
|
+
|
31
|
+
h2 {
|
32
|
+
font-size: 18px; }
|
33
|
+
|
34
|
+
h3 {
|
35
|
+
font-size: 16px; }
|
36
|
+
|
37
|
+
h4 {
|
38
|
+
font-size: 16px; }
|
39
|
+
|
40
|
+
h5 {
|
41
|
+
font-size: 16px; }
|
42
|
+
|
43
|
+
header {
|
44
|
+
position: absolute;
|
45
|
+
top: 0;
|
46
|
+
bottom: 0;
|
47
|
+
left: 0;
|
48
|
+
width: 250px;
|
49
|
+
background: #4b4946 url(/assets/astrochimp/bg-noise.png);
|
50
|
+
border-right: 5px solid #f1be13;
|
51
|
+
box-shadow: 1px 0 white;
|
52
|
+
color: white; }
|
53
|
+
header a {
|
54
|
+
color: white; }
|
55
|
+
header .logo-astrochimp {
|
56
|
+
margin: 50px auto 0;
|
57
|
+
text-align: center; }
|
58
|
+
header .nav-main {
|
59
|
+
border-top: 1px solid #403e3b;
|
60
|
+
box-shadow: 0 1px #595753 inset;
|
61
|
+
margin: 50px 10px; }
|
62
|
+
header .nav-main a {
|
63
|
+
display: block;
|
64
|
+
padding: 10px 10px 10px 50px;
|
65
|
+
border-bottom: 1px solid #403e3b;
|
66
|
+
box-shadow: 0 1px #595753; }
|
67
|
+
|
68
|
+
.unsent-count {
|
69
|
+
float: right;
|
70
|
+
margin: 8px 10px;
|
71
|
+
padding: 2px 10px;
|
72
|
+
background: #ea805c;
|
73
|
+
border-radius: 10px;
|
74
|
+
-moz-border-radius: 10px; }
|
75
|
+
|
76
|
+
.nav-account {
|
77
|
+
color: #888888;
|
78
|
+
overflow: hidden;
|
79
|
+
border-bottom: #c8c6c1;
|
80
|
+
box-shadow: 0 1px white;
|
81
|
+
-moz-box-shadow: 0 1px white; }
|
82
|
+
.nav-account .link-account {
|
83
|
+
float: left; }
|
84
|
+
.nav-account ul {
|
85
|
+
float: right; }
|
86
|
+
|
87
|
+
.content {
|
88
|
+
padding: 10px 20px 20px 280px; }
|
89
|
+
.content h1, .content h2, .content h3, .content h4, .content h5 {
|
90
|
+
text-transform: uppercase; }
|
91
|
+
.content section {
|
92
|
+
background: white;
|
93
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
94
|
+
overflow: hidden;
|
95
|
+
margin-bottom: 50px; }
|
96
|
+
|
97
|
+
.flash {
|
98
|
+
padding: 10px;
|
99
|
+
background: #fff4cb;
|
100
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px white inset;
|
101
|
+
border-radius: 5px;
|
102
|
+
-moz-border-radius: 5px;
|
103
|
+
margin-bottom: 20px;
|
104
|
+
font-style: italic;
|
105
|
+
font-size: 18px;
|
106
|
+
color: #9b7437; }
|
107
|
+
|
108
|
+
.chart {
|
109
|
+
padding: 20px;
|
110
|
+
float: left; }
|
111
|
+
|
112
|
+
.legend {
|
113
|
+
float: right;
|
114
|
+
color: #999999; }
|
115
|
+
html {
|
116
|
+
margin: 0;
|
117
|
+
padding: 0;
|
118
|
+
border: 0;
|
119
|
+
outline: 0;
|
120
|
+
font-size: 100%;
|
121
|
+
vertical-align: baseline;
|
122
|
+
background: transparent; }
|
123
|
+
|
124
|
+
body {
|
125
|
+
margin: 0;
|
126
|
+
padding: 0;
|
127
|
+
border: 0;
|
128
|
+
outline: 0;
|
129
|
+
font-size: 100%;
|
130
|
+
vertical-align: baseline;
|
131
|
+
background: transparent;
|
132
|
+
line-height: 1; }
|
133
|
+
|
134
|
+
div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p {
|
135
|
+
margin: 0;
|
136
|
+
padding: 0;
|
137
|
+
border: 0;
|
138
|
+
outline: 0;
|
139
|
+
font-size: 100%;
|
140
|
+
vertical-align: baseline;
|
141
|
+
background: transparent; }
|
142
|
+
|
143
|
+
blockquote {
|
144
|
+
margin: 0;
|
145
|
+
padding: 0;
|
146
|
+
border: 0;
|
147
|
+
outline: 0;
|
148
|
+
font-size: 100%;
|
149
|
+
vertical-align: baseline;
|
150
|
+
background: transparent;
|
151
|
+
quotes: none; }
|
152
|
+
|
153
|
+
pre, a, abbr, acronym, address, big, cite, code {
|
154
|
+
margin: 0;
|
155
|
+
padding: 0;
|
156
|
+
border: 0;
|
157
|
+
outline: 0;
|
158
|
+
font-size: 100%;
|
159
|
+
vertical-align: baseline;
|
160
|
+
background: transparent; }
|
161
|
+
|
162
|
+
del {
|
163
|
+
margin: 0;
|
164
|
+
padding: 0;
|
165
|
+
border: 0;
|
166
|
+
outline: 0;
|
167
|
+
font-size: 100%;
|
168
|
+
vertical-align: baseline;
|
169
|
+
background: transparent;
|
170
|
+
text-decoration: line-through; }
|
171
|
+
|
172
|
+
dfn, em, font, img {
|
173
|
+
margin: 0;
|
174
|
+
padding: 0;
|
175
|
+
border: 0;
|
176
|
+
outline: 0;
|
177
|
+
font-size: 100%;
|
178
|
+
vertical-align: baseline;
|
179
|
+
background: transparent; }
|
180
|
+
|
181
|
+
ins {
|
182
|
+
margin: 0;
|
183
|
+
padding: 0;
|
184
|
+
border: 0;
|
185
|
+
outline: 0;
|
186
|
+
font-size: 100%;
|
187
|
+
vertical-align: baseline;
|
188
|
+
background: transparent;
|
189
|
+
text-decoration: none; }
|
190
|
+
|
191
|
+
kbd {
|
192
|
+
margin: 0;
|
193
|
+
padding: 0;
|
194
|
+
border: 0;
|
195
|
+
outline: 0;
|
196
|
+
font-size: 100%;
|
197
|
+
vertical-align: baseline;
|
198
|
+
background: transparent; }
|
199
|
+
|
200
|
+
q {
|
201
|
+
margin: 0;
|
202
|
+
padding: 0;
|
203
|
+
border: 0;
|
204
|
+
outline: 0;
|
205
|
+
font-size: 100%;
|
206
|
+
vertical-align: baseline;
|
207
|
+
background: transparent;
|
208
|
+
quotes: none; }
|
209
|
+
|
210
|
+
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd {
|
211
|
+
margin: 0;
|
212
|
+
padding: 0;
|
213
|
+
border: 0;
|
214
|
+
outline: 0;
|
215
|
+
font-size: 100%;
|
216
|
+
vertical-align: baseline;
|
217
|
+
background: transparent; }
|
218
|
+
|
219
|
+
ol, ul {
|
220
|
+
margin: 0;
|
221
|
+
padding: 0;
|
222
|
+
border: 0;
|
223
|
+
outline: 0;
|
224
|
+
font-size: 100%;
|
225
|
+
vertical-align: baseline;
|
226
|
+
background: transparent;
|
227
|
+
list-style: none; }
|
228
|
+
|
229
|
+
li, fieldset, form, label, legend {
|
230
|
+
margin: 0;
|
231
|
+
padding: 0;
|
232
|
+
border: 0;
|
233
|
+
outline: 0;
|
234
|
+
font-size: 100%;
|
235
|
+
vertical-align: baseline;
|
236
|
+
background: transparent; }
|
237
|
+
|
238
|
+
table {
|
239
|
+
margin: 0;
|
240
|
+
padding: 0;
|
241
|
+
border: 0;
|
242
|
+
outline: 0;
|
243
|
+
font-size: 100%;
|
244
|
+
vertical-align: baseline;
|
245
|
+
background: transparent;
|
246
|
+
border-collapse: collapse;
|
247
|
+
border-spacing: 0; }
|
248
|
+
|
249
|
+
caption, tbody, tfoot, thead, tr, th, td {
|
250
|
+
margin: 0;
|
251
|
+
padding: 0;
|
252
|
+
border: 0;
|
253
|
+
outline: 0;
|
254
|
+
font-size: 100%;
|
255
|
+
vertical-align: baseline;
|
256
|
+
background: transparent; }
|
257
|
+
|
258
|
+
*:focus {
|
259
|
+
outline: 0; }
|
260
|
+
;
|
261
|
+
FI"
|
262
|
+
F"%5486faa771fab3accccf856726050c30
|
@@ -0,0 +1,15 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314298302.3441112:@value{I"
|
2
|
+
class:EFI"StaticAsset;
|
3
|
+
FI"id;
|
4
|
+
F"%46069f41558dc54cf272231420b47685I"logical_path;
|
5
|
+
F"astrochimp/bg-noise.pngI"
|
6
|
+
F"W/Volumes/Dropbox/Dropbox/Code/astrochimp/app/assets/images/astrochimp/bg-noise.pngI"content_type;
|
7
|
+
FI"image/png;
|
8
|
+
FI"
|
9
|
+
mtime;
|
10
|
+
FI"2011-08-25T11:21:42-05:00;
|
11
|
+
FI"length;
|
12
|
+
FI" 6754;
|
13
|
+
FI"digest;
|
14
|
+
F"%e113cbae4ec8638a408f864a19de5fcaI"
|
15
|
+
F"%0aae0252fa6e2cbaa602eb7edef12912
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|