better_frame 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -0
  3. data/app/assets/javascripts/better_frame/better_frame.js +5 -1
  4. data/app/views/better_frame/api/include.js.erb +5 -0
  5. data/lib/better_frame/version.rb +1 -1
  6. data/test/dummy/app/assets/javascripts/test.js +5 -0
  7. data/test/dummy/app/views/products/index.html.erb +1 -1
  8. data/test/dummy/db/test.sqlite3 +0 -0
  9. data/test/dummy/log/test.log +462 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-P/-PHcMNre8TGNJUulsb9o1PROAdi3ZIUw1RqXZ5YMV-A.cache +1 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-g/-gBi5CvHTFhvibw0SobjEniXFHaosuFEzKEAWD1lUs0.cache +0 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v3.0/05/058qppnmE_FruynD_WtyApaGjEAVBiQqG2YMx4GXyAs.cache +1 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1n/1nASR6PXIKhdfGZHwk96V2H3fwt80oJQHgg11T7Wt_Q.cache +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3Z/3ZKeLBkEVdhxuuvmhCyvCbF8wdlEfL384ztMwU1thQY.cache +1 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5c/5cLSeHIcN9g3Ih0dtzNEySGJtEq7TXdmcSakzGu4OmU.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6D/6DONP0TzyOrHzjux794F65Om2EeV0FsOUrUQA1BX1gI.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6R/6RZzzhEmiXeyVuWWMzyrtbl6SFiIJI7mvIF116wo-iw.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/86/86PrTa428U0flwQkn8cO7ANbpsOd-HfWywVkfVn25cg.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8X/8XOuqafsfl_ESLIRWAWDmOP-6-ju5IB_6r_XoMmtqtA.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9V/9V7WRUItcX47BZM2Vwo4oOEI7zjFWsAEnjAfgC8DaGA.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9q/9q8yGVyRlg1orhA6X8hCa8rGzEIY8uPK7PfaVluL03w.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BE/BEf7ftf4r1zBYb-oB6aNvODplVIc-PCGlJZm2pY7a7M.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DE/deqAtAnN4yfAGLXiLn7fTo0SM4ksUFgCSIDBMJhoqw8.cache +3 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dq/DqCz7yFriOPTfX85EXWq5Eb3_-8ufh7MGNKXF7uUmMs.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dz/DzLoTQ0InA-9o8Hj8SbRM6cPkdkjN1hrLCZCaHLlGJ0.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EE/EE3zOAqoB4ISszFczLnL8GeHdJy7HwZAWwb6OgSQTxg.cache +3 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FN/FNIfKY16D5mOAbihs1BJmzeZWoOqeGjxJljiRnBqgWo.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GM/gm8XgaEoSf08tgsj3UeYtOP7V_W_DsjMhfcrR5YfZbY.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GQ/GQ_xGbSMvhzY7-K6VnU-vreTX4xPwnAKE-T4DRhgcGY.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GQ/GqRniQH19orU1lEPSpIqcgeLqADJlT7Sm1RUz0zZdGk.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hs/Hs1owV746ve7qpRUPCA7zZI_3GXd_4L0gLt8wM8ZP4s.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/IL/ILYQNWO5fm6KNr_FOnXhQGy3U-6wnoRwdZ2y06ceffI.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JT/JTaVxTOxxql8Vn2qIZGdmXwsml2Qeppqr2egn6j9KsY.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ja/JaAReKlcKRWdZKspU7XJeN90goTI1ynvfqzlkdEIREo.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Js/JsQ5MiPluPE-PiN7l1OnPhc2m8d3g8kVAoVu3VsvV5M.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ML/MLcLG-yMlwXYeCMInSR6kp_vF87NsZ5VFirutDCUYP0.cache +3 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/N2/N2cAQYe98fU51GqgJFJPO6186xlCC-sOJuu8mzpW3mg.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oz/oZqv0mcQSimLVyg5pCvtF9VrJRJ9OaDu55vFBT5Akyk.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P4/P42ljZRwwlsfAkYlmiR7oIuyRObfngdQ4DtQ43lP-BI.cache +1 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PA/PAuUuwT5jipZXA_n9RhpmGwqJ1Iy2fhenDQ2c7OWR1g.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PI/PICUHERbDI5SfupHuVHilEuSnty3GuK5YU5K7mmk2rM.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ps/PsnJOUHjLOcin-VR1kariPZZO2u2NY0yp33oi-4TShg.cache +1 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rf/RfuB0DxS2qNU4qbjJJ--gdqkbmjNJ2ZGWCiLNTqE9eo.cache +3 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sd/Sdla4FneOzSuQLGObOpS4IfRlzlI1GNbuzpYrv7O_KY.cache +1 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TG/TGDbGuIKiz8qmbLLdeHYDyF1qGYTHTuU-jG5ziS_ovY.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tk/TkWABDV0YJvmYQ8IwILxI0hgD317vwBLYk1fpuii5To.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/U5/U535r3abMd0zTiLvzJFxoKklJBLihLX7BZLDcm3GTCo.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UV/UVA52HFnbRFGXka-yF41SBTxhFzdvDnnRjeXeIdyu0Q.cache +0 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/X3/X3kylTG26wDFcS_E_EAyFr5ptai19nKO0eKh3v8hECc.cache +1 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dA/dAiamXTs1GC_Op3IxwPOo9veq5_3K1DZ_Zyno8MHp1M.cache +3 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dt/dtKkGQyQOM7bul0GsAljpdMKRBVNc9G9Wmkf1DYeTpc.cache +3 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eW/EwW9dsRe04i48aNLCyWaPnzDcuNgwRxj4sj3nTir4sM.cache +1 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eg/egog-vBcrjKKvLt9mVLV_wTrKJhpavsMiNTKQicksRw.cache +0 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iU/iUqOHi8p1QKuGc2-gkU3LfbqQyAzDCSfutpnSMfm1k0.cache +1 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/k7/k7GRb_3CuNfHIvEI08ZH53nrAotiXgObpTy4pYJuycQ.cache +1 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kO/kO2HlVnTFgRgXxF7SR40PhHyyWic-H8JorAfUCQZ4C8.cache +1 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/n5/n5968tjP9pjVo8F2EVC4tglUl8OOAda_k8F1rAtFdBI.cache +1 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oK/OKWjZ3SUn6Wg3VP0jggxYMlJu7NLCjRrLLlFqx5ONTY.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oy/OYcT3kJj5Qpj-gbqpCHThxhxkiMyOCSFaCe5w4Tjkgs.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pp/PpRl_zRtE-t43Y8j8fNxWI5aaTkVOMK-hIT7CwhdRxs.cache +1 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qM/qM8WO0RbNHCqV0tC116gbp0wcCqZyJEIZ-gVpTgizrY.cache +3 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/q_/q_m5OrU0eMwnVwCbtIawhYwMaP2ZmmoWxTWu5hRN1T0.cache +1 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rC/Rc71ov7tW9NSPpwoHqD38DP7QpCG_LptKwr0MCSZAXY.cache +1 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ri/riWqAbxRR8bPVEmy9e3K8LFG4prpeHI7sN2FXp1qVdY.cache +2 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sY/sY4ubmCsAPMDS11-3Wxc_nVsKPFgYeXBqotBkHv_oxM.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/t_/t_qU0z2iD3DnAXMaAW4aTV4mZ1WABCjyY3tyDv7Gnls.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ug/ughtt6CYxwgJVjSjBEFpV_pHi87gp-wsG39ysyeAMOE.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vq/vqSADLZiBYDGSlDBlmQIAKXug9gLFTFDSXt93YQJC2Y.cache +0 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vy/Vy9Vf8G19x8NEMuy288LaSgkXt_M-7WYWMiJ4YlcNVU.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wU/wUXUPO8Dici-dz2gGjI33hagniMOsanNHTdLNyPA9Kw.cache +1 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ws/wsiDcqbHjmp7GzlHZKEWA4oovzUBlFus6NZfCnj4QiA.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ws/wsjjBw3Ynx8EQqPAPQu_rlQoSdCMgjtZeab3eUlgik0.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wz/WzWgQHGyglyU359hcX8bdPz5SBbNKS4nns4UQcpH6TA.cache +1 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xL/xLAyiCGrDIFJZDAkOqRZJ4soxoL-RGKmxhtGNZcitWc.cache +1 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xN/xNk5tlDqhcD0RXj6SxjCX9i01yAwC4V8SMpRQJwpYTI.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zk/zKpdTFocwcc2IwTIKD4iTa1R5DNxzb_id2HKBjeFDGA.cache +0 -0
  79. data/test/integration/include_test.rb +3 -0
  80. metadata +138 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d864a9a84ab7ca0791c770f9b1380a0ddf35196b
