flash_analytics 0.1.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 (55) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +32 -0
  4. data/lib/flash_analytics/action_view_extensions.rb +27 -0
  5. data/lib/flash_analytics/configuration.rb +15 -0
  6. data/lib/flash_analytics/flash_hash_extensions.rb +29 -0
  7. data/lib/flash_analytics/version.rb +3 -0
  8. data/lib/flash_analytics.rb +9 -0
  9. data/lib/generators/flash_analytics/flash_analytics.rb +9 -0
  10. data/lib/generators/flash_analytics/install_generator.rb +7 -0
  11. data/lib/tasks/flash_analytics_tasks.rake +4 -0
  12. data/test/dummy/README.rdoc +28 -0
  13. data/test/dummy/Rakefile +6 -0
  14. data/test/dummy/app/assets/javascripts/application.js +13 -0
  15. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  16. data/test/dummy/app/controllers/application_controller.rb +5 -0
  17. data/test/dummy/app/controllers/dummies_controller.rb +15 -0
  18. data/test/dummy/app/helpers/application_helper.rb +2 -0
  19. data/test/dummy/app/views/analytics/_test_analytics_one.html.erb +1 -0
  20. data/test/dummy/app/views/analytics/_test_analytics_two.html.erb +1 -0
  21. data/test/dummy/app/views/dummies/render_now.html.erb +2 -0
  22. data/test/dummy/app/views/dummies/result.html.erb +2 -0
  23. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  24. data/test/dummy/bin/bundle +3 -0
  25. data/test/dummy/bin/rails +4 -0
  26. data/test/dummy/bin/rake +4 -0
  27. data/test/dummy/config/application.rb +23 -0
  28. data/test/dummy/config/boot.rb +5 -0
  29. data/test/dummy/config/database.yml +25 -0
  30. data/test/dummy/config/environment.rb +5 -0
  31. data/test/dummy/config/environments/development.rb +37 -0
  32. data/test/dummy/config/environments/production.rb +78 -0
  33. data/test/dummy/config/environments/test.rb +39 -0
  34. data/test/dummy/config/initializers/assets.rb +8 -0
  35. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  36. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  37. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  38. data/test/dummy/config/initializers/inflections.rb +16 -0
  39. data/test/dummy/config/initializers/mime_types.rb +4 -0
  40. data/test/dummy/config/initializers/session_store.rb +3 -0
  41. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  42. data/test/dummy/config/locales/en.yml +23 -0
  43. data/test/dummy/config/routes.rb +63 -0
  44. data/test/dummy/config/secrets.yml +22 -0
  45. data/test/dummy/config.ru +4 -0
  46. data/test/dummy/db/test.sqlite3 +0 -0
  47. data/test/dummy/log/development.log +0 -0
  48. data/test/dummy/log/test.log +463 -0
  49. data/test/dummy/public/404.html +67 -0
  50. data/test/dummy/public/422.html +67 -0
  51. data/test/dummy/public/500.html +66 -0
  52. data/test/dummy/public/favicon.ico +0 -0
  53. data/test/flash_analytics_test.rb +50 -0
  54. data/test/test_helper.rb +15 -0
  55. metadata +154 -0
