outdatedbrowser_rails 1.0.2.0

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 (74) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +85 -0
  4. data/Rakefile +63 -0
  5. data/app/assets/javascripts/outdatedbrowser/outdatedBrowser.js +141 -0
  6. data/app/assets/javascripts/outdatedbrowser/require_outdatedbrowser.js +21 -0
  7. data/app/assets/stylesheets/outdatedbrowser/outdatedBrowser.css +25 -0
  8. data/app/assets/stylesheets/outdatedbrowser_rails/application.css +13 -0
  9. data/app/views/layouts/outdatedbrowser_rails/application.html.erb +14 -0
  10. data/app/views/outdatedbrowser/_outdatedbrowser.html.erb +14 -0
  11. data/config/locales/en.yml +5 -0
  12. data/config/routes.rb +2 -0
  13. data/lib/outdatedbrowser_rails/engine.rb +5 -0
  14. data/lib/outdatedbrowser_rails/version.rb +3 -0
  15. data/lib/outdatedbrowser_rails.rb +4 -0
  16. data/lib/tasks/outdatedbrowser_rails_tasks.rake +4 -0
  17. data/spec/dummy/README.rdoc +261 -0
  18. data/spec/dummy/Rakefile +7 -0
  19. data/spec/dummy/app/assets/javascripts/application.js +16 -0
  20. data/spec/dummy/app/assets/stylesheets/application.css +14 -0
  21. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  22. data/spec/dummy/app/controllers/dummy_controller.rb +4 -0
  23. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  24. data/spec/dummy/app/views/dummy/index.html.erb +3 -0
  25. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  26. data/spec/dummy/config/application.rb +65 -0
  27. data/spec/dummy/config/boot.rb +10 -0
  28. data/spec/dummy/config/database.yml +25 -0
  29. data/spec/dummy/config/environment.rb +5 -0
  30. data/spec/dummy/config/environments/development.rb +37 -0
  31. data/spec/dummy/config/environments/production.rb +67 -0
  32. data/spec/dummy/config/environments/test.rb +37 -0
  33. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  34. data/spec/dummy/config/initializers/inflections.rb +15 -0
  35. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  36. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  37. data/spec/dummy/config/initializers/session_store.rb +8 -0
  38. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  39. data/spec/dummy/config/locales/en.yml +5 -0
  40. data/spec/dummy/config/routes.rb +3 -0
  41. data/spec/dummy/config.ru +4 -0
  42. data/spec/dummy/db/development.sqlite3 +0 -0
  43. data/spec/dummy/db/test.sqlite3 +0 -0
  44. data/spec/dummy/log/development.log +584 -0
  45. data/spec/dummy/log/test.log +305 -0
  46. data/spec/dummy/public/404.html +26 -0
  47. data/spec/dummy/public/422.html +26 -0
  48. data/spec/dummy/public/500.html +25 -0
  49. data/spec/dummy/public/favicon.ico +0 -0
  50. data/spec/dummy/script/rails +6 -0
  51. data/spec/dummy/tmp/cache/assets/C27/370/sprockets%2F04e4c95438f7072ab694153214746f74 +0 -0
  52. data/spec/dummy/tmp/cache/assets/C87/AA0/sprockets%2Fcf432698f09f51e19134ba8c17745253 +0 -0
  53. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  54. data/spec/dummy/tmp/cache/assets/CED/EF0/sprockets%2F9b4914459dfa241685c0c958356afdb6 +0 -0
  55. data/spec/dummy/tmp/cache/assets/D0A/4E0/sprockets%2F5074c6afc1bd9e231b663c0690577da5 +0 -0
  56. data/spec/dummy/tmp/cache/assets/D0C/EF0/sprockets%2F0601770e556abcc0ad74f542f2ed9963 +0 -0
  57. data/spec/dummy/tmp/cache/assets/D1A/140/sprockets%2F5700ff9d76f7204a03bf74e546f8a76b +0 -0
  58. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  59. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  60. data/spec/dummy/tmp/cache/assets/D51/770/sprockets%2F60908e881ddca08f757df7c335cc539e +0 -0
  61. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  62. data/spec/dummy/tmp/cache/assets/D5B/260/sprockets%2F3d8ca1585ee95c5efb388645d66cf377 +0 -0
  63. data/spec/dummy/tmp/cache/assets/D6C/FA0/sprockets%2Fb65717c2ea586a33367c3bf6ecdf141c +0 -0
  64. data/spec/dummy/tmp/cache/assets/D6E/400/sprockets%2Fe6412cb74f03a5dc2e495863d7ba82ec +0 -0
  65. data/spec/dummy/tmp/cache/assets/D77/A80/sprockets%2Fe22d705d0c889ec4837f183a9beec0f3 +0 -0
  66. data/spec/dummy/tmp/cache/assets/D89/AE0/sprockets%2Fdf3a3ca074e4fdfbc034304a2519e3c4 +0 -0
  67. data/spec/dummy/tmp/cache/assets/DA9/8D0/sprockets%2F9628521d9c47e12f8fd15fedd34ccbf3 +0 -0
  68. data/spec/dummy/tmp/cache/assets/DCE/840/sprockets%2F1dbccd35bf63a8eed444fa7e0274c846 +0 -0
  69. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  70. data/spec/dummy/tmp/cache/assets/E04/320/sprockets%2Fa9ee9a4f24c3be57552effdc5cc234e4 +0 -0
  71. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  72. data/spec/features/asset_integration_spec.rb +23 -0
  73. data/spec/spec_helper.rb +20 -0
  74. metadata +235 -0
