rake_t 0.0.1

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.
Files changed (56) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +261 -0
  3. data/Rakefile +38 -0
  4. data/app/assets/stylesheets/rake_t/application.css +25 -0
  5. data/app/controllers/rake_t/application_controller.rb +4 -0
  6. data/app/controllers/rake_t/tasks_controller.rb +25 -0
  7. data/app/views/layouts/rake_t/application.html.erb +13 -0
  8. data/app/views/rake_t/tasks/index.html.erb +9 -0
  9. data/app/views/rake_t/tasks/show.html.erb +3 -0
  10. data/config/routes.rb +3 -0
  11. data/lib/rails/routes.rb +9 -0
  12. data/lib/rake_t/engine.rb +5 -0
  13. data/lib/rake_t/version.rb +3 -0
  14. data/lib/rake_t.rb +13 -0
  15. data/lib/tasks/rake_t_tasks.rake +4 -0
  16. data/test/dummy/README.rdoc +261 -0
  17. data/test/dummy/Rakefile +7 -0
  18. data/test/dummy/app/assets/javascripts/application.js +15 -0
  19. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  20. data/test/dummy/app/controllers/application_controller.rb +3 -0
  21. data/test/dummy/app/helpers/application_helper.rb +2 -0
  22. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/test/dummy/config/application.rb +59 -0
  24. data/test/dummy/config/boot.rb +10 -0
  25. data/test/dummy/config/database.yml +25 -0
  26. data/test/dummy/config/environment.rb +5 -0
  27. data/test/dummy/config/environments/development.rb +37 -0
  28. data/test/dummy/config/environments/production.rb +67 -0
  29. data/test/dummy/config/environments/test.rb +37 -0
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/test/dummy/config/initializers/inflections.rb +15 -0
  32. data/test/dummy/config/initializers/mime_types.rb +5 -0
  33. data/test/dummy/config/initializers/secret_token.rb +7 -0
  34. data/test/dummy/config/initializers/session_store.rb +8 -0
  35. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  36. data/test/dummy/config/locales/en.yml +5 -0
  37. data/test/dummy/config/routes.rb +58 -0
  38. data/test/dummy/config.ru +4 -0
  39. data/test/dummy/db/development.sqlite3 +0 -0
  40. data/test/dummy/db/test.sqlite3 +0 -0
  41. data/test/dummy/lib/tasks/test.rake +3 -0
  42. data/test/dummy/log/development.log +3921 -0
  43. data/test/dummy/log/test.log +478 -0
  44. data/test/dummy/public/404.html +26 -0
  45. data/test/dummy/public/422.html +26 -0
  46. data/test/dummy/public/500.html +25 -0
  47. data/test/dummy/public/favicon.ico +0 -0
  48. data/test/dummy/script/rails +6 -0
  49. data/test/dummy/tmp/cache/assets/C53/D80/sprockets%2F391823d923758a543a7a5bb8e5305716 +0 -0
  50. data/test/dummy/tmp/cache/assets/DD7/C30/sprockets%2F77d7b35d5ba2f246ca8b68c46beb3ef8 +0 -0
  51. data/test/dummy/tmp/cache/assets/E20/810/sprockets%2F1ad6209fbbbcacd327dabcdee3363694 +0 -0
  52. data/test/integration/rake_t_test.rb +27 -0
  53. data/test/rake_t_test.rb +7 -0
  54. data/test/support/integration_case.rb +4 -0
  55. data/test/test_helper.rb +34 -0
  56. metadata +220 -0