@@ -0,0 +1,63 @@
1
+ Rails.application.routes.draw do
2
+ resources :dummies do
3
+ collection do
4
+ get :result
5
+ get :redirect
6
+ get :render_now
7
+ end
8
+ end
9
+ # The priority is based upon order of creation: first created -> highest priority.
10
+ # See how all your routes lay out with "rake routes".
11
+
12
+ # You can have the root of your site routed with "root"
13
+ # root 'welcome#index'
14
+
15
+ # Example of regular route:
16
+ # get 'products/:id' => 'catalog#view'
17
+
18
+ # Example of named route that can be invoked with purchase_url(id: product.id)
19
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
20
+
21
+ # Example resource route (maps HTTP verbs to controller actions automatically):
22
+ # resources :products
23
+
24
+ # Example resource route with options:
25
+ # resources :products do
26
+ # member do
27
+ # get 'short'
28
+ # post 'toggle'
29
+ # end
30
+ #
31
+ # collection do
32
+ # get 'sold'
33
+ # end
34
+ # end
35
+
36
+ # Example resource route with sub-resources:
37
+ # resources :products do
38
+ # resources :comments, :sales
39
+ # resource :seller
40
+ # end
41
+
42
+ # Example resource route with more complex sub-resources:
43
+ # resources :products do
44
+ # resources :comments
45
+ # resources :sales do
46
+ # get 'recent', on: :collection
47
+ # end
48
+ # end
49
+
50
+ # Example resource route with concerns:
51
+ # concern :toggleable do
52
+ # post 'toggle'
53
+ # end
54
+ # resources :posts, concerns: :toggleable
55
+ # resources :photos, concerns: :toggleable
56
+
57
+ # Example resource route within a namespace:
58
+ # namespace :admin do
59
+ # # Directs /admin/products/* to Admin::ProductsController
60
+ # # (app/controllers/admin/products_controller.rb)
61
+ # resources :products
62
+ # end
63
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 58ed63f10068e83b130babf26cd2bdc5b6ab996767380de68c1fee4a11408f3c5af2d5db8c8993cc9c60d5977b8a2591a0754741e9935628126d2973748f265c
15
+
16
+ test:
17
+ secret_key_base: 0c173b71aee9e42bae9dcb078f1966a70e3024c3153f9656adc4b54cc45d516600b3aed78818c69abad8431c1518f32cc53b7a8169caacd741252be6a7956e19
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
File without changes
File without changes
@@ -0,0 +1,463 @@
1
+  (0.2ms) begin transaction
2
+ -------------------------------------------
3
+ DummiesControllerTest: test_should_get_test
4
+ -------------------------------------------
5
+ Processing by DummiesController#test as HTML
6
+ Rendering dummies/test.html.erb
7
+ Rendered analytics/_test_analytics_one.html.erb (0.7ms)
8
+ Rendered analytics/_test_analytics_two.html.erb (0.5ms)
9
+ Rendered dummies/test.html.erb (11.9ms)
10
+ Completed 200 OK in 31ms (Views: 27.8ms | ActiveRecord: 0.0ms)
11
+  (0.1ms) rollback transaction
12
+  (0.1ms) begin transaction
13
+ ------------------------------
14
+ FlashAnalyticsTest: test_truth
15
+ ------------------------------
16
+  (0.0ms) rollback transaction
17
+  (0.0ms) begin transaction
18
+ ----------------------------------------------------------
19
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
20
+ ----------------------------------------------------------
21
+  (0.0ms) rollback transaction
22
+  (0.1ms) begin transaction
23
+ ----------------------------------------------------------
24
+ FlashHashTest: test_partial_is_successfully_added_to_flash
25
+ ----------------------------------------------------------
26
+  (0.1ms) rollback transaction
27
+  (0.1ms) begin transaction
28
+ -------------------------------------------
29
+ DummiesControllerTest: test_should_get_test
30
+ -------------------------------------------
31
+ Processing by DummiesController#test as HTML
32
+ Rendering dummies/test.html.erb
33
+ Rendered analytics/_test_analytics_one.html.erb (0.4ms)
34
+ Rendered analytics/_test_analytics_two.html.erb (0.6ms)
35
+ Rendered dummies/test.html.erb (12.9ms)
36
+ Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 0.0ms)
37
+  (0.1ms) rollback transaction
38
+  (0.2ms) begin transaction
39
+ ----------------------------------------------------------
40
+ FlashHashTest: test_partial_is_successfully_added_to_flash
41
+ ----------------------------------------------------------
42
+  (0.0ms) rollback transaction
43
+  (0.1ms) begin transaction
44
+ ----------------------------------------------------------
45
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
46
+ ----------------------------------------------------------
47
+  (0.1ms) rollback transaction
48
+  (0.1ms) begin transaction
49
+ ------------------------------
50
+ FlashAnalyticsTest: test_truth
51
+ ------------------------------
52
+  (0.0ms) rollback transaction
53
+  (0.1ms) begin transaction
54
+ ----------------------------------------------------------
55
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
56
+ ----------------------------------------------------------
57
+  (0.3ms) rollback transaction
58
+  (0.1ms) begin transaction
59
+ ----------------------------------------------------------
60
+ FlashHashTest: test_partial_is_successfully_added_to_flash
61
+ ----------------------------------------------------------
62
+  (0.0ms) rollback transaction
63
+  (0.0ms) begin transaction
64
+ ------------------------------
65
+ FlashAnalyticsTest: test_truth
66
+ ------------------------------
67
+  (0.0ms) rollback transaction
68
+  (0.1ms) begin transaction
69
+ -------------------------------------------
70
+ DummiesControllerTest: test_should_get_test
71
+ -------------------------------------------
72
+ Processing by DummiesController#test as HTML
73
+ Rendering dummies/test.html.erb
74
+ Rendered analytics/_test_analytics_one.html.erb (0.5ms)
75
+ Rendered analytics/_test_analytics_two.html.erb (0.5ms)
76
+ Rendered dummies/test.html.erb (11.9ms)
77
+ Completed 200 OK in 31ms (Views: 27.0ms | ActiveRecord: 0.0ms)
78
+  (0.1ms) rollback transaction
79
+  (0.1ms) begin transaction
80
+ ------------------------------
81
+ FlashAnalyticsTest: test_truth
82
+ ------------------------------
83
+  (0.2ms) rollback transaction
84
+  (0.1ms) begin transaction
85
+ -------------------------------------------
86
+ DummiesControllerTest: test_should_get_test
87
+ -------------------------------------------
88
+ Processing by DummiesController#test as HTML
89
+ Rendering dummies/test.html.erb
90
+ Rendered analytics/_test_analytics_one.html.erb (0.6ms)
91
+ Rendered dummies/test.html.erb (8.1ms)
92
+ Completed 200 OK in 27ms (Views: 22.1ms | ActiveRecord: 0.0ms)
93
+  (0.1ms) rollback transaction
94
+  (0.1ms) begin transaction
95
+ ----------------------------------------------------------
96
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
97
+ ----------------------------------------------------------
98
+  (0.1ms) rollback transaction
99
+  (0.1ms) begin transaction
100
+ ----------------------------------------------------------
101
+ FlashHashTest: test_partial_is_successfully_added_to_flash
102
+ ----------------------------------------------------------
103
+  (0.0ms) rollback transaction
104
+  (0.2ms) begin transaction
105
+ ------------------------------
106
+ FlashAnalyticsTest: test_truth
107
+ ------------------------------
108
+  (0.1ms) rollback transaction
109
+  (0.2ms) begin transaction
110
+ -------------------------------------------
111
+ DummiesControllerTest: test_should_get_test
112
+ -------------------------------------------
113
+ Processing by DummiesController#test as HTML
114
+ Rendering dummies/test.html.erb
115
+ Rendered analytics/_test_analytics_one.html.erb (0.7ms)
116
+ Rendered analytics/_test_analytics_two.html.erb (0.5ms)
117
+ Rendered dummies/test.html.erb (11.6ms)
118
+ Completed 200 OK in 30ms (Views: 25.8ms | ActiveRecord: 0.0ms)
119
+  (0.1ms) rollback transaction
120
+  (0.1ms) begin transaction
121
+ ----------------------------------------------------------
122
+ FlashHashTest: test_partial_is_successfully_added_to_flash
123
+ ----------------------------------------------------------
124
+  (0.1ms) rollback transaction
125
+  (0.1ms) begin transaction
126
+ ----------------------------------------------------------
127
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
128
+ ----------------------------------------------------------
129
+  (0.0ms) rollback transaction
130
+  (0.1ms) begin transaction
131
+ ----------------------------------------------------------
132
+ FlashHashTest: test_partial_is_successfully_added_to_flash
133
+ ----------------------------------------------------------
134
+  (0.1ms) rollback transaction
135
+  (0.1ms) begin transaction
136
+ ----------------------------------------------------------
137
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
138
+ ----------------------------------------------------------
139
+  (0.1ms) rollback transaction
140
+  (0.1ms) begin transaction
141
+ ------------------------------
142
+ FlashAnalyticsTest: test_truth
143
+ ------------------------------
144
+  (0.1ms) rollback transaction
145
+  (0.2ms) begin transaction
146
+ -------------------------------------------
147
+ DummiesControllerTest: test_should_get_test
148
+ -------------------------------------------
149
+ Processing by DummiesController#test as HTML
150
+ Rendering dummies/test.html.erb
151
+ Rendered analytics/_test_analytics_one.html.erb (1.0ms)
152
+ Rendered analytics/_test_analytics_two.html.erb (0.8ms)
153
+ Rendered dummies/test.html.erb (13.1ms)
154
+ Completed 200 OK in 28ms (Views: 24.0ms | ActiveRecord: 0.0ms)
155
+  (0.1ms) rollback transaction
156
+  (0.1ms) begin transaction
157
+ -------------------------------------------
158
+ DummiesControllerTest: test_should_get_test
159
+ -------------------------------------------
160
+ Processing by DummiesController#test as HTML
161
+ Rendering dummies/test.html.erb
162
+ Rendered analytics/_test_analytics_one.html.erb (0.4ms)
163
+ Rendered analytics/_test_analytics_two.html.erb (0.4ms)
164
+ Rendered dummies/test.html.erb (4.9ms)
165
+ Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.0ms)
166
+  (0.1ms) rollback transaction
167
+  (0.1ms) begin transaction
168
+ ----------------------------------------------------------
169
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
170
+ ----------------------------------------------------------
171
+  (0.1ms) rollback transaction
172
+  (0.1ms) begin transaction
173
+ ----------------------------------------------------------
174
+ FlashHashTest: test_partial_is_successfully_added_to_flash
175
+ ----------------------------------------------------------
176
+  (0.1ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+ ------------------------------
179
+ FlashAnalyticsTest: test_truth
180
+ ------------------------------
181
+  (0.1ms) rollback transaction
182
+  (0.1ms) begin transaction
183
+ -------------------------------------------
184
+ DummiesControllerTest: test_should_get_test
185
+ -------------------------------------------
186
+ Processing by DummiesController#test as HTML
187
+ Rendering dummies/test.html.erb
188
+ Rendered analytics/_test_analytics_one.html.erb (0.5ms)
189
+ Rendered analytics/_test_analytics_two.html.erb (0.6ms)
190
+ Rendered dummies/test.html.erb (12.2ms)
191
+ Completed 200 OK in 29ms (Views: 25.4ms | ActiveRecord: 0.0ms)
192
+  (0.1ms) rollback transaction
193
+  (0.1ms) begin transaction
194
+ ----------------------------------------------------------
195
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
196
+ ----------------------------------------------------------
197
+  (0.1ms) rollback transaction
198
+  (0.1ms) begin transaction
199
+ ----------------------------------------------------------
200
+ FlashHashTest: test_partial_is_successfully_added_to_flash
201
+ ----------------------------------------------------------
202
+  (0.0ms) rollback transaction
203
+  (0.0ms) begin transaction
204
+ ------------------------------
205
+ FlashAnalyticsTest: test_truth
206
+ ------------------------------
207
+  (0.1ms) rollback transaction
208
+  (0.1ms) begin transaction
209
+ -------------------------------------------
210
+ DummiesControllerTest: test_should_get_test
211
+ -------------------------------------------
212
+ Processing by DummiesController#test as HTML
213
+ Rendering dummies/test.html.erb
214
+ Rendered analytics/_test_analytics_one.html.erb (0.5ms)
215
+ Rendered analytics/_test_analytics_two.html.erb (0.5ms)
216
+ Rendered dummies/test.html.erb (11.5ms)
217
+ Completed 200 OK in 30ms (Views: 26.5ms | ActiveRecord: 0.0ms)
218
+  (0.1ms) rollback transaction
219
+  (0.1ms) begin transaction
220
+ ------------------------------
221
+ FlashAnalyticsTest: test_truth
222
+ ------------------------------
223
+  (0.1ms) rollback transaction
224
+  (0.1ms) begin transaction
225
+ ----------------------------------------------------------
226
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
227
+ ----------------------------------------------------------
228
+  (0.1ms) rollback transaction
229
+  (0.1ms) begin transaction
230
+ ----------------------------------------------------------
231
+ FlashHashTest: test_partial_is_successfully_added_to_flash
232
+ ----------------------------------------------------------
233
+  (0.0ms) rollback transaction
234
+  (0.1ms) begin transaction
235
+ -------------------------------------------
236
+ DummiesControllerTest: test_should_get_test
237
+ -------------------------------------------
238
+ Processing by DummiesController#test as HTML
239
+ Rendering dummies/test.html.erb
240
+ Rendered analytics/_test_analytics_one.html.erb (1.1ms)
241
+ Rendered analytics/_test_analytics_two.html.erb (0.6ms)
242
+ Rendered dummies/test.html.erb (13.2ms)
243
+ Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 0.0ms)
244
+  (0.1ms) rollback transaction
245
+  (0.1ms) begin transaction
246
+ ----------------------------------------------------------
247
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
248
+ ----------------------------------------------------------
249
+  (0.1ms) rollback transaction
250
+  (0.1ms) begin transaction
251
+ ----------------------------------------------------------
252
+ FlashHashTest: test_partial_is_successfully_added_to_flash
253
+ ----------------------------------------------------------
254
+  (0.1ms) rollback transaction
255
+  (0.1ms) begin transaction
256
+ ------------------------------
257
+ FlashAnalyticsTest: test_truth
258
+ ------------------------------
259
+  (0.1ms) rollback transaction
260
+  (0.1ms) begin transaction
261
+ -------------------------------------------
262
+ DummiesControllerTest: test_should_get_test
263
+ -------------------------------------------
264
+ Processing by DummiesController#test as HTML
265
+ Rendering dummies/test.html.erb
266
+ Rendered analytics/_test_analytics_one.html.erb (0.5ms)
267
+ Rendered analytics/_test_analytics_two.html.erb (0.6ms)
268
+ Rendered dummies/test.html.erb (13.7ms)
269
+ Completed 200 OK in 32ms (Views: 27.9ms | ActiveRecord: 0.0ms)
270
+  (0.1ms) rollback transaction
271
+  (0.1ms) begin transaction
272
+ ------------------------------
273
+ FlashAnalyticsTest: test_truth
274
+ ------------------------------
275
+  (0.1ms) rollback transaction
276
+  (0.1ms) begin transaction
277
+ -------------------------------------------
278
+ DummiesControllerTest: test_should_get_test
279
+ -------------------------------------------
280
+  (0.1ms) rollback transaction
281
+  (0.1ms) begin transaction
282
+ ------------------------------
283
+ FlashAnalyticsTest: test_truth
284
+ ------------------------------
285
+  (0.1ms) rollback transaction
286
+  (0.0ms) begin transaction
287
+ ----------------------------------------------------------
288
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
289
+ ----------------------------------------------------------
290
+  (0.0ms) rollback transaction
291
+  (0.1ms) begin transaction
292
+ ----------------------------------------------------------
293
+ FlashHashTest: test_partial_is_successfully_added_to_flash
294
+ ----------------------------------------------------------
295
+  (0.0ms) rollback transaction
296
+  (0.1ms) begin transaction
297
+ ----------------------------------------------------------
298
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
299
+ ----------------------------------------------------------
300
+  (0.1ms) rollback transaction
301
+  (0.1ms) begin transaction
302
+ ----------------------------------------------------------
303
+ FlashHashTest: test_partial_is_successfully_added_to_flash
304
+ ----------------------------------------------------------
305
+  (0.1ms) rollback transaction
306
+  (0.1ms) begin transaction
307
+ -------------------------------------------
308
+ DummiesControllerTest: test_should_get_test
309
+ -------------------------------------------
310
+  (0.1ms) rollback transaction
311
+  (0.1ms) begin transaction
312
+ ------------------------------
313
+ FlashAnalyticsTest: test_truth
314
+ ------------------------------
315
+  (0.1ms) rollback transaction
316
+  (0.3ms) begin transaction
317
+ -------------------------------------------
318
+ DummiesControllerTest: test_should_get_test
319
+ -------------------------------------------
320
+ Started GET "/dummies/test" for 127.0.0.1 at 2017-10-08 15:35:05 +0800
321
+ Processing by DummiesController#test as HTML
322
+ Rendering dummies/test.html.erb
323
+ Rendered analytics/_test_analytics_one.html.erb (0.5ms)
324
+ Rendered analytics/_test_analytics_two.html.erb (0.6ms)
325
+ Rendered dummies/test.html.erb (13.1ms)
326
+ Completed 200 OK in 40ms (Views: 28.9ms | ActiveRecord: 0.0ms)
327
+  (0.1ms) rollback transaction
328
+  (0.1ms) begin transaction
329
+ ------------------------------
330
+ FlashAnalyticsTest: test_truth
331
+ ------------------------------
332
+  (0.1ms) rollback transaction
333
+  (0.0ms) begin transaction
334
+ ----------------------------------------------------------
335
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
336
+ ----------------------------------------------------------
337
+  (0.2ms) rollback transaction
338
+  (0.1ms) begin transaction
339
+ ----------------------------------------------------------
340
+ FlashHashTest: test_partial_is_successfully_added_to_flash
341
+ ----------------------------------------------------------
342
+  (0.1ms) rollback transaction
343
+  (0.1ms) begin transaction
344
+ ------------------------------
345
+ FlashAnalyticsTest: test_truth
346
+ ------------------------------
347
+  (0.1ms) rollback transaction
348
+  (0.1ms) begin transaction
349
+ -------------------------------------------
350
+ DummiesControllerTest: test_should_get_test
351
+ -------------------------------------------
352
+ Started GET "/dummies/redirect" for 127.0.0.1 at 2017-10-08 15:40:55 +0800
353
+ Processing by DummiesController#redirect as HTML
354
+ Redirected to
355
+ Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)
356
+  (0.3ms) rollback transaction
357
+  (0.1ms) begin transaction
358
+ ----------------------------------------------------------
359
+ FlashHashTest: test_partial_is_successfully_added_to_flash
360
+ ----------------------------------------------------------
361
+  (0.0ms) rollback transaction
362
+  (0.0ms) begin transaction
363
+ ----------------------------------------------------------
364
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
365
+ ----------------------------------------------------------
366
+  (0.0ms) rollback transaction
367
+  (0.1ms) begin transaction
368
+ ------------------------------
369
+ FlashAnalyticsTest: test_truth
370
+ ------------------------------
371
+  (0.1ms) rollback transaction
372
+  (0.1ms) begin transaction
373
+ ----------------------------------------------------------
374
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
375
+ ----------------------------------------------------------
376
+  (0.1ms) rollback transaction
377
+  (0.1ms) begin transaction
378
+ ----------------------------------------------------------
379
+ FlashHashTest: test_partial_is_successfully_added_to_flash
380
+ ----------------------------------------------------------
381
+  (0.1ms) rollback transaction
382
+  (0.1ms) begin transaction
383
+ -------------------------------------------
384
+ DummiesControllerTest: test_should_get_test
385
+ -------------------------------------------
386
+ Started GET "/dummies/redirect" for 127.0.0.1 at 2017-10-08 15:41:30 +0800
387
+ Processing by DummiesController#redirect as HTML
388
+ Redirected to http://www.example.com/dummies/result
389
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
390
+  (0.1ms) rollback transaction
391
+  (0.1ms) begin transaction
392
+ ----------------------------------------------------------
393
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
394
+ ----------------------------------------------------------
395
+  (0.1ms) rollback transaction
396
+  (0.1ms) begin transaction
397
+ ----------------------------------------------------------
398
+ FlashHashTest: test_partial_is_successfully_added_to_flash
399
+ ----------------------------------------------------------
400
+  (0.1ms) rollback transaction
401
+  (0.1ms) begin transaction
402
+ -------------------------------------------
403
+ DummiesControllerTest: test_should_get_test
404
+ -------------------------------------------
405
+ Started GET "/dummies/redirect" for 127.0.0.1 at 2017-10-08 15:43:03 +0800
406
+ Processing by DummiesController#redirect as HTML
407
+ Redirected to http://www.example.com/dummies/result
408
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
409
+ Started GET "/dummies/result" for 127.0.0.1 at 2017-10-08 15:43:03 +0800
410
+ Processing by DummiesController#result as HTML
411
+ Rendering dummies/result.html.erb
412
+ Rendered analytics/_test_analytics_one.html.erb (0.6ms)
413
+ Rendered analytics/_test_analytics_two.html.erb (0.7ms)
414
+ Rendered dummies/result.html.erb (14.9ms)
415
+ Completed 200 OK in 34ms (Views: 29.8ms | ActiveRecord: 0.0ms)
416
+  (0.1ms) rollback transaction
417
+  (0.1ms) begin transaction
418
+ ------------------------------
419
+ FlashAnalyticsTest: test_truth
420
+ ------------------------------
421
+  (0.1ms) rollback transaction
422
+  (0.1ms) begin transaction
423
+ ----------------------------------------------------------
424
+ FlashHashTest: test_flash_analytics_are_excluded_from_each
425
+ ----------------------------------------------------------
426
+  (0.1ms) rollback transaction
427
+  (0.1ms) begin transaction
428
+ ----------------------------------------------------------
429
+ FlashHashTest: test_partial_is_successfully_added_to_flash
430
+ ----------------------------------------------------------
431
+  (0.1ms) rollback transaction
432
+  (0.5ms) begin transaction
433
+ ------------------------------------------------------------------------------------------
434
+ DummiesControllerTest: test_add_analytics_partial_now_should_render_in_the_current_request
435
+ ------------------------------------------------------------------------------------------
436
+ Started GET "/dummies/render_now" for 127.0.0.1 at 2017-10-08 15:49:52 +0800
437
+ Processing by DummiesController#render_now as HTML
438
+ Rendering dummies/render_now.html.erb
439
+ Rendered analytics/_test_analytics_one.html.erb (0.5ms)
440
+ Rendered dummies/render_now.html.erb (7.8ms)
441
+ Completed 200 OK in 38ms (Views: 24.6ms | ActiveRecord: 0.0ms)
442
+  (0.1ms) rollback transaction
443
+  (0.1ms) begin transaction
444
+ ------------------------------------------------------------------------------
445
+ DummiesControllerTest: test_add_analytics_partial_should_render_after_redirect
446
+ ------------------------------------------------------------------------------
447
+ Started GET "/dummies/redirect" for 127.0.0.1 at 2017-10-08 15:49:52 +0800
448
+ Processing by DummiesController#redirect as HTML
449
+ Redirected to http://www.example.com/dummies/result
450
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
451
+ Started GET "/dummies/result" for 127.0.0.1 at 2017-10-08 15:49:52 +0800
452
+ Processing by DummiesController#result as HTML
453
+ Rendering dummies/result.html.erb
454
+ Rendered analytics/_test_analytics_one.html.erb (0.1ms)
455
+ Rendered analytics/_test_analytics_two.html.erb (0.9ms)
456
+ Rendered dummies/result.html.erb (8.1ms)
457
+ Completed 200 OK in 12ms (Views: 8.9ms | ActiveRecord: 0.0ms)
458
+  (0.1ms) rollback transaction
459
+  (0.1ms) begin transaction
460
+ ------------------------------
461
+ FlashAnalyticsTest: test_truth
462
+ ------------------------------
463
+  (0.1ms) rollback transaction
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>