@@ -0,0 +1,305 @@
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
+ Connecting to database specified by database.yml
8
+  (0.2ms) begin transaction
9
+  (0.0ms) rollback transaction
10
+ Connecting to database specified by database.yml
11
+  (0.1ms) begin transaction
12
+  (0.0ms) rollback transaction
13
+ Connecting to database specified by database.yml
14
+  (0.1ms) begin transaction
15
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:48:09 +0100
16
+ Compiled outdatedbrowser/outdatedBrowser.js (0ms) (pid 30710)
17
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (6ms)
18
+  (0.1ms) rollback transaction
19
+ Connecting to database specified by database.yml
20
+  (0.1ms) begin transaction
21
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:49:13 +0100
22
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (6ms)
23
+  (0.1ms) rollback transaction
24
+ Connecting to database specified by database.yml
25
+  (0.1ms) begin transaction
26
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:49:30 +0100
27
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
28
+  (0.0ms) rollback transaction
29
+ Connecting to database specified by database.yml
30
+  (0.2ms) begin transaction
31
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:49:48 +0100
32
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
33
+  (0.0ms) rollback transaction
34
+ Connecting to database specified by database.yml
35
+  (0.2ms) begin transaction
36
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:50:00 +0100
37
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
38
+  (0.0ms) rollback transaction
39
+ Connecting to database specified by database.yml
40
+  (0.1ms) begin transaction
41
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:50:08 +0100
42
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
43
+  (0.0ms) rollback transaction
44
+ Connecting to database specified by database.yml
45
+  (0.2ms) begin transaction
46
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:50:44 +0100
47
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
48
+  (0.0ms) rollback transaction
49
+ Connecting to database specified by database.yml
50
+  (0.1ms) begin transaction
51
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:51:24 +0100
52
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
53
+  (0.1ms) rollback transaction
54
+  (0.0ms) begin transaction
55
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:51:24 +0100
56
+ Compiled outdatedbrowser/outdatedBrowser.css (0ms) (pid 31244)
57
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (5ms)
58
+  (0.0ms) rollback transaction
59
+ Connecting to database specified by database.yml
60
+  (0.1ms) begin transaction
61
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:52:09 +0100
62
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (3ms)
63
+  (0.0ms) rollback transaction
64
+  (0.0ms) begin transaction
65
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:52:09 +0100
66
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
67
+  (0.0ms) rollback transaction
68
+ Connecting to database specified by database.yml
69
+  (0.1ms) begin transaction
70
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:52:27 +0100
71
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (3ms)
72
+  (0.0ms) rollback transaction
73
+  (0.0ms) begin transaction
74
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:52:27 +0100
75
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
76
+  (0.0ms) rollback transaction
77
+ Connecting to database specified by database.yml
78
+  (0.1ms) begin transaction
79
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:52:40 +0100
80
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (3ms)
81
+  (0.0ms) rollback transaction
82
+  (0.0ms) begin transaction
83
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:52:40 +0100
84
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
85
+  (0.0ms) rollback transaction
86
+ Connecting to database specified by database.yml
87
+  (0.2ms) begin transaction
88
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:53:40 +0100
89
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (3ms)
90
+  (0.0ms) rollback transaction
91
+  (0.0ms) begin transaction
92
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:53:40 +0100
93
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
94
+  (0.0ms) rollback transaction
95
+ Connecting to database specified by database.yml
96
+  (0.1ms) begin transaction
97
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:53:58 +0100
98
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
99
+  (0.0ms) rollback transaction
100
+  (0.0ms) begin transaction
101
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:53:58 +0100
102
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
103
+  (0.0ms) rollback transaction
104
+ Connecting to database specified by database.yml
105
+  (0.1ms) begin transaction
106
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:55:40 +0100
107
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
108
+  (0.0ms) rollback transaction
109
+  (0.0ms) begin transaction
110
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:55:40 +0100
111
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
112
+  (0.0ms) rollback transaction
113
+ Connecting to database specified by database.yml
114
+  (0.1ms) begin transaction
115
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:55:50 +0100
116
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (3ms)
117
+  (0.0ms) rollback transaction
118
+  (0.3ms) begin transaction
119
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:55:50 +0100
120
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
121
+  (0.0ms) rollback transaction
122
+ Connecting to database specified by database.yml
123
+  (0.2ms) begin transaction
124
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:56:04 +0100
125
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
126
+  (0.0ms) rollback transaction
127
+  (0.1ms) begin transaction
128
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:56:04 +0100
129
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
130
+  (0.0ms) rollback transaction
131
+ Connecting to database specified by database.yml
132
+  (0.2ms) begin transaction
133
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:56:14 +0100
134
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
135
+  (0.0ms) rollback transaction
136
+  (0.0ms) begin transaction
137
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:56:14 +0100
138
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
139
+  (0.0ms) rollback transaction
140
+ Connecting to database specified by database.yml
141
+  (0.1ms) begin transaction
142
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:57:19 +0100
143
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
144
+  (0.0ms) rollback transaction
145
+  (0.0ms) begin transaction
146
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:57:19 +0100
147
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
148
+  (0.0ms) rollback transaction
149
+ Connecting to database specified by database.yml
150
+  (0.1ms) begin transaction
151
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:57:43 +0100
152
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
153
+  (0.0ms) rollback transaction
154
+  (0.0ms) begin transaction
155
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:57:43 +0100
156
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
157
+  (0.0ms) rollback transaction
158
+ Connecting to database specified by database.yml
159
+  (0.1ms) begin transaction
160
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:58:39 +0100
161
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (3ms)
162
+  (0.0ms) rollback transaction
163
+  (0.0ms) begin transaction
164
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:58:39 +0100
165
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
166
+  (0.0ms) rollback transaction
167
+ Connecting to database specified by database.yml
168
+  (0.1ms) begin transaction
169
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:58:55 +0100
170
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
171
+  (0.0ms) rollback transaction
172
+  (0.0ms) begin transaction
173
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:58:55 +0100
174
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
175
+  (0.0ms) rollback transaction
176
+ Connecting to database specified by database.yml
177
+  (0.1ms) begin transaction
178
+ Started GET "/assets/outdatedbrowser/require_outdatedbrowser.js" for 127.0.0.1 at 2014-07-29 08:59:50 +0100
179
+ Compiled outdatedbrowser/require_outdatedbrowser.js (0ms) (pid 32330)
180
+ Served asset /outdatedbrowser/require_outdatedbrowser.js - 200 OK (4ms)
181
+  (0.0ms) rollback transaction
182
+  (0.0ms) begin transaction
183
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 08:59:50 +0100
184
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
185
+  (0.0ms) rollback transaction
186
+  (0.0ms) begin transaction
187
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 08:59:50 +0100
188
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
189
+  (0.0ms) rollback transaction
190
+ Connecting to database specified by database.yml
191
+  (0.2ms) begin transaction
192
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 09:28:45 +0100
193
+ Compiled outdatedbrowser/outdatedBrowser.js (0ms) (pid 36549)
194
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (4ms)
195
+  (0.0ms) rollback transaction
196
+  (0.0ms) begin transaction
197
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 09:28:45 +0100
198
+ Compiled outdatedbrowser/outdatedBrowser.css (0ms) (pid 36549)
199
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (2ms)
200
+  (0.0ms) rollback transaction
201
+  (0.0ms) begin transaction
202
+ Started GET "/assets/outdatedbrowser/require_outdatedbrowser.js" for 127.0.0.1 at 2014-07-29 09:28:45 +0100
203
+ Compiled outdatedbrowser/require_outdatedbrowser.js (0ms) (pid 36549)
204
+ Served asset /outdatedbrowser/require_outdatedbrowser.js - 200 OK (3ms)
205
+  (0.0ms) rollback transaction
206
+ Connecting to database specified by database.yml
207
+  (0.1ms) begin transaction
208
+ Started GET "/" for 127.0.0.1 at 2014-07-29 09:28:55 +0100
209
+ Processing by DummyController#index as HTML
210
+ Rendered /Users/lu/code/outdatedbrowser_rails.3/outdatedbrowser_rails/app/views/outdatedbrowser/_outdatedbrowser.html.erb (2.6ms)
211
+ Rendered dummy/index.html.erb within layouts/application (5.5ms)
212
+ Completed 200 OK in 9.7ms (Views: 9.4ms | ActiveRecord: 0.0ms)
213
+  (0.1ms) rollback transaction
214
+  (0.0ms) begin transaction
215
+ Started GET "/assets/outdatedbrowser/require_outdatedbrowser.js" for 127.0.0.1 at 2014-07-29 09:28:55 +0100
216
+ Served asset /outdatedbrowser/require_outdatedbrowser.js - 200 OK (3ms)
217
+  (0.0ms) rollback transaction
218
+  (0.0ms) begin transaction
219
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 09:28:55 +0100
220
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
221
+  (0.0ms) rollback transaction
222
+  (0.0ms) begin transaction
223
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 09:28:55 +0100
224
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (27ms)
225
+  (0.1ms) rollback transaction
226
+ Connecting to database specified by database.yml
227
+  (0.1ms) begin transaction
228
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 09:29:06 +0100
229
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (5ms)
230
+  (0.1ms) rollback transaction
231
+  (0.0ms) begin transaction
232
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 09:29:06 +0100
233
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
234
+  (0.0ms) rollback transaction
235
+  (0.0ms) begin transaction
236
+ Started GET "/assets/outdatedbrowser/require_outdatedbrowser.js" for 127.0.0.1 at 2014-07-29 09:29:06 +0100
237
+ Served asset /outdatedbrowser/require_outdatedbrowser.js - 200 OK (1ms)
238
+  (0.0ms) rollback transaction
239
+  (0.0ms) begin transaction
240
+ Started GET "/" for 127.0.0.1 at 2014-07-29 09:29:06 +0100
241
+ Processing by DummyController#index as HTML
242
+ Rendered /Users/lu/code/outdatedbrowser_rails.3/outdatedbrowser_rails/app/views/outdatedbrowser/_outdatedbrowser.html.erb (2.5ms)
243
+ Rendered dummy/index.html.erb within layouts/application (5.2ms)
244
+ Completed 200 OK in 9.6ms (Views: 9.4ms | ActiveRecord: 0.0ms)
245
+  (0.1ms) rollback transaction
246
+ Connecting to database specified by database.yml
247
+  (0.1ms) begin transaction
248
+ Started GET "/" for 127.0.0.1 at 2014-07-29 09:29:14 +0100
249
+ Processing by DummyController#index as HTML
250
+ Rendered /Users/lu/code/outdatedbrowser_rails.3/outdatedbrowser_rails/app/views/outdatedbrowser/_outdatedbrowser.html.erb (2.5ms)
251
+ Rendered dummy/index.html.erb within layouts/application (5.3ms)
252
+ Completed 200 OK in 9.5ms (Views: 9.3ms | ActiveRecord: 0.0ms)
253
+  (0.0ms) rollback transaction
254
+  (0.0ms) begin transaction
255
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 09:29:14 +0100
256
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (3ms)
257
+  (0.0ms) rollback transaction
258
+  (0.0ms) begin transaction
259
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 09:29:14 +0100
260
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (1ms)
261
+  (0.0ms) rollback transaction
262
+  (0.0ms) begin transaction
263
+ Started GET "/assets/outdatedbrowser/require_outdatedbrowser.js" for 127.0.0.1 at 2014-07-29 09:29:14 +0100
264
+ Served asset /outdatedbrowser/require_outdatedbrowser.js - 200 OK (25ms)
265
+  (0.0ms) rollback transaction
266
+ Connecting to database specified by database.yml
267
+  (0.2ms) begin transaction
268
+ Started GET "/" for 127.0.0.1 at 2014-07-29 11:17:13 +0100
269
+ Processing by DummyController#index as HTML
270
+ Rendered /Users/lu/code/outdatedbrowser_rails.3/outdatedbrowser_rails/app/views/outdatedbrowser/_outdatedbrowser.html.erb (4.0ms)
271
+ Rendered dummy/index.html.erb within layouts/application (7.9ms)
272
+ Completed 200 OK in 13.2ms (Views: 12.9ms | ActiveRecord: 0.0ms)
273
+  (0.1ms) rollback transaction
274
+  (0.0ms) begin transaction
275
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 11:17:13 +0100
276
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (3ms)
277
+  (0.0ms) rollback transaction
278
+  (0.0ms) begin transaction
279
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 11:17:13 +0100
280
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (2ms)
281
+  (0.0ms) rollback transaction
282
+  (0.0ms) begin transaction
283
+ Started GET "/assets/outdatedbrowser/require_outdatedbrowser.js" for 127.0.0.1 at 2014-07-29 11:17:13 +0100
284
+ Served asset /outdatedbrowser/require_outdatedbrowser.js - 200 OK (27ms)
285
+  (0.1ms) rollback transaction
286
+ Connecting to database specified by database.yml
287
+  (0.2ms) begin transaction
288
+ Started GET "/" for 127.0.0.1 at 2014-07-29 11:54:02 +0100
289
+ Processing by DummyController#index as HTML
290
+ Rendered /Users/lu/code/outdatedbrowser_rails.3/outdatedbrowser_rails/app/views/outdatedbrowser/_outdatedbrowser.html.erb (2.6ms)
291
+ Rendered dummy/index.html.erb within layouts/application (5.3ms)
292
+ Completed 200 OK in 10.0ms (Views: 9.8ms | ActiveRecord: 0.0ms)
293
+  (0.1ms) rollback transaction
294
+  (0.0ms) begin transaction
295
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.js" for 127.0.0.1 at 2014-07-29 11:54:02 +0100
296
+ Served asset /outdatedbrowser/outdatedBrowser.js - 200 OK (3ms)
297
+  (0.0ms) rollback transaction
298
+  (0.0ms) begin transaction
299
+ Started GET "/assets/outdatedbrowser/require_outdatedbrowser.js" for 127.0.0.1 at 2014-07-29 11:54:02 +0100
300
+ Served asset /outdatedbrowser/require_outdatedbrowser.js - 200 OK (1ms)
301
+  (0.0ms) rollback transaction
302
+  (0.0ms) begin transaction
303
+ Started GET "/assets/outdatedbrowser/outdatedBrowser.css" for 127.0.0.1 at 2014-07-29 11:54:02 +0100
304
+ Served asset /outdatedbrowser/outdatedBrowser.css - 200 OK (1ms)
305
+  (0.0ms) 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,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'static assets integration' do
4
+ it 'provides outdatedBrowser.js on the asset pipeline' do
5
+ visit '/assets/outdatedbrowser/outdatedBrowser.js'
6
+ expect(page.text).to match(/outdatedBrowser/)
7
+ end
8
+
9
+ it 'provides require_outdatedbrowser.js on the asset pipeline' do
10
+ visit '/assets/outdatedbrowser/require_outdatedbrowser.js'
11
+ expect(page.text).to match(/outdatedBrowser/)
12
+ end
13
+
14
+ it 'provides outdatedBrowser.css on the asset pipeline' do
15
+ visit '/assets/outdatedbrowser/outdatedBrowser.css'
16
+ expect(page.text).to match(/Outdated Browser/)
17
+ end
18
+
19
+ it 'provides a partial with the div on the asset pipeline' do
20
+ visit '/'
21
+ expect(page).to have_selector('#outdated')
22
+ end
23
+ end
@@ -0,0 +1,20 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
3
+ require 'rspec/rails'
4
+ # require 'rspec/autorun'
5
+ require 'capybara/rspec'
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+ # Load support files
9
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
10
+
11
+ RSpec.configure do |config|
12
+ include Capybara::DSL
13
+ config.mock_with :rspec
14
+ config.use_transactional_fixtures = true
15
+ config.infer_base_class_for_anonymous_controllers = false
16
+ config.order = "random"
17
+ config.color = true
18
+ config.tty = true
19
+ config.formatter = :documentation
20
+ end