4
- data.tar.gz: 1448f5d1bfe02d36393af4b93439533fa5713e7e
3
+ metadata.gz: 087dcc58f29d3792efd25b97b6e36612ab905398
4
+ data.tar.gz: 31fb23cc2631ca613f595b952401003991c18fda
5
5
  SHA512:
6
- metadata.gz: 4779fc4309dfc5c669d36f45333fdd36105da53016986da2cd92a4dbd91670f5b6e0048e35d69eaed277324aa8adeb4d5df627ccda321b184a6e315df545a416
7
- data.tar.gz: 2c8e87a8b3a6d4d533cd6232383ef55ab4bc58a767485ff134d2fab72bb9344ffe133c1a0cddd1b6c1618a6e64adc1ce8887afe36082c9bb8af1ea40028ecced
6
+ metadata.gz: 104134bba5ec0b8c1fe6ded8e12ee83a78c1cce6bfe028e5886440406e1d3d86aa430546356f9e564a2fb36de7d6bdf7ef506392e712793c07eed7a29748d1d6
7
+ data.tar.gz: baae1e1b34816744a536ee4553fba103083cf8aa54c793b66faef39549ef61ed951085d98d61976eca90df151daa8d6959354391de109e04231954f8f586d22c
data/README.md CHANGED
@@ -66,6 +66,20 @@ BETTER_FRAME_ORIGIN=http://example.com
66
66
  Side note: If you have `protect_from_forgery with: ...` in your controller you
67
67
  have to delete that because of the cross site origin requests.
68
68
 
69
+ #### Javascript:
70
+
71
+ If you need something like `$(document).ready`, better_frame fires an event with
72
+ `better_frame:load`.
73
+ This event is fired everytime the side is loaded with better_frame.
74
+
75
+ Usage:
76
+
77
+ ```javascript
78
+ $("#app-content").on("better_frame:load", function(){
79
+ alert("site was loaded with better_frame!");
80
+ });
81
+ ```
82
+
69
83
  ### External (on your website which should embed the rails app)
70
84
 