@@ -0,0 +1,478 @@
1
+ Connecting to database specified by database.yml
2
+  (0.3ms) begin transaction
3
+  (0.0ms) rollback transaction
4
+ Connecting to database specified by database.yml
5
+  (0.3ms) begin transaction
6
+  (0.1ms) rollback transaction
7
+  (0.1ms) begin transaction
8
+  (0.1ms) rollback transaction
9
+ Connecting to database specified by database.yml
10
+  (0.3ms) begin transaction
11
+  (0.2ms) rollback transaction
12
+  (0.2ms) begin transaction
13
+  (0.2ms) rollback transaction
14
+ Connecting to database specified by database.yml
15
+  (0.3ms) begin transaction
16
+  (0.1ms) rollback transaction
17
+  (0.1ms) begin transaction
18
+  (0.1ms) rollback transaction
19
+ Connecting to database specified by database.yml
20
+  (0.3ms) begin transaction
21
+  (0.2ms) rollback transaction
22
+  (0.2ms) begin transaction
23
+  (0.1ms) rollback transaction
24
+ Connecting to database specified by database.yml
25
+  (0.4ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.0ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+ Connecting to database specified by database.yml
30
+  (0.3ms) begin transaction
31
+  (0.0ms) rollback transaction
32
+  (0.0ms) begin transaction
33
+  (0.0ms) rollback transaction
34
+ Connecting to database specified by database.yml
35
+  (0.3ms) begin transaction
36
+  (0.1ms) rollback transaction
37
+  (0.0ms) begin transaction
38
+  (0.0ms) rollback transaction
39
+ Connecting to database specified by database.yml
40
+  (0.3ms) begin transaction
41
+  (0.2ms) rollback transaction
42
+  (0.2ms) begin transaction
43
+  (0.1ms) rollback transaction
44
+ Connecting to database specified by database.yml
45
+  (0.3ms) begin transaction
46
+  (0.0ms) rollback transaction
47
+  (0.0ms) begin transaction
48
+  (0.0ms) rollback transaction
49
+ Connecting to database specified by database.yml
50
+  (0.3ms) begin transaction
51
+  (0.2ms) rollback transaction
52
+  (0.1ms) begin transaction
53
+  (0.1ms) rollback transaction
54
+ Connecting to database specified by database.yml
55
+  (0.2ms) begin transaction
56
+ Started GET "/" for 127.0.0.1 at 2013-08-04 18:24:42 +0700
57
+  (0.3ms) rollback transaction
58
+  (0.2ms) begin transaction
59
+  (0.1ms) rollback transaction
60
+ Connecting to database specified by database.yml
61
+  (0.4ms) begin transaction
62
+  (0.2ms) rollback transaction
63
+  (0.1ms) begin transaction
64
+  (0.0ms) rollback transaction
65
+ Connecting to database specified by database.yml
66
+  (0.3ms) begin transaction
67
+ Started GET "/rails/rake_tasks/" for 127.0.0.1 at 2013-08-04 18:28:52 +0700
68
+ Processing by RakeT::TasksController#index as HTML
69
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (32.6ms)
70
+ Completed 200 OK in 457ms (Views: 188.5ms | ActiveRecord: 0.0ms)
71
+  (0.2ms) rollback transaction
72
+  (0.2ms) begin transaction
73
+  (0.1ms) rollback transaction
74
+ Connecting to database specified by database.yml
75
+  (0.3ms) begin transaction
76
+ Started GET "/rails/rake_tasks/" for 127.0.0.1 at 2013-08-04 18:34:26 +0700
77
+ Processing by RakeT::TasksController#index as HTML
78
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (32.7ms)
79
+ Completed 200 OK in 391ms (Views: 155.1ms | ActiveRecord: 0.0ms)
80
+  (0.1ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:34:26 +0700
83
+ Processing by RakeT::TasksController#index as HTML
84
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.9ms)
85
+ Completed 200 OK in 13ms (Views: 2.5ms | ActiveRecord: 0.0ms)
86
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 18:34:27 +0700
87
+ Processing by RakeT::TasksController#show as HTML
88
+ Parameters: {"name"=>"about"}
89
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.8ms)
90
+ Completed 200 OK in 214ms (Views: 34.9ms | ActiveRecord: 29.1ms)
91
+  (0.2ms) rollback transaction
92
+  (0.1ms) begin transaction
93
+  (0.1ms) rollback transaction
94
+ Connecting to database specified by database.yml
95
+  (0.3ms) begin transaction
96
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:36:23 +0700
97
+ Processing by RakeT::TasksController#index as HTML
98
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (4.7ms)
99
+ Completed 200 OK in 507ms (Views: 201.3ms | ActiveRecord: 0.0ms)
100
+  (0.1ms) rollback transaction
101
+  (0.0ms) begin transaction
102
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:36:25 +0700
103
+ Processing by RakeT::TasksController#index as HTML
104
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.8ms)
105
+ Completed 200 OK in 13ms (Views: 2.3ms | ActiveRecord: 0.0ms)
106
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 18:36:25 +0700
107
+ Processing by RakeT::TasksController#show as HTML
108
+ Parameters: {"name"=>"about"}
109
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.8ms)
110
+ Completed 200 OK in 124ms (Views: 30.2ms | ActiveRecord: 26.5ms)
111
+  (0.1ms) rollback transaction
112
+  (0.1ms) begin transaction
113
+  (0.1ms) rollback transaction
114
+ Connecting to database specified by database.yml
115
+  (0.3ms) begin transaction
116
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:36:59 +0700
117
+ Processing by RakeT::TasksController#index as HTML
118
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (4.6ms)
119
+ Completed 200 OK in 107ms (Views: 43.7ms | ActiveRecord: 0.0ms)
120
+  (0.1ms) rollback transaction
121
+  (0.1ms) begin transaction
122
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:37:00 +0700
123
+ Processing by RakeT::TasksController#index as HTML
124
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.8ms)
125
+ Completed 200 OK in 14ms (Views: 2.3ms | ActiveRecord: 0.0ms)
126
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 18:37:00 +0700
127
+ Processing by RakeT::TasksController#show as HTML
128
+ Parameters: {"name"=>"about"}
129
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.4ms)
130
+ Completed 200 OK in 43ms (Views: 1.3ms | ActiveRecord: 28.1ms)
131
+  (0.1ms) rollback transaction
132
+  (0.1ms) begin transaction
133
+  (0.1ms) rollback transaction
134
+ Connecting to database specified by database.yml
135
+  (0.3ms) begin transaction
136
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:38:07 +0700
137
+ Processing by RakeT::TasksController#index as HTML
138
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (3.9ms)
139
+ Completed 200 OK in 89ms (Views: 37.9ms | ActiveRecord: 0.0ms)
140
+  (0.1ms) rollback transaction
141
+  (0.1ms) begin transaction
142
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:38:07 +0700
143
+ Processing by RakeT::TasksController#index as HTML
144
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.8ms)
145
+ Completed 200 OK in 44ms (Views: 2.3ms | ActiveRecord: 0.0ms)
146
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 18:38:08 +0700
147
+ Processing by RakeT::TasksController#show as HTML
148
+ Parameters: {"name"=>"about"}
149
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.3ms)
150
+ Completed 200 OK in 49ms (Views: 1.2ms | ActiveRecord: 1.1ms)
151
+  (0.1ms) rollback transaction
152
+  (0.1ms) begin transaction
153
+  (0.1ms) rollback transaction
154
+ Connecting to database specified by database.yml
155
+  (0.3ms) begin transaction
156
+  (0.1ms) rollback transaction
157
+  (0.0ms) begin transaction
158
+  (0.0ms) rollback transaction
159
+  (0.0ms) begin transaction
160
+  (0.0ms) rollback transaction
161
+ Connecting to database specified by database.yml
162
+  (0.3ms) begin transaction
163
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:41:10 +0700
164
+ Processing by RakeT::TasksController#index as HTML
165
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (4.2ms)
166
+ Completed 200 OK in 86ms (Views: 36.4ms | ActiveRecord: 0.0ms)
167
+  (0.1ms) rollback transaction
168
+  (0.1ms) begin transaction
169
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:41:11 +0700
170
+ Processing by RakeT::TasksController#index as HTML
171
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.8ms)
172
+ Completed 200 OK in 39ms (Views: 2.4ms | ActiveRecord: 0.0ms)
173
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 18:41:11 +0700
174
+ Processing by RakeT::TasksController#show as HTML
175
+ Parameters: {"name"=>"about"}
176
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.3ms)
177
+ Completed 200 OK in 39ms (Views: 1.1ms | ActiveRecord: 1.1ms)
178
+  (0.1ms) rollback transaction
179
+  (0.1ms) begin transaction
180
+  (0.0ms) rollback transaction
181
+ Connecting to database specified by database.yml
182
+  (0.3ms) begin transaction
183
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:41:45 +0700
184
+ Processing by RakeT::TasksController#index as HTML
185
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (4.3ms)
186
+ Completed 200 OK in 84ms (Views: 35.7ms | ActiveRecord: 0.0ms)
187
+  (0.2ms) rollback transaction
188
+  (0.1ms) begin transaction
189
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 18:41:46 +0700
190
+ Processing by RakeT::TasksController#index as HTML
191
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (2.5ms)
192
+ Completed 200 OK in 40ms (Views: 3.1ms | ActiveRecord: 0.0ms)
193
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 18:41:46 +0700
194
+ Processing by RakeT::TasksController#show as HTML
195
+ Parameters: {"name"=>"about"}
196
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.3ms)
197
+ Completed 200 OK in 37ms (Views: 1.2ms | ActiveRecord: 1.2ms)
198
+  (0.1ms) rollback transaction
199
+  (0.1ms) begin transaction
200
+  (0.1ms) rollback transaction
201
+ Connecting to database specified by database.yml
202
+  (0.2ms) begin transaction
203
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:18:07 +0700
204
+ Processing by RakeT::TasksController#index as HTML
205
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (4.0ms)
206
+ Completed 200 OK in 88ms (Views: 36.8ms | ActiveRecord: 0.0ms)
207
+  (0.2ms) rollback transaction
208
+  (0.1ms) begin transaction
209
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:18:07 +0700
210
+ Processing by RakeT::TasksController#index as HTML
211
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.9ms)
212
+ Completed 200 OK in 37ms (Views: 2.5ms | ActiveRecord: 0.0ms)
213
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:18:07 +0700
214
+ Processing by RakeT::TasksController#show as HTML
215
+ Parameters: {"name"=>"about"}
216
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.3ms)
217
+ Completed 200 OK in 39ms (Views: 1.3ms | ActiveRecord: 26.2ms)
218
+  (0.1ms) rollback transaction
219
+  (0.1ms) begin transaction
220
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:18:07 +0700
221
+ Processing by RakeT::TasksController#show as HTML
222
+ Parameters: {"name"=>"about"}
223
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.0ms)
224
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
225
+  (0.1ms) rollback transaction
226
+  (0.1ms) begin transaction
227
+  (0.1ms) rollback transaction
228
+ Connecting to database specified by database.yml
229
+  (0.2ms) begin transaction
230
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:19:16 +0700
231
+ Processing by RakeT::TasksController#index as HTML
232
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (4.6ms)
233
+ Completed 200 OK in 93ms (Views: 40.3ms | ActiveRecord: 0.0ms)
234
+  (0.1ms) rollback transaction
235
+  (0.1ms) begin transaction
236
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:19:16 +0700
237
+ Processing by RakeT::TasksController#index as HTML
238
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (2.2ms)
239
+ Completed 200 OK in 31ms (Views: 2.9ms | ActiveRecord: 0.0ms)
240
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:19:16 +0700
241
+ Processing by RakeT::TasksController#show as HTML
242
+ Parameters: {"name"=>"about"}
243
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.4ms)
244
+ Completed 200 OK in 43ms (Views: 1.4ms | ActiveRecord: 29.1ms)
245
+  (0.1ms) rollback transaction
246
+  (0.1ms) begin transaction
247
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:19:16 +0700
248
+ Processing by RakeT::TasksController#show as HTML
249
+ Parameters: {"name"=>"about"}
250
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.1ms)
251
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
252
+  (0.1ms) rollback transaction
253
+  (0.1ms) begin transaction
254
+  (0.1ms) rollback transaction
255
+ Connecting to database specified by database.yml
256
+  (0.3ms) begin transaction
257
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:20:26 +0700
258
+ Processing by RakeT::TasksController#index as HTML
259
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (29.5ms)
260
+ Completed 200 OK in 113ms (Views: 62.8ms | ActiveRecord: 0.0ms)
261
+  (0.1ms) rollback transaction
262
+  (0.0ms) begin transaction
263
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:20:27 +0700
264
+ Processing by RakeT::TasksController#index as HTML
265
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (2.4ms)
266
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
267
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:20:27 +0700
268
+ Processing by RakeT::TasksController#show as HTML
269
+ Parameters: {"name"=>"about"}
270
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.4ms)
271
+ Completed 200 OK in 45ms (Views: 1.4ms | ActiveRecord: 1.2ms)
272
+  (0.1ms) rollback transaction
273
+  (0.1ms) begin transaction
274
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:20:27 +0700
275
+ Processing by RakeT::TasksController#show as HTML
276
+ Parameters: {"name"=>"about"}
277
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.0ms)
278
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
279
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:21:02 +0700
280
+ Processing by RakeT::TasksController#show as HTML
281
+ Parameters: {"name"=>"about"}
282
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.1ms)
283
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
284
+  (0.2ms) rollback transaction
285
+  (0.2ms) begin transaction
286
+  (0.1ms) rollback transaction
287
+ Connecting to database specified by database.yml
288
+  (0.3ms) begin transaction
289
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:22:59 +0700
290
+ Processing by RakeT::TasksController#index as HTML
291
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (32.5ms)
292
+ Completed 200 OK in 134ms (Views: 69.9ms | ActiveRecord: 0.0ms)
293
+  (0.1ms) rollback transaction
294
+  (0.1ms) begin transaction
295
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:22:59 +0700
296
+ Processing by RakeT::TasksController#index as HTML
297
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.9ms)
298
+ Completed 200 OK in 15ms (Views: 2.5ms | ActiveRecord: 0.0ms)
299
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:22:59 +0700
300
+ Processing by RakeT::TasksController#show as HTML
301
+ Parameters: {"name"=>"about"}
302
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.3ms)
303
+ Completed 200 OK in 81ms (Views: 1.3ms | ActiveRecord: 1.5ms)
304
+  (0.1ms) rollback transaction
305
+  (0.1ms) begin transaction
306
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:22:59 +0700
307
+ Processing by RakeT::TasksController#show as HTML
308
+ Parameters: {"name"=>"about"}
309
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.1ms)
310
+ Completed 200 OK in 40ms (Views: 0.8ms | ActiveRecord: 0.0ms)
311
+  (0.2ms) rollback transaction
312
+  (0.2ms) begin transaction
313
+  (0.2ms) rollback transaction
314
+ Connecting to database specified by database.yml
315
+  (0.2ms) begin transaction
316
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:25:56 +0700
317
+ Processing by RakeT::TasksController#index as HTML
318
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (29.5ms)
319
+ Completed 200 OK in 124ms (Views: 65.1ms | ActiveRecord: 0.0ms)
320
+  (0.1ms) rollback transaction
321
+  (0.1ms) begin transaction
322
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:25:56 +0700
323
+ Processing by RakeT::TasksController#index as HTML
324
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.8ms)
325
+ Completed 200 OK in 12ms (Views: 2.3ms | ActiveRecord: 0.0ms)
326
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:25:56 +0700
327
+ Processing by RakeT::TasksController#show as HTML
328
+ Parameters: {"name"=>"about"}
329
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.4ms)
330
+ Completed 200 OK in 82ms (Views: 1.3ms | ActiveRecord: 1.2ms)
331
+  (0.1ms) rollback transaction
332
+  (0.0ms) begin transaction
333
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:25:56 +0700
334
+ Processing by RakeT::TasksController#show as HTML
335
+ Parameters: {"name"=>"about"}
336
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.1ms)
337
+ Completed 200 OK in 40ms (Views: 0.7ms | ActiveRecord: 0.0ms)
338
+  (0.1ms) rollback transaction
339
+  (0.1ms) begin transaction
340
+  (0.1ms) rollback transaction
341
+ Connecting to database specified by database.yml
342
+  (0.3ms) begin transaction
343
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:31:56 +0700
344
+ Processing by RakeT::TasksController#index as HTML
345
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (35.0ms)
346
+ Completed 200 OK in 139ms (Views: 75.2ms | ActiveRecord: 0.0ms)
347
+  (0.1ms) rollback transaction
348
+  (0.1ms) begin transaction
349
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:31:56 +0700
350
+ Processing by RakeT::TasksController#index as HTML
351
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.8ms)
352
+ Completed 200 OK in 14ms (Views: 2.3ms | ActiveRecord: 0.0ms)
353
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:31:56 +0700
354
+ Processing by RakeT::TasksController#show as HTML
355
+ Parameters: {"name"=>"about"}
356
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.4ms)
357
+ Completed 200 OK in 14927ms (Views: 1.7ms | ActiveRecord: 1.1ms)
358
+  (0.2ms) rollback transaction
359
+  (0.2ms) begin transaction
360
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:32:13 +0700
361
+ Processing by RakeT::TasksController#show as HTML
362
+ Parameters: {"name"=>"about"}
363
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.1ms)
364
+ Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.0ms)
365
+  (0.2ms) rollback transaction
366
+  (0.2ms) begin transaction
367
+  (0.1ms) rollback transaction
368
+ Connecting to database specified by database.yml
369
+  (0.2ms) begin transaction
370
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:35:02 +0700
371
+ Processing by RakeT::TasksController#index as HTML
372
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (28.4ms)
373
+ Completed 200 OK in 121ms (Views: 63.4ms | ActiveRecord: 0.0ms)
374
+  (0.1ms) rollback transaction
375
+  (0.0ms) begin transaction
376
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:35:03 +0700
377
+ Processing by RakeT::TasksController#index as HTML
378
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.9ms)
379
+ Completed 200 OK in 13ms (Views: 2.6ms | ActiveRecord: 0.0ms)
380
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:35:03 +0700
381
+ Processing by RakeT::TasksController#show as HTML
382
+ Parameters: {"name"=>"about"}
383
+ Completed 500 Internal Server Error in 38ms
384
+  (0.1ms) rollback transaction
385
+  (0.1ms) begin transaction
386
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:35:05 +0700
387
+ Processing by RakeT::TasksController#show as HTML
388
+ Parameters: {"name"=>"about"}
389
+ Completed 500 Internal Server Error in 43ms
390
+  (0.1ms) rollback transaction
391
+  (0.1ms) begin transaction
392
+  (0.0ms) rollback transaction
393
+ Connecting to database specified by database.yml
394
+  (0.3ms) begin transaction
395
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:35:24 +0700
396
+ Processing by RakeT::TasksController#index as HTML
397
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (31.0ms)
398
+ Completed 200 OK in 136ms (Views: 70.1ms | ActiveRecord: 0.0ms)
399
+  (0.1ms) rollback transaction
400
+  (0.0ms) begin transaction
401
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-04 23:35:24 +0700
402
+ Processing by RakeT::TasksController#index as HTML
403
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.8ms)
404
+ Completed 200 OK in 13ms (Views: 2.3ms | ActiveRecord: 0.0ms)
405
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:35:24 +0700
406
+ Processing by RakeT::TasksController#show as HTML
407
+ Parameters: {"name"=>"about"}
408
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.3ms)
409
+ Completed 200 OK in 75ms (Views: 1.2ms | ActiveRecord: 1.1ms)
410
+  (0.1ms) rollback transaction
411
+  (0.1ms) begin transaction
412
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-04 23:35:24 +0700
413
+ Processing by RakeT::TasksController#show as HTML
414
+ Parameters: {"name"=>"about"}
415
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.1ms)
416
+ Completed 200 OK in 11ms (Views: 0.7ms | ActiveRecord: 0.0ms)
417
+  (0.1ms) rollback transaction
418
+  (0.1ms) begin transaction
419
+  (0.1ms) rollback transaction
420
+ Connecting to database specified by database.yml
421
+  (0.2ms) begin transaction
422
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-05 00:06:29 +0700
423
+ Processing by RakeT::TasksController#index as HTML
424
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (3.7ms)
425
+ Completed 200 OK in 87ms (Views: 36.1ms | ActiveRecord: 0.0ms)
426
+ Started GET "/assets/rake_t/application.css" for 127.0.0.1 at 2013-08-05 00:06:29 +0700
427
+ Compiled rake_t/application.css (0ms) (pid 4854)
428
+ Served asset /rake_t/application.css - 200 OK (6ms)
429
+  (0.1ms) rollback transaction
430
+  (0.1ms) begin transaction
431
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-05 00:06:29 +0700
432
+ Processing by RakeT::TasksController#index as HTML
433
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.7ms)
434
+ Completed 200 OK in 42ms (Views: 2.6ms | ActiveRecord: 0.0ms)
435
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-05 00:06:29 +0700
436
+ Processing by RakeT::TasksController#show as HTML
437
+ Parameters: {"name"=>"about"}
438
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.3ms)
439
+ Completed 200 OK in 72ms (Views: 1.5ms | ActiveRecord: 26.3ms)
440
+  (0.1ms) rollback transaction
441
+  (0.1ms) begin transaction
442
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-05 00:06:30 +0700
443
+ Processing by RakeT::TasksController#show as HTML
444
+ Parameters: {"name"=>"about"}
445
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.1ms)
446
+ Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.0ms)
447
+  (0.1ms) rollback transaction
448
+  (0.1ms) begin transaction
449
+  (0.1ms) rollback transaction
450
+ Connecting to database specified by database.yml
451
+  (0.3ms) begin transaction
452
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-05 00:13:01 +0700
453
+ Processing by RakeT::TasksController#index as HTML
454
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (3.9ms)
455
+ Completed 200 OK in 74ms (Views: 30.9ms | ActiveRecord: 0.0ms)
456
+ Started GET "/assets/rake_t/application.css" for 127.0.0.1 at 2013-08-05 00:13:02 +0700
457
+ Served asset /rake_t/application.css - 200 OK (2ms)
458
+  (0.1ms) rollback transaction
459
+  (0.1ms) begin transaction
460
+ Started GET "/rails/rake_tasks" for 127.0.0.1 at 2013-08-05 00:13:02 +0700
461
+ Processing by RakeT::TasksController#index as HTML
462
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/index.html.erb within layouts/rake_t/application (1.9ms)
463
+ Completed 200 OK in 33ms (Views: 2.8ms | ActiveRecord: 0.0ms)
464
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-05 00:13:02 +0700
465
+ Processing by RakeT::TasksController#show as HTML
466
+ Parameters: {"name"=>"about"}
467
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.3ms)
468
+ Completed 200 OK in 40ms (Views: 1.5ms | ActiveRecord: 1.1ms)
469
+  (0.1ms) rollback transaction
470
+  (0.1ms) begin transaction
471
+ Started GET "/rails/rake_tasks/about" for 127.0.0.1 at 2013-08-05 00:13:02 +0700
472
+ Processing by RakeT::TasksController#show as HTML
473
+ Parameters: {"name"=>"about"}
474
+ Rendered /home/sieuquaydh/code/rake_t/app/views/rake_t/tasks/show.html.erb within layouts/rake_t/application (0.1ms)
475
+ Completed 200 OK in 31ms (Views: 0.9ms | ActiveRecord: 0.0ms)
476
+  (0.1ms) rollback transaction
477
+  (0.1ms) begin transaction
478
+  (0.1ms) rollback transaction
@@ -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,25 @@
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
+ </div>
24
+ </body>
25
+ </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'
@@ -0,0 +1,27 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActiveSupport::IntegrationCase
4
+ setup do
5
+ Capybara.current_driver = Capybara.javascript_driver
6
+ end
7
+
8
+ test 'default index' do
9
+ visit '/rails/rake_tasks'
10
+
11
+ assert has_content?('Rake tasks')
12
+ assert has_content?('rake_t_test')
13
+ end
14
+
15
+ test 'show' do
16
+ visit '/rails/rake_tasks'
17
+
18
+ click_link 'about'
19
+ assert has_content?('Ruby version')
20
+ end
21
+
22
+ test 'show without redirect from index' do
23
+ visit '/rails/rake_tasks/about'
24
+
25
+ assert has_content?('Ruby version')
26
+ end
27
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class RakeTTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, RakeT
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ class ActiveSupport::IntegrationCase < ActiveSupport::TestCase
2
+ include Capybara::DSL
3
+ include Rails.application.routes.url_helpers
4
+ end
@@ -0,0 +1,34 @@
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
+ # Configure capybara
10
+ require "capybara/rails"
11
+ require "capybara/poltergeist"
12
+
13
+ #Capybara.register_driver :chrome do |app|
14
+ #Capybara::Selenium::Driver.new(app, browser: :chrome)
15
+ #end
16
+ Capybara.register_driver :poltergeist_debug do |app|
17
+ Capybara::Poltergeist::Driver.new(app, inspector: true)
18
+ end
19
+
20
+ #Capybara.javascript_driver = :chrome
21
+ Capybara.javascript_driver = :poltergeist_debug
22
+ Capybara.default_selector = :css
23
+
24
+
25
+ # Load support files
26
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
27
+
28
+ # Load fixtures from the engine
29
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
30
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
31
+ end
32
+
33
+ #Load support files
34
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f }