ouvrages_file_uploader 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +40 -0
  5. data/app/assets/javascripts/uploaded_files.js.coffee +39 -0
  6. data/app/assets/stylesheets/uploaded_files.css +15 -0
  7. data/app/controllers/uploaded_files_controller.rb +23 -0
  8. data/app/helpers/uploaded_files_helper.rb +2 -0
  9. data/app/models/uploaded_file.rb +5 -0
  10. data/app/views/uploaded_files/_file_upload.html.haml +10 -0
  11. data/config/routes.rb +3 -0
  12. data/db/migrate/20150805074343_create_uploaded_files.rb +8 -0
  13. data/db/migrate/20150805074626_add_attachment_file_to_uploaded_files.rb +9 -0
  14. data/lib/ouvrages_file_uploader/engine.rb +4 -0
  15. data/lib/ouvrages_file_uploader/version.rb +3 -0
  16. data/lib/ouvrages_file_uploader.rb +31 -0
  17. data/lib/tasks/ouvrages_file_uploader_tasks.rake +4 -0
  18. data/test/controllers/uploaded_files_controller_test.rb +7 -0
  19. data/test/dummy/README.rdoc +261 -0
  20. data/test/dummy/Rakefile +7 -0
  21. data/test/dummy/app/assets/javascripts/application.js +16 -0
  22. data/test/dummy/app/assets/javascripts/posts.js +2 -0
  23. data/test/dummy/app/assets/stylesheets/application.css +14 -0
  24. data/test/dummy/app/assets/stylesheets/posts.css +4 -0
  25. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  26. data/test/dummy/app/controllers/application_controller.rb +3 -0
  27. data/test/dummy/app/controllers/posts_controller.rb +83 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/helpers/posts_helper.rb +2 -0
  30. data/test/dummy/app/models/post.rb +6 -0
  31. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  32. data/test/dummy/app/views/posts/_form.html.erb +28 -0
  33. data/test/dummy/app/views/posts/edit.html.erb +6 -0
  34. data/test/dummy/app/views/posts/index.html.erb +25 -0
  35. data/test/dummy/app/views/posts/new.html.erb +5 -0
  36. data/test/dummy/app/views/posts/show.html.erb +19 -0
  37. data/test/dummy/config/application.rb +59 -0
  38. data/test/dummy/config/boot.rb +10 -0
  39. data/test/dummy/config/database.yml +25 -0
  40. data/test/dummy/config/environment.rb +5 -0
  41. data/test/dummy/config/environments/development.rb +37 -0
  42. data/test/dummy/config/environments/production.rb +67 -0
  43. data/test/dummy/config/environments/test.rb +37 -0
  44. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/test/dummy/config/initializers/inflections.rb +15 -0
  46. data/test/dummy/config/initializers/mime_types.rb +5 -0
  47. data/test/dummy/config/initializers/secret_token.rb +7 -0
  48. data/test/dummy/config/initializers/session_store.rb +8 -0
  49. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/test/dummy/config/locales/en.yml +5 -0
  51. data/test/dummy/config/routes.rb +61 -0
  52. data/test/dummy/config.ru +4 -0
  53. data/test/dummy/db/development.sqlite3 +0 -0
  54. data/test/dummy/db/migrate/20150805074930_create_uploaded_files.ouvrages_file_uploader_engine.rb +9 -0
  55. data/test/dummy/db/migrate/20150805074931_add_attachment_file_to_uploaded_files.ouvrages_file_uploader_engine.rb +10 -0
  56. data/test/dummy/db/migrate/20150805091643_create_posts.rb +10 -0
  57. data/test/dummy/db/migrate/20150805091701_add_attachment_image_to_posts.rb +9 -0
  58. data/test/dummy/db/schema.rb +36 -0
  59. data/test/dummy/db/test.sqlite3 +0 -0
  60. data/test/dummy/log/development.log +38268 -0
  61. data/test/dummy/public/404.html +26 -0
  62. data/test/dummy/public/422.html +26 -0
  63. data/test/dummy/public/500.html +25 -0
  64. data/test/dummy/public/favicon.ico +0 -0
  65. data/test/dummy/public/system/uploaded_files/files/000/000/452/original/1.pptx +0 -0
  66. data/test/dummy/public/system/uploaded_files/files/000/000/453/original/135.JPG +0 -0
  67. data/test/dummy/public/system/uploaded_files/files/000/000/454/original/135.JPG +0 -0
  68. data/test/dummy/public/system/uploaded_files/files/000/000/455/original/4.jpg +0 -0
  69. data/test/dummy/script/rails +6 -0
  70. data/test/dummy/test/fixtures/posts.yml +9 -0
  71. data/test/dummy/test/functional/posts_controller_test.rb +49 -0
  72. data/test/dummy/test/unit/helpers/posts_helper_test.rb +4 -0
  73. data/test/dummy/test/unit/post_test.rb +7 -0
  74. data/test/dummy/tmp/cache/assets/C21/3A0/sprockets%2Fc559895302f747c37b21c8700b970051 +0 -0
  75. data/test/dummy/tmp/cache/assets/C23/BF0/sprockets%2F0e1494c611e0484922f4445c387c1199 +0 -0
  76. data/test/dummy/tmp/cache/assets/C7D/5C0/sprockets%2F416f106b644d79d1262e68ca572c4073 +0 -0
  77. data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  78. data/test/dummy/tmp/cache/assets/C8D/DE0/sprockets%2F1f98920f65a2e62c64c92518527c1c96 +0 -0
  79. data/test/dummy/tmp/cache/assets/CA5/410/sprockets%2Fe992772e06894cc640ba879ef2299587 +0 -0
  80. data/test/dummy/tmp/cache/assets/CA7/840/sprockets%2F9a211e8759d357ae3f42262a51fa1451 +0 -0
  81. data/test/dummy/tmp/cache/assets/CB8/340/sprockets%2F89558955c55c20a74bd1c3444f3ec662 +0 -0
  82. data/test/dummy/tmp/cache/assets/CBC/770/sprockets%2Fdaf9852b07673e9d2852c941a1576f33 +0 -0
  83. data/test/dummy/tmp/cache/assets/CC7/220/sprockets%2Fd066c004d1fd26ae76a61303a7a18145 +0 -0
  84. data/test/dummy/tmp/cache/assets/CC9/030/sprockets%2F29d56d794f95c975aa8395b172149dc3 +0 -0
  85. data/test/dummy/tmp/cache/assets/CCA/400/sprockets%2F2390bb254327e06a3c3b521daa0f5687 +0 -0
  86. data/test/dummy/tmp/cache/assets/CD3/DB0/sprockets%2F654362a25821675623bcaea3d32e84ac +0 -0
  87. data/test/dummy/tmp/cache/assets/CD5/B70/sprockets%2F416150dc3ac35079c94273cc46e90aa6 +0 -0
  88. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  89. data/test/dummy/tmp/cache/assets/CDF/AE0/sprockets%2F2ffa370043fc750b9569048f2a9bd470 +0 -0
  90. data/test/dummy/tmp/cache/assets/CE0/8C0/sprockets%2F009df73dbd4116f48667bb49256a2d70 +0 -0
  91. data/test/dummy/tmp/cache/assets/CE1/740/sprockets%2Ff5ed509926027a190c5d3738c43d04ef +0 -0
  92. data/test/dummy/tmp/cache/assets/CED/790/sprockets%2F170c6d8f21de588659bc8d4ac8510756 +0 -0
  93. data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  94. data/test/dummy/tmp/cache/assets/CF1/0C0/sprockets%2Feb061eefaf8598134946f33a388d4753 +0 -0
  95. data/test/dummy/tmp/cache/assets/CF5/DD0/sprockets%2F56004407c600e0ccea2163ef0fd3282e +0 -0
  96. data/test/dummy/tmp/cache/assets/CFD/370/sprockets%2Fcc6ca1020424a9385ce3e6701c5177cb +0 -0
  97. data/test/dummy/tmp/cache/assets/D01/E80/sprockets%2F1c42c70c1c45bf164783ec1542bd83e2 +0 -0
  98. data/test/dummy/tmp/cache/assets/D12/A70/sprockets%2F2918be152d13c0ed16add36948925dd9 +0 -0
  99. data/test/dummy/tmp/cache/assets/D19/A40/sprockets%2F916d8130b75e35a749097d5bd5bedb84 +0 -0
  100. data/test/dummy/tmp/cache/assets/D1A/310/sprockets%2F5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  101. data/test/dummy/tmp/cache/assets/D1B/280/sprockets%2F998fde5cf7214c00b0794419580e5aef +0 -0
  102. data/test/dummy/tmp/cache/assets/D20/AE0/sprockets%2Fd3e961702e626d8db481b9c73c8fa199 +0 -0
  103. data/test/dummy/tmp/cache/assets/D22/F50/sprockets%2Ffe32653ea391edf92f7f9b7a79190335 +0 -0
  104. data/test/dummy/tmp/cache/assets/D25/DB0/sprockets%2F2e3f46d2b3623f90b350a3208dbad51a +0 -0
  105. data/test/dummy/tmp/cache/assets/D27/B50/sprockets%2F0d6b3f65f101f0f0132dc3e27ad212f9 +0 -0
  106. data/test/dummy/tmp/cache/assets/D30/730/sprockets%2Ffcd1017a36bf3184d3550e817fbbf321 +0 -0
  107. data/test/dummy/tmp/cache/assets/D30/C50/sprockets%2F107f4a4a0ad5084baa467c756d8e21d4 +0 -0
  108. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  109. data/test/dummy/tmp/cache/assets/D3A/150/sprockets%2F94d5308b3136c0f5d2beddf31b0956f5 +0 -0
  110. data/test/dummy/tmp/cache/assets/D3A/710/sprockets%2Fc454a64ea86d50111bec53fc4f3b4975 +0 -0
  111. data/test/dummy/tmp/cache/assets/D4C/550/sprockets%2F9a4f52d5dac2f6892e5e247cf063296d +0 -0
  112. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  113. data/test/dummy/tmp/cache/assets/D59/330/sprockets%2F1bfe97c00ac8dca04d47435b33713b1c +0 -0
  114. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  115. data/test/dummy/tmp/cache/assets/D5F/610/sprockets%2F51aff0153b694de711bda7f5b054a19a +0 -0
  116. data/test/dummy/tmp/cache/assets/D67/C20/sprockets%2Fce6471356e27d2af0096fe5bd112dfb3 +0 -0
  117. data/test/dummy/tmp/cache/assets/D69/C00/sprockets%2Fbc56c6aa4ba782431a9f10939adfb726 +0 -0
  118. data/test/dummy/tmp/cache/assets/D72/A10/sprockets%2Fb15368142cd476ded90e0be2c97cd75d +0 -0
  119. data/test/dummy/tmp/cache/assets/D73/540/sprockets%2F4b9d461d6dce445d2f9b12b577b1b9b7 +0 -0
  120. data/test/dummy/tmp/cache/assets/D73/870/sprockets%2F1eab18a071ce659d6383140fe8cd8ef6 +0 -0
  121. data/test/dummy/tmp/cache/assets/D77/9B0/sprockets%2F5074e3f949ef1fc278b26d7a7dc1eb14 +0 -0
  122. data/test/dummy/tmp/cache/assets/D7B/220/sprockets%2F8326cee111196f890dffc1d3ef95a69a +0 -0
  123. data/test/dummy/tmp/cache/assets/D83/6F0/sprockets%2F80f7f1ae77e8ac704763c8c96e44fba8 +0 -0
  124. data/test/dummy/tmp/cache/assets/D98/5C0/sprockets%2Fac6794409c7b8c4da4054bef5d420dca +0 -0
  125. data/test/dummy/tmp/cache/assets/D9B/E70/sprockets%2F07f8c2dfc80703f90d343df3d8cd0dc2 +0 -0
  126. data/test/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b +0 -0
  127. data/test/dummy/tmp/cache/assets/D9E/ED0/sprockets%2F0e96b358d65dd43580c7bccd2d0dbe91 +0 -0
  128. data/test/dummy/tmp/cache/assets/D9F/D10/sprockets%2Fa57e4263b0296d712c5e298eccabea7f +0 -0
  129. data/test/dummy/tmp/cache/assets/DA5/AD0/sprockets%2Fa54624bdbc8550c8df5905a9bfa9af56 +0 -0
  130. data/test/dummy/tmp/cache/assets/DA8/A00/sprockets%2Fbdade36c866f0e4b747a8f95440ad6c6 +0 -0
  131. data/test/dummy/tmp/cache/assets/DAF/A00/sprockets%2F018f66c0eab757b966dfd7a83bc93d8e +0 -0
  132. data/test/dummy/tmp/cache/assets/DAF/AE0/sprockets%2F1b013a3af0e75cf8c341a07ade442bea +0 -0
  133. data/test/dummy/tmp/cache/assets/DB3/810/sprockets%2F2c02bf9befbfff85f9155f468b6177a7 +0 -0
  134. data/test/dummy/tmp/cache/assets/DC1/3E0/sprockets%2F7eed9c3edcabb034a146d1299c3cf122 +0 -0
  135. data/test/dummy/tmp/cache/assets/DC8/680/sprockets%2Fc512b0cfa37dd3cd04e9bada9189c818 +0 -0
  136. data/test/dummy/tmp/cache/assets/DD1/EC0/sprockets%2F63b58b3cfb1bbc71c7e1ef648f3b5c58 +0 -0
  137. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  138. data/test/dummy/tmp/cache/assets/DDF/650/sprockets%2Fd22c1269fb8899fecc3291aefd83e5eb +0 -0
  139. data/test/dummy/tmp/cache/assets/DF1/670/sprockets%2Faf1215a25cde8b1b9f36fc535a5ce3bc +0 -0
  140. data/test/dummy/tmp/cache/assets/DFD/CA0/sprockets%2Fbc31935ea9e82a68a9caaea6d7ba416f +0 -0
  141. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  142. data/test/dummy/tmp/cache/assets/E0B/F70/sprockets%2Ffae70ae574e68ccd3cf9204bb4fc896f +0 -0
  143. data/test/dummy/tmp/cache/assets/E2A/670/sprockets%2F23540cc1ced374dd5ec6caff4bec839b +0 -0
  144. data/test/dummy/tmp/cache/assets/E54/800/sprockets%2F3e8c1ea8e7b5ccfcf15bd04f51faae41 +0 -0
  145. data/test/dummy/tmp/cache/assets/E79/CE0/sprockets%2Fefe77efad35dc92f58159e8dd8b5ecfa +0 -0
  146. data/test/dummy/tmp/data/meta_request/0a4d17b7626c1939d010592ed60eca2d.json +1 -0
  147. data/test/dummy/tmp/data/meta_request/15bc2818962b844384424d481eec9517.json +1 -0
  148. data/test/dummy/tmp/data/meta_request/3481e256aa984b864200a62ab2026056.json +1 -0
  149. data/test/dummy/tmp/data/meta_request/436a7666545296be87a1a3d4339f933c.json +1 -0
  150. data/test/dummy/tmp/data/meta_request/4fc141472e2de8d7d212b1352b9f60e2.json +1 -0
  151. data/test/dummy/tmp/data/meta_request/51b876e5ea5a4bba19532f46d2909f18.json +1 -0
  152. data/test/dummy/tmp/data/meta_request/56e93e20dbb183c226e62e8fb665b8ab.json +1 -0
  153. data/test/dummy/tmp/data/meta_request/843cd09295b195ec53babfb7b625bd60.json +1 -0
  154. data/test/dummy/tmp/data/meta_request/bb074b2848c73aa8df59be32febcc413.json +1 -0
  155. data/test/dummy/tmp/data/meta_request/d93859d3c64bf924e69a353f1ab74ec1.json +1 -0
  156. data/test/fixtures/uploaded_files.yml +11 -0
  157. data/test/helpers/uploaded_files_helper_test.rb +4 -0
  158. data/test/integration/navigation_test.rb +10 -0
  159. data/test/ouvrages_file_uploader_test.rb +7 -0
  160. data/test/test_helper.rb +15 -0
  161. data/test/unit/uploaded_file_test.rb +7 -0
  162. metadata +446 -0
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
+
3
+ one:
4
+ title: MyString
5
+ content: MyText
6
+
7
+ two:
8
+ title: MyString
9
+ content: MyText
@@ -0,0 +1,49 @@
1
+ require 'test_helper'
2
+
3
+ class PostsControllerTest < ActionController::TestCase
4
+ setup do
5
+ @post = posts(:one)
6
+ end
7
+
8
+ test "should get index" do
9
+ get :index
10
+ assert_response :success
11
+ assert_not_nil assigns(:posts)
12
+ end
13
+
14
+ test "should get new" do
15
+ get :new
16
+ assert_response :success
17
+ end
18
+
19
+ test "should create post" do
20
+ assert_difference('Post.count') do
21
+ post :create, post: { content: @post.content, title: @post.title }
22
+ end
23
+
24
+ assert_redirected_to post_path(assigns(:post))
25
+ end
26
+
27
+ test "should show post" do
28
+ get :show, id: @post
29
+ assert_response :success
30
+ end
31
+
32
+ test "should get edit" do
33
+ get :edit, id: @post
34
+ assert_response :success
35
+ end
36
+
37
+ test "should update post" do
38
+ put :update, id: @post, post: { content: @post.content, title: @post.title }
39
+ assert_redirected_to post_path(assigns(:post))
40
+ end
41
+
42
+ test "should destroy post" do
43
+ assert_difference('Post.count', -1) do
44
+ delete :destroy, id: @post
45
+ end
46
+
47
+ assert_redirected_to posts_path
48
+ end
49
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class PostsHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class PostTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1 @@
1
+ [{"name":"render_partial.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/app/views/uploaded_files/_file_upload.html.haml"},"time":"2015-08-06T17:50:28+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:28+02:00","duration":0.331198},{"name":"render_partial.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/views/posts/_form.html.erb"},"time":"2015-08-06T17:50:28+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:28+02:00","duration":2.635342},{"name":"render_template.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/views/posts/new.html.erb","layout":"layouts/application"},"time":"2015-08-06T17:50:28+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:28+02:00","duration":3.426606},{"name":"process_action.action_controller","payload":{"controller":"PostsController","action":"new","params":{"action":"new","controller":"posts"},"format":"html","method":"GET","path":"/posts/new","status":200,"view_runtime":12.743341000000001,"db_runtime":0},"time":"2015-08-06T17:50:28+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:28+02:00","duration":13.197279}]
@@ -0,0 +1 @@
1
+ [{"name":"sql.active_record","payload":{"sql":"PRAGMA table_info(\"posts\")","name":"SCHEMA","connection_id":70321566872860,"binds":[],"line":27,"filename":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/controllers/posts_controller.rb","method":"new"},"time":"2015-08-06T17:50:20+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:20+02:00","duration":0.779296},{"name":"sql.active_record","payload":{"sql":" SELECT name\n FROM sqlite_master\n WHERE type = 'table' AND NOT name = 'sqlite_sequence'\n AND name = \"posts\"","name":"SCHEMA","connection_id":70321566872860,"binds":[],"line":27,"filename":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/controllers/posts_controller.rb","method":"new"},"time":"2015-08-06T17:50:20+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:20+02:00","duration":0.11291899999999999},{"name":"sql.active_record","payload":{"sql":"PRAGMA table_info(\"posts\")","name":"SCHEMA","connection_id":70321566872860,"binds":[],"line":27,"filename":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/controllers/posts_controller.rb","method":"new"},"time":"2015-08-06T17:50:20+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:20+02:00","duration":0.07870100000000001},{"name":"render_partial.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/app/views/uploaded_files/_file_upload.html.haml"},"time":"2015-08-06T17:50:20+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:20+02:00","duration":1.889897},{"name":"render_partial.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/views/posts/_form.html.erb"},"time":"2015-08-06T17:50:20+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:20+02:00","duration":11.068145999999999},{"name":"render_template.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/views/posts/new.html.erb","layout":"layouts/application"},"time":"2015-08-06T17:50:20+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:20+02:00","duration":14.20027},{"name":"process_action.action_controller","payload":{"controller":"PostsController","action":"new","params":{"action":"new","controller":"posts"},"format":"html","method":"GET","path":"/posts/new","status":200,"view_runtime":48.178077,"db_runtime":0.970916},"time":"2015-08-06T17:50:20+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:20+02:00","duration":69.09726300000001}]
@@ -0,0 +1 @@
1
+ [{"name":"sql.active_record","payload":{"sql":"PRAGMA table_info(\"uploaded_files\")","name":"SCHEMA","connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:50:35+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:35+02:00","duration":0.164702},{"name":"sql.active_record","payload":{"sql":" SELECT name\n FROM sqlite_master\n WHERE type = 'table' AND NOT name = 'sqlite_sequence'\n AND name = \"uploaded_files\"","name":"SCHEMA","connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:50:35+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:35+02:00","duration":0.488961},{"name":"sql.active_record","payload":{"sql":"PRAGMA table_info(\"uploaded_files\")","name":"SCHEMA","connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:50:35+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:35+02:00","duration":0.10631600000000001},{"name":"sql.active_record","payload":{"sql":"begin transaction","name":null,"connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:50:35+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:35+02:00","duration":0.09647},{"name":"sql.active_record","payload":{"sql":"INSERT INTO \"uploaded_files\" (\"created_at\", \"file_content_type\", \"file_file_name\", \"file_file_size\", \"file_updated_at\", \"updated_at\") VALUES (?, ?, ?, ?, ?, ?)","name":"SQL","connection_id":70321566872860,"binds":[[{"name":"created_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:50:35Z"],[{"name":"file_content_type","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"image/jpeg"],[{"name":"file_file_name","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"9.jpg"],[{"name":"file_file_size","sql_type":"integer","null":true,"limit":null,"precision":null,"scale":null,"type":"integer","default":null,"primary":false,"coder":null},128630],[{"name":"file_updated_at","sql_type":"datetime","null":true,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:50:35Z"],[{"name":"updated_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:50:35Z"]]},"time":"2015-08-06T17:50:35+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:35+02:00","duration":4.700592},{"name":"sql.active_record","payload":{"sql":"commit transaction","name":null,"connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:50:35+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:35+02:00","duration":2.317657},{"name":"process_action.action_controller","payload":{"controller":"UploadedFilesController","action":"resend_file","params":{"utf8":"\u2713","authenticity_token":"X13H7/9tcBzjWV67YlE7nh9RUqe0OfBq0sIn60mU+oY=","post":{"image_uploaded_file_id":""},"files":[{"original_filename":"9.jpg","content_type":"image/jpeg","headers":"Content-Disposition: form-data; name=\"files[]\"; filename=\"9.jpg\"\r\nContent-Type: image/jpeg\r\n","tempfile":[]}],"action":"resend_file","controller":"uploaded_files"},"format":"json","method":"POST","path":"/file_upload","status":200,"view_runtime":0.37625400000000003,"db_runtime":7.874698},"time":"2015-08-06T17:50:35+02:00","transaction_id":"e99273227549515a4d85","end":"2015-08-06T17:50:35+02:00","duration":53.788072}]
@@ -0,0 +1 @@
1
+ [{"name":"sql.active_record","payload":{"sql":"begin transaction","name":null,"connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:52:10+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:52:10+02:00","duration":0.36265000000000003},{"name":"sql.active_record","payload":{"sql":"INSERT INTO \"uploaded_files\" (\"created_at\", \"file_content_type\", \"file_file_name\", \"file_file_size\", \"file_updated_at\", \"updated_at\") VALUES (?, ?, ?, ?, ?, ?)","name":"SQL","connection_id":70321566872860,"binds":[[{"name":"created_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:52:10Z"],[{"name":"file_content_type","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"image/jpeg"],[{"name":"file_file_name","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"4.jpg"],[{"name":"file_file_size","sql_type":"integer","null":true,"limit":null,"precision":null,"scale":null,"type":"integer","default":null,"primary":false,"coder":null},779875],[{"name":"file_updated_at","sql_type":"datetime","null":true,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:52:10Z"],[{"name":"updated_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:52:10Z"]]},"time":"2015-08-06T17:52:10+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:52:10+02:00","duration":0.5758850000000001},{"name":"sql.active_record","payload":{"sql":"commit transaction","name":null,"connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:52:10+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:52:10+02:00","duration":2.133943},{"name":"process_action.action_controller","payload":{"controller":"UploadedFilesController","action":"resend_file","params":{"utf8":"\u2713","authenticity_token":"X13H7/9tcBzjWV67YlE7nh9RUqe0OfBq0sIn60mU+oY=","post":{"image_uploaded_file_id":"340"},"files":[{"original_filename":"4.jpg","content_type":"image/jpeg","headers":"Content-Disposition: form-data; name=\"files[]\"; filename=\"4.jpg\"\r\nContent-Type: image/jpeg\r\n","tempfile":[]}],"action":"resend_file","controller":"uploaded_files"},"format":"json","method":"POST","path":"/file_upload","status":200,"view_runtime":0.223856,"db_runtime":3.0724780000000003},"time":"2015-08-06T17:52:10+02:00","transaction_id":"fa23fff11ae8de78820e","end":"2015-08-06T17:52:10+02:00","duration":49.453209}]
@@ -0,0 +1 @@
1
+ [{"name":"sql.active_record","payload":{"sql":"begin transaction","name":null,"connection_id":70212139279560,"binds":[]},"time":"2015-08-06T17:41:25+02:00","transaction_id":"0c265c834ec332a1a723","end":"2015-08-06T17:41:25+02:00","duration":0.10143300000000001},{"name":"sql.active_record","payload":{"sql":"INSERT INTO \"uploaded_files\" (\"created_at\", \"file_content_type\", \"file_file_name\", \"file_file_size\", \"file_updated_at\", \"updated_at\") VALUES (?, ?, ?, ?, ?, ?)","name":"SQL","connection_id":70212139279560,"binds":[[{"name":"created_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:41:25Z"],[{"name":"file_content_type","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"image/jpeg"],[{"name":"file_file_name","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"35.jpg"],[{"name":"file_file_size","sql_type":"integer","null":true,"limit":null,"precision":null,"scale":null,"type":"integer","default":null,"primary":false,"coder":null},886080],[{"name":"file_updated_at","sql_type":"datetime","null":true,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:41:25Z"],[{"name":"updated_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:41:25Z"]]},"time":"2015-08-06T17:41:25+02:00","transaction_id":"0c265c834ec332a1a723","end":"2015-08-06T17:41:25+02:00","duration":0.710116},{"name":"sql.active_record","payload":{"sql":"commit transaction","name":null,"connection_id":70212139279560,"binds":[]},"time":"2015-08-06T17:41:25+02:00","transaction_id":"0c265c834ec332a1a723","end":"2015-08-06T17:41:25+02:00","duration":2.4251},{"name":"process_action.action_controller","payload":{"controller":"UploadedFilesController","action":"resend_file","params":{"utf8":"\u2713","authenticity_token":"X13H7/9tcBzjWV67YlE7nh9RUqe0OfBq0sIn60mU+oY=","post":{"image_uploaded_file_id":"334"},"files":[{"original_filename":"35.jpg","content_type":"image/jpeg","headers":"Content-Disposition: form-data; name=\"files[]\"; filename=\"35.jpg\"\r\nContent-Type: image/jpeg\r\n","tempfile":[]}],"action":"resend_file","controller":"uploaded_files"},"format":"json","method":"POST","path":"/file_upload","status":200,"view_runtime":0.21299200000000001,"db_runtime":3.236649},"time":"2015-08-06T17:41:25+02:00","transaction_id":"aa6fccace29992514851","end":"2015-08-06T17:41:25+02:00","duration":56.371250999999994}]
@@ -0,0 +1 @@
1
+ [{"name":"render_partial.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/app/views/uploaded_files/_file_upload.html.haml"},"time":"2015-08-06T17:51:54+02:00","transaction_id":"b23b1b5e5c49e1e18e83","end":"2015-08-06T17:51:54+02:00","duration":1.298757},{"name":"render_partial.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/views/posts/_form.html.erb"},"time":"2015-08-06T17:51:54+02:00","transaction_id":"b23b1b5e5c49e1e18e83","end":"2015-08-06T17:51:54+02:00","duration":3.053306},{"name":"render_template.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/views/posts/new.html.erb","layout":"layouts/application"},"time":"2015-08-06T17:51:54+02:00","transaction_id":"b23b1b5e5c49e1e18e83","end":"2015-08-06T17:51:54+02:00","duration":3.7499399999999996},{"name":"process_action.action_controller","payload":{"controller":"PostsController","action":"new","params":{"action":"new","controller":"posts"},"format":"html","method":"GET","path":"/posts/new","status":200,"view_runtime":13.26501,"db_runtime":0},"time":"2015-08-06T17:51:54+02:00","transaction_id":"b23b1b5e5c49e1e18e83","end":"2015-08-06T17:51:54+02:00","duration":13.531632}]
@@ -0,0 +1 @@
1
+ [{"name":"sql.active_record","payload":{"sql":"begin transaction","name":null,"connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:51:56+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:51:56+02:00","duration":0.08674},{"name":"sql.active_record","payload":{"sql":"INSERT INTO \"uploaded_files\" (\"created_at\", \"file_content_type\", \"file_file_name\", \"file_file_size\", \"file_updated_at\", \"updated_at\") VALUES (?, ?, ?, ?, ?, ?)","name":"SQL","connection_id":70321566872860,"binds":[[{"name":"created_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:51:56Z"],[{"name":"file_content_type","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"image/jpeg"],[{"name":"file_file_name","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"12.jpg"],[{"name":"file_file_size","sql_type":"integer","null":true,"limit":null,"precision":null,"scale":null,"type":"integer","default":null,"primary":false,"coder":null},692216],[{"name":"file_updated_at","sql_type":"datetime","null":true,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:51:56Z"],[{"name":"updated_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:51:56Z"]]},"time":"2015-08-06T17:51:56+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:51:56+02:00","duration":0.8016399999999999},{"name":"sql.active_record","payload":{"sql":"commit transaction","name":null,"connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:51:56+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:51:56+02:00","duration":2.51874},{"name":"process_action.action_controller","payload":{"controller":"UploadedFilesController","action":"resend_file","params":{"utf8":"\u2713","authenticity_token":"X13H7/9tcBzjWV67YlE7nh9RUqe0OfBq0sIn60mU+oY=","post":{"image_uploaded_file_id":""},"files":[{"original_filename":"12.jpg","content_type":"image/jpeg","headers":"Content-Disposition: form-data; name=\"files[]\"; filename=\"12.jpg\"\r\nContent-Type: image/jpeg\r\n","tempfile":[]}],"action":"resend_file","controller":"uploaded_files"},"format":"json","method":"POST","path":"/file_upload","status":200,"view_runtime":0.337815,"db_runtime":3.40712},"time":"2015-08-06T17:51:56+02:00","transaction_id":"fa23fff11ae8de78820e","end":"2015-08-06T17:51:56+02:00","duration":53.154064}]
@@ -0,0 +1 @@
1
+ [{"name":"sql.active_record","payload":{"sql":"begin transaction","name":null,"connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:50:46+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:46+02:00","duration":0.182223},{"name":"sql.active_record","payload":{"sql":"INSERT INTO \"uploaded_files\" (\"created_at\", \"file_content_type\", \"file_file_name\", \"file_file_size\", \"file_updated_at\", \"updated_at\") VALUES (?, ?, ?, ?, ?, ?)","name":"SQL","connection_id":70321566872860,"binds":[[{"name":"created_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:50:46Z"],[{"name":"file_content_type","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"image/jpeg"],[{"name":"file_file_name","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"12.jpg"],[{"name":"file_file_size","sql_type":"integer","null":true,"limit":null,"precision":null,"scale":null,"type":"integer","default":null,"primary":false,"coder":null},692216],[{"name":"file_updated_at","sql_type":"datetime","null":true,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:50:46Z"],[{"name":"updated_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:50:46Z"]]},"time":"2015-08-06T17:50:46+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:46+02:00","duration":0.756381},{"name":"sql.active_record","payload":{"sql":"commit transaction","name":null,"connection_id":70321566872860,"binds":[]},"time":"2015-08-06T17:50:46+02:00","transaction_id":"c0aaae93b57f5ce5c178","end":"2015-08-06T17:50:46+02:00","duration":2.373282},{"name":"process_action.action_controller","payload":{"controller":"UploadedFilesController","action":"resend_file","params":{"utf8":"\u2713","authenticity_token":"X13H7/9tcBzjWV67YlE7nh9RUqe0OfBq0sIn60mU+oY=","post":{"image_uploaded_file_id":"338"},"files":[{"original_filename":"12.jpg","content_type":"image/jpeg","headers":"Content-Disposition: form-data; name=\"files[]\"; filename=\"12.jpg\"\r\nContent-Type: image/jpeg\r\n","tempfile":[]}],"action":"resend_file","controller":"uploaded_files"},"format":"json","method":"POST","path":"/file_upload","status":200,"view_runtime":0.20499799999999999,"db_runtime":3.3118860000000003},"time":"2015-08-06T17:50:46+02:00","transaction_id":"e99273227549515a4d85","end":"2015-08-06T17:50:46+02:00","duration":57.06496}]
@@ -0,0 +1 @@
1
+ [{"name":"sql.active_record","payload":{"sql":"begin transaction","name":null,"connection_id":70212139279560,"binds":[]},"time":"2015-08-06T17:41:45+02:00","transaction_id":"0c265c834ec332a1a723","end":"2015-08-06T17:41:45+02:00","duration":0.09907},{"name":"sql.active_record","payload":{"sql":"INSERT INTO \"uploaded_files\" (\"created_at\", \"file_content_type\", \"file_file_name\", \"file_file_size\", \"file_updated_at\", \"updated_at\") VALUES (?, ?, ?, ?, ?, ?)","name":"SQL","connection_id":70212139279560,"binds":[[{"name":"created_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:41:45Z"],[{"name":"file_content_type","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"image/jpeg"],[{"name":"file_file_name","sql_type":"varchar(255)","null":true,"limit":255,"precision":null,"scale":null,"type":"string","default":null,"primary":false,"coder":null},"6.jpg"],[{"name":"file_file_size","sql_type":"integer","null":true,"limit":null,"precision":null,"scale":null,"type":"integer","default":null,"primary":false,"coder":null},752526],[{"name":"file_updated_at","sql_type":"datetime","null":true,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:41:45Z"],[{"name":"updated_at","sql_type":"datetime","null":false,"limit":null,"precision":null,"scale":null,"type":"datetime","default":null,"primary":false,"coder":null},"2015-08-06T15:41:45Z"]]},"time":"2015-08-06T17:41:45+02:00","transaction_id":"0c265c834ec332a1a723","end":"2015-08-06T17:41:45+02:00","duration":0.88197},{"name":"sql.active_record","payload":{"sql":"commit transaction","name":null,"connection_id":70212139279560,"binds":[]},"time":"2015-08-06T17:41:45+02:00","transaction_id":"0c265c834ec332a1a723","end":"2015-08-06T17:41:45+02:00","duration":2.155874},{"name":"process_action.action_controller","payload":{"controller":"UploadedFilesController","action":"resend_file","params":{"utf8":"\u2713","authenticity_token":"X13H7/9tcBzjWV67YlE7nh9RUqe0OfBq0sIn60mU+oY=","post":{"image_uploaded_file_id":"336"},"files":[{"original_filename":"6.jpg","content_type":"image/jpeg","headers":"Content-Disposition: form-data; name=\"files[]\"; filename=\"6.jpg\"\r\nContent-Type: image/jpeg\r\n","tempfile":[]}],"action":"resend_file","controller":"uploaded_files"},"format":"json","method":"POST","path":"/file_upload","status":200,"view_runtime":0.302286,"db_runtime":3.136914},"time":"2015-08-06T17:41:45+02:00","transaction_id":"aa6fccace29992514851","end":"2015-08-06T17:41:45+02:00","duration":81.871213}]
@@ -0,0 +1 @@
1
+ [{"name":"render_partial.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/app/views/uploaded_files/_file_upload.html.haml"},"time":"2015-08-06T17:51:16+02:00","transaction_id":"e99273227549515a4d85","end":"2015-08-06T17:51:16+02:00","duration":0.25058600000000003},{"name":"render_partial.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/views/posts/_form.html.erb"},"time":"2015-08-06T17:51:16+02:00","transaction_id":"e99273227549515a4d85","end":"2015-08-06T17:51:16+02:00","duration":2.295924},{"name":"render_template.action_view","payload":{"identifier":"/home/florent/Projects/OuvragesFileUploader/test/dummy/app/views/posts/new.html.erb","layout":"layouts/application"},"time":"2015-08-06T17:51:16+02:00","transaction_id":"e99273227549515a4d85","end":"2015-08-06T17:51:16+02:00","duration":3.402103},{"name":"process_action.action_controller","payload":{"controller":"PostsController","action":"new","params":{"action":"new","controller":"posts"},"format":"html","method":"GET","path":"/posts/new","status":200,"view_runtime":13.969296000000002,"db_runtime":0},"time":"2015-08-06T17:51:16+02:00","transaction_id":"e99273227549515a4d85","end":"2015-08-06T17:51:16+02:00","duration":14.30543}]
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
+
3
+ # This model initially had no columns defined. If you add columns to the
4
+ # model remove the '{}' from the fixture names and add the columns immediately
5
+ # below each fixture, per the syntax in the comments below
6
+ #
7
+ one: {}
8
+ # column: value
9
+ #
10
+ two: {}
11
+ # column: value
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class UploadedFilesHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class OuvragesFileUploaderTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, OuvragesFileUploader
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class UploadedFileTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end