71
85
  **NOTE: you need to have jQuery on the website which is embedding your rails
@@ -10,10 +10,14 @@
10
10
  }
11
11
 
12
12
  function fill(url) {
13
- return $.ajax({url: url, type: "GET", xhrFields: { withCredentials: true }}).done(fillContent); }
13
+ return $.ajax({url: url, type: "GET", xhrFields: { withCredentials: true }})
14
+ .done(fillContent)
15
+ .then(fireLoadedEvent); }
14
16
 
15
17
  function fillContent(content) { $("#app-content").html(content); }
16
18
 
19
+ function fireLoadedEvent() { $("#app-content").trigger("better_frame:load"); }
20
+
17
21
  function storeURLInHistory() {
18
22
  window.history.pushState(null, null, baseURL + currentRailsPath());
19
23
  }
@@ -1,4 +1,9 @@
1
1
  (function($) {
2
2
  $.getScript("<%= javascript_url('application.js') %>");
3
3
  $.getScript("<%= javascript_url('better_frame/application.js') %>");
4
+ $('<link/>', {
5
+ rel: 'stylesheet',
6
+ type: 'text/css',
7
+ href: '<%= stylesheet_url('application') %>'
8
+ }).appendTo('head');
4
9
  })(jQuery);
@@ -1,3 +1,3 @@
1
1
  module BetterFrame
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -0,0 +1,5 @@
1
+ (function(){
2
+ $("#app-content").on("better_frame:load", function(){
3
+ $("#products-table").attr("class", "test")
4
+ });
5
+ })(jQuery);
@@ -2,7 +2,7 @@
2
2
 
3
3
  <h1>Listing Products</h1>
4
4
 
5
- <table>
5
+ <table id="products-table">
6
6
  <thead>
7
7
  <tr>
8
8
  <th>Name</th>
Binary file
@@ -4068,3 +4068,465 @@ Processing by ProductsController#index as */*
4068
4068
  Rendered products/index.html.erb within layouts/better_frame/application (2.4ms)
4069
4069
  Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
4070
4070
   (0.1ms) rollback transaction
