eastwood 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +6 -0
  3. data/Rakefile +43 -0
  4. data/app/assets/javascripts/eastwood.js.coffee.erb +49 -0
  5. data/lib/eastwood/engine.rb +10 -0
  6. data/lib/eastwood/helpers.rb +30 -0
  7. data/lib/eastwood/routes.rb +28 -0
  8. data/lib/eastwood/version.rb +3 -0
  9. data/lib/eastwood.rb +14 -0
  10. data/lib/tasks/eastwood_tasks.rake +4 -0
  11. data/test/asset_test.rb +9 -0
  12. data/test/dummy/Rakefile +7 -0
  13. data/test/dummy/app/assets/javascripts/application.js +9 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +7 -0
  15. data/test/dummy/app/controllers/application_controller.rb +3 -0
  16. data/test/dummy/app/controllers/resources_controller.rb +2 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/test/dummy/config/application.rb +45 -0
  20. data/test/dummy/config/boot.rb +10 -0
  21. data/test/dummy/config/database.yml +25 -0
  22. data/test/dummy/config/environment.rb +5 -0
  23. data/test/dummy/config/environments/development.rb +30 -0
  24. data/test/dummy/config/environments/production.rb +60 -0
  25. data/test/dummy/config/environments/test.rb +42 -0
  26. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  27. data/test/dummy/config/initializers/inflections.rb +10 -0
  28. data/test/dummy/config/initializers/mime_types.rb +5 -0
  29. data/test/dummy/config/initializers/secret_token.rb +7 -0
  30. data/test/dummy/config/initializers/session_store.rb +8 -0
  31. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  32. data/test/dummy/config/locales/en.yml +5 -0
  33. data/test/dummy/config/routes.rb +61 -0
  34. data/test/dummy/config.ru +4 -0
  35. data/test/dummy/db/development.sqlite3 +0 -0
  36. data/test/dummy/db/test.sqlite3 +0 -0
  37. data/test/dummy/log/development.log +391 -0
  38. data/test/dummy/log/test.log +387 -0
  39. data/test/dummy/public/404.html +26 -0
  40. data/test/dummy/public/422.html +26 -0
  41. data/test/dummy/public/500.html +26 -0
  42. data/test/dummy/public/favicon.ico +0 -0
  43. data/test/dummy/public/index.html +16 -0
  44. data/test/dummy/script/rails +6 -0
  45. data/test/dummy/tmp/cache/assets/D75/1D0/sprockets%2F097d71c6d5ef8b26bfb3058327b3b9bf +0 -0
  46. data/test/dummy/tmp/cache/assets/D7F/B10/sprockets%2F9ac097fe24e8c8229522feac6fc9337c +0 -0
  47. data/test/eastwood_test.rb +7 -0
  48. data/test/helpers_test.rb +31 -0
  49. data/test/test_helper.rb +10 -0
  50. metadata +197 -0
