graphiql-rails 1.4.11 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. checksums.yaml +5 -5
  2. data/app/assets/javascripts/graphiql/rails/application.js +4 -3
  3. data/app/assets/javascripts/graphiql/rails/graphiql-1.4.2.js +3642 -0
  4. data/app/assets/javascripts/graphiql/rails/graphiql_show.js +92 -0
  5. data/app/assets/javascripts/graphiql/rails/react-16.14.0.js +32 -0
  6. data/app/assets/javascripts/graphiql/rails/react-dom-16.14.0.js +239 -0
  7. data/app/assets/stylesheets/graphiql/rails/application.css +1 -1
  8. data/app/assets/stylesheets/graphiql/rails/{graphiql-0.11.11.css → graphiql-1.4.2.css} +619 -659
  9. data/app/views/graphiql/rails/editors/show.html.erb +8 -93
  10. data/lib/graphiql/rails/engine.rb +9 -0
  11. data/lib/graphiql/rails/version.rb +1 -1
  12. metadata +16 -315
  13. data/app/assets/javascripts/graphiql/rails/graphiql-0.11.11.js +0 -46455
  14. data/app/assets/javascripts/graphiql/rails/react-16.2.0.js +0 -1684
  15. data/app/assets/javascripts/graphiql/rails/react-dom-16.2.0.js +0 -16068
  16. data/readme.md +0 -53
  17. data/test/controllers/editors_controller_test.rb +0 -77
  18. data/test/dummy/config.ru +0 -4
  19. data/test/dummy/config/application.rb +0 -15
  20. data/test/dummy/config/boot.rb +0 -3
  21. data/test/dummy/config/environment.rb +0 -5
  22. data/test/dummy/config/environments/development.rb +0 -41
  23. data/test/dummy/config/environments/production.rb +0 -79
  24. data/test/dummy/config/environments/test.rb +0 -42
  25. data/test/dummy/config/routes.rb +0 -3
  26. data/test/dummy/config/secrets.yml +0 -22
  27. data/test/dummy/log/test.log +0 -294
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-3/-3IDUOD9_z4PdL-lTwfeIH94q6kra-PoGDHOmb4WA6U.cache +0 -2
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/04/04s93Tzn3Xqp27RIPbk2JW4EwFJ92GRHxAYQBN1VaXI.cache +0 -1
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0S/0SVTazOCWv-k8pRlFMFeA8xsjGJElPUk0G0_UOm53WA.cache +0 -3
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1W/1WE3Zlk6Z0vfUNMFRYf3wFiuTzBNYhAi4JyNJIWe__0.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2z/2z6pvRfPf4EMoyJZrG2J_NZhgbt7lIYvqqHJGUDM9ps.cache +0 -1
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3M/3MAT1Sf-t3Ddeq8BIrhLu7GcoLZn7ap95ytKm_Gd7ag.cache +0 -1
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4S/4SRYBCnech9uKdiPoExGfCR6OqVZ0jay6kyD4DKodCM.cache +0 -3
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4q/4qAXrWQiQhR8kDmUADq7_vGHlx8I6mj75CAAyCA1DeQ.cache +0 -3
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/58/58OgpcabSX8xCK1U_QlOdflBegifm4Ope2qfPTkpDD0.cache +0 -2
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5G/5GsOF3P14olvZLChizVgNdnrvx-ObqyENmAvbp46ros.cache +0 -2
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5b/5bhY6WKi3LOKFSpOcjAhFLluKpH8Xa9jdyNENH4tuU4.cache +0 -1
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/66/66Hq8sDuvOaKHeidquJeinimEamd3t3lza8ZxY9Y_6Y.cache +0 -3
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/69/69NCHGEOhaCqF1oLhLlN6b4LbqhzbgqxRWqGCWlESQc.cache +0 -3
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6e/6eewj1Bf1gY5VGqVORhVdoVtdnTMZZ4T9kWyNANdsuQ.cache +0 -3
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6q/6qExILfH-XvjA6XP1zvl5h9XdpmYjj33c4FFpUjkMzI.cache +0 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7-/7-3NxtJa1LxatHrdVBj8MfnFejUiQxFgQUc8MLEobIg.cache +0 -1
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7B/7BaLGu15JbZ67DHzBkca1NG_IR1fhlT8DO90PRE5SNM.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7c/7cEv2jblzI7ZTd5W_C9AaIqWFjcTmZJJJ0av0l4DtxE.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7z/7zyPqEZVFv5eme1L8Ohq6irryEe_c7rbMOu4VqGay1U.cache +0 -3
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/84/844aqh_GUqkKNssqHGyvIYr8wAvGRrT_i52b4jANiWM.cache +0 -2
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9P/9PIvEWVjvVQSdQ1NPxJQ7Zxj724FJG176x_U7w5StsA.cache +0 -3
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9l/9lQ0BXnhD_Jg8RHN2jQSKObO4ABQXXgxQTGj4hyxEcY.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/A6/A69Ck8j71FqWu-ueIjpnC7HATkRTb6vh3umvaZpQbH4.cache +0 -2
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BZ/BZzMDhd2IBNn8XADDNNPq00WnV89937m7hUrMGl_bgk.cache +0 -1
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/C7/C7EaGvsoalce0gw5Ry5BQjPCOyJBbd12N4RXJM0MP5w.cache +0 -1
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CA/CAGdqN4ckCQU-6ZjE5Slfa9Z5_6F5A0AyxVeAkS24JQ.cache +0 -1
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cr/Cr8X-Ni58UFk807Ni2-3pTHA9581Vsi16fUTBPdfKtU.cache +0 -1
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DY/DY497ViEBcLaZFO9E5njnC387cLMRslg7hP5ZtkW0qc.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ED/EDqDqr6XGkiOhoZJ-zWIX-w_3Dt5W-80VgkFM_c4Xq8.cache +0 -1
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EV/EVWaEay9drlzZPTuMUk4TcUNZJMtlWWeLhaaO9JJZjg.cache +0 -3
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EV/EVijhtV3qWCnXrJFIq-iVWGc64v2dA__sdr56TQYCSk.cache +0 -1
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FB/FBNtr3b9clNS21vaPpPMRInEQ7kdmmpR9_ryPdGh6w0.cache +0 -1
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FI/FItC5EKzPIq6ERxU-rhhxj3keFlqytlAjI6r94X-Zf4.cache +0 -1
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GN/GNlsWA_sPYrTKNioToykgcuxYaYs3i-fNUvp46T2TqI.cache +0 -2
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HF/HFDxddNOXrzxty0N2BJcntkB9xohfW4UYyQaPbR9TFo.cache +0 -1
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HI/HIyUohMcYwHkGtck1ZKdxersZXMYsV8cGRbosYFIP1o.cache +0 -1
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HP/HPJZXj_W6lCLNZ1uRwNjgyB4B4j9AoZnYTCk9vAHCWQ.cache +0 -2
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K0/K0ZNls8xBQyYn_mFUwYPF_tSdhq46l1Brmc-SjEd8iA.cache +0 -2
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KG/KGRzv7OWM5xtlY_857X_HZsYJHZL_PcsYlttZpIgC6E.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KP/KPtrlRST9u6m9FPmW6yVpHRu-HOfYj0lu5OYNXBwj8g.cache +0 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kv/KvTTuveWTp82im6Z1RSI07URr_ZUZJ439x0LIBCm1-Y.cache +0 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LF/LFqr3zNoPXj4i8azJatXfhKitCHvaJW9TZLqCVt9QVE.cache +0 -1
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LU/LU0Ubj6_8OMcF5fL-zqxXcjU3mRi93-ZpFGJHwvUGfw.cache +0 -1
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lr/LrEoZNJufYHEBGiaZ_22uLoIRY1dIL5DqWBeKHHkgNE.cache +0 -1
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/M0/M0vg_sA9sS-FMZ1JKAxU6YjbUYmPikJ0-f70Ogy-foI.cache +0 -3
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mx/MxEMJTc40EcHw8A1-yt6EqD4metPDrhsgqsgGyP7F5Q.cache +0 -1
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/N7/N7eGyrsvYn1zhGj-iRUei8C9MhjABbgZmImGxaLe1ds.cache +0 -1
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nt/Nt7p9iBsSTB860q-4clEAfbOMbt0DZrcHQiL_FAsWMs.cache +0 -1
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OX/OXl5GMb74HZiHF8ho1BY8zJCyoyRDY_TfrDbrZl_egk.cache +0 -2
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Of/OftI5ZGPiQhD3OoLFydPCQR9nG8NEqSnLquKa5dB3dk.cache +0 -1
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ok/OkHNCYTGJKSHaBiafktOzhbk2of_zuWD3WyS2nY4edU.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ou/OuplBYxOhZFXuhKhSBH9eCHNTDNdS49VgNZ-JmcrbY4.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q-/Q-Hf_YET3qiJ6q4ReKXYpkla3fRemKdtbHyUoSfr7S4.cache +0 -1
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q_/Q_iHaipwEjUmrRm5iFo24-4dqwl93je4AFivWazf2KU.cache +0 -1
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qn/Qnn-xN7iaaTtKwp3RFCmHn9xSbiyYGVNtHvuZu8G7X8.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RI/RIxtXWhvSoXF4ITDQT7OKYL61UZNYAf6zTcavV1LSLM.cache +0 -3
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RR/RRcYRIdCunwNPPgw4govMUPMMgMqG_7tOwv1GRGiQZM.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RS/RSrZjycYJr9e5025GCJ5-fXYPx6wdind7CzLfBokcSI.cache +0 -1
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rw/RW6uS8uCcZkHdRl2LON6z_d_Z2se9Pewf73vwD_q3Ek.cache +0 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rw/RwJqjArxlOOzpX1_xps7S6AelorTaP_Kl_PUC_H5SP8.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SH/SHh66pJTuvBF3S4e9bg23cMT3RDTchcv_fhLBK8x3QU.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SW/SW6oTyNb6v36K1fr6YPBV3AtYIiWaXFkldX27-E81QE.cache +0 -1
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TP/TPaKgwRY0i839DEggZj03_oze4vbQ8vuZzNstdVzWoI.cache +0 -1
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TP/tptZFh3GTVzA6_lzKi3uc1r3lk5AL4BdJXtcz-bgNKw.cache +0 -1
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UO/UOdiJSX4CRds4wn8qz631wa3Of5BmZMJfB7F0-8FIJY.cache +0 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V-/V-hZ6m4_ZwIdj4upwYPz69NdrL43nZlaGZUirXK7_7k.cache +0 -1
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V4/V4wZj_7nwTvbb1C0RHQ-XtAxMxYjhEEFrHe0ruKddsE.cache +0 -1
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WP/WPRjxG4oCjhgKxX74FSz3ij1Anopd8_2EipkMUr60gg.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WX/WX5ywUkiKM_R0MV4XsNYkFPa-40XbWvsewiG-fZdJyY.cache +0 -2
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wb/Wb648ZLav5hpMuf-ZD3d2yLcAeZz1tcX33AvEh-j1m0.cache +0 -2
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/XR/XRekuK507PYwBLGPPnVrtAbzakAr3lGLcaRHg4y0xKw.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xb/Xb5b0TdmZfklxylubwFlQ11setdFo8SWbaSvU3RwzxQ.cache +0 -1
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xj/XjP8wJIOnzTHGVsgiul9B55ARsRR6sp43pZlA0Ei37s.cache +0 -1
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YH/YHuxEfhfglIxDarmb-UvYhtFvUqCM9c-oVoGtN5p0hY.cache +0 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YS/YS0y5dVS9Y6jAFfzOWLhnQQz5ZdCQN9UGHQAIYyTZE0.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Y_/Y_AZIO4mO9BlGvshx-aZGbI7L1vCPce6oUdptDOGw0o.cache +0 -1
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zf/ZfmVlQGU8GETNo3BTzs3RdAozN8z_yNM9HLb47Lq_pE.cache +0 -1
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_X/_X1cjPGRvvqcsLF3bJtC42HwgOf8ovvtcZD_eXSmneA.cache +0 -1
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_i/_i24b4_qf5vFZfvjQZhTdqiqufr9pT02qcJ8ogtjeK4.cache +0 -1
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_t/_tKePw0DBu2h4Oux_tDdeODIakq1Ozd72k-QZOCkGcc.cache +0 -1
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bK/bKV5LfMWinRp1G-Bl0WhcEpKLGBMdaQwxs3VPE1LlNI.cache +0 -2
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bO/bOTUrhydd-fPF98gEYDH5ky6wv9oS_EZkImuIhtF5FI.cache +0 -1
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bg/bgeIPTPy2Ynh9qUCGgww1AUc7ZnmOPPkY4h2SktTSpc.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cF/cFSqaWNl1N78GziUAvtxvdUGx-Uz2tPl0pO7s4xdLbg.cache +0 -2
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cm/cm1WOYI9w3uhkNu4Vb-kEOMneN7k0pXLnojjROiB9eI.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cw/cwa_bniOlVHoF7FyHKeX8x_qO49-hOA9eayBSno-g7Q.cache +0 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/d-/d-vlHCxMOwTCsoMm5RJOU__--UZ92MQCSHKcX_Rn74g.cache +0 -1
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dE/dEG4WsVrnG69BHciO8PJkPfP84KnaLLBh1qqsFk0ZmU.cache +0 -3
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dM/dM3xFCdV9vaDeMWCRiVnxk4t1E6LhTBUme3HPi9m6QU.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ds/dsUc8MYjZLb1U4G-ZGH-qF1dNwPuP2E-ZBEBStqgp_8.cache +0 -3
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eG/eGaxh4Y7whkTSuX4sU8qBgRDw3p13trMMi1HKtu-P8Y.cache +0 -1
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/f3/f34o5xgKGbeJGR3vhW5iDu9HeUbkIxpIfaKivQBhqsw.cache +0 -2
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fL/fL2ashcpTzPDWW7FZymZd-2GIKuizeLDA8po_G5OdOk.cache +0 -1
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gH/gHYKlXksxiNCgwEZzOpxXtNy9p-rgwg7tT4xU27-mWM.cache +0 -1
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gj/gjAmvGrLSF4gLKSu43jMVi8kjfOv5BV4s1UBznbfpcU.cache +0 -1
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/go/gokKjGrMTiyCOof7tHaQb7HE3NU04muitRGM0JtxCdk.cache +0 -2
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gu/guDp3-qqB0C4EBxIyo6vkVcvqsl08QbZ4VHSsqXP-Kc.cache +0 -1
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gy/gyP2ip3kwv68WM4zD5RK8DSrFRSJwAwBuYK0jD411Vc.cache +0 -1
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/h6/h6t_8v0yd_5OvceDlNEt2hTy-zJiKWatZzOokep0DTo.cache +0 -0
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hQ/hQ2qzfVFhyQyELOzo6i8fThNiGy4doXZY6MUmXk-cio.cache +0 -1
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/i9/i9kCfyInCk0k2U0Kl8YS0iTvCWv9CVENLtyg39rRSlc.cache +0 -0
  129. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ix/ixsjsQDIoCa4pEs7ECGDYbVdSADSV4ddtoi62NvM9wU.cache +0 -0
  130. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jz/jzRnlzAwJ46MfB8tTnLUx124R0VXom4HWbw9zGuIq80.cache +0 -0
  131. data/test/dummy/tmp/cache/assets/sprockets/v3.0/k6/k65Y1G4OfHVSwV1Ou1VY6SBUFvqLnp1N0zM2AQ36EXU.cache +0 -1
  132. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kS/kSoBDI4xrIGfKetkW4-9R43EmIehmHDXROt6VdzL6BY.cache +0 -0
  133. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kS/ksKS1BxL6zNIrXLVPd6lrrENFpZWLxsR4la66MAYLi0.cache +0 -2
  134. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ke/ke-ZvnGtZDuEhoW6xWTIZuTbky_xNgwKpcSOS5uGhwc.cache +0 -3
  135. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kr/krJuIicueAPd9Y2zaquz99Ih1rMCyMuwgX0Baz8-Qx0.cache +0 -0
  136. data/test/dummy/tmp/cache/assets/sprockets/v3.0/l1/l169rNZ_HA-2QeoeEkH9EKed4Y6EM6BkysX0gRwcTa0.cache +0 -0
  137. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lV/lV0_8GAp9W7BkTcvZ7p3Ht9e5utCCqfDsAn2jwRFoiY.cache +0 -2
  138. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mE/mEpxSHG0H2wBmMqZhuxoNnT0RM-dt-1qtOOdLVtxJT4.cache +0 -1
  139. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mp/mpJRIM20i6M6EBGL4RR1Cc5_WfZITiRsqF18FLEWuPg.cache +0 -2
  140. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mt/mtvI8OhLFf_4Bo3IG-ZkjxWFBe57S8daC99veUEdQ64.cache +0 -3
  141. data/test/dummy/tmp/cache/assets/sprockets/v3.0/n5/n5xv2MlwapYuZyH3iVyFUtsZl_rPXEKTiH65TnftKXQ.cache +0 -0
  142. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nb/nb3TbOEjSMuZKNod-MsauYwC-BlLOfjFHTMgYxrf0fU.cache +0 -0
  143. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oo/ooqsnFa1pVxDKucHBGRjSn5q5n_BQ2_6bomZlEBrZJw.cache +0 -1
  144. data/test/dummy/tmp/cache/assets/sprockets/v3.0/p7/p7HCLsfifhN-jo1N6YcE15nEpGQQwvDigG4tbjcsp_U.cache +0 -0
  145. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pt/ptSZ8wxSLerQdTXe07GS9bM2WGd76vpEBeKnAhWxRBI.cache +0 -0
  146. data/test/dummy/tmp/cache/assets/sprockets/v3.0/q3/q3aBSv0GXoSbwD13HwmLtldl-MJqNBbvhCtQyhq9VrQ.cache +0 -1
  147. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qK/qKu2-EEfIY7HtGy_zGfcZYScXrOAKJ4eZBMck6hyh-M.cache +0 -0
  148. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qy/qyAq9CVJ7KbCIG_WCCJ0uk93OJQQCTEQVQ1Nl-rwZlA.cache +0 -1
  149. data/test/dummy/tmp/cache/assets/sprockets/v3.0/u-/u-cOJXBHowHTvb0PlQopSLime-zqdyUubGNwLw4ZMIk.cache +0 -1
  150. data/test/dummy/tmp/cache/assets/sprockets/v3.0/u3/u3rDmsADFPXqO6Nv5Iw0-JlseXcC-VGWJadxawimKGc.cache +0 -1
  151. data/test/dummy/tmp/cache/assets/sprockets/v3.0/up/upoBxjbXnwFHwDgrzCQEMfuLk-soljIXxIN96LU4ZjE.cache +0 -0
  152. data/test/dummy/tmp/cache/assets/sprockets/v3.0/v7/v7uAdtbUnH42AyF55l-hu2IqdvJ9CRgcLLbenmnvr4k.cache +0 -1
  153. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vK/vK4VG3ZhZCj-pNuZ1GgShrmUDE-Ldxz4x1AZKPiEv6M.cache +0 -1
  154. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vy/vygCurgRkjZ0qpU2md9yyzK8G8jjBLNqv9R-zZkE0lQ.cache +0 -2
  155. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wA/wAwNUj_P90Vn5jI34x6Q3GvMZqOTryo_UPe_2GTNO9E.cache +0 -1
  156. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wc/wc8BE9ztNe1I4IGN6mURg20zYLBh-9sBFd6ZaF039oQ.cache +0 -1
  157. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ww/wwhuat4sIh-Wyz7EOFMlNv796lzQ9IxyxVjNDHFB8jI.cache +0 -3
  158. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xS/xSExTAbf6jahu9weeNiMuxidtaIqKKqXFAzw-jh63do.cache +0 -1
  159. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xu/xu1SLi6co_QdeNpeGzFWssPC-69-s6f7SFFf6SdjQgA.cache +0 -0
  160. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yB/yBn7YrgjsR9I90eAvb7nbMfeznXEJT8oG5X_8L1ZM9g.cache +0 -0
  161. data/test/dummy/tmp/cache/assets/sprockets/v3.0/z3/z3m2P-GFMYPn37yhy32Tp3l-gIiAotytksxtoDSW4k0.cache +0 -2
  162. data/test/graphiql/rails/config_test.rb +0 -24
  163. data/test/graphiql/rails/engine_test.rb +0 -7
  164. data/test/graphiql/rails_test.rb +0 -12
  165. data/test/test_helper.rb +0 -12
