ouvrages_file_uploader 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/uploaded_files.js.coffee +4 -2
- data/app/views/uploaded_files/_file_upload.html.haml +1 -1
- data/config/locales/ofu-file-uploader.en.yml +3 -0
- data/config/locales/ofu-file-uploader.fr.yml +3 -0
- data/lib/ouvrages_file_uploader/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +779 -0
- data/test/dummy/public/system/uploaded_files/files/000/000/456/original/health-promotion-strategy-erin-cronin-.ppt +0 -0
- data/test/dummy/public/system/uploaded_files/files/000/000/457/original/health-promotion-strategy-erin-cronin-.ppt +0 -0
- data/test/dummy/public/system/uploaded_files/files/000/000/458/original/health-promotion-strategy-erin-cronin-.ppt +0 -0
- data/test/dummy/public/system/uploaded_files/files/000/000/459/original/health-promotion-strategy-erin-cronin-.ppt +0 -0
- data/test/dummy/public/system/uploaded_files/files/000/000/460/original/health-promotion-strategy-erin-cronin-.ppt +0 -0
- data/test/dummy/public/system/uploaded_files/files/000/000/461/original/health-promotion-strategy-erin-cronin-.ppt +0 -0
- data/test/dummy/tmp/cache/assets/C57/700/sprockets%2Ff041541e3fba62315577e37936394d93 +0 -0
- data/test/dummy/tmp/cache/assets/D4D/2A0/sprockets%2Fbf8b3d18c498228a147cd45c84b6d86e +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- metadata +22 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa80cbcb114c27f79dcb6940e191a20f32ec622a
|
4
|
+
data.tar.gz: 72259b355b9ef5bd5ef8e1a721f4aff7bf489cc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a6167b9e966f0809a71b3dd76f233f9c55788ed8fea5e252d3ca4c3f1290b1d99a32509f33093b7f2e9ed64002ab387a76dccdbcf5e2efbaa2976fe5e68931c
|
7
|
+
data.tar.gz: cf5bbd3be41838f8867fd1fab624bf9d4b048dea3ba67a09866525b189f76d114915e0734dac16b0e6ee1d2aec83edecacd53b419b2dbf427c4c95fe7cba68ee
|
@@ -13,11 +13,13 @@ $.fn.ouvragesFileUpload = ->
|
|
13
13
|
$(this).closest('.ofu-field').find('.ofu-progress-bar').css('width', progress + "%").text(progress + "%")
|
14
14
|
).bind('fileuploadstart', (e, data) ->
|
15
15
|
window.ofuFileCount++
|
16
|
-
$(this).closest('.ofu-field').find('.ofu-files-container')
|
17
|
-
|
16
|
+
filesContainer = $(this).closest('.ofu-field').find('.ofu-files-container')
|
17
|
+
filesContainer.empty()
|
18
|
+
filesContainer.append("<div class='progress'><div class='ofu-progress-bar bar' style='width: 0;'></div></div>")
|
18
19
|
return
|
19
20
|
).bind('fileuploaddone', (e, data) ->
|
20
21
|
$(this).closest('.ofu-field').find('input[type=hidden]').val(data.result.files[0].id)
|
22
|
+
$(this).closest('.ofu-field').find('.ofu-progress-bar').text($(this).closest('.ofu-field').data('text'))
|
21
23
|
|
22
24
|
window.ofuFileCount--
|
23
25
|
return
|
@@ -1,4 +1,4 @@
|
|
1
|
-
%div.ofu-field{data: {auto: options.fetch(:auto, true) ? "true" : "false", url: file_upload_path} }
|
1
|
+
%div.ofu-field{data: {auto: options.fetch(:auto, true) ? "true" : "false", url: file_upload_path, text: I18n.t('ofu_file_uploader.complete') } }
|
2
2
|
- options = options.dup
|
3
3
|
- classes = (options.delete(:class) || "").split
|
4
4
|
- classes << "ofu-input"
|
Binary file
|
@@ -38266,3 +38266,782 @@ Binary data inserted for `string` type on column `file_content_type`
|
|
38266
38266
|
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "uploaded_files" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Fri, 21 Aug 2015 08:10:37 UTC +00:00], ["file_content_type", "image/jpeg"], ["file_file_name", "4.jpg"], ["file_file_size", 779875], ["file_updated_at", Fri, 21 Aug 2015 08:10:37 UTC +00:00], ["updated_at", Fri, 21 Aug 2015 08:10:37 UTC +00:00]]
|
38267
38267
|
[1m[35m (1.0ms)[0m commit transaction
|
38268
38268
|
Completed 200 OK in 25.8ms (Views: 0.4ms | ActiveRecord: 1.5ms)
|
38269
|
+
Connecting to database specified by database.yml
|
38270
|
+
|
38271
|
+
|
38272
|
+
Started GET "/" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38273
|
+
Processing by PostsController#index as HTML
|
38274
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
|
38275
|
+
Rendered posts/index.html.erb within layouts/application (1.7ms)
|
38276
|
+
Compiled uploaded_files.js (241ms) (pid 3321)
|
38277
|
+
Compiled application.js (246ms) (pid 3321)
|
38278
|
+
Completed 200 OK in 348.7ms (Views: 333.4ms | ActiveRecord: 1.2ms)
|
38279
|
+
|
38280
|
+
|
38281
|
+
Started GET "/assets/jquery.fileupload.css?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38282
|
+
Served asset /jquery.fileupload.css - 200 OK (8ms)
|
38283
|
+
|
38284
|
+
|
38285
|
+
Started GET "/assets/jquery.fileupload-ui.css?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38286
|
+
Served asset /jquery.fileupload-ui.css - 200 OK (2ms)
|
38287
|
+
|
38288
|
+
|
38289
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38290
|
+
Served asset /application.css - 200 OK (9ms)
|
38291
|
+
|
38292
|
+
|
38293
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38294
|
+
Served asset /scaffold.css - 200 OK (1ms)
|
38295
|
+
|
38296
|
+
|
38297
|
+
Started GET "/assets/uploaded_files.css?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38298
|
+
Served asset /uploaded_files.css - 200 OK (6ms)
|
38299
|
+
|
38300
|
+
|
38301
|
+
Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38302
|
+
Served asset /posts.css - 200 OK (1ms)
|
38303
|
+
|
38304
|
+
|
38305
|
+
Started GET "/assets/jquery-fileupload/vendor/load-image.all.min.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38306
|
+
Served asset /jquery-fileupload/vendor/load-image.all.min.js - 200 OK (1ms)
|
38307
|
+
|
38308
|
+
|
38309
|
+
Started GET "/assets/jquery-fileupload/vendor/tmpl.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38310
|
+
Served asset /jquery-fileupload/vendor/tmpl.js - 200 OK (1ms)
|
38311
|
+
|
38312
|
+
|
38313
|
+
Started GET "/assets/jquery-fileupload/vendor/canvas-to-blob.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38314
|
+
Served asset /jquery-fileupload/vendor/canvas-to-blob.js - 200 OK (1ms)
|
38315
|
+
|
38316
|
+
|
38317
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38318
|
+
Served asset /jquery.js - 200 OK (2ms)
|
38319
|
+
|
38320
|
+
|
38321
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38322
|
+
Served asset /jquery_ujs.js - 200 OK (3ms)
|
38323
|
+
|
38324
|
+
|
38325
|
+
Started GET "/assets/jquery-fileupload/vendor/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38326
|
+
Served asset /jquery-fileupload/vendor/jquery.ui.widget.js - 200 OK (3ms)
|
38327
|
+
|
38328
|
+
|
38329
|
+
Started GET "/assets/jquery-fileupload/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38330
|
+
Served asset /jquery-fileupload/jquery.iframe-transport.js - 200 OK (1ms)
|
38331
|
+
|
38332
|
+
|
38333
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-audio.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38334
|
+
Served asset /jquery-fileupload/jquery.fileupload-audio.js - 200 OK (2ms)
|
38335
|
+
|
38336
|
+
|
38337
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38338
|
+
Served asset /jquery-fileupload/jquery.fileupload.js - 200 OK (3ms)
|
38339
|
+
|
38340
|
+
|
38341
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-video.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38342
|
+
Served asset /jquery-fileupload/jquery.fileupload-video.js - 200 OK (8ms)
|
38343
|
+
|
38344
|
+
|
38345
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-process.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38346
|
+
Served asset /jquery-fileupload/jquery.fileupload-process.js - 200 OK (3ms)
|
38347
|
+
|
38348
|
+
|
38349
|
+
Started GET "/assets/uploaded_files.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38350
|
+
Served asset /uploaded_files.js - 200 OK (25ms)
|
38351
|
+
|
38352
|
+
|
38353
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-validate.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38354
|
+
Served asset /jquery-fileupload/jquery.fileupload-validate.js - 200 OK (5ms)
|
38355
|
+
|
38356
|
+
|
38357
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-ui.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38358
|
+
Served asset /jquery-fileupload/jquery.fileupload-ui.js - 200 OK (6ms)
|
38359
|
+
|
38360
|
+
|
38361
|
+
Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38362
|
+
Served asset /posts.js - 200 OK (1ms)
|
38363
|
+
|
38364
|
+
|
38365
|
+
Started GET "/assets/jquery-fileupload/locale.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38366
|
+
Served asset /jquery-fileupload/locale.js - 200 OK (3ms)
|
38367
|
+
|
38368
|
+
|
38369
|
+
Started GET "/assets/jquery-fileupload/index.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38370
|
+
Served asset /jquery-fileupload/index.js - 200 OK (17ms)
|
38371
|
+
|
38372
|
+
|
38373
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38374
|
+
Served asset /application.js - 200 OK (16ms)
|
38375
|
+
|
38376
|
+
|
38377
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-image.js?body=1" for 127.0.0.1 at 2015-08-31 09:40:29 +0200
|
38378
|
+
Served asset /jquery-fileupload/jquery.fileupload-image.js - 200 OK (2ms)
|
38379
|
+
|
38380
|
+
|
38381
|
+
Started GET "/posts/new" for 127.0.0.1 at 2015-08-31 09:40:31 +0200
|
38382
|
+
Processing by PostsController#new as HTML
|
38383
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (2.1ms)
|
38384
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38385
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38386
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38387
|
+
Rendered posts/_form.html.erb (15.6ms)
|
38388
|
+
Rendered posts/new.html.erb within layouts/application (20.0ms)
|
38389
|
+
Completed 200 OK in 41.0ms (Views: 35.8ms | ActiveRecord: 0.0ms)
|
38390
|
+
|
38391
|
+
|
38392
|
+
Started POST "/file_upload" for 127.0.0.1 at 2015-08-31 09:40:36 +0200
|
38393
|
+
Processing by UploadedFilesController#file_upload as JSON
|
38394
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"32q6kuc1AuIrb2K+A4ZURMkDIxECoRGT4UHCNhsAXcA=", "post"=>{"image_uploaded_file_id"=>""}, "files"=>[#<ActionDispatch::Http::UploadedFile:0x007fc299c07840 @original_filename="health-promotion-strategy-erin-cronin-.ppt", @content_type="application/vnd.ms-powerpoint", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"health-promotion-strategy-erin-cronin-.ppt\"\r\nContent-Type: application/vnd.ms-powerpoint\r\n", @tempfile=#<Tempfile:/tmp/RackMultipart20150831-3321-chw9x8>>]}
|
38395
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-3321-1hk45gw.ppt'
|
38396
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38397
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-3321-cejn9z.ppt'
|
38398
|
+
Binary data inserted for `string` type on column `file_content_type`
|
38399
|
+
[1m[36mSQL (7.1ms)[0m [1mINSERT INTO "uploaded_files" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 31 Aug 2015 07:40:36 UTC +00:00], ["file_content_type", "application/vnd.ms-powerpoint"], ["file_file_name", "health-promotion-strategy-erin-cronin-.ppt"], ["file_file_size", 1807872], ["file_updated_at", Mon, 31 Aug 2015 07:40:36 UTC +00:00], ["updated_at", Mon, 31 Aug 2015 07:40:36 UTC +00:00]]
|
38400
|
+
[1m[35m (1.2ms)[0m commit transaction
|
38401
|
+
Completed 200 OK in 45.0ms (Views: 0.6ms | ActiveRecord: 8.7ms)
|
38402
|
+
|
38403
|
+
|
38404
|
+
Started GET "/posts/new" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38405
|
+
Processing by PostsController#new as HTML
|
38406
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.7ms)
|
38407
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38408
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38409
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38410
|
+
Rendered posts/_form.html.erb (7.3ms)
|
38411
|
+
Rendered posts/new.html.erb within layouts/application (8.9ms)
|
38412
|
+
Compiled uploaded_files.js (122ms) (pid 3321)
|
38413
|
+
Compiled application.js (2ms) (pid 3321)
|
38414
|
+
Completed 200 OK in 173.3ms (Views: 172.9ms | ActiveRecord: 0.0ms)
|
38415
|
+
|
38416
|
+
|
38417
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38418
|
+
Served asset /application.css - 304 Not Modified (6ms)
|
38419
|
+
|
38420
|
+
|
38421
|
+
Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38422
|
+
Served asset /posts.css - 304 Not Modified (0ms)
|
38423
|
+
|
38424
|
+
|
38425
|
+
Started GET "/assets/jquery.fileupload-ui.css?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38426
|
+
Served asset /jquery.fileupload-ui.css - 304 Not Modified (0ms)
|
38427
|
+
|
38428
|
+
|
38429
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38430
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
38431
|
+
|
38432
|
+
|
38433
|
+
Started GET "/assets/uploaded_files.css?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38434
|
+
Served asset /uploaded_files.css - 304 Not Modified (1ms)
|
38435
|
+
|
38436
|
+
|
38437
|
+
Started GET "/assets/jquery.fileupload.css?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38438
|
+
Served asset /jquery.fileupload.css - 304 Not Modified (0ms)
|
38439
|
+
|
38440
|
+
|
38441
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38442
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
38443
|
+
|
38444
|
+
|
38445
|
+
Started GET "/assets/jquery-fileupload/vendor/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38446
|
+
Served asset /jquery-fileupload/vendor/jquery.ui.widget.js - 304 Not Modified (0ms)
|
38447
|
+
|
38448
|
+
|
38449
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38450
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
38451
|
+
|
38452
|
+
|
38453
|
+
Started GET "/assets/jquery-fileupload/vendor/tmpl.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38454
|
+
Served asset /jquery-fileupload/vendor/tmpl.js - 304 Not Modified (0ms)
|
38455
|
+
|
38456
|
+
|
38457
|
+
Started GET "/assets/jquery-fileupload/vendor/load-image.all.min.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38458
|
+
Served asset /jquery-fileupload/vendor/load-image.all.min.js - 304 Not Modified (0ms)
|
38459
|
+
|
38460
|
+
|
38461
|
+
Started GET "/assets/jquery-fileupload/vendor/canvas-to-blob.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38462
|
+
Served asset /jquery-fileupload/vendor/canvas-to-blob.js - 304 Not Modified (0ms)
|
38463
|
+
|
38464
|
+
|
38465
|
+
Started GET "/assets/jquery-fileupload/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38466
|
+
Served asset /jquery-fileupload/jquery.iframe-transport.js - 304 Not Modified (0ms)
|
38467
|
+
|
38468
|
+
|
38469
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38470
|
+
Served asset /jquery-fileupload/jquery.fileupload.js - 304 Not Modified (6ms)
|
38471
|
+
|
38472
|
+
|
38473
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-process.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38474
|
+
Served asset /jquery-fileupload/jquery.fileupload-process.js - 304 Not Modified (0ms)
|
38475
|
+
|
38476
|
+
|
38477
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-image.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38478
|
+
Served asset /jquery-fileupload/jquery.fileupload-image.js - 304 Not Modified (2ms)
|
38479
|
+
|
38480
|
+
|
38481
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-audio.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38482
|
+
Served asset /jquery-fileupload/jquery.fileupload-audio.js - 304 Not Modified (0ms)
|
38483
|
+
|
38484
|
+
|
38485
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-video.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38486
|
+
Served asset /jquery-fileupload/jquery.fileupload-video.js - 304 Not Modified (0ms)
|
38487
|
+
|
38488
|
+
|
38489
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-validate.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38490
|
+
Served asset /jquery-fileupload/jquery.fileupload-validate.js - 304 Not Modified (0ms)
|
38491
|
+
|
38492
|
+
|
38493
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-ui.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38494
|
+
Served asset /jquery-fileupload/jquery.fileupload-ui.js - 304 Not Modified (0ms)
|
38495
|
+
|
38496
|
+
|
38497
|
+
Started GET "/assets/jquery-fileupload/locale.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38498
|
+
Served asset /jquery-fileupload/locale.js - 304 Not Modified (0ms)
|
38499
|
+
|
38500
|
+
|
38501
|
+
Started GET "/assets/jquery-fileupload/index.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38502
|
+
Served asset /jquery-fileupload/index.js - 304 Not Modified (1ms)
|
38503
|
+
|
38504
|
+
|
38505
|
+
Started GET "/assets/uploaded_files.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38506
|
+
Served asset /uploaded_files.js - 200 OK (21ms)
|
38507
|
+
|
38508
|
+
|
38509
|
+
Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38510
|
+
Served asset /posts.js - 304 Not Modified (0ms)
|
38511
|
+
|
38512
|
+
|
38513
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-08-31 09:42:15 +0200
|
38514
|
+
Served asset /application.js - 304 Not Modified (18ms)
|
38515
|
+
|
38516
|
+
|
38517
|
+
Started POST "/file_upload" for 127.0.0.1 at 2015-08-31 09:42:18 +0200
|
38518
|
+
Processing by UploadedFilesController#file_upload as JSON
|
38519
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"32q6kuc1AuIrb2K+A4ZURMkDIxECoRGT4UHCNhsAXcA=", "post"=>{"image_uploaded_file_id"=>""}, "files"=>[#<ActionDispatch::Http::UploadedFile:0x007fc29938fb40 @original_filename="health-promotion-strategy-erin-cronin-.ppt", @content_type="application/vnd.ms-powerpoint", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"health-promotion-strategy-erin-cronin-.ppt\"\r\nContent-Type: application/vnd.ms-powerpoint\r\n", @tempfile=#<Tempfile:/tmp/RackMultipart20150831-3321-1aev8no>>]}
|
38520
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-3321-5qnac7.ppt'
|
38521
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38522
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-3321-1vwwdxs.ppt'
|
38523
|
+
Binary data inserted for `string` type on column `file_content_type`
|
38524
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "uploaded_files" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 31 Aug 2015 07:42:18 UTC +00:00], ["file_content_type", "application/vnd.ms-powerpoint"], ["file_file_name", "health-promotion-strategy-erin-cronin-.ppt"], ["file_file_size", 1807872], ["file_updated_at", Mon, 31 Aug 2015 07:42:18 UTC +00:00], ["updated_at", Mon, 31 Aug 2015 07:42:18 UTC +00:00]]
|
38525
|
+
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
38526
|
+
Completed 200 OK in 42.2ms (Views: 0.5ms | ActiveRecord: 6.5ms)
|
38527
|
+
Connecting to database specified by database.yml
|
38528
|
+
|
38529
|
+
|
38530
|
+
Started GET "/posts/new" for 127.0.0.1 at 2015-08-31 09:48:19 +0200
|
38531
|
+
Processing by PostsController#new as HTML
|
38532
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (8.9ms)
|
38533
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.6ms)
|
38534
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38535
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38536
|
+
Rendered posts/_form.html.erb (15.2ms)
|
38537
|
+
Rendered posts/new.html.erb within layouts/application (17.7ms)
|
38538
|
+
Compiled uploaded_files.js (225ms) (pid 4104)
|
38539
|
+
Compiled application.js (2ms) (pid 4104)
|
38540
|
+
Completed 200 OK in 324.3ms (Views: 309.0ms | ActiveRecord: 0.9ms)
|
38541
|
+
|
38542
|
+
|
38543
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38544
|
+
Served asset /application.css - 304 Not Modified (17ms)
|
38545
|
+
|
38546
|
+
|
38547
|
+
Started GET "/assets/jquery.fileupload.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38548
|
+
Served asset /jquery.fileupload.css - 304 Not Modified (3ms)
|
38549
|
+
|
38550
|
+
|
38551
|
+
Started GET "/assets/jquery.fileupload-ui.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38552
|
+
Served asset /jquery.fileupload-ui.css - 304 Not Modified (4ms)
|
38553
|
+
|
38554
|
+
|
38555
|
+
Started GET "/assets/uploaded_files.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38556
|
+
Served asset /uploaded_files.css - 304 Not Modified (12ms)
|
38557
|
+
|
38558
|
+
|
38559
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38560
|
+
Served asset /scaffold.css - 304 Not Modified (1ms)
|
38561
|
+
|
38562
|
+
|
38563
|
+
Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38564
|
+
Served asset /posts.css - 304 Not Modified (1ms)
|
38565
|
+
|
38566
|
+
|
38567
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38568
|
+
Served asset /jquery.js - 304 Not Modified (3ms)
|
38569
|
+
|
38570
|
+
|
38571
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38572
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
38573
|
+
|
38574
|
+
|
38575
|
+
Started GET "/assets/jquery-fileupload/vendor/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38576
|
+
Served asset /jquery-fileupload/vendor/jquery.ui.widget.js - 304 Not Modified (1ms)
|
38577
|
+
|
38578
|
+
|
38579
|
+
Started GET "/assets/jquery-fileupload/vendor/tmpl.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38580
|
+
Served asset /jquery-fileupload/vendor/tmpl.js - 304 Not Modified (1ms)
|
38581
|
+
|
38582
|
+
|
38583
|
+
Started GET "/assets/jquery-fileupload/vendor/load-image.all.min.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38584
|
+
Served asset /jquery-fileupload/vendor/load-image.all.min.js - 304 Not Modified (2ms)
|
38585
|
+
|
38586
|
+
|
38587
|
+
Started GET "/assets/jquery-fileupload/vendor/canvas-to-blob.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38588
|
+
Served asset /jquery-fileupload/vendor/canvas-to-blob.js - 304 Not Modified (6ms)
|
38589
|
+
|
38590
|
+
|
38591
|
+
Started GET "/assets/jquery-fileupload/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38592
|
+
Served asset /jquery-fileupload/jquery.iframe-transport.js - 304 Not Modified (3ms)
|
38593
|
+
|
38594
|
+
|
38595
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-audio.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38596
|
+
Served asset /jquery-fileupload/jquery.fileupload-audio.js - 304 Not Modified (3ms)
|
38597
|
+
|
38598
|
+
|
38599
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-image.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38600
|
+
Served asset /jquery-fileupload/jquery.fileupload-image.js - 304 Not Modified (2ms)
|
38601
|
+
|
38602
|
+
|
38603
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38604
|
+
Served asset /jquery-fileupload/jquery.fileupload.js - 304 Not Modified (2ms)
|
38605
|
+
|
38606
|
+
|
38607
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-process.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38608
|
+
Served asset /jquery-fileupload/jquery.fileupload-process.js - 304 Not Modified (2ms)
|
38609
|
+
|
38610
|
+
|
38611
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-video.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38612
|
+
Served asset /jquery-fileupload/jquery.fileupload-video.js - 304 Not Modified (1ms)
|
38613
|
+
|
38614
|
+
|
38615
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-validate.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38616
|
+
Served asset /jquery-fileupload/jquery.fileupload-validate.js - 304 Not Modified (2ms)
|
38617
|
+
|
38618
|
+
|
38619
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-ui.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38620
|
+
Served asset /jquery-fileupload/jquery.fileupload-ui.js - 304 Not Modified (6ms)
|
38621
|
+
|
38622
|
+
|
38623
|
+
Started GET "/assets/jquery-fileupload/locale.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38624
|
+
Served asset /jquery-fileupload/locale.js - 304 Not Modified (1ms)
|
38625
|
+
|
38626
|
+
|
38627
|
+
Started GET "/assets/jquery-fileupload/index.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38628
|
+
Served asset /jquery-fileupload/index.js - 304 Not Modified (12ms)
|
38629
|
+
|
38630
|
+
|
38631
|
+
Started GET "/assets/uploaded_files.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38632
|
+
Served asset /uploaded_files.js - 200 OK (20ms)
|
38633
|
+
|
38634
|
+
|
38635
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38636
|
+
Served asset /application.js - 304 Not Modified (24ms)
|
38637
|
+
|
38638
|
+
|
38639
|
+
Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2015-08-31 09:48:20 +0200
|
38640
|
+
Served asset /posts.js - 304 Not Modified (1ms)
|
38641
|
+
|
38642
|
+
|
38643
|
+
Started POST "/file_upload" for 127.0.0.1 at 2015-08-31 09:48:22 +0200
|
38644
|
+
Processing by UploadedFilesController#file_upload as JSON
|
38645
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"32q6kuc1AuIrb2K+A4ZURMkDIxECoRGT4UHCNhsAXcA=", "post"=>{"image_uploaded_file_id"=>""}, "files"=>[#<ActionDispatch::Http::UploadedFile:0x007f0a84375e20 @original_filename="health-promotion-strategy-erin-cronin-.ppt", @content_type="application/vnd.ms-powerpoint", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"health-promotion-strategy-erin-cronin-.ppt\"\r\nContent-Type: application/vnd.ms-powerpoint\r\n", @tempfile=#<Tempfile:/tmp/RackMultipart20150831-4104-uzzx3u>>]}
|
38646
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-4104-11pw0x0.ppt'
|
38647
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38648
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-4104-yvn5az.ppt'
|
38649
|
+
Binary data inserted for `string` type on column `file_content_type`
|
38650
|
+
[1m[35mSQL (7.4ms)[0m INSERT INTO "uploaded_files" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 31 Aug 2015 07:48:22 UTC +00:00], ["file_content_type", "application/vnd.ms-powerpoint"], ["file_file_name", "health-promotion-strategy-erin-cronin-.ppt"], ["file_file_size", 1807872], ["file_updated_at", Mon, 31 Aug 2015 07:48:22 UTC +00:00], ["updated_at", Mon, 31 Aug 2015 07:48:22 UTC +00:00]]
|
38651
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
38652
|
+
Completed 200 OK in 46.0ms (Views: 0.5ms | ActiveRecord: 10.0ms)
|
38653
|
+
|
38654
|
+
|
38655
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:38 +0200
|
38656
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
38657
|
+
|
38658
|
+
|
38659
|
+
Started GET "/assets/jquery.fileupload-ui.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:38 +0200
|
38660
|
+
Served asset /jquery.fileupload-ui.css - 304 Not Modified (0ms)
|
38661
|
+
|
38662
|
+
|
38663
|
+
Started GET "/assets/uploaded_files.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:38 +0200
|
38664
|
+
Served asset /uploaded_files.css - 304 Not Modified (0ms)
|
38665
|
+
|
38666
|
+
|
38667
|
+
Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:38 +0200
|
38668
|
+
Served asset /posts.css - 304 Not Modified (0ms)
|
38669
|
+
|
38670
|
+
|
38671
|
+
Started GET "/assets/jquery.fileupload.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:38 +0200
|
38672
|
+
Served asset /jquery.fileupload.css - 304 Not Modified (0ms)
|
38673
|
+
|
38674
|
+
|
38675
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2015-08-31 09:48:38 +0200
|
38676
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
38677
|
+
|
38678
|
+
|
38679
|
+
Started GET "/posts/new" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38680
|
+
Processing by PostsController#new as HTML
|
38681
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (2.0ms)
|
38682
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.5ms)
|
38683
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38684
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38685
|
+
Rendered posts/_form.html.erb (6.9ms)
|
38686
|
+
Rendered posts/new.html.erb within layouts/application (7.5ms)
|
38687
|
+
Completed 200 OK in 19.3ms (Views: 19.0ms | ActiveRecord: 0.0ms)
|
38688
|
+
|
38689
|
+
|
38690
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38691
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
38692
|
+
|
38693
|
+
|
38694
|
+
Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38695
|
+
Served asset /posts.css - 304 Not Modified (0ms)
|
38696
|
+
|
38697
|
+
|
38698
|
+
Started GET "/assets/jquery.fileupload-ui.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38699
|
+
Served asset /jquery.fileupload-ui.css - 304 Not Modified (0ms)
|
38700
|
+
|
38701
|
+
|
38702
|
+
Started GET "/assets/jquery.fileupload.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38703
|
+
Served asset /jquery.fileupload.css - 304 Not Modified (0ms)
|
38704
|
+
|
38705
|
+
|
38706
|
+
Started GET "/assets/uploaded_files.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38707
|
+
Served asset /uploaded_files.css - 304 Not Modified (2ms)
|
38708
|
+
|
38709
|
+
|
38710
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38711
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
38712
|
+
|
38713
|
+
|
38714
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38715
|
+
Served asset /jquery.js - 304 Not Modified (1ms)
|
38716
|
+
|
38717
|
+
|
38718
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38719
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
38720
|
+
|
38721
|
+
|
38722
|
+
Started GET "/assets/jquery-fileupload/vendor/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38723
|
+
Served asset /jquery-fileupload/vendor/jquery.ui.widget.js - 304 Not Modified (0ms)
|
38724
|
+
|
38725
|
+
|
38726
|
+
Started GET "/assets/jquery-fileupload/vendor/tmpl.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38727
|
+
Served asset /jquery-fileupload/vendor/tmpl.js - 304 Not Modified (0ms)
|
38728
|
+
|
38729
|
+
|
38730
|
+
Started GET "/assets/jquery-fileupload/vendor/load-image.all.min.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38731
|
+
Served asset /jquery-fileupload/vendor/load-image.all.min.js - 304 Not Modified (0ms)
|
38732
|
+
|
38733
|
+
|
38734
|
+
Started GET "/assets/jquery-fileupload/vendor/canvas-to-blob.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38735
|
+
Served asset /jquery-fileupload/vendor/canvas-to-blob.js - 304 Not Modified (0ms)
|
38736
|
+
|
38737
|
+
|
38738
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38739
|
+
Served asset /jquery-fileupload/jquery.fileupload.js - 304 Not Modified (0ms)
|
38740
|
+
|
38741
|
+
|
38742
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-process.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38743
|
+
Served asset /jquery-fileupload/jquery.fileupload-process.js - 304 Not Modified (0ms)
|
38744
|
+
|
38745
|
+
|
38746
|
+
Started GET "/assets/jquery-fileupload/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38747
|
+
Served asset /jquery-fileupload/jquery.iframe-transport.js - 304 Not Modified (0ms)
|
38748
|
+
|
38749
|
+
|
38750
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-image.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38751
|
+
Served asset /jquery-fileupload/jquery.fileupload-image.js - 304 Not Modified (0ms)
|
38752
|
+
|
38753
|
+
|
38754
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-audio.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38755
|
+
Served asset /jquery-fileupload/jquery.fileupload-audio.js - 304 Not Modified (0ms)
|
38756
|
+
|
38757
|
+
|
38758
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-video.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38759
|
+
Served asset /jquery-fileupload/jquery.fileupload-video.js - 304 Not Modified (0ms)
|
38760
|
+
|
38761
|
+
|
38762
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-ui.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38763
|
+
Served asset /jquery-fileupload/jquery.fileupload-ui.js - 304 Not Modified (0ms)
|
38764
|
+
|
38765
|
+
|
38766
|
+
Started GET "/assets/jquery-fileupload/index.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38767
|
+
Served asset /jquery-fileupload/index.js - 304 Not Modified (5ms)
|
38768
|
+
|
38769
|
+
|
38770
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-validate.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38771
|
+
Served asset /jquery-fileupload/jquery.fileupload-validate.js - 304 Not Modified (0ms)
|
38772
|
+
|
38773
|
+
|
38774
|
+
Started GET "/assets/jquery-fileupload/locale.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38775
|
+
Served asset /jquery-fileupload/locale.js - 304 Not Modified (0ms)
|
38776
|
+
|
38777
|
+
|
38778
|
+
Started GET "/assets/uploaded_files.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38779
|
+
Served asset /uploaded_files.js - 304 Not Modified (4ms)
|
38780
|
+
|
38781
|
+
|
38782
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38783
|
+
Served asset /application.js - 304 Not Modified (3ms)
|
38784
|
+
|
38785
|
+
|
38786
|
+
Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:20 +0200
|
38787
|
+
Served asset /posts.js - 304 Not Modified (0ms)
|
38788
|
+
|
38789
|
+
|
38790
|
+
Started POST "/file_upload" for 127.0.0.1 at 2015-08-31 09:49:22 +0200
|
38791
|
+
Processing by UploadedFilesController#file_upload as JSON
|
38792
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"32q6kuc1AuIrb2K+A4ZURMkDIxECoRGT4UHCNhsAXcA=", "post"=>{"image_uploaded_file_id"=>""}, "files"=>[#<ActionDispatch::Http::UploadedFile:0x007f0a782fa9c0 @original_filename="health-promotion-strategy-erin-cronin-.ppt", @content_type="application/vnd.ms-powerpoint", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"health-promotion-strategy-erin-cronin-.ppt\"\r\nContent-Type: application/vnd.ms-powerpoint\r\n", @tempfile=#<Tempfile:/tmp/RackMultipart20150831-4104-59u3ji>>]}
|
38793
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-4104-ojgjke.ppt'
|
38794
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38795
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-4104-ccbihy.ppt'
|
38796
|
+
Binary data inserted for `string` type on column `file_content_type`
|
38797
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "uploaded_files" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 31 Aug 2015 07:49:22 UTC +00:00], ["file_content_type", "application/vnd.ms-powerpoint"], ["file_file_name", "health-promotion-strategy-erin-cronin-.ppt"], ["file_file_size", 1807872], ["file_updated_at", Mon, 31 Aug 2015 07:49:22 UTC +00:00], ["updated_at", Mon, 31 Aug 2015 07:49:22 UTC +00:00]]
|
38798
|
+
[1m[35m (1.1ms)[0m commit transaction
|
38799
|
+
Completed 200 OK in 38.7ms (Views: 0.5ms | ActiveRecord: 1.6ms)
|
38800
|
+
|
38801
|
+
|
38802
|
+
Started GET "/posts/new" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38803
|
+
Processing by PostsController#new as HTML
|
38804
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (2.1ms)
|
38805
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38806
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38807
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38808
|
+
Rendered posts/_form.html.erb (6.9ms)
|
38809
|
+
Rendered posts/new.html.erb within layouts/application (7.5ms)
|
38810
|
+
Completed 200 OK in 21.9ms (Views: 19.6ms | ActiveRecord: 0.0ms)
|
38811
|
+
|
38812
|
+
|
38813
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38814
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
38815
|
+
|
38816
|
+
|
38817
|
+
Started GET "/assets/jquery.fileupload.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38818
|
+
Served asset /jquery.fileupload.css - 304 Not Modified (0ms)
|
38819
|
+
|
38820
|
+
|
38821
|
+
Started GET "/assets/jquery.fileupload-ui.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38822
|
+
Served asset /jquery.fileupload-ui.css - 304 Not Modified (0ms)
|
38823
|
+
|
38824
|
+
|
38825
|
+
Started GET "/assets/uploaded_files.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38826
|
+
Served asset /uploaded_files.css - 304 Not Modified (0ms)
|
38827
|
+
|
38828
|
+
|
38829
|
+
Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38830
|
+
Served asset /posts.css - 304 Not Modified (0ms)
|
38831
|
+
|
38832
|
+
|
38833
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38834
|
+
Served asset /scaffold.css - 304 Not Modified (17ms)
|
38835
|
+
|
38836
|
+
|
38837
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38838
|
+
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
|
38839
|
+
|
38840
|
+
|
38841
|
+
Started GET "/assets/jquery-fileupload/vendor/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38842
|
+
Served asset /jquery-fileupload/vendor/jquery.ui.widget.js - 304 Not Modified (0ms)
|
38843
|
+
|
38844
|
+
|
38845
|
+
Started GET "/assets/jquery-fileupload/vendor/tmpl.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38846
|
+
Served asset /jquery-fileupload/vendor/tmpl.js - 304 Not Modified (2ms)
|
38847
|
+
|
38848
|
+
|
38849
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38850
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
38851
|
+
|
38852
|
+
|
38853
|
+
Started GET "/assets/jquery-fileupload/vendor/load-image.all.min.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38854
|
+
Served asset /jquery-fileupload/vendor/load-image.all.min.js - 304 Not Modified (0ms)
|
38855
|
+
|
38856
|
+
|
38857
|
+
Started GET "/assets/jquery-fileupload/vendor/canvas-to-blob.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38858
|
+
Served asset /jquery-fileupload/vendor/canvas-to-blob.js - 304 Not Modified (0ms)
|
38859
|
+
|
38860
|
+
|
38861
|
+
Started GET "/assets/jquery-fileupload/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38862
|
+
Served asset /jquery-fileupload/jquery.iframe-transport.js - 304 Not Modified (5ms)
|
38863
|
+
|
38864
|
+
|
38865
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38866
|
+
Served asset /jquery-fileupload/jquery.fileupload.js - 304 Not Modified (5ms)
|
38867
|
+
|
38868
|
+
|
38869
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-audio.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38870
|
+
Served asset /jquery-fileupload/jquery.fileupload-audio.js - 304 Not Modified (0ms)
|
38871
|
+
|
38872
|
+
|
38873
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-image.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38874
|
+
Served asset /jquery-fileupload/jquery.fileupload-image.js - 304 Not Modified (2ms)
|
38875
|
+
|
38876
|
+
|
38877
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-process.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38878
|
+
Served asset /jquery-fileupload/jquery.fileupload-process.js - 304 Not Modified (0ms)
|
38879
|
+
|
38880
|
+
|
38881
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-validate.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38882
|
+
Served asset /jquery-fileupload/jquery.fileupload-validate.js - 304 Not Modified (1ms)
|
38883
|
+
|
38884
|
+
|
38885
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-video.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38886
|
+
Served asset /jquery-fileupload/jquery.fileupload-video.js - 304 Not Modified (2ms)
|
38887
|
+
|
38888
|
+
|
38889
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-ui.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38890
|
+
Served asset /jquery-fileupload/jquery.fileupload-ui.js - 304 Not Modified (0ms)
|
38891
|
+
|
38892
|
+
|
38893
|
+
Started GET "/assets/jquery-fileupload/locale.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38894
|
+
Served asset /jquery-fileupload/locale.js - 304 Not Modified (0ms)
|
38895
|
+
|
38896
|
+
|
38897
|
+
Started GET "/assets/jquery-fileupload/index.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38898
|
+
Served asset /jquery-fileupload/index.js - 304 Not Modified (1ms)
|
38899
|
+
|
38900
|
+
|
38901
|
+
Started GET "/assets/uploaded_files.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38902
|
+
Served asset /uploaded_files.js - 304 Not Modified (1ms)
|
38903
|
+
|
38904
|
+
|
38905
|
+
Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38906
|
+
Served asset /posts.js - 304 Not Modified (0ms)
|
38907
|
+
|
38908
|
+
|
38909
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-08-31 09:49:47 +0200
|
38910
|
+
Served asset /application.js - 304 Not Modified (2ms)
|
38911
|
+
|
38912
|
+
|
38913
|
+
Started POST "/file_upload" for 127.0.0.1 at 2015-08-31 09:49:50 +0200
|
38914
|
+
Processing by UploadedFilesController#file_upload as JSON
|
38915
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"32q6kuc1AuIrb2K+A4ZURMkDIxECoRGT4UHCNhsAXcA=", "post"=>{"image_uploaded_file_id"=>""}, "files"=>[#<ActionDispatch::Http::UploadedFile:0x007f0a83507410 @original_filename="health-promotion-strategy-erin-cronin-.ppt", @content_type="application/vnd.ms-powerpoint", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"health-promotion-strategy-erin-cronin-.ppt\"\r\nContent-Type: application/vnd.ms-powerpoint\r\n", @tempfile=#<Tempfile:/tmp/RackMultipart20150831-4104-1xde9d2>>]}
|
38916
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-4104-9vdgzd.ppt'
|
38917
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38918
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-4104-1jdtmsm.ppt'
|
38919
|
+
Binary data inserted for `string` type on column `file_content_type`
|
38920
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "uploaded_files" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 31 Aug 2015 07:49:50 UTC +00:00], ["file_content_type", "application/vnd.ms-powerpoint"], ["file_file_name", "health-promotion-strategy-erin-cronin-.ppt"], ["file_file_size", 1807872], ["file_updated_at", Mon, 31 Aug 2015 07:49:50 UTC +00:00], ["updated_at", Mon, 31 Aug 2015 07:49:50 UTC +00:00]]
|
38921
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
38922
|
+
Completed 200 OK in 33.9ms (Views: 0.6ms | ActiveRecord: 1.7ms)
|
38923
|
+
|
38924
|
+
|
38925
|
+
Started GET "/posts/new" for 127.0.0.1 at 2015-08-31 09:53:45 +0200
|
38926
|
+
Processing by PostsController#new as HTML
|
38927
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.9ms)
|
38928
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38929
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.7ms)
|
38930
|
+
Rendered /home/florent/Projects/ouvrages_file_uploader/app/views/uploaded_files/_file_upload.html.haml (0.4ms)
|
38931
|
+
Rendered posts/_form.html.erb (5.9ms)
|
38932
|
+
Rendered posts/new.html.erb within layouts/application (6.5ms)
|
38933
|
+
Compiled uploaded_files.js (117ms) (pid 4104)
|
38934
|
+
Compiled application.js (2ms) (pid 4104)
|
38935
|
+
Completed 200 OK in 160.5ms (Views: 160.1ms | ActiveRecord: 0.0ms)
|
38936
|
+
|
38937
|
+
|
38938
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38939
|
+
Served asset /application.css - 304 Not Modified (14ms)
|
38940
|
+
|
38941
|
+
|
38942
|
+
Started GET "/assets/jquery.fileupload-ui.css?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38943
|
+
Served asset /jquery.fileupload-ui.css - 304 Not Modified (0ms)
|
38944
|
+
|
38945
|
+
|
38946
|
+
Started GET "/assets/jquery.fileupload.css?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38947
|
+
Served asset /jquery.fileupload.css - 304 Not Modified (0ms)
|
38948
|
+
|
38949
|
+
|
38950
|
+
Started GET "/assets/uploaded_files.css?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38951
|
+
Served asset /uploaded_files.css - 304 Not Modified (0ms)
|
38952
|
+
|
38953
|
+
|
38954
|
+
Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38955
|
+
Served asset /posts.css - 304 Not Modified (0ms)
|
38956
|
+
|
38957
|
+
|
38958
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38959
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
38960
|
+
|
38961
|
+
|
38962
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38963
|
+
Served asset /jquery.js - 304 Not Modified (7ms)
|
38964
|
+
|
38965
|
+
|
38966
|
+
Started GET "/assets/jquery-fileupload/vendor/tmpl.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38967
|
+
Served asset /jquery-fileupload/vendor/tmpl.js - 304 Not Modified (0ms)
|
38968
|
+
|
38969
|
+
|
38970
|
+
Started GET "/assets/jquery-fileupload/vendor/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38971
|
+
Served asset /jquery-fileupload/vendor/jquery.ui.widget.js - 304 Not Modified (0ms)
|
38972
|
+
|
38973
|
+
|
38974
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38975
|
+
Served asset /jquery_ujs.js - 304 Not Modified (6ms)
|
38976
|
+
|
38977
|
+
|
38978
|
+
Started GET "/assets/jquery-fileupload/vendor/load-image.all.min.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38979
|
+
Served asset /jquery-fileupload/vendor/load-image.all.min.js - 304 Not Modified (0ms)
|
38980
|
+
|
38981
|
+
|
38982
|
+
Started GET "/assets/jquery-fileupload/vendor/canvas-to-blob.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38983
|
+
Served asset /jquery-fileupload/vendor/canvas-to-blob.js - 304 Not Modified (0ms)
|
38984
|
+
|
38985
|
+
|
38986
|
+
Started GET "/assets/jquery-fileupload/jquery.iframe-transport.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38987
|
+
Served asset /jquery-fileupload/jquery.iframe-transport.js - 304 Not Modified (0ms)
|
38988
|
+
|
38989
|
+
|
38990
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-process.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38991
|
+
Served asset /jquery-fileupload/jquery.fileupload-process.js - 304 Not Modified (0ms)
|
38992
|
+
|
38993
|
+
|
38994
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38995
|
+
Served asset /jquery-fileupload/jquery.fileupload.js - 304 Not Modified (0ms)
|
38996
|
+
|
38997
|
+
|
38998
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-validate.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
38999
|
+
Served asset /jquery-fileupload/jquery.fileupload-validate.js - 304 Not Modified (0ms)
|
39000
|
+
|
39001
|
+
|
39002
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-video.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39003
|
+
Served asset /jquery-fileupload/jquery.fileupload-video.js - 304 Not Modified (0ms)
|
39004
|
+
|
39005
|
+
|
39006
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-ui.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39007
|
+
Served asset /jquery-fileupload/jquery.fileupload-ui.js - 304 Not Modified (0ms)
|
39008
|
+
|
39009
|
+
|
39010
|
+
Started GET "/assets/jquery-fileupload/locale.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39011
|
+
Served asset /jquery-fileupload/locale.js - 304 Not Modified (0ms)
|
39012
|
+
|
39013
|
+
|
39014
|
+
Started GET "/assets/jquery-fileupload/index.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39015
|
+
Served asset /jquery-fileupload/index.js - 304 Not Modified (5ms)
|
39016
|
+
|
39017
|
+
|
39018
|
+
Started GET "/assets/uploaded_files.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39019
|
+
Served asset /uploaded_files.js - 200 OK (14ms)
|
39020
|
+
|
39021
|
+
|
39022
|
+
Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39023
|
+
Served asset /posts.js - 304 Not Modified (0ms)
|
39024
|
+
|
39025
|
+
|
39026
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39027
|
+
Served asset /application.js - 304 Not Modified (27ms)
|
39028
|
+
|
39029
|
+
|
39030
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-audio.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39031
|
+
Served asset /jquery-fileupload/jquery.fileupload-audio.js - 304 Not Modified (0ms)
|
39032
|
+
|
39033
|
+
|
39034
|
+
Started GET "/assets/jquery-fileupload/jquery.fileupload-image.js?body=1" for 127.0.0.1 at 2015-08-31 09:53:46 +0200
|
39035
|
+
Served asset /jquery-fileupload/jquery.fileupload-image.js - 304 Not Modified (0ms)
|
39036
|
+
|
39037
|
+
|
39038
|
+
Started POST "/file_upload" for 127.0.0.1 at 2015-08-31 09:53:48 +0200
|
39039
|
+
Processing by UploadedFilesController#file_upload as JSON
|
39040
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"32q6kuc1AuIrb2K+A4ZURMkDIxECoRGT4UHCNhsAXcA=", "post"=>{"image_uploaded_file_id"=>""}, "files"=>[#<ActionDispatch::Http::UploadedFile:0x007f0a741f6ca8 @original_filename="health-promotion-strategy-erin-cronin-.ppt", @content_type="application/vnd.ms-powerpoint", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"health-promotion-strategy-erin-cronin-.ppt\"\r\nContent-Type: application/vnd.ms-powerpoint\r\n", @tempfile=#<Tempfile:/tmp/RackMultipart20150831-4104-vupw8>>]}
|
39041
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-4104-1si7ns8.ppt'
|
39042
|
+
[1m[35m (0.2ms)[0m begin transaction
|
39043
|
+
Command :: file -b --mime '/tmp/b7c2fa26ecf77abacedd901e9464ef8020150831-4104-1tmquiz.ppt'
|
39044
|
+
Binary data inserted for `string` type on column `file_content_type`
|
39045
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "uploaded_files" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Mon, 31 Aug 2015 07:53:48 UTC +00:00], ["file_content_type", "application/vnd.ms-powerpoint"], ["file_file_name", "health-promotion-strategy-erin-cronin-.ppt"], ["file_file_size", 1807872], ["file_updated_at", Mon, 31 Aug 2015 07:53:48 UTC +00:00], ["updated_at", Mon, 31 Aug 2015 07:53:48 UTC +00:00]]
|
39046
|
+
[1m[35m (1.4ms)[0m commit transaction
|
39047
|
+
Completed 200 OK in 51.2ms (Views: 0.4ms | ActiveRecord: 2.6ms)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
4104
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ouvrages_file_uploader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ouvrages
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -94,20 +94,6 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: sqlite3
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
97
|
description: Ouvrages File Uploader
|
112
98
|
email:
|
113
99
|
- contact@ouvrages-web.fr
|
@@ -124,6 +110,8 @@ files:
|
|
124
110
|
- app/helpers/uploaded_files_helper.rb
|
125
111
|
- app/models/uploaded_file.rb
|
126
112
|
- app/views/uploaded_files/_file_upload.html.haml
|
113
|
+
- config/locales/ofu-file-uploader.en.yml
|
114
|
+
- config/locales/ofu-file-uploader.fr.yml
|
127
115
|
- config/routes.rb
|
128
116
|
- db/migrate/20150805074343_create_uploaded_files.rb
|
129
117
|
- db/migrate/20150805074626_add_attachment_file_to_uploaded_files.rb
|
@@ -182,6 +170,12 @@ files:
|
|
182
170
|
- test/dummy/public/system/uploaded_files/files/000/000/453/original/135.JPG
|
183
171
|
- test/dummy/public/system/uploaded_files/files/000/000/454/original/135.JPG
|
184
172
|
- test/dummy/public/system/uploaded_files/files/000/000/455/original/4.jpg
|
173
|
+
- test/dummy/public/system/uploaded_files/files/000/000/456/original/health-promotion-strategy-erin-cronin-.ppt
|
174
|
+
- test/dummy/public/system/uploaded_files/files/000/000/457/original/health-promotion-strategy-erin-cronin-.ppt
|
175
|
+
- test/dummy/public/system/uploaded_files/files/000/000/458/original/health-promotion-strategy-erin-cronin-.ppt
|
176
|
+
- test/dummy/public/system/uploaded_files/files/000/000/459/original/health-promotion-strategy-erin-cronin-.ppt
|
177
|
+
- test/dummy/public/system/uploaded_files/files/000/000/460/original/health-promotion-strategy-erin-cronin-.ppt
|
178
|
+
- test/dummy/public/system/uploaded_files/files/000/000/461/original/health-promotion-strategy-erin-cronin-.ppt
|
185
179
|
- test/dummy/script/rails
|
186
180
|
- test/dummy/test/fixtures/posts.yml
|
187
181
|
- test/dummy/test/functional/posts_controller_test.rb
|
@@ -189,6 +183,7 @@ files:
|
|
189
183
|
- test/dummy/test/unit/post_test.rb
|
190
184
|
- test/dummy/tmp/cache/assets/C21/3A0/sprockets%2Fc559895302f747c37b21c8700b970051
|
191
185
|
- test/dummy/tmp/cache/assets/C23/BF0/sprockets%2F0e1494c611e0484922f4445c387c1199
|
186
|
+
- test/dummy/tmp/cache/assets/C57/700/sprockets%2Ff041541e3fba62315577e37936394d93
|
192
187
|
- test/dummy/tmp/cache/assets/C7D/5C0/sprockets%2F416f106b644d79d1262e68ca572c4073
|
193
188
|
- test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212
|
194
189
|
- test/dummy/tmp/cache/assets/C8D/DE0/sprockets%2F1f98920f65a2e62c64c92518527c1c96
|
@@ -225,6 +220,7 @@ files:
|
|
225
220
|
- test/dummy/tmp/cache/assets/D3A/150/sprockets%2F94d5308b3136c0f5d2beddf31b0956f5
|
226
221
|
- test/dummy/tmp/cache/assets/D3A/710/sprockets%2Fc454a64ea86d50111bec53fc4f3b4975
|
227
222
|
- test/dummy/tmp/cache/assets/D4C/550/sprockets%2F9a4f52d5dac2f6892e5e247cf063296d
|
223
|
+
- test/dummy/tmp/cache/assets/D4D/2A0/sprockets%2Fbf8b3d18c498228a147cd45c84b6d86e
|
228
224
|
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
229
225
|
- test/dummy/tmp/cache/assets/D59/330/sprockets%2F1bfe97c00ac8dca04d47435b33713b1c
|
230
226
|
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
@@ -269,6 +265,7 @@ files:
|
|
269
265
|
- test/dummy/tmp/data/meta_request/843cd09295b195ec53babfb7b625bd60.json
|
270
266
|
- test/dummy/tmp/data/meta_request/bb074b2848c73aa8df59be32febcc413.json
|
271
267
|
- test/dummy/tmp/data/meta_request/d93859d3c64bf924e69a353f1ab74ec1.json
|
268
|
+
- test/dummy/tmp/pids/server.pid
|
272
269
|
- test/fixtures/uploaded_files.yml
|
273
270
|
- test/helpers/uploaded_files_helper_test.rb
|
274
271
|
- test/integration/navigation_test.rb
|
@@ -333,6 +330,7 @@ test_files:
|
|
333
330
|
- test/dummy/README.rdoc
|
334
331
|
- test/dummy/log/development.log
|
335
332
|
- test/dummy/script/rails
|
333
|
+
- test/dummy/tmp/pids/server.pid
|
336
334
|
- test/dummy/tmp/data/meta_request/bb074b2848c73aa8df59be32febcc413.json
|
337
335
|
- test/dummy/tmp/data/meta_request/56e93e20dbb183c226e62e8fb665b8ab.json
|
338
336
|
- test/dummy/tmp/data/meta_request/15bc2818962b844384424d481eec9517.json
|
@@ -389,8 +387,10 @@ test_files:
|
|
389
387
|
- test/dummy/tmp/cache/assets/D30/C50/sprockets%2F107f4a4a0ad5084baa467c756d8e21d4
|
390
388
|
- test/dummy/tmp/cache/assets/D30/730/sprockets%2Ffcd1017a36bf3184d3550e817fbbf321
|
391
389
|
- test/dummy/tmp/cache/assets/D25/DB0/sprockets%2F2e3f46d2b3623f90b350a3208dbad51a
|
390
|
+
- test/dummy/tmp/cache/assets/C57/700/sprockets%2Ff041541e3fba62315577e37936394d93
|
392
391
|
- test/dummy/tmp/cache/assets/D9F/D10/sprockets%2Fa57e4263b0296d712c5e298eccabea7f
|
393
392
|
- test/dummy/tmp/cache/assets/D4C/550/sprockets%2F9a4f52d5dac2f6892e5e247cf063296d
|
393
|
+
- test/dummy/tmp/cache/assets/D4D/2A0/sprockets%2Fbf8b3d18c498228a147cd45c84b6d86e
|
394
394
|
- test/dummy/tmp/cache/assets/CFD/370/sprockets%2Fcc6ca1020424a9385ce3e6701c5177cb
|
395
395
|
- test/dummy/tmp/cache/assets/CCA/400/sprockets%2F2390bb254327e06a3c3b521daa0f5687
|
396
396
|
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
@@ -418,10 +418,16 @@ test_files:
|
|
418
418
|
- test/dummy/Rakefile
|
419
419
|
- test/dummy/public/500.html
|
420
420
|
- test/dummy/public/404.html
|
421
|
+
- test/dummy/public/system/uploaded_files/files/000/000/456/original/health-promotion-strategy-erin-cronin-.ppt
|
421
422
|
- test/dummy/public/system/uploaded_files/files/000/000/452/original/1.pptx
|
423
|
+
- test/dummy/public/system/uploaded_files/files/000/000/460/original/health-promotion-strategy-erin-cronin-.ppt
|
424
|
+
- test/dummy/public/system/uploaded_files/files/000/000/461/original/health-promotion-strategy-erin-cronin-.ppt
|
422
425
|
- test/dummy/public/system/uploaded_files/files/000/000/455/original/4.jpg
|
423
426
|
- test/dummy/public/system/uploaded_files/files/000/000/453/original/135.JPG
|
427
|
+
- test/dummy/public/system/uploaded_files/files/000/000/457/original/health-promotion-strategy-erin-cronin-.ppt
|
428
|
+
- test/dummy/public/system/uploaded_files/files/000/000/458/original/health-promotion-strategy-erin-cronin-.ppt
|
424
429
|
- test/dummy/public/system/uploaded_files/files/000/000/454/original/135.JPG
|
430
|
+
- test/dummy/public/system/uploaded_files/files/000/000/459/original/health-promotion-strategy-erin-cronin-.ppt
|
425
431
|
- test/dummy/public/422.html
|
426
432
|
- test/dummy/public/favicon.ico
|
427
433
|
- test/dummy/app/views/posts/edit.html.erb
|