bootstrap_helper 2.1.2 → 2.1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/.rspec +1 -0
  2. data/CHANGELOG +1 -0
  3. data/Gemfile +4 -0
  4. data/bootstrap_helper.gemspec +3 -0
  5. data/config/initializers/simple_form.rb +142 -140
  6. data/lib/bootstrap_helper.rb +2 -0
  7. data/lib/bootstrap_helper/engine.rb +1 -0
  8. data/lib/bootstrap_helper/helper.rb +1 -1
  9. data/lib/bootstrap_helper/version.rb +1 -1
  10. data/spec/dummy/.rspec +1 -0
  11. data/spec/dummy/README.rdoc +261 -0
  12. data/spec/dummy/Rakefile +7 -0
  13. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  14. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  15. data/spec/dummy/app/controllers/application_controller.rb +6 -0
  16. data/spec/dummy/app/controllers/welcome_controller.rb +6 -0
  17. data/spec/dummy/app/helpers/application_helper.rb +3 -0
  18. data/spec/dummy/app/mailers/.gitkeep +0 -0
  19. data/spec/dummy/app/models/.gitkeep +0 -0
  20. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  21. data/spec/dummy/app/views/welcome/index.html.erb +0 -0
  22. data/spec/dummy/config.ru +4 -0
  23. data/spec/dummy/config/application.rb +65 -0
  24. data/spec/dummy/config/boot.rb +10 -0
  25. data/spec/dummy/config/database.yml +25 -0
  26. data/spec/dummy/config/environment.rb +5 -0
  27. data/spec/dummy/config/environments/development.rb +37 -0
  28. data/spec/dummy/config/environments/production.rb +67 -0
  29. data/spec/dummy/config/environments/test.rb +37 -0
  30. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/spec/dummy/config/initializers/inflections.rb +15 -0
  32. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  33. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  34. data/spec/dummy/config/initializers/session_store.rb +8 -0
  35. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  36. data/spec/dummy/config/locales/en.yml +5 -0
  37. data/spec/dummy/config/routes.rb +59 -0
  38. data/spec/dummy/db/test.sqlite3 +0 -0
  39. data/spec/dummy/lib/assets/.gitkeep +0 -0
  40. data/spec/dummy/log/.gitkeep +0 -0
  41. data/spec/dummy/log/development.log +0 -0
  42. data/spec/dummy/log/test.log +415 -0
  43. data/spec/dummy/public/404.html +26 -0
  44. data/spec/dummy/public/422.html +26 -0
  45. data/spec/dummy/public/500.html +25 -0
  46. data/spec/dummy/public/favicon.ico +0 -0
  47. data/spec/dummy/script/rails +6 -0
  48. data/spec/helpers/application_helper_spec.rb +110 -0
  49. data/spec/integration/view_homepage_spec.rb +15 -0
  50. data/spec/spec_helper.rb +44 -0
  51. metadata +132 -8
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,415 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+ Connecting to database specified by database.yml
6
+ Connecting to database specified by database.yml
7
+  (0.3ms) begin transaction
8
+  (0.0ms) rollback transaction
9
+  (0.1ms) begin transaction
10
+  (0.0ms) rollback transaction
11
+  (0.1ms) begin transaction
12
+  (0.0ms) rollback transaction
13
+  (0.1ms) begin transaction
14
+  (0.0ms) rollback transaction
15
+  (0.1ms) begin transaction
16
+  (0.0ms) rollback transaction
17
+  (0.1ms) begin transaction
18
+  (0.1ms) rollback transaction
19
+  (0.1ms) begin transaction
20
+  (0.1ms) rollback transaction
21
+  (0.1ms) begin transaction
22
+  (0.1ms) rollback transaction
23
+  (0.1ms) begin transaction
24
+  (0.1ms) rollback transaction
25
+  (0.1ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.1ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+  (0.1ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.1ms) begin transaction
32
+  (0.1ms) rollback transaction
33
+  (0.1ms) begin transaction
34
+  (0.0ms) rollback transaction
35
+ Connecting to database specified by database.yml
36
+  (0.3ms) begin transaction
37
+  (0.0ms) rollback transaction
38
+  (0.1ms) begin transaction
39
+  (0.0ms) rollback transaction
40
+  (0.1ms) begin transaction
41
+  (0.0ms) rollback transaction
42
+  (0.0ms) begin transaction
43
+  (0.0ms) rollback transaction
44
+  (0.1ms) begin transaction
45
+  (0.0ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+  (0.1ms) rollback transaction
48
+  (0.1ms) begin transaction
49
+  (0.0ms) rollback transaction
50
+  (0.1ms) begin transaction
51
+  (0.1ms) rollback transaction
52
+  (0.1ms) begin transaction
53
+  (0.0ms) rollback transaction
54
+  (0.0ms) begin transaction
55
+  (0.0ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+  (0.0ms) rollback transaction
58
+  (0.1ms) begin transaction
59
+  (0.1ms) rollback transaction
60
+  (0.0ms) begin transaction
61
+  (0.0ms) rollback transaction
62
+  (0.0ms) begin transaction
63
+  (0.0ms) rollback transaction
64
+ Connecting to database specified by database.yml
65
+ Connecting to database specified by database.yml
66
+  (0.3ms) begin transaction
67
+  (0.0ms) rollback transaction
68
+  (0.1ms) begin transaction
69
+  (0.0ms) rollback transaction
70
+  (0.1ms) begin transaction
71
+  (0.0ms) rollback transaction
72
+  (0.1ms) begin transaction
73
+  (0.0ms) rollback transaction
74
+  (0.1ms) begin transaction
75
+  (0.0ms) rollback transaction
76
+  (0.1ms) begin transaction
77
+  (0.1ms) rollback transaction
78
+  (0.1ms) begin transaction
79
+  (0.1ms) rollback transaction
80
+  (0.1ms) begin transaction
81
+  (0.0ms) rollback transaction
82
+  (0.1ms) begin transaction
83
+  (0.0ms) rollback transaction
84
+  (0.1ms) begin transaction
85
+  (0.0ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+  (0.1ms) rollback transaction
88
+  (0.1ms) begin transaction
89
+  (0.1ms) rollback transaction
90
+ Connecting to database specified by database.yml
91
+  (0.3ms) begin transaction
92
+  (0.0ms) rollback transaction
93
+  (0.1ms) begin transaction
94
+  (0.0ms) rollback transaction
95
+  (0.1ms) begin transaction
96
+  (0.0ms) rollback transaction
97
+  (0.1ms) begin transaction
98
+  (0.0ms) rollback transaction
99
+  (0.1ms) begin transaction
100
+  (0.0ms) rollback transaction
101
+  (0.1ms) begin transaction
102
+  (0.1ms) rollback transaction
103
+  (0.1ms) begin transaction
104
+  (0.0ms) rollback transaction
105
+  (0.0ms) begin transaction
106
+  (0.0ms) rollback transaction
107
+  (0.1ms) begin transaction
108
+  (0.0ms) rollback transaction
109
+  (0.0ms) begin transaction
110
+  (0.0ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+  (0.1ms) rollback transaction
113
+  (0.1ms) begin transaction
114
+  (0.0ms) rollback transaction
115
+ Connecting to database specified by database.yml
116
+  (0.3ms) begin transaction
117
+  (0.0ms) rollback transaction
118
+  (0.1ms) begin transaction
119
+  (0.0ms) rollback transaction
120
+  (0.0ms) begin transaction
121
+  (0.0ms) rollback transaction
122
+  (0.1ms) begin transaction
123
+  (0.0ms) rollback transaction
124
+  (0.1ms) begin transaction
125
+  (0.0ms) rollback transaction
126
+  (0.0ms) begin transaction
127
+  (0.1ms) rollback transaction
128
+  (0.1ms) begin transaction
129
+  (0.0ms) rollback transaction
130
+  (0.1ms) begin transaction
131
+  (0.0ms) rollback transaction
132
+  (0.1ms) begin transaction
133
+  (0.0ms) rollback transaction
134
+  (0.1ms) begin transaction
135
+  (0.0ms) rollback transaction
136
+  (0.1ms) begin transaction
137
+  (0.0ms) rollback transaction
138
+  (0.1ms) begin transaction
139
+  (0.0ms) rollback transaction
140
+ Connecting to database specified by database.yml
141
+  (0.3ms) begin transaction
142
+  (0.0ms) rollback transaction
143
+  (0.1ms) begin transaction
144
+  (0.0ms) rollback transaction
145
+  (0.0ms) begin transaction
146
+  (0.0ms) rollback transaction
147
+  (0.1ms) begin transaction
148
+  (0.0ms) rollback transaction
149
+  (0.1ms) begin transaction
150
+  (0.0ms) rollback transaction
151
+  (0.1ms) begin transaction
152
+  (0.1ms) rollback transaction
153
+  (0.1ms) begin transaction
154
+  (0.1ms) rollback transaction
155
+  (0.1ms) begin transaction
156
+  (0.0ms) rollback transaction
157
+  (0.1ms) begin transaction
158
+  (0.0ms) rollback transaction
159
+  (0.1ms) begin transaction
160
+  (0.1ms) rollback transaction
161
+  (0.1ms) begin transaction
162
+  (0.1ms) rollback transaction
163
+  (0.1ms) begin transaction
164
+  (0.1ms) rollback transaction
165
+ Connecting to database specified by database.yml
166
+  (0.3ms) begin transaction
167
+  (0.1ms) rollback transaction
168
+  (0.1ms) begin transaction
169
+  (0.0ms) rollback transaction
170
+  (0.1ms) begin transaction
171
+  (0.0ms) rollback transaction
172
+  (0.1ms) begin transaction
173
+  (0.0ms) rollback transaction
174
+  (0.1ms) begin transaction
175
+  (0.0ms) rollback transaction
176
+  (0.0ms) begin transaction
177
+  (0.1ms) rollback transaction
178
+  (0.1ms) begin transaction
179
+  (0.1ms) rollback transaction
180
+  (0.1ms) begin transaction
181
+  (0.0ms) rollback transaction
182
+  (0.1ms) begin transaction
183
+  (0.0ms) rollback transaction
184
+  (0.1ms) begin transaction
185
+  (0.0ms) rollback transaction
186
+  (0.1ms) begin transaction
187
+  (0.1ms) rollback transaction
188
+  (0.1ms) begin transaction
189
+  (0.1ms) rollback transaction
190
+ Connecting to database specified by database.yml
191
+  (0.3ms) begin transaction
192
+  (0.1ms) rollback transaction
193
+ Connecting to database specified by database.yml
194
+  (0.3ms) begin transaction
195
+  (0.0ms) rollback transaction
196
+ Connecting to database specified by database.yml
197
+  (0.3ms) begin transaction
198
+ Processing by WelcomeController#index as HTML
199
+ Rendered welcome/index.html.erb within layouts/application (7.1ms)
200
+ Completed 200 OK in 61ms (Views: 60.9ms | ActiveRecord: 0.0ms)
201
+  (0.1ms) rollback transaction
202
+ Connecting to database specified by database.yml
203
+  (0.3ms) begin transaction
204
+ Processing by WelcomeController#index as HTML
205
+ Rendered welcome/index.html.erb within layouts/application (38.3ms)
206
+ Completed 200 OK in 54ms (Views: 53.5ms | ActiveRecord: 0.0ms)
207
+  (0.1ms) rollback transaction
208
+ Connecting to database specified by database.yml
209
+  (0.3ms) begin transaction
210
+  (0.1ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+  (0.0ms) rollback transaction
213
+ Connecting to database specified by database.yml
214
+  (0.3ms) begin transaction
215
+  (0.1ms) rollback transaction
216
+  (0.1ms) begin transaction
217
+  (0.0ms) rollback transaction
218
+  (0.1ms) begin transaction
219
+  (0.1ms) rollback transaction
220
+  (0.1ms) begin transaction
221
+  (0.1ms) rollback transaction
222
+  (0.1ms) begin transaction
223
+  (0.0ms) rollback transaction
224
+  (0.1ms) begin transaction
225
+  (0.1ms) rollback transaction
226
+  (0.1ms) begin transaction
227
+  (0.0ms) rollback transaction
228
+  (0.0ms) begin transaction
229
+  (0.1ms) rollback transaction
230
+  (0.1ms) begin transaction
231
+  (0.1ms) rollback transaction
232
+  (0.1ms) begin transaction
233
+  (0.1ms) rollback transaction
234
+  (0.1ms) begin transaction
235
+  (0.1ms) rollback transaction
236
+  (0.1ms) begin transaction
237
+  (0.1ms) rollback transaction
238
+ Connecting to database specified by database.yml
239
+  (0.3ms) begin transaction
240
+ Processing by WelcomeController#index as HTML
241
+ Rendered welcome/index.html.erb within layouts/application (37.5ms)
242
+ Completed 200 OK in 53ms (Views: 52.9ms | ActiveRecord: 0.0ms)
243
+  (0.1ms) rollback transaction
244
+ Connecting to database specified by database.yml
245
+  (0.3ms) begin transaction
246
+  (0.1ms) rollback transaction
247
+  (0.0ms) begin transaction
248
+ Processing by WelcomeController#index as HTML
249
+ Completed 200 OK in 53ms (Views: 52.1ms | ActiveRecord: 0.0ms)
250
+  (0.1ms) rollback transaction
251
+ Connecting to database specified by database.yml
252
+  (0.3ms) begin transaction
253
+  (0.0ms) rollback transaction
254
+  (0.1ms) begin transaction
255
+ Processing by WelcomeController#index as HTML
256
+ Completed 200 OK in 56ms (Views: 55.5ms | ActiveRecord: 0.0ms)
257
+  (0.1ms) rollback transaction
258
+ Connecting to database specified by database.yml
259
+  (0.3ms) begin transaction
260
+  (0.0ms) rollback transaction
261
+  (0.1ms) begin transaction
262
+ Processing by WelcomeController#index as HTML
263
+ Completed 200 OK in 54ms (Views: 53.2ms | ActiveRecord: 0.0ms)
264
+  (0.1ms) rollback transaction
265
+ Connecting to database specified by database.yml
266
+  (0.3ms) begin transaction
267
+  (0.1ms) rollback transaction
268
+  (0.1ms) begin transaction
269
+ Processing by WelcomeController#index as HTML
270
+ Completed 200 OK in 53ms (Views: 52.6ms | ActiveRecord: 0.0ms)
271
+  (0.1ms) rollback transaction
272
+ Connecting to database specified by database.yml
273
+  (0.3ms) begin transaction
274
+  (0.0ms) rollback transaction
275
+  (0.1ms) begin transaction
276
+ Processing by WelcomeController#index as HTML
277
+ Completed 200 OK in 53ms (Views: 52.4ms | ActiveRecord: 0.0ms)
278
+  (0.1ms) rollback transaction
279
+ Connecting to database specified by database.yml
280
+  (0.3ms) begin transaction
281
+  (0.0ms) rollback transaction
282
+  (0.1ms) begin transaction
283
+ Processing by WelcomeController#index as HTML
284
+ Completed 200 OK in 53ms (Views: 52.3ms | ActiveRecord: 0.0ms)
285
+  (0.1ms) rollback transaction
286
+ Connecting to database specified by database.yml
287
+  (0.3ms) begin transaction
288
+  (0.0ms) rollback transaction
289
+  (0.1ms) begin transaction
290
+ Processing by WelcomeController#index as HTML
291
+ Completed 200 OK in 54ms (Views: 53.1ms | ActiveRecord: 0.0ms)
292
+  (0.1ms) rollback transaction
293
+ Connecting to database specified by database.yml
294
+  (0.3ms) begin transaction
295
+  (0.0ms) rollback transaction
296
+  (0.1ms) begin transaction
297
+ Processing by WelcomeController#index as HTML
298
+ Completed 200 OK in 53ms (Views: 52.6ms | ActiveRecord: 0.0ms)
299
+  (0.1ms) rollback transaction
300
+ Connecting to database specified by database.yml
301
+  (0.3ms) begin transaction
302
+  (0.1ms) rollback transaction
303
+  (0.1ms) begin transaction
304
+ Processing by WelcomeController#index as HTML
305
+ Completed 200 OK in 57ms (Views: 56.1ms | ActiveRecord: 0.0ms)
306
+  (0.1ms) rollback transaction
307
+ Connecting to database specified by database.yml
308
+  (0.3ms) begin transaction
309
+  (0.0ms) rollback transaction
310
+  (0.1ms) begin transaction
311
+ Processing by WelcomeController#index as HTML
312
+ Completed 200 OK in 54ms (Views: 53.7ms | ActiveRecord: 0.0ms)
313
+  (0.1ms) rollback transaction
314
+ Connecting to database specified by database.yml
315
+  (0.3ms) begin transaction
316
+  (0.1ms) rollback transaction
317
+  (0.1ms) begin transaction
318
+ Processing by WelcomeController#index as HTML
319
+ Completed 200 OK in 53ms (Views: 52.4ms | ActiveRecord: 0.0ms)
320
+  (0.1ms) rollback transaction
321
+ Connecting to database specified by database.yml
322
+ Connecting to database specified by database.yml
323
+  (0.3ms) begin transaction
324
+
325
+
326
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:06:48 +0800
327
+ Processing by WelcomeController#index as HTML
328
+ Rendered welcome/index.html.erb within layouts/application (3.1ms)
329
+ Completed 200 OK in 67ms (Views: 66.6ms | ActiveRecord: 0.0ms)
330
+  (0.1ms) rollback transaction
331
+ Connecting to database specified by database.yml
332
+  (0.3ms) begin transaction
333
+  (0.0ms) rollback transaction
334
+ Connecting to database specified by database.yml
335
+  (0.3ms) begin transaction
336
+
337
+
338
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:08:13 +0800
339
+ Processing by WelcomeController#index as HTML
340
+ Rendered welcome/index.html.erb within layouts/application (3.0ms)
341
+ Completed 200 OK in 63ms (Views: 62.7ms | ActiveRecord: 0.0ms)
342
+  (0.1ms) rollback transaction
343
+ Connecting to database specified by database.yml
344
+  (0.3ms) begin transaction
345
+
346
+
347
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:08:32 +0800
348
+ Processing by WelcomeController#index as HTML
349
+ Rendered welcome/index.html.erb within layouts/application (3.2ms)
350
+ Completed 200 OK in 64ms (Views: 63.2ms | ActiveRecord: 0.0ms)
351
+  (0.1ms) rollback transaction
352
+ Connecting to database specified by database.yml
353
+  (0.3ms) begin transaction
354
+
355
+
356
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:09:02 +0800
357
+ Processing by WelcomeController#index as HTML
358
+ Rendered welcome/index.html.erb within layouts/application (3.1ms)
359
+ Completed 200 OK in 66ms (Views: 65.0ms | ActiveRecord: 0.0ms)
360
+  (0.1ms) rollback transaction
361
+ Connecting to database specified by database.yml
362
+  (0.3ms) begin transaction
363
+
364
+
365
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:09:57 +0800
366
+ Processing by WelcomeController#index as HTML
367
+ Rendered welcome/index.html.erb within layouts/application (3.1ms)
368
+ Completed 200 OK in 64ms (Views: 63.7ms | ActiveRecord: 0.0ms)
369
+  (0.1ms) rollback transaction
370
+ Connecting to database specified by database.yml
371
+  (0.3ms) begin transaction
372
+
373
+
374
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:10:52 +0800
375
+ Processing by WelcomeController#index as HTML
376
+ Rendered welcome/index.html.erb within layouts/application (3.1ms)
377
+ Completed 200 OK in 74ms (Views: 73.7ms | ActiveRecord: 0.0ms)
378
+  (0.1ms) rollback transaction
379
+ Connecting to database specified by database.yml
380
+  (0.3ms) begin transaction
381
+
382
+
383
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:14:50 +0800
384
+ Processing by WelcomeController#index as HTML
385
+ Rendered welcome/index.html.erb within layouts/application (3.7ms)
386
+ Completed 200 OK in 67ms (Views: 66.1ms | ActiveRecord: 0.0ms)
387
+  (0.1ms) rollback transaction
388
+ Connecting to database specified by database.yml
389
+  (0.3ms) begin transaction
390
+
391
+
392
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:15:19 +0800
393
+ Processing by WelcomeController#index as HTML
394
+ Rendered welcome/index.html.erb within layouts/application (3.2ms)
395
+ Completed 200 OK in 67ms (Views: 66.9ms | ActiveRecord: 0.0ms)
396
+  (0.1ms) rollback transaction
397
+ Connecting to database specified by database.yml
398
+  (0.3ms) begin transaction
399
+
400
+
401
+ Started GET "/" for 127.0.0.1 at 2012-10-14 01:15:45 +0800
402
+ Processing by WelcomeController#index as HTML
403
+ Rendered welcome/index.html.erb within layouts/application (3.1ms)
404
+ Completed 200 OK in 65ms (Views: 64.4ms | ActiveRecord: 0.0ms)
405
+  (0.1ms) rollback transaction
406
+ Connecting to database specified by database.yml
407
+ Connecting to database specified by database.yml
408
+ Connecting to database specified by database.yml
409
+ Connecting to database specified by database.yml
410
+  (0.3ms) begin transaction
411
+  (0.1ms) rollback transaction
412
+  (0.1ms) begin transaction
413
+ Processing by WelcomeController#index as HTML
414
+ Completed 200 OK in 34ms (Views: 33.9ms | ActiveRecord: 0.0ms)
415
+  (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>