data/readme.md DELETED
@@ -1,53 +0,0 @@
1
- # GraphiQL-Rails [![Gem Version](https://badge.fury.io/rb/graphiql-rails.svg)](https://badge.fury.io/rb/graphiql-rails) [![Build Status](https://travis-ci.org/rmosolgo/graphiql-rails.svg)](https://travis-ci.org/rmosolgo/graphiql-rails)
2
-
3
- Mount the [GraphiQL IDE](https://github.com/graphql/graphiql) in Ruby on Rails.
4
-
5
- ![image](https://cloud.githubusercontent.com/assets/2231765/12101544/4779ed54-b303-11e5-918e-9f3d3e283170.png)
6
-
7
- ## Installation
8
-
9
- Add to your Gemfile:
10
-
11
- ```ruby
12
- gem "graphiql-rails"
13
- ```
14
-
15
- ## Usage
16
-
17
- ### Mount the Engine
18
-
19
- Add the engine to `routes.rb`:
20
-
21
- ```ruby
22
- # config/routes.rb
23
- Rails.application.routes.draw do
24
- # ...
25
- if Rails.env.development?
26
- mount GraphiQL::Rails::Engine, at: "/graphiql", graphql_path: "/your/endpoint"
27
- end
28
- end
29
- ```
30
-
31
- - `at:` is the path where GraphiQL will be served. You can access GraphiQL by visiting that path in your app.
32
- - `graphql_path:` is the path to the GraphQL endpoint. GraphiQL will send queries to this path.
33
-
34
- ### Configuration
35
-
36
- You can override `GraphiQL::Rails.config` values in an initializer (eg, `config/initializers/graphiql.rb`). The configs are:
37
-
38
- - `query_params` (boolean, default `false`): if `true`, the GraphQL query string will be persisted the page's query params
39
- - `initial_query` (string, default `nil`): if provided, it will be rendered in the query pane for a visitor's first visit
40
- - `title` (string, default `nil`): if provided, it will be rendered in the page <title> tag
41
- - `logo` (string, default `nil`): if provided, it will be the text logo
42
- - `csrf` (boolean, default `true`): include `X-CSRF-Token` in GraphiQL's HTTP requests
43
- - `headers` (hash, `String => Proc`): procs to fetch header values for GraphiQL's HTTP requests, in the form `(view_context) -> { ... }`. For example:
44
-
45
-
46
- ```ruby
47
- GraphiQL::Rails.config.headers['Authorization'] = -> (context) { "bearer #{context.cookies['_graphql_token']}" }
48
- ```
49
-
50
- ### Development
51
-
52
- - Tests: `rake test`
53
- - Update GraphiQL & dependencies: `rake update_graphiql`
@@ -1,77 +0,0 @@
1
- require "test_helper"
2
-
3
- module GraphiQL
4
- module Rails
5
- class EditorsControllerTest < ActionController::TestCase
6
- setup do
7
- @routes = GraphiQL::Rails::Engine.routes
8
- end
9
-
10
- teardown do
11
- GraphiQL::Rails.config.query_params = false
12
- GraphiQL::Rails.config.initial_query = nil
13
- GraphiQL::Rails.config.title = nil
14
- GraphiQL::Rails.config.logo = nil
15
- GraphiQL::Rails.config.headers = {}
16
- end
17
-
18
- def graphql_params
19
- { params: { graphql_path: "/my/endpoint" } }
20
- end
21
-
22
- test "renders GraphiQL" do
23
- get :show, graphql_params
24
- assert_response(:success)
25
- assert_includes(@response.body, "React.createElement(GraphiQL", "it renders GraphiQL")
26
- assert_includes(@response.body, "my/endpoint", "it uses the provided path")
27
- assert_match(/application-\w+\.js/, @response.body, "it includes assets")
28
- end
29
-
30
- test "it uses initial_query config" do
31
- GraphiQL::Rails.config.initial_query = '{ customQuery(id: "123") }'
32
- get :show, graphql_params
33
- assert_includes(@response.body, '"{ customQuery(id: \"123\") }"')
34
-
35
- GraphiQL::Rails.config.initial_query = nil
36
- get :show, graphql_params
37
- refute_includes(@response.body, '"{ customQuery(id: \"123\") }"')
38
- end
39
-
40
- test "it uses title config" do
41
- GraphiQL::Rails.config.title = 'Custom Title'
42
- get :show, graphql_params
43
- assert_includes(@response.body, '<title>Custom Title</title>')
44
-
45
- GraphiQL::Rails.config.title = nil
46
- get :show, graphql_params
47
- assert_includes(@response.body, '<title>GraphiQL</title>')
48
- end
49
-
50
- test "it uses logo config" do
51
- GraphiQL::Rails.config.logo = 'Custom Logo'
52
- get :show, graphql_params
53
- assert_includes(@response.body, 'React.createElement(GraphiQL.Logo, {}, "Custom Logo")')
54
-
55
- GraphiQL::Rails.config.logo = nil
56
- get :show, graphql_params
57
- refute_includes(@response.body, 'React.createElement(GraphiQL.Logo, {}, "Custom Logo")')
58
- end
59
-
60
- test "it uses query_params config" do
61
- get :show, graphql_params
62
- refute_includes(@response.body, "onEditQuery")
63
-
64
- GraphiQL::Rails.config.query_params = true
65
- get :show, graphql_params
66
- assert_includes(@response.body, "onEditQuery")
67
- end
68
-
69
- test "it renders headers" do
70
- GraphiQL::Rails.config.headers["Nonsense-Header"] = -> (view_ctx) { "Value" }
71
- get :show, graphql_params
72
- assert_includes(@response.body, %|"Nonsense-Header": "Value"|)
73
- assert_includes(@response.body, %|"X-CSRF-Token": "|)
74
- end
75
- end
76
- end
77
- end
data/test/dummy/config.ru DELETED
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails.application
@@ -1,15 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require "action_controller/railtie"
4
- require "action_mailer/railtie"
5
- require "sprockets/railtie"
6
- require "rails/test_unit/railtie"
7
-
8
- # Require the gems listed in Gemfile, including any gems
9
- # you've limited to :test, :development, or :production.
10
- Bundler.require(*Rails.groups)
11
-
12
- module Dummy
13
- class Application < Rails::Application
14
- end
15
- end
@@ -1,3 +0,0 @@
1
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2
-
3
- require 'bundler/setup' # Set up gems listed in the Gemfile.
@@ -1,5 +0,0 @@
1
- # Load the Rails application.
2
- require File.expand_path('../application', __FILE__)
3
-
4
- # Initialize the Rails application.
5
- Rails.application.initialize!
@@ -1,41 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # In the development environment your application's code is reloaded on
5
- # every request. This slows down response time but is perfect for development
6
- # since you don't have to restart the web server when you make code changes.
7
- config.cache_classes = false
8
-
9
- # Do not eager load code on boot.
10
- config.eager_load = false
11
-
12
- # Show full error reports and disable caching.
13
- config.consider_all_requests_local = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Don't care if the mailer can't send.
17
- config.action_mailer.raise_delivery_errors = false
18
-
19
- # Print deprecation notices to the Rails logger.
20
- config.active_support.deprecation = :log
21
-
22
- # Raise an error on page load if there are pending migrations.
23
- config.active_record.migration_error = :page_load
24
-
25
- # Debug mode disables concatenation and preprocessing of assets.
26
- # This option may cause significant delays in view rendering with a large
27
- # number of complex assets.
28
- config.assets.debug = true
29
-
30
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
31
- # yet still be able to expire them through the digest params.
32
- config.assets.digest = true
33
-
34
- # Adds additional error checking when serving assets at runtime.
35
- # Checks for improperly declared sprockets dependencies.
36
- # Raises helpful error messages.
37
- config.assets.raise_runtime_errors = true
38
-
39
- # Raises error for missing translations
40
- # config.action_view.raise_on_missing_translations = true
41
- end
@@ -1,79 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # Code is not reloaded between requests.
5
- config.cache_classes = true
6
-
7
- # Eager load code on boot. This eager loads most of Rails and
8
- # your application in memory, allowing both threaded web servers
9
- # and those relying on copy on write to perform better.
10
- # Rake tasks automatically ignore this option for performance.
11
- config.eager_load = true
12
-
13
- # Full error reports are disabled and caching is turned on.
14
- config.consider_all_requests_local = false
15
- config.action_controller.perform_caching = true
16
-
17
- # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
- # Add `rack-cache` to your Gemfile before enabling this.
19
- # For large-scale production use, consider using a caching reverse proxy like
20
- # NGINX, varnish or squid.
21
- # config.action_dispatch.rack_cache = true
22
-
23
- # Disable serving static files from the `/public` folder by default since
24
- # Apache or NGINX already handles this.
25
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
-
27
- # Compress JavaScripts and CSS.
28
- config.assets.js_compressor = :uglifier
29
- # config.assets.css_compressor = :sass
30
-
31
- # Do not fallback to assets pipeline if a precompiled asset is missed.
32
- config.assets.compile = false
33
-
34
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
- # yet still be able to expire them through the digest params.
36
- config.assets.digest = true
37
-
38
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
-
40
- # Specifies the header that your server uses for sending files.
41
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
-
44
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
- # config.force_ssl = true
46
-
47
- # Use the lowest log level to ensure availability of diagnostic information
48
- # when problems arise.
49
- config.log_level = :debug
50
-
51
- # Prepend all log lines with the following tags.
52
- # config.log_tags = [ :subdomain, :uuid ]
53
-
54
- # Use a different logger for distributed setups.
55
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
-
57
- # Use a different cache store in production.
58
- # config.cache_store = :mem_cache_store
59
-
60
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
- # config.action_controller.asset_host = 'http://assets.example.com'
62
-
63
- # Ignore bad email addresses and do not raise email delivery errors.
64
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
- # config.action_mailer.raise_delivery_errors = false
66
-
67
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
- # the I18n.default_locale when a translation cannot be found).
69
- config.i18n.fallbacks = true
70
-
71
- # Send deprecation notices to registered listeners.
72
- config.active_support.deprecation = :notify
73
-
74
- # Use default logging formatter so that PID and timestamp are not suppressed.
75
- config.log_formatter = ::Logger::Formatter.new
76
-
77
- # Do not dump schema after migrations.
78
- config.active_record.dump_schema_after_migration = false
79
- end
@@ -1,42 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
6
- # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
8
- config.cache_classes = true
9
-
10
- # Do not eager load code on boot. This avoids loading your whole application
11
- # just for the purpose of running a single test. If you are using a tool that
12
- # preloads Rails for running tests, you may have to set it to true.
13
- config.eager_load = false
14
-
15
- # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
18
-
19
- # Show full error reports and disable caching.
20
- config.consider_all_requests_local = true
21
- config.action_controller.perform_caching = false
22
-
23
- # Raise exceptions instead of rendering exception templates.
24
- config.action_dispatch.show_exceptions = false
25
-
26
- # Disable request forgery protection in test environment.
27
- config.action_controller.allow_forgery_protection = false
28
-
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
- # Randomize the order test cases are executed.
35
- config.active_support.test_order = :random
36
-
37
- # Print deprecation notices to the stderr.
38
- config.active_support.deprecation = :stderr
39
-
40
- # Raises error for missing translations
41
- # config.action_view.raise_on_missing_translations = true
42
- end
@@ -1,3 +0,0 @@
1
- Rails.application.routes.draw do
2
- mount GraphiQL::Rails::Engine, at: "/graphiql", graphql_path: "/my/graphql/endpoint"
3
- end
@@ -1,22 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rake secret` to generate a secure secret key.
9
-
10
- # Make sure the secrets in this file are kept private
11
- # if you're sharing your code publicly.
12
-
13
- development:
14
- secret_key_base: 78457268f3f9b0c3efa88ac47c71f8277dd1723a5d406ac9e81aa1d179c7881200fdc23ee1d2be84887fb18490c380563d4a009eb887829ec0309d00208a7a7f
15
-
16
- test:
17
- secret_key_base: 79a80a1136851a8ca2823ddb922c3827d8f728bc223a1e713313d919116b5b34ebf28dcd553f3bde35ff27e5c35bcdb93782e61c02d1b493390b4f0aa9767858
18
-
19
- # Do not keep production secrets in the repository,
20
- # instead read values from the environment.
21
- production:
22
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -1,294 +0,0 @@
1
- --------------------------------------------
2
- GraphiQL::RailsTest: test_configs_can_be_set
3
- --------------------------------------------
4
- ------------------------------
5
- EngineTest: test_it_is_defined
6
- ------------------------------
7
- ---------------------------------------------------------------
8
- GraphiQL::Rails::EditorsControllerTest: test_it_renders_headers
9
- ---------------------------------------------------------------
10
- -------------------------------------------------------------
11
- GraphiQL::Rails::EditorsControllerTest: test_renders_GraphiQL
12
- -------------------------------------------------------------
13
- ------------------------------------------------------------------------
14
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_query_params_config
15
- ------------------------------------------------------------------------
16
- -------------------------------------------------------------------------
17
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_initial_query_config
18
- -------------------------------------------------------------------------
19
- -----------------------------------------------
20
- ConfigTest: test_it_adds_JSON_header_by_default
21
- -----------------------------------------------
22
- -------------------------------------------------
23
- ConfigTest: test_it_adds_CSRF_header_if_requested
24
- -------------------------------------------------
25
- ------------------------------
26
- EngineTest: test_it_is_defined
27
- ------------------------------
28
- --------------------------------------------
29
- GraphiQL::RailsTest: test_configs_can_be_set
30
- --------------------------------------------
31
- -------------------------------------------------------------------------
32
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_initial_query_config
33
- -------------------------------------------------------------------------
34
- Processing by GraphiQL::Rails::EditorsController#show as HTML
35
- Parameters: {"graphql_path"=>"/my/endpoint"}
36
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
37
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (511.7ms)
38
- Completed 200 OK in 518ms (Views: 517.4ms)
39
- Processing by GraphiQL::Rails::EditorsController#show as HTML
40
- Parameters: {"graphql_path"=>"/my/endpoint"}
41
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
42
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.6ms)
43
- Completed 200 OK in 1ms (Views: 0.9ms)
44
- -------------------------------------------------------------
45
- GraphiQL::Rails::EditorsControllerTest: test_renders_GraphiQL
46
- -------------------------------------------------------------
47
- Processing by GraphiQL::Rails::EditorsController#show as HTML
48
- Parameters: {"graphql_path"=>"/my/endpoint"}
49
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
50
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.6ms)
51
- Completed 200 OK in 1ms (Views: 0.9ms)
52
- ---------------------------------------------------------------
53
- GraphiQL::Rails::EditorsControllerTest: test_it_renders_headers
54
- ---------------------------------------------------------------
55
- Processing by GraphiQL::Rails::EditorsController#show as HTML
56
- Parameters: {"graphql_path"=>"/my/endpoint"}
57
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
58
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.7ms)
59
- Completed 200 OK in 1ms (Views: 1.0ms)
60
- ------------------------------------------------------------------------
61
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_query_params_config
62
- ------------------------------------------------------------------------
63
- Processing by GraphiQL::Rails::EditorsController#show as HTML
64
- Parameters: {"graphql_path"=>"/my/endpoint"}
65
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
66
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (1.4ms)
67
- Completed 200 OK in 2ms (Views: 2.1ms)
68
- Processing by GraphiQL::Rails::EditorsController#show as HTML
69
- Parameters: {"graphql_path"=>"/my/endpoint"}
70
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
71
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.7ms)
72
- Completed 200 OK in 1ms (Views: 1.0ms)
73
- -------------------------------------------------
74
- ConfigTest: test_it_adds_CSRF_header_if_requested
75
- -------------------------------------------------
76
- -----------------------------------------------
77
- ConfigTest: test_it_adds_JSON_header_by_default
78
- -----------------------------------------------
79
- ------------------------------
80
- EngineTest: test_it_is_defined
81
- ------------------------------
82
- -------------------------------------------------
83
- ConfigTest: test_it_adds_CSRF_header_if_requested
84
- -------------------------------------------------
85
- -----------------------------------------------
86
- ConfigTest: test_it_adds_JSON_header_by_default
87
- -----------------------------------------------
88
- --------------------------------------------
89
- GraphiQL::RailsTest: test_configs_can_be_set
90
- --------------------------------------------
91
- ---------------------------------------------------------------
92
- GraphiQL::Rails::EditorsControllerTest: test_it_renders_headers
93
- ---------------------------------------------------------------
94
- Processing by GraphiQL::Rails::EditorsController#show as HTML
95
- Parameters: {"graphql_path"=>"/my/endpoint"}
96
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
97
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (135.0ms)
98
- Completed 200 OK in 139ms (Views: 137.9ms)
99
- ------------------------------------------------------------------------
100
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_query_params_config
101
- ------------------------------------------------------------------------
102
- Processing by GraphiQL::Rails::EditorsController#show as HTML
103
- Parameters: {"graphql_path"=>"/my/endpoint"}
104
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
105
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.5ms)
106
- Completed 200 OK in 1ms (Views: 0.8ms)
107
- Processing by GraphiQL::Rails::EditorsController#show as HTML
108
- Parameters: {"graphql_path"=>"/my/endpoint"}
109
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
110
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.4ms)
111
- Completed 200 OK in 1ms (Views: 0.6ms)
112
- -------------------------------------------------------------
113
- GraphiQL::Rails::EditorsControllerTest: test_renders_GraphiQL
114
- -------------------------------------------------------------
115
- Processing by GraphiQL::Rails::EditorsController#show as HTML
116
- Parameters: {"graphql_path"=>"/my/endpoint"}
117
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
118
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.5ms)
119
- Completed 200 OK in 1ms (Views: 0.7ms)
120
- -------------------------------------------------------------------------
121
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_initial_query_config
122
- -------------------------------------------------------------------------
123
- Processing by GraphiQL::Rails::EditorsController#show as HTML
124
- Parameters: {"graphql_path"=>"/my/endpoint"}
125
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
126
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.6ms)
127
- Completed 200 OK in 1ms (Views: 0.8ms)
128
- Processing by GraphiQL::Rails::EditorsController#show as HTML
129
- Parameters: {"graphql_path"=>"/my/endpoint"}
130
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
131
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.5ms)
132
- Completed 200 OK in 1ms (Views: 0.7ms)
133
- ---------------------------------------------------------------
134
- GraphiQL::Rails::EditorsControllerTest: test_it_renders_headers
135
- ---------------------------------------------------------------
136
- Processing by GraphiQL::Rails::EditorsController#show as HTML
137
- Parameters: {"graphql_path"=>"/my/endpoint"}
138
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
139
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (545.8ms)
140
- Completed 200 OK in 550ms (Views: 548.6ms)
141
- ------------------------------------------------------------------------
142
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_query_params_config
143
- ------------------------------------------------------------------------
144
- Processing by GraphiQL::Rails::EditorsController#show as HTML
145
- Parameters: {"graphql_path"=>"/my/endpoint"}
146
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
147
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.6ms)
148
- Completed 200 OK in 1ms (Views: 1.0ms)
149
- Processing by GraphiQL::Rails::EditorsController#show as HTML
150
- Parameters: {"graphql_path"=>"/my/endpoint"}
151
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
152
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.5ms)
153
- Completed 200 OK in 1ms (Views: 0.8ms)
154
- -------------------------------------------------------------
155
- GraphiQL::Rails::EditorsControllerTest: test_renders_GraphiQL
156
- -------------------------------------------------------------
157
- Processing by GraphiQL::Rails::EditorsController#show as HTML
158
- Parameters: {"graphql_path"=>"/my/endpoint"}
159
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
160
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.6ms)
161
- Completed 200 OK in 1ms (Views: 0.8ms)
162
- -------------------------------------------------------------------------
163
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_initial_query_config
164
- -------------------------------------------------------------------------
165
- Processing by GraphiQL::Rails::EditorsController#show as HTML
166
- Parameters: {"graphql_path"=>"/my/endpoint"}
167
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
168
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.8ms)
169
- Completed 200 OK in 1ms (Views: 1.1ms)
170
- Processing by GraphiQL::Rails::EditorsController#show as HTML
171
- Parameters: {"graphql_path"=>"/my/endpoint"}
172
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
173
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (1.2ms)
174
- Completed 200 OK in 2ms (Views: 1.7ms)
175
- ------------------------------
176
- EngineTest: test_it_is_defined
177
- ------------------------------
178
- --------------------------------------------
179
- GraphiQL::RailsTest: test_configs_can_be_set
180
- --------------------------------------------
181
- -------------------------------------------------
182
- ConfigTest: test_it_adds_CSRF_header_if_requested
183
- -------------------------------------------------
184
- -----------------------------------------------
185
- ConfigTest: test_it_adds_JSON_header_by_default
186
- -----------------------------------------------
187
- -------------------------------------------------
188
- ConfigTest: test_it_adds_CSRF_header_if_requested
189
- -------------------------------------------------
190
- -----------------------------------------------
191
- ConfigTest: test_it_adds_JSON_header_by_default
192
- -----------------------------------------------
193
- -------------------------------------------------------------------------
194
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_initial_query_config
195
- -------------------------------------------------------------------------
196
- Processing by GraphiQL::Rails::EditorsController#show as HTML
197
- Parameters: {"graphql_path"=>"/my/endpoint"}
198
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
199
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (601.2ms)
200
- Completed 200 OK in 607ms (Views: 605.8ms)
201
- Processing by GraphiQL::Rails::EditorsController#show as HTML
202
- Parameters: {"graphql_path"=>"/my/endpoint"}
203
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
204
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.5ms)
205
- Completed 200 OK in 1ms (Views: 1.0ms)
206
- -------------------------------------------------------------
207
- GraphiQL::Rails::EditorsControllerTest: test_renders_GraphiQL
208
- -------------------------------------------------------------
209
- Processing by GraphiQL::Rails::EditorsController#show as HTML
210
- Parameters: {"graphql_path"=>"/my/endpoint"}
211
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
212
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (1.2ms)
213
- Completed 200 OK in 2ms (Views: 1.7ms)
214
- ---------------------------------------------------------------
215
- GraphiQL::Rails::EditorsControllerTest: test_it_renders_headers
216
- ---------------------------------------------------------------
217
- Processing by GraphiQL::Rails::EditorsController#show as HTML
218
- Parameters: {"graphql_path"=>"/my/endpoint"}
219
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
220
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (1.3ms)
221
- Completed 200 OK in 2ms (Views: 2.0ms)
222
- ------------------------------------------------------------------------
223
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_query_params_config
224
- ------------------------------------------------------------------------
225
- Processing by GraphiQL::Rails::EditorsController#show as HTML
226
- Parameters: {"graphql_path"=>"/my/endpoint"}
227
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
228
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (1.3ms)
229
- Completed 200 OK in 2ms (Views: 1.9ms)
230
- Processing by GraphiQL::Rails::EditorsController#show as HTML
231
- Parameters: {"graphql_path"=>"/my/endpoint"}
232
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
233
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.6ms)
234
- Completed 200 OK in 1ms (Views: 1.0ms)
235
- ------------------------------
236
- EngineTest: test_it_is_defined
237
- ------------------------------
238
- --------------------------------------------
239
- GraphiQL::RailsTest: test_configs_can_be_set
240
- --------------------------------------------
241
- -----------------------------------------------
242
- ConfigTest: test_it_adds_JSON_header_by_default
243
- -----------------------------------------------
244
- -------------------------------------------------
245
- ConfigTest: test_it_adds_CSRF_header_if_requested
246
- -------------------------------------------------
247
- ------------------------------------------------------------------------
248
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_query_params_config
249
- ------------------------------------------------------------------------
250
- Processing by GraphiQL::Rails::EditorsController#show as HTML
251
- Parameters: {"graphql_path"=>"/my/endpoint"}
252
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
253
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (832.1ms)
254
- Completed 200 OK in 837ms (Views: 835.3ms)
255
- Processing by GraphiQL::Rails::EditorsController#show as HTML
256
- Parameters: {"graphql_path"=>"/my/endpoint"}
257
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
258
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (0.7ms)
259
- Completed 200 OK in 1ms (Views: 1.0ms)
260
- ---------------------------------------------------------------
261
- GraphiQL::Rails::EditorsControllerTest: test_it_renders_headers
262
- ---------------------------------------------------------------
263
- Processing by GraphiQL::Rails::EditorsController#show as HTML
264
- Parameters: {"graphql_path"=>"/my/endpoint"}
265
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
266
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (2.1ms)
267
- Completed 200 OK in 3ms (Views: 2.7ms)
268
- -------------------------------------------------------------------------
269
- GraphiQL::Rails::EditorsControllerTest: test_it_uses_initial_query_config
270
- -------------------------------------------------------------------------
271
- Processing by GraphiQL::Rails::EditorsController#show as HTML
272
- Parameters: {"graphql_path"=>"/my/endpoint"}
273
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
274
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (1.4ms)
275
- Completed 200 OK in 2ms (Views: 2.1ms)
276
- Processing by GraphiQL::Rails::EditorsController#show as HTML
277
- Parameters: {"graphql_path"=>"/my/endpoint"}
278
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
279
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (1.3ms)
280
- Completed 200 OK in 2ms (Views: 1.9ms)
281
- -------------------------------------------------------------
282
- GraphiQL::Rails::EditorsControllerTest: test_renders_GraphiQL
283
- -------------------------------------------------------------
284
- Processing by GraphiQL::Rails::EditorsController#show as HTML
285
- Parameters: {"graphql_path"=>"/my/endpoint"}
286
- Rendering /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb
287
- Rendered /Users/rmosolgo/code/graphiql-rails/app/views/graphiql/rails/editors/show.html.erb (1.4ms)
288
- Completed 200 OK in 2ms (Views: 2.0ms)
289
- ------------------------------
290
- EngineTest: test_it_is_defined
291
- ------------------------------
292
- --------------------------------------------
293
- GraphiQL::RailsTest: test_configs_can_be_set
294
- --------------------------------------------