@@ -0,0 +1,387 @@
1
+ Processing by Eastwood::EastwoodController#application as JS
2
+ Completed 500 Internal Server Error in 17ms
3
+
4
+
5
+ Started GET "/javascripts/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:22:21 -0700 2011
6
+
7
+
8
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:27:25 -0700 2011
9
+ Error compiling asset eastwood.js:
10
+ LoadError: no such file to load -- coffee_script
11
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee)
12
+ Served asset /eastwood.js - 500 Internal Server Error
13
+
14
+
15
+
16
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:27:52 -0700 2011
17
+ Error compiling asset eastwood.js:
18
+ LoadError: no such file to load -- coffee_script
19
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee)
20
+ Served asset /eastwood.js - 500 Internal Server Error
21
+
22
+
23
+
24
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:29:48 -0700 2011
25
+ Error compiling asset eastwood.js:
26
+ LoadError: no such file to load -- coffee_script
27
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee)
28
+ Served asset /eastwood.js - 500 Internal Server Error
29
+
30
+
31
+
32
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:33:22 -0700 2011
33
+ Compiled eastwood.js (273ms) (pid 8980)
34
+ Served asset /eastwood.js - 200 OK (284ms)
35
+
36
+
37
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:34:28 -0700 2011
38
+ Compiled eastwood.js (158ms) (pid 9025)
39
+ Served asset /eastwood.js - 200 OK (165ms)
40
+
41
+
42
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:35:23 -0700 2011
43
+ Compiled eastwood.js (162ms) (pid 9055)
44
+ Served asset /eastwood.js - 200 OK (175ms)
45
+
46
+
47
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:35:32 -0700 2011
48
+ Compiled eastwood.js (163ms) (pid 9072)
49
+ Served asset /eastwood.js - 200 OK (171ms)
50
+
51
+
52
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:35:45 -0700 2011
53
+ Error compiling asset eastwood.js:
54
+ NameError: wrong constant name dummy_application
55
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
56
+ Served asset /eastwood.js - 500 Internal Server Error
57
+
58
+
59
+
60
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:36:34 -0700 2011
61
+ Compiled eastwood.js (164ms) (pid 9101)
62
+ Served asset /eastwood.js - 200 OK (170ms)
63
+
64
+
65
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:37:00 -0700 2011
66
+ Compiled eastwood.js (167ms) (pid 9119)
67
+ Served asset /eastwood.js - 200 OK (173ms)
68
+
69
+
70
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:37:38 -0700 2011
71
+ Served asset /eastwood.js - 200 OK (2ms)
72
+
73
+
74
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:45:57 -0700 2011
75
+ Served asset /eastwood.js - 200 OK (2ms)
76
+
77
+
78
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:47:57 -0700 2011
79
+ Compiled eastwood.js (167ms) (pid 9259)
80
+ Served asset /eastwood.js - 200 OK (174ms)
81
+
82
+
83
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:50:00 -0700 2011
84
+ Compiled eastwood.js (166ms) (pid 9279)
85
+ Served asset /eastwood.js - 200 OK (172ms)
86
+
87
+
88
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:50:24 -0700 2011
89
+ Compiled eastwood.js (165ms) (pid 9296)
90
+ Served asset /eastwood.js - 200 OK (172ms)
91
+
92
+
93
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:50:38 -0700 2011
94
+ Compiled eastwood.js (163ms) (pid 9313)
95
+ Served asset /eastwood.js - 200 OK (170ms)
96
+
97
+
98
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:50:56 -0700 2011
99
+ Compiled eastwood.js (164ms) (pid 9330)
100
+ Served asset /eastwood.js - 200 OK (171ms)
101
+
102
+
103
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:52:01 -0700 2011
104
+ Compiled eastwood.js (164ms) (pid 9366)
105
+ Served asset /eastwood.js - 200 OK (171ms)
106
+
107
+
108
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:54:17 -0700 2011
109
+ Served asset /eastwood.js - 200 OK (2ms)
110
+
111
+
112
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:59:22 -0700 2011
113
+ Served asset /eastwood.js - 200 OK (2ms)
114
+
115
+
116
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 16:59:35 -0700 2011
117
+ Served asset /eastwood.js - 200 OK (2ms)
118
+
119
+
120
+ Started GET "/assets/eastwood.js?break-that-shit=troooooo" for 127.0.0.1 at Wed Oct 26 17:00:21 -0700 2011
121
+ Served asset /eastwood.js - 200 OK (2ms)
122
+
123
+
124
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:02:01 -0700 2011
125
+ Compiled eastwood.js (159ms) (pid 9495)
126
+ Served asset /eastwood.js - 200 OK (167ms)
127
+
128
+
129
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:02:15 -0700 2011
130
+ Served asset /eastwood.js - 200 OK (2ms)
131
+
132
+
133
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:04:25 -0700 2011
134
+ Served asset /eastwood.js - 200 OK (2ms)
135
+
136
+
137
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:04:34 -0700 2011
138
+ Served asset /eastwood.js - 200 OK (2ms)
139
+
140
+
141
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:06:34 -0700 2011
142
+ Compiled eastwood.js (163ms) (pid 9555)
143
+ Served asset /eastwood.js - 200 OK (170ms)
144
+
145
+
146
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:10:03 -0700 2011
147
+ Served asset /eastwood.js - 200 OK (2ms)
148
+
149
+
150
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:10:28 -0700 2011
151
+ Compiled eastwood.js (485ms) (pid 9586)
152
+ Served asset /eastwood.js - 200 OK (498ms)
153
+
154
+
155
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:12:51 -0700 2011
156
+ Compiled eastwood.js (165ms) (pid 9612)
157
+ Served asset /eastwood.js - 200 OK (177ms)
158
+
159
+
160
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:13:43 -0700 2011
161
+ Compiled eastwood.js (166ms) (pid 9631)
162
+ Served asset /eastwood.js - 200 OK (178ms)
163
+
164
+
165
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:14:37 -0700 2011
166
+ Error compiling asset eastwood.js:
167
+ NoMethodError: undefined method `-' for "dummy_application":String
168
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
169
+ Served asset /eastwood.js - 500 Internal Server Error
170
+
171
+
172
+
173
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:14:56 -0700 2011
174
+ Compiled eastwood.js (163ms) (pid 9659)
175
+ Served asset /eastwood.js - 200 OK (171ms)
176
+
177
+
178
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:15:26 -0700 2011
179
+ Compiled eastwood.js (165ms) (pid 9677)
180
+ Served asset /eastwood.js - 200 OK (172ms)
181
+
182
+
183
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:15:35 -0700 2011
184
+ Compiled eastwood.js (162ms) (pid 9694)
185
+ Served asset /eastwood.js - 200 OK (175ms)
186
+
187
+
188
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:15:51 -0700 2011
189
+ Error compiling asset eastwood.js:
190
+ NoMethodError: undefined method `-' for "DummyApplication":String
191
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
192
+ Served asset /eastwood.js - 500 Internal Server Error
193
+
194
+
195
+
196
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Wed Oct 26 17:16:12 -0700 2011
197
+ Compiled eastwood.js (167ms) (pid 9721)
198
+ Served asset /eastwood.js - 200 OK (175ms)
199
+
200
+
201
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:25:16 -0700 2011
202
+ Compiled eastwood.js (453ms) (pid 437)
203
+ Served asset /eastwood.js - 200 OK (472ms)
204
+
205
+
206
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:32:57 -0700 2011
207
+ Compiled eastwood.js (154ms) (pid 507)
208
+ Served asset /eastwood.js - 200 OK (164ms)
209
+
210
+
211
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:36:09 -0700 2011
212
+ Served asset /eastwood.js - 200 OK (2ms)
213
+
214
+
215
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:37:41 -0700 2011
216
+ Compiled eastwood.js (155ms) (pid 582)
217
+ Served asset /eastwood.js - 200 OK (165ms)
218
+
219
+
220
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:39:01 -0700 2011
221
+ Compiled eastwood.js (156ms) (pid 772)
222
+ Served asset /eastwood.js - 200 OK (166ms)
223
+
224
+
225
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:39:45 -0700 2011
226
+ Error compiling asset eastwood.js:
227
+ NameError: undefined local variable or method `params' for #<#<Class:0x1037d75b8>:0x103ce28f0>
228
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
229
+ Served asset /eastwood.js - 500 Internal Server Error
230
+
231
+
232
+
233
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:41:12 -0700 2011
234
+ Error compiling asset eastwood.js:
235
+ NameError: undefined local variable or method `params' for #<#<Class:0x1037d75b8>:0x103ce28f0>
236
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
237
+ Served asset /eastwood.js - 500 Internal Server Error
238
+
239
+
240
+
241
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:43:32 -0700 2011
242
+ Error compiling asset eastwood.js:
243
+ NameError: undefined local variable or method `omg_test' for #<#<Class:0x1037cf368>:0x103cb2628>
244
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
245
+ Served asset /eastwood.js - 500 Internal Server Error
246
+
247
+
248
+
249
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 09:44:23 -0700 2011
250
+ Error compiling asset eastwood.js:
251
+ NameError: undefined local variable or method `omg_test' for #<#<Class:0x1037cf368>:0x103cb2628>
252
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
253
+ Served asset /eastwood.js - 500 Internal Server Error
254
+
255
+
256
+
257
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:04:57 -0700 2011
258
+ Error compiling asset eastwood.js:
259
+ NameError: undefined local variable or method `assets_dir' for #<#<Class:0x1037cf368>:0x103cb2628>
260
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
261
+ Served asset /eastwood.js - 500 Internal Server Error
262
+
263
+
264
+
265
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:20:30 -0700 2011
266
+ Error compiling asset eastwood.js:
267
+ NameError: undefined local variable or method `assets_dir' for #<#<Class:0x1037ceb20>:0x103cb19f8>
268
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
269
+ Served asset /eastwood.js - 500 Internal Server Error
270
+
271
+
272
+
273
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:20:42 -0700 2011
274
+ Error compiling asset eastwood.js:
275
+ NameError: undefined local variable or method `assets_dir' for #<#<Class:0x1037ceaf8>:0x103cb19d0>
276
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
277
+ Served asset /eastwood.js - 500 Internal Server Error
278
+
279
+
280
+
281
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:21:08 -0700 2011
282
+ Error compiling asset eastwood.js:
283
+ NameError: undefined local variable or method `assets_dir' for #<#<Class:0x1037cead0>:0x103cb19d0>
284
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
285
+ Served asset /eastwood.js - 500 Internal Server Error
286
+
287
+
288
+
289
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:21:21 -0700 2011
290
+ Error compiling asset eastwood.js:
291
+ NameError: undefined local variable or method `assets_dir' for #<#<Class:0x1037cea58>:0x103cb1958>
292
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
293
+ Served asset /eastwood.js - 500 Internal Server Error
294
+
295
+
296
+
297
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:24:09 -0700 2011
298
+ Error compiling asset eastwood.js:
299
+ NameError: undefined local variable or method `assets_dir' for #<#<Class:0x1037ce828>:0x103cb0cd8>
300
+ (in /Users/jeremy.ruppel/Git/eastwood/app/assets/javascripts/eastwood.js.coffee.erb)
301
+ Served asset /eastwood.js - 500 Internal Server Error
302
+
303
+
304
+
305
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:24:32 -0700 2011
306
+ Compiled eastwood.js (158ms) (pid 1022)
307
+ Served asset /eastwood.js - 200 OK (168ms)
308
+
309
+
310
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:25:21 -0700 2011
311
+ Compiled eastwood.js (153ms) (pid 1040)
312
+ Served asset /eastwood.js - 200 OK (163ms)
313
+
314
+
315
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:37:18 -0700 2011
316
+ Compiled eastwood.js (156ms) (pid 1113)
317
+ Served asset /eastwood.js - 200 OK (166ms)
318
+
319
+
320
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:39:10 -0700 2011
321
+ Compiled eastwood.js (155ms) (pid 1178)
322
+ Served asset /eastwood.js - 200 OK (165ms)
323
+
324
+
325
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 10:41:05 -0700 2011
326
+ Compiled eastwood.js (155ms) (pid 1204)
327
+ Served asset /eastwood.js - 200 OK (167ms)
328
+
329
+
330
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 11:42:40 -0700 2011
331
+ Compiled eastwood.js (159ms) (pid 2277)
332
+ Served asset /eastwood.js - 200 OK (172ms)
333
+
334
+
335
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 11:42:50 -0700 2011
336
+ Compiled eastwood.js (157ms) (pid 2294)
337
+ Served asset /eastwood.js - 200 OK (169ms)
338
+
339
+
340
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 11:43:21 -0700 2011
341
+ Compiled eastwood.js (157ms) (pid 2311)
342
+ Served asset /eastwood.js - 200 OK (170ms)
343
+
344
+
345
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 11:45:22 -0700 2011
346
+ Compiled eastwood.js (157ms) (pid 2357)
347
+ Served asset /eastwood.js - 200 OK (169ms)
348
+
349
+
350
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 12:02:08 -0700 2011
351
+ Compiled eastwood.js (162ms) (pid 2614)
352
+ Served asset /eastwood.js - 200 OK (172ms)
353
+
354
+
355
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 13:31:04 -0700 2011
356
+ Compiled eastwood.js (167ms) (pid 29561)
357
+ Served asset /eastwood.js - 200 OK (177ms)
358
+
359
+
360
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 13:45:37 -0700 2011
361
+ Compiled eastwood.js (166ms) (pid 29677)
362
+ Served asset /eastwood.js - 200 OK (177ms)
363
+
364
+
365
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 15:34:15 -0700 2011
366
+ Compiled eastwood.js (167ms) (pid 29941)
367
+ Served asset /eastwood.js - 200 OK (178ms)
368
+
369
+
370
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 16:07:29 -0700 2011
371
+ Compiled eastwood.js (156ms) (pid 30503)
372
+ Served asset /eastwood.js - 200 OK (168ms)
373
+
374
+
375
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Thu Oct 27 16:07:53 -0700 2011
376
+ Compiled eastwood.js (158ms) (pid 30520)
377
+ Served asset /eastwood.js - 200 OK (170ms)
378
+
379
+
380
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Fri Oct 28 12:28:26 -0700 2011
381
+ Compiled eastwood.js (233ms) (pid 2918)
382
+ Served asset /eastwood.js - 200 OK (244ms)
383
+
384
+
385
+ Started GET "/assets/eastwood.js" for 127.0.0.1 at Mon Oct 31 16:02:52 -0700 2011
386
+ Compiled eastwood.js (216ms) (pid 2826)
387
+ Served asset /eastwood.js - 200 OK (227ms)
@@ -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,16 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>index</title>
8
+ <meta name="generator" content="TextMate http://macromates.com/">
9
+ <meta name="author" content="Jeremy Ruppel">
10
+ <!-- Date: 2011-10-27 -->
11
+ <script src="/assets/eastwood.js"></script>
12
+ </head>
13
+ <body>
14
+
15
+ </body>
16
+ </html>
@@ -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'
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class EastwoodTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Eastwood
6
+ end
7
+ end
@@ -0,0 +1,31 @@
1
+ require 'test_helper'
2
+
3
+ class HelpersContext
4
+ include Eastwood::Helpers
5
+ end
6
+
7
+ class Eastwood::HelpersTest < ActiveSupport::TestCase
8
+
9
+ setup do
10
+ @context = HelpersContext.new
11
+ end
12
+
13
+ # application_name
14
+
15
+ test "should define application_name" do
16
+ assert_respond_to @context, :application_name
17
+ end
18
+ test "should return the application name" do
19
+ assert_equal @context.application_name, 'Dummy'
20
+ end
21
+
22
+ # env
23
+
24
+ test "should define env" do
25
+ assert_respond_to @context, :env
26
+ end
27
+ test "should return the current environment" do
28
+ assert_equal @context.env, 'test'
29
+ end
30
+
31
+ end
@@ -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 }