4071
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4072
+  (0.1ms) begin transaction
4073
+ Fixture Delete (0.6ms) DELETE FROM "products"
4074
+ Fixture Insert (0.4ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:27:49', '2016-07-21 08:27:49', 980190962)
4075
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:27:49', '2016-07-21 08:27:49', 298486374)
4076
+  (0.7ms) commit transaction
4077
+  (0.0ms) begin transaction
4078
+ ---------------------------
4079
+ BetterFrameTest: test_truth
4080
+ ---------------------------
4081
+  (0.0ms) rollback transaction
4082
+  (0.0ms) begin transaction
4083
+ -----------------------------------------------------------
4084
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4085
+ -----------------------------------------------------------
4086
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:27:51 +0200
4087
+ Processing by ForeignWebsiteController#show as HTML
4088
+ Rendered foreign_website/show.html.erb within layouts/application (2.0ms)
4089
+ Completed 200 OK in 18ms (Views: 17.7ms | ActiveRecord: 0.0ms)
4090
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:27:51 +0200
4091
+ Processing by BetterFrame::ApiController#include as */*
4092
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (441.7ms)
4093
+ Completed 200 OK in 479ms (Views: 479.0ms | ActiveRecord: 0.0ms)
4094
+ Started GET "/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js?_=1469089671741" for 127.0.0.1 at 2016-07-21 10:27:51 +0200
4095
+ Started GET "/assets/better_frame/application-a70d9c04947e4b991f3c6d4f9e07893ca2a9746de11aea757c7ef70d48b7843b.js?_=1469089671743" for 127.0.0.1 at 2016-07-21 10:27:51 +0200
4096
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:27:51 +0200
4097
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:27:51 +0200
4098
+ Processing by ProductsController#index as */*
4099
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4100
+ Rendered products/index.html.erb within layouts/better_frame/application (8.5ms)
4101
+ Completed 200 OK in 33ms (Views: 32.2ms | ActiveRecord: 0.4ms)
4102
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:27:51 +0200
4103
+ Processing by ProductsController#new as */*
4104
+ Rendered products/_form.html.erb (24.0ms)
4105
+ Rendered products/new.html.erb within layouts/better_frame/application (45.3ms)
4106
+ Completed 200 OK in 62ms (Views: 61.3ms | ActiveRecord: 0.0ms)
4107
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:27:52 +0200
4108
+ Processing by ProductsController#index as */*
4109
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4110
+ Rendered products/index.html.erb within layouts/better_frame/application (1.6ms)
4111
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
4112
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:27:52 +0200
4113
+ Processing by ProductsController#new as */*
4114
+ Rendered products/_form.html.erb (1.6ms)
4115
+ Rendered products/new.html.erb within layouts/better_frame/application (2.0ms)
4116
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
4117
+ Started POST "/products" for 127.0.0.1 at 2016-07-21 10:27:52 +0200
4118
+ Processing by ProductsController#create as JS
4119
+ Parameters: {"utf8"=>"✓", "product"=>{"name"=>"test", "price"=>"120.30"}, "commit"=>"Create Product"}
4120
+  (0.1ms) begin transaction
4121
+ SQL (0.4ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "test"], ["price", 120.3], ["created_at", "2016-07-21 08:27:52.179395"], ["updated_at", "2016-07-21 08:27:52.179395"]]
4122
+  (0.8ms) commit transaction
4123
+ Redirected to http://lvh.me:22222/products/980190996
4124
+ Completed 302 Found in 20ms (ActiveRecord: 1.4ms)
4125
+ Started GET "/products/980190996" for 127.0.0.1 at 2016-07-21 10:27:52 +0200
4126
+ Processing by ProductsController#show as */*
4127
+ Parameters: {"id"=>"980190996"}
4128
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190996]]
4129
+ Rendered products/show.html.erb within layouts/better_frame/application (1.0ms)
4130
+ Completed 200 OK in 25ms (Views: 17.0ms | ActiveRecord: 0.3ms)
4131
+ Started GET "/products" for 127.0.0.1 at 2016-07-21 10:27:52 +0200
4132
+ Processing by ProductsController#index as */*
4133
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4134
+ Rendered products/index.html.erb within layouts/better_frame/application (1.7ms)
4135
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.2ms)
4136
+  (0.1ms) rollback transaction
4137
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4138
+  (0.1ms) begin transaction
4139
+ Fixture Delete (0.3ms) DELETE FROM "products"
4140
+ Fixture Insert (0.2ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:39:45', '2016-07-21 08:39:45', 980190962)
4141
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:39:45', '2016-07-21 08:39:45', 298486374)
4142
+  (0.8ms) commit transaction
4143
+  (0.0ms) begin transaction
4144
+ -----------------------------------------------------------
4145
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4146
+ -----------------------------------------------------------
4147
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:39:47 +0200
4148
+ Processing by ForeignWebsiteController#show as HTML
4149
+ Rendered foreign_website/show.html.erb within layouts/application (1.7ms)
4150
+ Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
4151
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:39:47 +0200
4152
+ Processing by BetterFrame::ApiController#include as */*
4153
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (367.9ms)
4154
+ Completed 200 OK in 408ms (Views: 407.8ms | ActiveRecord: 0.0ms)
4155
+ Started GET "/assets/application-248f22330e8be0a6d1ebb3feb64247f824d9a8b5d7d0884359d2a18e19687845.js?_=1469090387822" for 127.0.0.1 at 2016-07-21 10:39:47 +0200
4156
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:39:47 +0200
4157
+ Started GET "/assets/better_frame/application-f1d6684996002e8903d84dea38ae4b245b9ba231c130912e23c40c65c585b592.js?_=1469090387824" for 127.0.0.1 at 2016-07-21 10:39:47 +0200
4158
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:39:47 +0200
4159
+ Processing by ProductsController#index as */*
4160
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4161
+ Rendered products/index.html.erb within layouts/better_frame/application (8.1ms)
4162
+ Completed 200 OK in 31ms (Views: 30.4ms | ActiveRecord: 0.4ms)
4163
+  (0.1ms) rollback transaction
4164
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4165
+  (0.1ms) begin transaction
4166
+ Fixture Delete (0.4ms) DELETE FROM "products"
4167
+ Fixture Insert (0.2ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:39:53', '2016-07-21 08:39:53', 980190962)
4168
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:39:53', '2016-07-21 08:39:53', 298486374)
4169
+  (0.7ms) commit transaction
4170
+  (0.0ms) begin transaction
4171
+ -----------------------------------------------------------
4172
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4173
+ -----------------------------------------------------------
4174
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:39:54 +0200
4175
+ Processing by ForeignWebsiteController#show as HTML
4176
+ Rendered foreign_website/show.html.erb within layouts/application (1.9ms)
4177
+ Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.0ms)
4178
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:39:54 +0200
4179
+ Processing by BetterFrame::ApiController#include as */*
4180
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (316.8ms)
4181
+ Completed 200 OK in 355ms (Views: 354.8ms | ActiveRecord: 0.0ms)
4182
+ Started GET "/assets/application-248f22330e8be0a6d1ebb3feb64247f824d9a8b5d7d0884359d2a18e19687845.js?_=1469090394831" for 127.0.0.1 at 2016-07-21 10:39:54 +0200
4183
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:39:54 +0200
4184
+ Started GET "/assets/better_frame/application-f1d6684996002e8903d84dea38ae4b245b9ba231c130912e23c40c65c585b592.js?_=1469090394832" for 127.0.0.1 at 2016-07-21 10:39:54 +0200
4185
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:39:54 +0200
4186
+ Processing by ProductsController#index as */*
4187
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4188
+ Rendered products/index.html.erb within layouts/better_frame/application (7.7ms)
4189
+ Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.4ms)
4190
+  (0.2ms) rollback transaction
4191
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4192
+  (0.1ms) begin transaction
4193
+ Fixture Delete (0.3ms) DELETE FROM "products"
4194
+ Fixture Insert (0.2ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:40:17', '2016-07-21 08:40:17', 980190962)
4195
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:40:17', '2016-07-21 08:40:17', 298486374)
4196
+  (0.7ms) commit transaction
4197
+  (0.0ms) begin transaction
4198
+ -----------------------------------------------------------
4199
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4200
+ -----------------------------------------------------------
4201
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:40:18 +0200
4202
+ Processing by ForeignWebsiteController#show as HTML
4203
+ Rendered foreign_website/show.html.erb within layouts/application (1.6ms)
4204
+ Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms)
4205
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:40:18 +0200
4206
+ Processing by BetterFrame::ApiController#include as */*
4207
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (352.0ms)
4208
+ Completed 200 OK in 387ms (Views: 386.7ms | ActiveRecord: 0.0ms)
4209
+ Started GET "/assets/application-6933d4074b15b6cb03c021efca1a3f0340083202bfaf7c4162e07884c2ef65ad.js?_=1469090419381" for 127.0.0.1 at 2016-07-21 10:40:19 +0200
4210
+ Started GET "/assets/better_frame/application-32cea9f5269e062f9ea1d07b20aa3c1338b842cae39fc36b69e028834948edf9.js?_=1469090419383" for 127.0.0.1 at 2016-07-21 10:40:19 +0200
4211
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:40:19 +0200
4212
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:40:19 +0200
4213
+ Processing by ProductsController#index as */*
4214
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4215
+ Rendered products/index.html.erb within layouts/better_frame/application (8.4ms)
4216
+ Completed 200 OK in 29ms (Views: 28.1ms | ActiveRecord: 0.4ms)
4217
+  (0.1ms) rollback transaction
4218
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4219
+  (0.1ms) begin transaction
4220
+ Fixture Delete (0.3ms) DELETE FROM "products"
4221
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:40:27', '2016-07-21 08:40:27', 980190962)
4222
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:40:27', '2016-07-21 08:40:27', 298486374)
4223
+  (0.8ms) commit transaction
4224
+  (0.0ms) begin transaction
4225
+ -----------------------------------------------------------
4226
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4227
+ -----------------------------------------------------------
4228
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:40:28 +0200
4229
+ Processing by ForeignWebsiteController#show as HTML
4230
+ Rendered foreign_website/show.html.erb within layouts/application (1.7ms)
4231
+ Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)
4232
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:40:28 +0200
4233
+ Processing by BetterFrame::ApiController#include as */*
4234
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (305.4ms)
4235
+ Completed 200 OK in 340ms (Views: 339.3ms | ActiveRecord: 0.0ms)
4236
+ Started GET "/assets/application-6933d4074b15b6cb03c021efca1a3f0340083202bfaf7c4162e07884c2ef65ad.js?_=1469090429004" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4237
+ Started GET "/assets/better_frame/application-32cea9f5269e062f9ea1d07b20aa3c1338b842cae39fc36b69e028834948edf9.js?_=1469090429005" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4238
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4239
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4240
+ Processing by ProductsController#index as */*
4241
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4242
+ Rendered products/index.html.erb within layouts/better_frame/application (9.6ms)
4243
+ Completed 200 OK in 30ms (Views: 29.4ms | ActiveRecord: 0.4ms)
4244
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4245
+ Processing by ProductsController#new as */*
4246
+ Rendered products/_form.html.erb (17.0ms)
4247
+ Rendered products/new.html.erb within layouts/better_frame/application (37.6ms)
4248
+ Completed 200 OK in 53ms (Views: 53.0ms | ActiveRecord: 0.0ms)
4249
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4250
+ Processing by ProductsController#index as */*
4251
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4252
+ Rendered products/index.html.erb within layouts/better_frame/application (1.4ms)
4253
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
4254
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4255
+ Processing by ProductsController#new as */*
4256
+ Rendered products/_form.html.erb (2.0ms)
4257
+ Rendered products/new.html.erb within layouts/better_frame/application (2.5ms)
4258
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
4259
+ Started POST "/products" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4260
+ Processing by ProductsController#create as JS
4261
+ Parameters: {"utf8"=>"✓", "product"=>{"name"=>"test", "price"=>"120.30"}, "commit"=>"Create Product"}
4262
+  (0.1ms) begin transaction
4263
+ SQL (0.4ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "test"], ["price", 120.3], ["created_at", "2016-07-21 08:40:29.369062"], ["updated_at", "2016-07-21 08:40:29.369062"]]
4264
+  (0.7ms) commit transaction
4265
+ Redirected to http://lvh.me:22222/products/980190997
4266
+ Completed 302 Found in 18ms (ActiveRecord: 1.4ms)
4267
+ Started GET "/products/980190997" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4268
+ Processing by ProductsController#show as */*
4269
+ Parameters: {"id"=>"980190997"}
4270
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190997]]
4271
+ Rendered products/show.html.erb within layouts/better_frame/application (1.1ms)
4272
+ Completed 200 OK in 24ms (Views: 17.3ms | ActiveRecord: 0.2ms)
4273
+ Started GET "/products" for 127.0.0.1 at 2016-07-21 10:40:29 +0200
4274
+ Processing by ProductsController#index as */*
4275
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4276
+ Rendered products/index.html.erb within layouts/better_frame/application (1.8ms)
4277
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
4278
+  (0.1ms) rollback transaction
4279
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4280
+  (0.1ms) begin transaction
4281
+ Fixture Delete (0.4ms) DELETE FROM "products"
4282
+ Fixture Insert (0.2ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:40:49', '2016-07-21 08:40:49', 980190962)
4283
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:40:49', '2016-07-21 08:40:49', 298486374)
4284
+  (0.7ms) commit transaction
4285
+  (0.1ms) begin transaction
4286
+ -----------------------------------------------------------
4287
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4288
+ -----------------------------------------------------------
4289
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4290
+ Processing by ForeignWebsiteController#show as HTML
4291
+ Rendered foreign_website/show.html.erb within layouts/application (1.7ms)
4292
+ Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.0ms)
4293
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4294
+ Processing by BetterFrame::ApiController#include as */*
4295
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (350.7ms)
4296
+ Completed 200 OK in 400ms (Views: 399.5ms | ActiveRecord: 0.0ms)
4297
+ Started GET "/assets/better_frame/application-32cea9f5269e062f9ea1d07b20aa3c1338b842cae39fc36b69e028834948edf9.js?_=1469090450637" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4298
+ Started GET "/assets/application-457c2cef5c704251d5f3f2c226e09571cea61c675f712289d5929fbb96b1cb49.js?_=1469090450636" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4299
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4300
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4301
+ Processing by ProductsController#index as */*
4302
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4303
+ Rendered products/index.html.erb within layouts/better_frame/application (8.7ms)
4304
+ Completed 200 OK in 31ms (Views: 30.5ms | ActiveRecord: 0.4ms)
4305
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4306
+ Processing by ProductsController#new as */*
4307
+ Rendered products/_form.html.erb (17.9ms)
4308
+ Rendered products/new.html.erb within layouts/better_frame/application (34.9ms)
4309
+ Completed 200 OK in 52ms (Views: 51.6ms | ActiveRecord: 0.0ms)
4310
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4311
+ Processing by ProductsController#index as */*
4312
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4313
+ Rendered products/index.html.erb within layouts/better_frame/application (1.6ms)
4314
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
4315
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:40:50 +0200
4316
+ Processing by ProductsController#new as */*
4317
+ Rendered products/_form.html.erb (1.6ms)
4318
+ Rendered products/new.html.erb within layouts/better_frame/application (1.9ms)
4319
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
4320
+ Started POST "/products" for 127.0.0.1 at 2016-07-21 10:40:51 +0200
4321
+ Processing by ProductsController#create as JS
4322
+ Parameters: {"utf8"=>"✓", "product"=>{"name"=>"test", "price"=>"120.30"}, "commit"=>"Create Product"}
4323
+  (0.1ms) begin transaction
4324
+ SQL (0.4ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "test"], ["price", 120.3], ["created_at", "2016-07-21 08:40:51.064590"], ["updated_at", "2016-07-21 08:40:51.064590"]]
4325
+  (0.6ms) commit transaction
4326
+ Redirected to http://lvh.me:22222/products/980190998
4327
+ Completed 302 Found in 62ms (ActiveRecord: 1.4ms)
4328
+ Started GET "/products/980190998" for 127.0.0.1 at 2016-07-21 10:40:51 +0200
4329
+ Processing by ProductsController#show as */*
4330
+ Parameters: {"id"=>"980190998"}
4331
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190998]]
4332
+ Rendered products/show.html.erb within layouts/better_frame/application (1.1ms)
4333
+ Completed 200 OK in 22ms (Views: 14.8ms | ActiveRecord: 0.3ms)
4334
+ Started GET "/products" for 127.0.0.1 at 2016-07-21 10:40:51 +0200
4335
+ Processing by ProductsController#index as */*
4336
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4337
+ Rendered products/index.html.erb within layouts/better_frame/application (2.0ms)
4338
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)
4339
+  (0.1ms) rollback transaction
4340
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4341
+  (0.1ms) begin transaction
4342
+ Fixture Delete (0.4ms) DELETE FROM "products"
4343
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:41:10', '2016-07-21 08:41:10', 980190962)
4344
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:41:10', '2016-07-21 08:41:10', 298486374)
4345
+  (0.7ms) commit transaction
4346
+  (0.0ms) begin transaction
4347
+ -----------------------------------------------------------
4348
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4349
+ -----------------------------------------------------------
4350
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:41:11 +0200
4351
+ Processing by ForeignWebsiteController#show as HTML
4352
+ Rendered foreign_website/show.html.erb within layouts/application (2.0ms)
4353
+ Completed 200 OK in 21ms (Views: 20.3ms | ActiveRecord: 0.0ms)
4354
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:41:11 +0200
4355
+ Processing by BetterFrame::ApiController#include as */*
4356
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (358.8ms)
4357
+ Completed 200 OK in 392ms (Views: 392.2ms | ActiveRecord: 0.0ms)
4358
+ Started GET "/assets/better_frame/application-3b4fde9d79d4ad5fcf2b48be84dccccfe47825dd501f9bea9e54cf5a8adc2b67.js?_=1469090472050" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4359
+ Started GET "/assets/application-6933d4074b15b6cb03c021efca1a3f0340083202bfaf7c4162e07884c2ef65ad.js?_=1469090472049" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4360
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4361
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4362
+ Processing by ProductsController#index as */*
4363
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4364
+ Rendered products/index.html.erb within layouts/better_frame/application (7.5ms)
4365
+ Completed 200 OK in 29ms (Views: 27.9ms | ActiveRecord: 0.4ms)
4366
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4367
+ Processing by ProductsController#new as */*
4368
+ Rendered products/_form.html.erb (21.6ms)
4369
+ Rendered products/new.html.erb within layouts/better_frame/application (39.6ms)
4370
+ Completed 200 OK in 55ms (Views: 54.7ms | ActiveRecord: 0.0ms)
4371
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4372
+ Processing by ProductsController#index as */*
4373
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4374
+ Rendered products/index.html.erb within layouts/better_frame/application (1.5ms)
4375
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms)
4376
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4377
+ Processing by ProductsController#new as */*
4378
+ Rendered products/_form.html.erb (1.7ms)
4379
+ Rendered products/new.html.erb within layouts/better_frame/application (2.5ms)
4380
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
4381
+ Started POST "/products" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4382
+ Processing by ProductsController#create as JS
4383
+ Parameters: {"utf8"=>"✓", "product"=>{"name"=>"test", "price"=>"120.30"}, "commit"=>"Create Product"}
4384
+  (0.1ms) begin transaction
4385
+ SQL (0.4ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "test"], ["price", 120.3], ["created_at", "2016-07-21 08:41:12.461398"], ["updated_at", "2016-07-21 08:41:12.461398"]]
4386
+  (0.8ms) commit transaction
4387
+ Redirected to http://lvh.me:22222/products/980190999
4388
+ Completed 302 Found in 21ms (ActiveRecord: 1.4ms)
4389
+ Started GET "/products/980190999" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4390
+ Processing by ProductsController#show as */*
4391
+ Parameters: {"id"=>"980190999"}
4392
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190999]]
4393
+ Rendered products/show.html.erb within layouts/better_frame/application (1.4ms)
4394
+ Completed 200 OK in 22ms (Views: 15.6ms | ActiveRecord: 0.2ms)
4395
+ Started GET "/products" for 127.0.0.1 at 2016-07-21 10:41:12 +0200
4396
+ Processing by ProductsController#index as */*
4397
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4398
+ Rendered products/index.html.erb within layouts/better_frame/application (2.0ms)
4399
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
4400
+  (0.1ms) rollback transaction
4401
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4402
+  (0.1ms) begin transaction
4403
+ Fixture Delete (0.3ms) DELETE FROM "products"
4404
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:41:30', '2016-07-21 08:41:30', 980190962)
4405
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:41:30', '2016-07-21 08:41:30', 298486374)
4406
+  (0.8ms) commit transaction
4407
+  (0.0ms) begin transaction
4408
+ -----------------------------------------------------------
4409
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4410
+ -----------------------------------------------------------
4411
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:41:31 +0200
4412
+ Processing by ForeignWebsiteController#show as HTML
4413
+ Rendered foreign_website/show.html.erb within layouts/application (1.6ms)
4414
+ Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)
4415
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:41:31 +0200
4416
+ Processing by BetterFrame::ApiController#include as */*
4417
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (350.5ms)
4418
+ Completed 200 OK in 387ms (Views: 387.0ms | ActiveRecord: 0.0ms)
4419
+ Started GET "/assets/application-3c8554ff76aeac3be46cf2ab5f55a4f6f6e4a29d71d4e24a204d97630aa03ac7.js?_=1469090492307" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4420
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4421
+ Started GET "/assets/better_frame/application-3b4fde9d79d4ad5fcf2b48be84dccccfe47825dd501f9bea9e54cf5a8adc2b67.js?_=1469090492309" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4422
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4423
+ Processing by ProductsController#index as */*
4424
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4425
+ Rendered products/index.html.erb within layouts/better_frame/application (8.6ms)
4426
+ Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.4ms)
4427
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4428
+ Processing by ProductsController#new as */*
4429
+ Rendered products/_form.html.erb (17.4ms)
4430
+ Rendered products/new.html.erb within layouts/better_frame/application (35.3ms)
4431
+ Completed 200 OK in 51ms (Views: 50.9ms | ActiveRecord: 0.0ms)
4432
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4433
+ Processing by ProductsController#index as */*
4434
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4435
+ Rendered products/index.html.erb within layouts/better_frame/application (1.5ms)
4436
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
4437
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4438
+ Processing by ProductsController#new as */*
4439
+ Rendered products/_form.html.erb (1.7ms)
4440
+ Rendered products/new.html.erb within layouts/better_frame/application (2.1ms)
4441
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
4442
+ Started POST "/products" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4443
+ Processing by ProductsController#create as JS
4444
+ Parameters: {"utf8"=>"✓", "product"=>{"name"=>"test", "price"=>"120.30"}, "commit"=>"Create Product"}
4445
+  (0.1ms) begin transaction
4446
+ SQL (0.4ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "test"], ["price", 120.3], ["created_at", "2016-07-21 08:41:32.726211"], ["updated_at", "2016-07-21 08:41:32.726211"]]
4447
+  (0.7ms) commit transaction
4448
+ Redirected to http://lvh.me:22222/products/980191000
4449
+ Completed 302 Found in 18ms (ActiveRecord: 1.4ms)
4450
+ Started GET "/products/980191000" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4451
+ Processing by ProductsController#show as */*
4452
+ Parameters: {"id"=>"980191000"}
4453
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980191000]]
4454
+ Rendered products/show.html.erb within layouts/better_frame/application (1.2ms)
4455
+ Completed 200 OK in 26ms (Views: 17.3ms | ActiveRecord: 0.3ms)
4456
+ Started GET "/products" for 127.0.0.1 at 2016-07-21 10:41:32 +0200
4457
+ Processing by ProductsController#index as */*
4458
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4459
+ Rendered products/index.html.erb within layouts/better_frame/application (1.8ms)
4460
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
4461
+  (0.1ms) rollback transaction
4462
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4463
+  (0.1ms) begin transaction
4464
+ Fixture Delete (0.3ms) DELETE FROM "products"
4465
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:46:09', '2016-07-21 08:46:09', 980190962)
4466
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:46:09', '2016-07-21 08:46:09', 298486374)
4467
+  (0.8ms) commit transaction
4468
+  (0.0ms) begin transaction
4469
+ -----------------------------------------------------------
4470
+ IncludeTest: test_include_&_navigate_site_with_better_frame
4471
+ -----------------------------------------------------------
4472
+ Started GET "/foreign_website" for 127.0.0.1 at 2016-07-21 10:46:10 +0200
4473
+ Processing by ForeignWebsiteController#show as HTML
4474
+ Rendered foreign_website/show.html.erb within layouts/application (1.8ms)
4475
+ Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
4476
+ Started GET "/better_frame" for 127.0.0.1 at 2016-07-21 10:46:10 +0200
4477
+ Processing by BetterFrame::ApiController#include as */*
4478
+ Rendered /Users/YvesSi/Projects/better_frame/app/views/better_frame/api/include.js.erb (768.1ms)
4479
+ Completed 200 OK in 805ms (Views: 804.7ms | ActiveRecord: 0.0ms)
4480
+ Started GET "/assets/application-3c8554ff76aeac3be46cf2ab5f55a4f6f6e4a29d71d4e24a204d97630aa03ac7.js?_=1469090771400" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4481
+ Started GET "/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4482
+ Started GET "/assets/better_frame/application-3b4fde9d79d4ad5fcf2b48be84dccccfe47825dd501f9bea9e54cf5a8adc2b67.js?_=1469090771402" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4483
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4484
+ Processing by ProductsController#index as */*
4485
+ Product Load (0.4ms) SELECT "products".* FROM "products"
4486
+ Rendered products/index.html.erb within layouts/better_frame/application (8.3ms)
4487
+ Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.4ms)
4488
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4489
+ Processing by ProductsController#new as */*
4490
+ Rendered products/_form.html.erb (20.1ms)
4491
+ Rendered products/new.html.erb within layouts/better_frame/application (38.1ms)
4492
+ Completed 200 OK in 53ms (Views: 52.3ms | ActiveRecord: 0.0ms)
4493
+ Started GET "/" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4494
+ Processing by ProductsController#index as */*
4495
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4496
+ Rendered products/index.html.erb within layouts/better_frame/application (1.5ms)
4497
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms)
4498
+ Started GET "/products/new" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4499
+ Processing by ProductsController#new as */*
4500
+ Rendered products/_form.html.erb (2.1ms)
4501
+ Rendered products/new.html.erb within layouts/better_frame/application (4.4ms)
4502
+ Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
4503
+ Started POST "/products" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4504
+ Processing by ProductsController#create as JS
4505
+ Parameters: {"utf8"=>"✓", "product"=>{"name"=>"test", "price"=>"120.30"}, "commit"=>"Create Product"}
4506
+  (0.1ms) begin transaction
4507
+ SQL (1.7ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "test"], ["price", 120.3], ["created_at", "2016-07-21 08:46:11.804377"], ["updated_at", "2016-07-21 08:46:11.804377"]]
4508
+  (1.1ms) commit transaction
4509
+ Redirected to http://lvh.me:22222/products/980191001
4510
+ Completed 302 Found in 23ms (ActiveRecord: 3.2ms)
4511
+ Started GET "/products/980191001" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4512
+ Processing by ProductsController#show as */*
4513
+ Parameters: {"id"=>"980191001"}
4514
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980191001]]
4515
+ Rendered products/show.html.erb within layouts/better_frame/application (0.9ms)
4516
+ Completed 200 OK in 21ms (Views: 14.3ms | ActiveRecord: 0.3ms)
4517
+ Started GET "/products" for 127.0.0.1 at 2016-07-21 10:46:11 +0200
4518
+ Processing by ProductsController#index as */*
4519
+ Product Load (0.2ms) SELECT "products".* FROM "products"
4520
+ Rendered products/index.html.erb within layouts/better_frame/application (1.8ms)
4521
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
4522
+  (0.1ms) rollback transaction
4523
+  (0.1ms) begin transaction
4524
+ Fixture Delete (0.2ms) DELETE FROM "products"
4525
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:46:11', '2016-07-21 08:46:11', 980190962)
4526
+ Fixture Insert (0.1ms) INSERT INTO "products" ("name", "price", "created_at", "updated_at", "id") VALUES ('MyString', 1.5, '2016-07-21 08:46:11', '2016-07-21 08:46:11', 298486374)
4527
+  (0.7ms) commit transaction
4528
+  (0.0ms) begin transaction
4529
+ ---------------------------
4530
+ BetterFrameTest: test_truth
4531
+ ---------------------------
4532
+  (0.0ms) rollback transaction
@@ -0,0 +1 @@
1
+ "%yŜ�{���F�5��/_��XJ��QQ-� �
@@ -0,0 +1 @@
1
+ I"�/Users/YvesSi/Projects/better_frame/app/assets/javascripts/better_frame/better_frame.js?type=application/javascript&pipeline=self&id=e8542034f3a4865e18196d3ddb42673b425ff8d1237b31b8156298e73a631564:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=727c792789e418b49505df5672c09b2ea42d04a9a75826b41977dac14767bbe8:ET
@@ -0,0 +1 @@
1
+ I"�/Users/YvesSi/Projects/better_frame/app/assets/javascripts/better_frame/application.js?type=application/javascript&id=506a80769e77a913eee9834024de94140503e7525b1da6f54d4136d7a94ef4b8:ET
@@ -0,0 +1 @@
1
+ "%yŜ�{���F�5��/_��XJ��QQ-� �
@@ -0,0 +1 @@
1
+ "%Ϙw�1�S���L�� %�-d���z^��
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash{
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"1file-digest://app/assets/javascripts/test.js;TT
@@ -0,0 +1 @@
1
+ "%%@c���Y ����X�oy��<�uIz�ꖀ�
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash{
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"1file-digest://app/assets/javascripts/test.js;TT