bootstrap_autocomplete_input 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/lib/assets/javascripts/bootstrap-autocomplete-input.js +147 -147
  3. data/lib/bootstrap_autocomplete_input/version.rb +1 -1
  4. data/test/dummy/log/development.log +93 -0
  5. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-3/-3oIwuAlL0Pa5XiL4-2yUOjHt9hFB5_7Dmx63UCoutA.cache +3 -0
  6. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-J/-JKNhVtBLB4_Ckhta0PsdiFcX3TQvmHlrwA4DaFf50I.cache +1 -0
  7. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-K/-KthHSySPt3MZlNz7tcaasazEDk0p9gHidxiq14akkU.cache +3 -0
  8. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-Q/-QVPfq4t6NvSSbtuMuaHx3hOFHBennVtzBjUC4R1l48.cache +1 -0
  9. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-S/-SMjZEgpVkBEtvv6NYJUwRIu-YH4mPCFuLLCFYOBPRE.cache +2 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-h/-h4OJnlLw6MmV4GZD2RHBEWf30hfNGKTQ4GEIAfUEmM.cache +1 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v3.0/01/01dhAS4jXzp1f3DU9ZxX4Sl8V_J2J-F3ZUxHSY9E_Y8.cache +3 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v3.0/01/01oYHjCmWQlTuos36_8qxh7BxwmD8lFx4CVsvJ2KDBc.cache +0 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0W/0WzpdDCkfsEPbNyViB2J4PEE-6ffmYjvAznNv7pOP5c.cache +1 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1o/1omfr173xYN9vobc2eV3iaR4BFoXr-zpQf-Q29R8S9A.cache +1 -0
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/27/27bGrUuDoZGH3EPwA6d_aQBPGGIs0H_ReLcVRbDCdVE.cache +3 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2E/2E1dI7mJEEyJ8F_rbaOvej2OcvhjeOPcCd1MLURj-KQ.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2P/2PS3-9AmlLaT4XBh7yYNtqmRfU8JK2enbp72uVJIUAk.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2Q/2QVwVHbSOT5pisOtSa5KPwPW2nkrk4B_C1xueX80krw.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2S/2SQqgyj9vp70XQIJvoTmmpSKRb0ihTXZR-HI6lQrkWs.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2Z/2ZiBad58EmnfIYayj95lykaKska0gq30A2jr263ZAQU.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2q/2qLLCbsiTF0dPoqD_Uy9_Dmn1dOKthxPz58z5sGzNyM.cache +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2t/2tqhAKJ11d9XAfGJgtoo8hboLkN5fGiiPSfu6tXWq_g.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3H/3HLPkrWhWnRfK47pB8AeRrgDE14oGg_qWg19ekoAgdA.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3K/3KolhP3mhpTfIOa3_puiNfxuVnhm23KSEYT8lRo5gPU.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3X/3Xc-MO1oCFKOex4uDl9Oyw9shT63-zbhaxgti0y5D48.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3j/3j9D1Rz3i1ZQxNxD6sNJWR5QreOemjeXcOS8-9AY2L4.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3k/3kYnhOxNq5UonJjBXyOZ25cPt9dhY7zoJ7IjvEiEOGQ.cache +3 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/44/44YOUw4riO6Tp5yza5-EDeuGs5OIDIXnEazMtkoUpd8.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4N/4NEGb3qJAa3otP2ABdKCquoHb3Wg5BUmwAJqkFtrnWE.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5k/5kXYSt5aFNWF5v-G1wEn1cZt1VRmzyLMguac6169UCY.cache +1 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5z/5zBpXav66pwvoF-okCeG1Ww7KsT1RZ_eW6IFmnab9lI.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6m/6mpSo5CvYgzIG213unCQfOpnxSQOVxIG4MeVP31nIXY.cache +1 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6p/6pjQM3AmZdhwR9AW37vIagxKnr14of_aClBQTD7gi4w.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7w/7wK8X-GTHKXLuLdZCONSLG5hNRpUrlhUvEbW7KcTvCQ.cache +1 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/80/80qMLer1yUvqDWo2Gmxqrk7qypyhY_-WsPv2stNU1mg.cache +1 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8p/8pKp1dyi5Ig0vG8weZaCBR6-4D9S0ekyPTroxJXCqf8.cache +3 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8x/8xaL06Is3Ik9UGmQhTCL6u3PJ7jcW7-GukMB5NNsCyc.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8y/8y8B5GV72J98HtJKdRicbZbs5YXJuNOMsrS971rcW9U.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/90/90av9hcdqKHM2e9fjm20gEQyfZoAgphcA5lCvuXh5E4.cache +1 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/99/9925I_wmSIz9385bR7voElkDAVA8B1vAF_S9b8_WujM.cache +1 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9K/9KkU0EEPalnRS1IloyPrensiyuwl_JCkMwxEuIXHl40.cache +0 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9O/9OaHQTpjGkmzx5BhENicbD-WptYIMXR58SfPU9gEo9E.cache +1 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9m/9muM-2nymfTiiQHxz2VVsvgTp4lGi7rRoc4Lb7nzYcY.cache +1 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9t/9tzaGc5GhdtnaKppmkicRCj_ljlFleZYcXWz98_YBec.cache +1 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/A1/A1tBk9WIEQThtZGF0wjvLunMq36-wXD4hbuNYAAnxPU.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/A6/A6fuiVGiG2oenk4gsxTfRalxL0BmqQO9Sv0YBCAofUU.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AG/AGMZJcUXUKa5OVGovszbLsrG3iRGY-n0At3b-qBMIrI.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AY/AYbFQJOFyZx4Wq-Etl7EdP82XZAbjhIvU3Qjw0bA9Xo.cache +0 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ax/AxdTfcepvwh-Do3qDeADHf85YgaR9tjENoUyAJQSwMI.cache +1 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CE/CE4BVgh2PlLAzMG4HSpKygvL6oFN8NtEJo19bUaid38.cache +0 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CN/CNWsnS8883RAOuAtvr7chA1XqvINoIyND1Nn53Cs2Ew.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CU/CURCQqu2FmpnIQvW3prOpRRCghaUYYje76o5wMsvpOc.cache +1 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cj/Cj12K0Yt8w2RyiD9yX870hQNh4l3onvxC8dt8lJ_n80.cache +3 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cs/CstLFuMu4yFehBHHggeHrj77sxMYwFh9GqTKoKHHJWg.cache +2 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cw/CwuhPGXt52bXwfJpRrUzJu8FhhgzGPzA7hUPXLFrLxg.cache +1 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DST9-dV9FEqFyGaMJucAhnUKDTX2KYoOkOfNmq5BtT4.cache +0 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dg/DgzSKpw2U21kQS4p9vd3dOncuaOmtnrSVGhKa5D2uKY.cache +1 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EA/EA9EYtXvhkQRZCY7XR3NjLn94jvPOwtd5uFCC8Kfgig.cache +1 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EK/EKdH2f7ur_FCLvcnBdpenKnFxr4VpXv22SoRlTO8Pk4.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FJ/FJAHYv4Pe-7XZRbvW7CHNzwYSVHo2PPSzo-dCUx_A1w.cache +0 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FY/FYrBF-u86T4uo30BSOL55UVw-Fju9lyqzlGiYtWYUZ8.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/G9/G9ZPlJdK-aoArf-jQ2NZBoSLhS1BF_xLbA28UOxkQwg.cache +1 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GB/GBw1lFPdG8PbczAldWxcaewbIU65MRcR9BTu-RA8RKI.cache +3 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GK/GK-OvmF1tKlWgTvbevcj_cwaeAgAtzG9l7PeWqPA3_0.cache +0 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GQ/GQpc3QocxZ9B3XddvSlxpcO5DauZydfFb5CRReY2kOY.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GZ/GZuQCrm2UywaNApggTBKIeitTDc-s1BNfaitF6q85-w.cache +1 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Go/GoIvLR56FI0JndWtr2lYXei2zFZftQf_u-_3qfim8GI.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HO/HOc7H8y5O69QcEivNL9pdYM_a48Sou944gJJXJ6BFXY.cache +3 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hd/HdsHiqPVmPz_c05eiEhzBsthf4E9JAh36Zm-P4kWmnw.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hs/HsIIPNv0n_bRCJqf6S3NpFGG5TYVL7ur7BiPgX_Fae8.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/I6/I6wGoh4bwFHJrmYggJO0JUt3ZkJfog2rRxeccg0HoVw.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JU/JU-CN7OrS4ODTOcV6IWgQD9QIe0YNRAFJ1du9snvyC8.cache +1 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ji/JiKpVef78jPa8mM0FxjgInEkHKc6wYx7CrUoEePmt6A.cache +1 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jj/JjMGLu4Bzw_y_4gX6DVVdyc8EznUXOv0v22p0KYRPfc.cache +1 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jq/Jq7Tc08QbPnQLz3S-5Qyhgusenfg5oD3yXxXhczAeKc.cache +2 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Kc/KccbpAZFHL9piS4bkA2Lt1UEykavgZ5Epp60w43ZtnM.cache +2 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LL/LL7071hhq_8VQ_XztbI0VBmYZKN6WfOQzEHW7ukl3Nk.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lc/LcVmTTMB4Kv3ZQExNcdq8vaN8LUszmt7nq3IW4KRDjc.cache +2 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ls/LsnAdplYug-DgiimEed8H5XhQ18kVowZ-VxIb8I32zQ.cache +1 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lx/LxG161QiIZKb19F7JV4MK_6zu_bOSjx-OtTwob0nKYk.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/M4/M4jpjvyZk8_PEpTK0Lb-futNJfI0GbaolJlbTEBs9kU.cache +1 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/M5/M5swO1ftwDnOpxKsUSwNlWmMy4vs2Y2b-NzGDVkyGzk.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/M7/M7SD11FCMgcMtemm3qyE1HaKaNXlv0XV-xeWLKXIykM.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MP/MPnrMskTel68YVoY7MbtG2VgcBPbTAsOF44h3gvBOww.cache +2 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MR/MRlgAAbUplgUuB07vHk0nr8ZsRXEHWRrih5xd53-l3Q.cache +1 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MY/MY8oMOgpZWzvpmz-CID3DvZT6tFMZ29-F6LR9mCv-nI.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mi/MiB1Lu7_S3ZO6zCg7b9sVD3Ek51y_ajA1RreCyYY4XA.cache +2 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/N9/N9A7kwDINOmC1kvFH10-19t0BerUemKJYmWS9PkUtQ0.cache +1 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/N9/N9a5Vr0HjRkYBFWmE1KrnsIlmrYnulMDdBPjssx1Ejw.cache +1 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ne/NeMxt05507NxufGL4KalmX6GvzyPbubQlsAsmgvARxQ.cache +1 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OG/OGP3_rBjJAoaZZhH13lNYYpoLmsgV8s9lek1v4V8Ovw.cache +1 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OJ/OJh3YVyW-am_k8Fa5EEuay6Mcp3b7VeE6Nr2aElZB5A.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P5/P5kUhFrvfITEsQSI800I5TWZE24KT7M1kcSrhI3SvwI.cache +2 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pb/PbzUtVkNDibWjg7rvXJhT2ym_a_UM1GWXjERLP4ovC0.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QL/QLNY6G-bgUrH2CsM-vvCKg1Kp2eN4o8e9kZi5ggF1I0.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/R9/R9eO42nD7KeDVE-7QQAJaCyFVY_zuXNJIJaCkKDWrzY.cache +3 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Re/Re2x05fYldjwQFFol8FoT1R6I2DMCDRFqxfuUnbNH9c.cache +0 -0
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rg/RgGIeD2hUzy3DptEW4featQrOBgFUcqZyELNtU3z8YI.cache +1 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ua/UalRb4dk-qMsa5cClXx-y0aClglG1njDBvfyCNy1sCA.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ud/UdQMByMz5cbIPqIPAB6x6xuzzldksDSfkYSmzVLqNL8.cache +1 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ui/UiWyDdZxvIoCDVhr1z2h7cPx82ZjWelvn4zAleOLGUw.cache +1 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/VX/VXgFGyu3pegHQq31xCL3XNR3aacuPo4l2uBrwbUlFHU.cache +1 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Vn/Vnmnye8zKEuXTm6Pe2te4chRejqpSWaY7KUEa6GcyUQ.cache +1 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Vp/Vp7MfZ5EVMFFjO6Kr4FPPQQCUpkMpQER1VKmA0Kpth0.cache +1 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WK/WKhvjbDG-i0Fj3OfZcLjsgVEZBBR6cV8m7kqPLozP6w.cache +1 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wp/Wpq8haYbobEHH7FaiN0wZ2oerWuh08069Jewu0YGSC8.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/XB/XB61lT5TAGpZqDyVKug-4EMg83RMHnFdGPzjRTWw0ys.cache +3 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/XF/XF3TaJsHHI2U_buK9Zr2ZTPjsURSEGnFWZW2G4oiC48.cache +1 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xy/XyRlMco2GJmG4_LMbAMYQoOXAMsT3q7TY8cMgxFcUIw.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Y2/Y2eKFg74Ck8Ki3q9pUJmKD5kH9z5vLjeA4gPpfqA9aM.cache +1 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YW/YWTBBLvcP6_OmgQm_3x7lyIwByuMc8VHRssX-lrelyE.cache +0 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yl/YlyNceu9B0LeWPnLGLsy8hVsnSt7A6ngdMesgtS8tWQ.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zg/ZgrqpV4aOyzZ3ag_uws9dR3mha70UyfqqfYumdXsRfE.cache +0 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_F/_Fh3YwAivlFUO4KSdwUI_KXpnCY78Xy504DP7DvbXg4.cache +0 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aE/aEI6dxTzoxv17lSPL0AFU12aEF9dBkdvU5BYjEjjGnw.cache +0 -0
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aG/aGAiprWAPA-yveLrkzg90Ha8RTK97kSzgi-J9xWbXWk.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aG/aGWyOICEswa_0Xa5XaV3qCQwT0P-31twimPfP0ZCfgk.cache +1 -0
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aW/aWn6joRnuhw4eMspYEw3Vtnn7DdK0KbBar986xFnO1Y.cache +1 -0
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ac/acAFKYlYD9yIzKBGZMsZNdxjx6Auc1WBqyuIY_TgNbM.cache +1 -0
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aj/aj0QGtP31H8tw5jEZ5Khyo5THK1uhQ9OUiE_is6T274.cache +0 -0
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b8/b8JPdJc-HyK7mZlv7K6pTjf-YUcdyDu2jsZ0Otpv7sg.cache +2 -0
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bA/bAPKG0i_MAcvyRU96mDyn_VaMrmS89cqSbC52VdfC08.cache +1 -0
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bA/bAzPPJESgJxpxDcvVK4BNidEOQXUZnOWkoMdjlg0SAk.cache +1 -0
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bV/bVZo7Q1mXraJnO1uXq9q_MHBvH80z8WwksIrUljgC50.cache +0 -0
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/be/beHbj_caQCc__tXhCPXN7-WfGeB7DqMHyo93JGhy61E.cache +0 -0
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bh/bh-nxTnzZZL_5x6mPlsyX-Dxq-R_dxiftYIENa3Pj28.cache +3 -0
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bi/biH8qrFJ9OqXhImKOZYmegFwE9MnAql3t_bZPTR7vyM.cache +0 -0
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bp/bpkxvawfHEH0SIza4m9ww4o0BN8-BsxA4_05SyPEBNs.cache +0 -0
  129. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bu/bukHgFunfYvxd8n9fTTILzc4hpkHX9JV5yysLXpPQGo.cache +1 -0
  130. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bv/bvHz9wzOEcvYVElGWCBr_Hu0EQ1x_BTwxM7myvnpomU.cache +0 -0
  131. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cL/cLLim9tZD3PuIL2jj7KPnmd9RRsVdDDduR6J_c_arLY.cache +0 -0
  132. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cg/cgKbgUzvn4IxADzAdQCi715_vqHWX4gbs7i22Xzh0qI.cache +1 -0
  133. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cy/cyUKLS2D6qqkePi4etjCgcO28G6PnzkbwPdk7uwsX-U.cache +1 -0
  134. data/test/dummy/tmp/cache/assets/sprockets/v3.0/d8/d8rjUtvZ2IoiLrgfaJJpHb73BwJgfSYb0_PZXL-G4UM.cache +1 -0
  135. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dF/dFe1buBip1DXC1spGRBZAdVPYFb8ZSEEs0hTCkRwgfw.cache +0 -0
  136. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dW/dW-DCBPLUp4FJWbX2VeejlobsK8ll5FrNUOvZS9Nn0s.cache +1 -0
  137. data/test/dummy/tmp/cache/assets/sprockets/v3.0/do/dor2xX0ZfGrZWnlWOKTtQ9yTnl9lQXRNx4tLRsW7f3U.cache +1 -0
  138. data/test/dummy/tmp/cache/assets/sprockets/v3.0/e9/e9kxrbmnxASZtqvHvknYgH1GqZgvhMYDkz71gUnOv5E.cache +1 -0
  139. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ed/eddBVuqLiAR0jSG586yw6Hc5F46rXlzrrUh_Akeme40.cache +2 -0
  140. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ep/epg1XaOkFifOLL8spptNaoEylIZknfV7W1tMGSP0PQY.cache +1 -0
  141. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fD/fDn_HCNXiqYji408R3dlA3nadWFsfxA4O8P1s1Wfv7I.cache +1 -0
  142. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fP/fPUibUeEeRnlgqVrLDm1UbxEm9KursrUgrL1hALSIW8.cache +1 -0
  143. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gH/gHGK7yWqNUsZEXFPqBZw7Ho6qmdMEC42iLQSoJc0Gwg.cache +1 -0
  144. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gP/gPuHCWN4ZT4azTTcHEvSASVWicXLwj_FOXh_f4-iZ0I.cache +1 -0
  145. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gf/gfZ5bf8lXWGjXv005wQzP9JKaBiurHfC5Xr-oh7MK7Q.cache +2 -0
  146. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hU/hUkK-xr_uN7GtZc8Z45wmf0JWvrhSGUBR5Me0BTnj-A.cache +1 -0
  147. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hw/hw4BzweKsiYYM-ot7NV2yPJHEsxLg6CmKT-PdUKw3TI.cache +1 -0
  148. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iO/iOnjs-Vu7R5rG30DV-1fUo-UlG7QAqIJu3WgimsYHMc.cache +1 -0
  149. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jb/jbLFtO5m8YPwxWy9Cf5rFzyAO5T5rzZTDyuqfOfQELM.cache +0 -0
  150. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jb/jbRCfvL01lOV1iWt9ty7dwn4Idjq4PxCec93kYrCUt0.cache +1 -0
  151. data/test/dummy/tmp/cache/assets/sprockets/v3.0/je/jeZMaBGdEF41HeujVazHHBfQGDyWAhDS__hz8GBm3PQ.cache +3 -0
  152. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jh/jhWQ9pgYZXl2VLggVoAC4uluWJ9a4RJjwBu_V2OO7DQ.cache +3 -0
  153. data/test/dummy/tmp/cache/assets/sprockets/v3.0/k8/k8lXutZpXZAQtmUahZRLo8Bfb14lB9gVyVWsPLaziKU.cache +3 -0
  154. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kf/kf1jTn5diobLHKZo2xl4G_E33BAE1dAyfL85fIkEU_c.cache +0 -0
  155. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ks/ksVFeF3NwJ6XjXwsNwUvnE7SkPfuHKX75oTTZ9WdQt0.cache +1 -0
  156. data/test/dummy/tmp/cache/assets/sprockets/v3.0/l0/l0f0Th_R-7qiFWSKVVgRUNEZbZWVAkV_gPO3OPEe87U.cache +1 -0
  157. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lY/lYlI6OnZt3kwUrcB0AsfYgjiTLUX0BJWu85gNHSBdnU.cache +1 -0
  158. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lc/lc2EtkdZTi45PhlnB4NDN5fw5TKJhvY1iSkcYUfJl-U.cache +1 -0
  159. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mD/mDROQUT8MDxjNkr_KrA5w9EzFZlCigSKq82tffCGADs.cache +1 -0
  160. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nD/nDchVNu8EFzC9zaXO9Oa2gDCAQCZq9yhMCcrciPbrJo.cache +1 -0
  161. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nS/nSUa5e3knMoFQvh1r8jJy_9kipyF86hhkcU5NxLofD8.cache +3 -0
  162. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nT/nTjofN0eOuI3MSs0kR0mU5HZeZpSaeLNLrB_Olzx1cU.cache +1 -0
  163. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nn/nnj4KaGmIhmkghDT89praFDLqccZ6jyOiiVSWLCMfg8.cache +3 -0
  164. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nw/nwJGsIXvhBsWIUr7fC4I_dUitbr34UXhPTVS9mYu-iA.cache +0 -0
  165. data/test/dummy/tmp/cache/assets/sprockets/v3.0/o6/o64uLTCFbSLGzHTKVVdtIcGfP2ZGNrVRdw2UBNp_mas.cache +1 -0
  166. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oO/oOAcUxxnhfhYSCk9HIHMm6X16aadO0NKjWaGW5xXWn0.cache +2 -0
  167. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oY/oYQFnGJDll3Exfy0EAxD-kHxy5NMspLN4e1pAa6XncU.cache +1 -0
  168. data/test/dummy/tmp/cache/assets/sprockets/v3.0/os/osYjvBwTZvxultVg0kRm4BSLPzQP5an8B2Mw_KWi_po.cache +1 -0
  169. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pI/pIX98gW4uKd6xyQnpFUYfKsC911X1UYdg_CSXki_mMw.cache +0 -0
  170. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pJ/pJjWp7epkrmayNwoYzaa6mP8I4ToK3ZSCSGNzil0IIo.cache +1 -0
  171. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pm/pmgUVrDOaGzzIA7QOBgs_80a7FcSSKKzD08PiFDRj38.cache +0 -0
  172. data/test/dummy/tmp/cache/assets/sprockets/v3.0/po/pokSzJgMYL31eZm2kMVeAxZJMJz7n6-z2buUto6rhZc.cache +0 -0
  173. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pt/ptCick88cRqpteKKYUa-JgbEvasUsWJRENt8s77nsqI.cache +1 -0
  174. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pw/pwgCIeHfa7z18MuUtsGSm-IoIBrQwN0goyt1m_TgCoM.cache +1 -0
  175. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pz/pzfhfSb40lzpY7e6ghjnANvZJVyIifuHytUXw_TOdBg.cache +1 -0
  176. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qK/qKtLjzbc1wghCxIEodZxfvd9UB7jnlgxYOGTyv4Tdw0.cache +0 -0
  177. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qm/qmrSPQPkclZ29cuOnzKZGvTQb1NW1Blt5o0w4xDe3i4.cache +1 -0
  178. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qo/qorHfiWdsSBf8uWsjXuv71xZ1n90SjX0Gau4E9IMwkg.cache +0 -0
  179. data/test/dummy/tmp/cache/assets/sprockets/v3.0/r9/r95isQYTQV0t_ACjFiaR0mxh54qPl8iZlywXjaRXEjs.cache +1 -0
  180. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rC/rCF32OSRPTzzWUyeK8FsRD9C0Lb4zw4VQJfqFJfNr88.cache +3 -0
  181. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rJ/rJiq6SgKMz9fmI3i-eoYdYO_beLh7QiMk0QKzrYXZHw.cache +0 -0
  182. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rW/rWXhW2txzZ5ImvOtSh44ioNKqYlVnw1IO3bQawLLpKg.cache +0 -0
  183. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ry/rymsszHcOgmY0Ahb1VZVrc9R_oDQ2SIQGf8N8vG4p3I.cache +2 -0
  184. data/test/dummy/tmp/cache/assets/sprockets/v3.0/s0/s0gwnS3H0uP7EhSsnbY1Ne8OvyyZJV9DzKpIr1J5E3A.cache +1 -0
  185. data/test/dummy/tmp/cache/assets/sprockets/v3.0/s6/s6ajIgMHMvnXETc49Az8Zub8vOGsTWkZmFC3Pb5j0j8.cache +1 -0
  186. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sU/sUpR9J9lcJ4vEdPp-Rmfhwd6_lXKNQ1-rrbrtgTv2As.cache +2 -0
  187. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sY/sYywC9hWBbcTdP2B0KK36hFf0f9aZ1e_teSLJRhOdgU.cache +0 -0
  188. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sf/sfNvioRpx1pWjiBSysFibdiF70NDz6FZvcwVzC_QeVI.cache +1 -0
  189. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tE/tE-RnulpzJJRD6XRYaK8ZQNwm6uL1Tt8IO2wPEbIPOw.cache +1 -0
  190. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tE/tEsE4yqLrEce2WV4ghGx0heCHk6liQSWQL7inBaE9cA.cache +1 -0
  191. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tc/tc28zV6mCM9FCdVUcwuRfLuwNFS3l4P7isdMCEd7vb8.cache +1 -0
  192. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tm/tmjimdY0sJ5J1mjOqyD4Qeu1rmt06hevJHA4XEUOI4w.cache +1 -0
  193. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tt/tt3C0cOntiqGsPm3Lv0D6V5Vh5zFXi1-X-Epjb709yo.cache +0 -0
  194. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uR/uRryb6pJ_EXtar7ooXCQrkDNdBgvLDJ4Ps-ogsGD_uo.cache +1 -0
  195. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uf/ufIUmKpKu62QCOschuBgRBX8oDfBTxnBAfkmfsRUBvY.cache +0 -0
  196. data/test/dummy/tmp/cache/assets/sprockets/v3.0/un/unGIFXaqNnATHwY_Rvw9hUXai-JjWK6-4U50IiU_7TI.cache +0 -0
  197. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vd/vdUKpPk7mN9yy-NeAR9gcVhV_sWhPZ8RtE0_3AAufQY.cache +1 -0
  198. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vo/voB6C2oaA23FNTXnYySRXBuu8GP8j4tej4U2ppJlwXE.cache +3 -0
  199. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vo/voUJwTLcbsUHsPRIZ1poMBHdd2617lQRrHVSRDmhlLM.cache +1 -0
  200. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wF/wFTn1rlI0egB6mbwE-Xe4XZAwHCOrAaYaavrEzjALsE.cache +1 -0
  201. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wG/wGcEdUrzw2GnJjkeCSnWnlvyRpOYbriP2QxJJ0pVZY8.cache +2 -0
  202. data/test/dummy/tmp/cache/assets/sprockets/v3.0/x3/x34lVoVWN4v8XP0jw55wuSsfUBVUlClKMXizMvCHZsU.cache +1 -0
  203. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xD/xDPSc3v8JrUm1i1bQDI1zXHBykiwBKJwdTMPkShTCoE.cache +1 -0
  204. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xG/xGhX5KZrbR4z_5qI9JC1OsOmHjXLkxQrdnht1tgVB48.cache +1 -0
  205. data/test/dummy/tmp/cache/assets/sprockets/v3.0/y8/y83GqdRzhqmk1ITABttY-as6cPoPDXPEVPxabUrU8u4.cache +1 -0
  206. data/test/dummy/tmp/cache/assets/sprockets/v3.0/y9/y9OJqPj70ohySWkKxssh3AUX9do88FAoMpBvJ7466Tg.cache +3 -0
  207. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yB/yBkSgn5DIOWyWW-mCxCP512joHEzurUvrafWJy3g6lw.cache +1 -0
  208. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yY/yY_izyrHn9tXBJJ5iwXyvZAJEVVW6CNWkCacNgfx4vo.cache +1 -0
  209. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yv/yvnmW1Zb6Qygp0y8id2k2nwxVWEBgYM1zCJWdb33KC0.cache +1 -0
  210. data/test/dummy/tmp/cache/assets/sprockets/v3.0/z6/z6BzHWOuIW_yBqJ0N1bWaSE2X77YUyXYNb8l7bLV5Zs.cache +1 -0
  211. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zI/zI6yZfGUrpOCbfLN339yhwmN5s-Qyj1cZw00ghp2AY8.cache +2 -0
  212. data/test/dummy/tmp/cache/assets/sprockets/v3.0/z_/z_DUiRSSxZjZAmZUiXhYTPXtOdWpGnQgLDe_3mY-DPY.cache +0 -0
  213. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zc/zc0jc3x9TlPyBmYd8VBNkBPkdinLfvWu2vmcUNXUpDg.cache +0 -0
  214. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zu/zuVnlJjPe0OF20ziHqSg97aJwuKilaBhPxSY8Z1DXic.cache +1 -0
  215. data/test/dummy/tmp/pids/server.pid +1 -0
  216. metadata +1840 -1431
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 242ea7847e62fdd81347d5ff96d58b9fe74d8e0d545dffba770290aeff6fe106
4
- data.tar.gz: 7309acd84e2d1d55dfabe1c2732536e1e7c210250c4c3bdd3dc9c270b12ced20
3
+ metadata.gz: 0064c7bf58a5e505d8e0cc09687c14b5999d0ea1aae7c9017d8f4916e500ad76
4
+ data.tar.gz: 5a5dc784de9d232dcb931b68ec6798a30476f15000560ed4ee483800116e5c3d
5
5
  SHA512:
6
- metadata.gz: dc36616d4f798df7821194f729897791f196e1bc1abdd5c54e2019c6e9a22d96c34053bcedc3a8836ee6900c59af66aa4cffde2071a0b54825ca42b40b847fcc
7
- data.tar.gz: 12f2cb8a4edde4210719b5b3e40ab3961981eef3ca917576314b2456ea9dbe08914b898618614c2388d13a8a92656260d2f2d38f964c8d2ad2293320157d177e
6
+ metadata.gz: f38c06d43a72b5892555be5d6b35e0f5a452be411d69a52846f318d1b39d5390510a54eec41c890fe394625e35b4d3e2c91c1a799abe3ca224de15cec4074632
7
+ data.tar.gz: 124fadf3191e09b0046aee6349d48c57fa56e460de306b31d4c086019e7db1a5a7ff66b8664db7cd5657134b37918d0dd2858f025f8942857d5a8c613bff1905
@@ -1,147 +1,147 @@
1
- var autocomplete_data_static = {};
2
-
3
- function autocomplete_get_hidden_field(obj){
4
- var hidden_id = obj.attr("data-field-id");
5
- if (!hidden_id)
6
- return false;
7
-
8
- hidden_id = hidden_id.replace(/(:|\.|\[|\])/g,'\\$1');
9
- return $('#'+hidden_id);
10
- }
11
-
12
- function autocomplete_query(obj){
13
- obj.typeahead({
14
- source: function (q, process) {
15
- obj = this.$element;
16
- rows = [];
17
-
18
- var name = obj.attr('name');
19
-
20
- // load data from remote server
21
- var fp = obj.data("func-params");
22
- var p = [];
23
-
24
- if (fp){
25
- p = window[fp]();
26
- }
27
- p['q'] = q;
28
-
29
- $.getJSON( obj.attr('data-source-query'), p,
30
- function( data ) {
31
- autocomplete_data_static[name] = {"map":[], "values": []};
32
-
33
- $.each(data, function (i, row) {
34
- autocomplete_data_static[name]["values"].push(row[1]);
35
- autocomplete_data_static[name]["map"][row[1]]=row[0];
36
- });
37
- process(autocomplete_data_static[name]["values"]);
38
- }
39
- );// get json
40
- }//source
41
- , updater: function (item) {
42
- obj = this.$element;
43
-
44
- // save the id value the hidden field
45
- var obj_id = autocomplete_get_hidden_field(obj);
46
- if (obj_id) {
47
- var name = obj.attr('name');
48
- obj_id.val(autocomplete_data_static[name]["map"][item]);
49
- }
50
-
51
- return item;
52
- }
53
- , items: obj.attr('data-items')
54
- , minLength: obj.attr('data-min-length')
55
- , afterSelect: function(item){
56
- var name = obj.attr('data-afterSelect') || '';
57
- if (name!='') {
58
- var fn = window[name];
59
- if (typeof(fn) == "function")
60
- fn(item);
61
- }
62
-
63
- }
64
- }).on('change', function (e) {
65
- var obj = $(this);
66
-
67
- var current = obj.typeahead("getActive");
68
-
69
- // hidden field for id
70
- var obj_id = autocomplete_get_hidden_field(obj);
71
- if (obj_id) {
72
- if (current) {
73
- // Some item from your model is active!
74
- if (current == obj.val()) {
75
- // This means the exact match is found. Use toLowerCase() if you want case insensitive match.
76
-
77
- // the value is already set after select
78
-
79
- } else {
80
- // This means it is only a partial match, you can either add a new item
81
- // or take the active if you don't want new items
82
- if (obj_id)
83
- obj_id.val('');
84
- }
85
- } else {
86
- // Nothing is active so it is a new value (or maybe empty value)
87
- if (obj_id)
88
- obj_id.val('');
89
- }
90
- }
91
- });// typeahead
92
- }
93
-
94
-
95
- function autocomplete_init(){
96
-
97
- // local array
98
- $( 'input[data-provide="typeahead"][data-source-array]' ).each(function() {
99
- obj = $(this);
100
- var arr = JSON.parse(obj.attr('data-source-array').replace(/"/g, '"'));
101
-
102
- obj.typeahead({
103
- source: arr
104
- , items: obj.attr('data-items')
105
- , minLength: obj.attr('data-min-length')
106
- });//typeahead
107
- });
108
-
109
-
110
- // static data from server
111
- $( 'input[data-provide="typeahead"][data-source]' ).each(function() {
112
- obj = $(this);
113
- var name = obj.attr('id');
114
- autocomplete_data_static[name] = {"map":[], "values": []};
115
-
116
- $.get(obj.attr('data-source'), function(data){
117
- $.each(data, function (i, row) {
118
- autocomplete_data_static[name]["values"].push(row[1]);
119
- autocomplete_data_static[name]["map"][row[1]]=row[0];
120
- });
121
-
122
- obj.typeahead({
123
- source: autocomplete_data_static[name]["values"]
124
- , updater: function (item) {
125
- // save the id value the hidden field
126
- obj_id = $('#'+obj.attr("data-field-id"));
127
- if (obj_id)
128
- obj_id.val(autocomplete_data_static[name]["map"][item]);
129
-
130
- return item;
131
- }
132
- , items: obj.attr('data-items')
133
- , minLength: obj.attr('data-min-length')
134
- });//typeahead
135
- },
136
- 'json'
137
- );//get
138
- });
139
-
140
-
141
- // query data from server
142
- $('input[data-provide="typeahead"][data-source-query]').each(function() {
143
- autocomplete_query($(this));
144
-
145
- });// each
146
-
147
- }
1
+ var autocomplete_data_static = {};
2
+
3
+ function autocomplete_get_hidden_field(obj){
4
+ var hidden_id = obj.attr("data-field-id");
5
+ if (!hidden_id)
6
+ return false;
7
+
8
+ hidden_id = hidden_id.replace(/(:|\.|\[|\])/g,'\\$1');
9
+ return $('#'+hidden_id);
10
+ }
11
+
12
+ function autocomplete_query(obj){
13
+ obj.typeahead({
14
+ source: function (q, process) {
15
+ obj = this.$element;
16
+ rows = [];
17
+
18
+ var name = obj.attr('name');
19
+
20
+ // load data from remote server
21
+ var fp = obj.data("func-params");
22
+ var p = {};
23
+
24
+ if (fp){
25
+ p = window[fp]();
26
+ }
27
+ p['q'] = q;
28
+
29
+ $.getJSON( obj.attr('data-source-query'), p,
30
+ function( data ) {
31
+ autocomplete_data_static[name] = {"map":[], "values": []};
32
+
33
+ $.each(data, function (i, row) {
34
+ autocomplete_data_static[name]["values"].push(row[1]);
35
+ autocomplete_data_static[name]["map"][row[1]]=row[0];
36
+ });
37
+ process(autocomplete_data_static[name]["values"]);
38
+ }
39
+ );// get json
40
+ }//source
41
+ , updater: function (item) {
42
+ obj = this.$element;
43
+
44
+ // save the id value the hidden field
45
+ var obj_id = autocomplete_get_hidden_field(obj);
46
+ if (obj_id) {
47
+ var name = obj.attr('name');
48
+ obj_id.val(autocomplete_data_static[name]["map"][item]);
49
+ }
50
+
51
+ return item;
52
+ }
53
+ , items: obj.attr('data-items')
54
+ , minLength: obj.attr('data-min-length')
55
+ , afterSelect: function(item){
56
+ var name = obj.attr('data-afterSelect') || '';
57
+ if (name!='') {
58
+ var fn = window[name];
59
+ if (typeof(fn) == "function")
60
+ fn(item);
61
+ }
62
+
63
+ }
64
+ }).on('change', function (e) {
65
+ var obj = $(this);
66
+
67
+ var current = obj.typeahead("getActive");
68
+
69
+ // hidden field for id
70
+ var obj_id = autocomplete_get_hidden_field(obj);
71
+ if (obj_id) {
72
+ if (current) {
73
+ // Some item from your model is active!
74
+ if (current == obj.val()) {
75
+ // This means the exact match is found. Use toLowerCase() if you want case insensitive match.
76
+
77
+ // the value is already set after select
78
+
79
+ } else {
80
+ // This means it is only a partial match, you can either add a new item
81
+ // or take the active if you don't want new items
82
+ if (obj_id)
83
+ obj_id.val('');
84
+ }
85
+ } else {
86
+ // Nothing is active so it is a new value (or maybe empty value)
87
+ if (obj_id)
88
+ obj_id.val('');
89
+ }
90
+ }
91
+ });// typeahead
92
+ }
93
+
94
+
95
+ function autocomplete_init(){
96
+
97
+ // local array
98
+ $( 'input[data-provide="typeahead"][data-source-array]' ).each(function() {
99
+ obj = $(this);
100
+ var arr = JSON.parse(obj.attr('data-source-array').replace(/"/g, '"'));
101
+
102
+ obj.typeahead({
103
+ source: arr
104
+ , items: obj.attr('data-items')
105
+ , minLength: obj.attr('data-min-length')
106
+ });//typeahead
107
+ });
108
+
109
+
110
+ // static data from server
111
+ $( 'input[data-provide="typeahead"][data-source]' ).each(function() {
112
+ obj = $(this);
113
+ var name = obj.attr('id');
114
+ autocomplete_data_static[name] = {"map":[], "values": []};
115
+
116
+ $.get(obj.attr('data-source'), function(data){
117
+ $.each(data, function (i, row) {
118
+ autocomplete_data_static[name]["values"].push(row[1]);
119
+ autocomplete_data_static[name]["map"][row[1]]=row[0];
120
+ });
121
+
122
+ obj.typeahead({
123
+ source: autocomplete_data_static[name]["values"]
124
+ , updater: function (item) {
125
+ // save the id value the hidden field
126
+ obj_id = $('#'+obj.attr("data-field-id"));
127
+ if (obj_id)
128
+ obj_id.val(autocomplete_data_static[name]["map"][item]);
129
+
130
+ return item;
131
+ }
132
+ , items: obj.attr('data-items')
133
+ , minLength: obj.attr('data-min-length')
134
+ });//typeahead
135
+ },
136
+ 'json'
137
+ );//get
138
+ });
139
+
140
+
141
+ // query data from server
142
+ $('input[data-provide="typeahead"][data-source-query]').each(function() {
143
+ autocomplete_query($(this));
144
+
145
+ });// each
146
+
147
+ }
@@ -1,3 +1,3 @@
1
1
  module BootstrapAutocompleteInput
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
@@ -2850,3 +2850,96 @@ Processing by ClientsController#autocomplete_client_name as JSON
2850
2850
  Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.4ms)
2851
2851
 
2852
2852
 
2853
+ DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from block in <top (required)> at /data/projects/my-rails/mygems/bootstrap_autocomplete_input/test/dummy/config/routes.rb:3)
2854
+ DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
2855
+ set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
2856
+ boolean values and must have old data converted to 1 and 0 (its native boolean
2857
+ serialization) before setting this flag to true. Conversion can be accomplished
2858
+ by setting up a rake task which runs
2859
+
2860
+ ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
2861
+ ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
2862
+
2863
+ for all models and all boolean columns, after which the flag must be set to
2864
+ true by adding the following to your application.rb file:
2865
+
2866
+ Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
2867
+ (called from instance_eval at /home/mmx/.rvm/gems/ruby-2.5.5/gems/activesupport-5.2.2/lib/active_support/lazy_load_hooks.rb:71)
2868
+ Started GET "/" for 127.0.0.1 at 2019-06-16 23:07:37 -0700
2869
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2870
+ Processing by Rails::WelcomeController#index as HTML
2871
+ Rendering /home/mmx/.rvm/gems/ruby-2.5.5/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
2872
+ Rendered /home/mmx/.rvm/gems/ruby-2.5.5/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (1.9ms)
2873
+ Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.0ms)
2874
+
2875
+
2876
+ Started GET "/orders/new" for 127.0.0.1 at 2019-06-16 23:08:27 -0700
2877
+ Processing by OrdersController#new as HTML
2878
+ Rendering orders/new.html.erb within layouts/application
2879
+ Rendered orders/_form.html.erb (48.9ms)
2880
+ Rendered orders/new.html.erb within layouts/application (49.5ms)
2881
+ Completed 200 OK in 2672ms (Views: 2658.6ms | ActiveRecord: 0.4ms)
2882
+
2883
+
2884
+ Started GET "/assets/application.self-58ceb8d58d66186db49bec888044545bae528cf429073c49a5d54a07aa6d0845.css?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2885
+ Started GET "/assets/tether/tether.self-99c623f594382910cc70df82521ff60958063fe2e595de94ff39b7edc36e7d89.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2886
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2887
+ Started GET "/assets/bootstrap/util.self-bd99f11cad842fcd9a8ddd422699afb1ed704b936956dc4606639fc17a54bf76.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2888
+ Started GET "/assets/bootstrap/scrollspy.self-d399dae48d3a4a962e62a7ad1e196b5f78c65911149b51d355294066721961ae.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2889
+ Started GET "/assets/bootstrap/collapse.self-0fe50165fc54c393c3add58e366d2b526ddf66a28cd85badfcf72780e30b4a62.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2890
+ Started GET "/assets/bootstrap/modal.self-af980e8087905778e6f1cb88f1f2eeca056ab0d16e7fb1a438e9a7f4c1da67e5.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2891
+ Started GET "/assets/bootstrap/dropdown.self-a1563d3d930bd6ff047e915f21c36c1b783c31add7922e531103ce25b793d2b1.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2892
+ Started GET "/assets/bootstrap/carousel.self-9522f7a729470792881a56d74457327ceb54b1348fddf5c277f9f085b6ed6021.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2893
+ Started GET "/assets/bootstrap/toast.self-c8d18de86c9571f62f2918549dae825cf10f84b9326da48e0a15b425cae5ed41.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2894
+ Started GET "/assets/bootstrap/tooltip.self-710daa534e8a61588e78e9405d6d5e33fd67d0fd215f5c53cd1eded2bbc8755c.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2895
+ Started GET "/assets/bootstrap/popover.self-10309ff65027afe7c814f8837d525fccc611dbb20b923c066a608c06c1c89dc5.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2896
+ Started GET "/assets/bootstrap/alert.self-c906b9b22369d6c9e4cceb461ff4ce3d26bbd3bafc6e42dd20e92c309bf7e79c.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2897
+ Started GET "/assets/bootstrap/tab.self-cc0061b69e7256e35d7afda14e18fcadb8b923e21dbc6850bd08c181a702dac8.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2898
+ Started GET "/assets/bootstrap-sprockets.self-fbfa5ad7d9aa0afe439ec4ff3883acc4cb92b62cb67c40d674320c9aa1d4642d.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2899
+ Started GET "/assets/bootstrap-autocomplete-input.self-ae1074df915b956aa63cb8e85258da29779ee1081639078e6d6a46e9d8f5e714.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2900
+ Started GET "/assets/bootstrap-autocomplete-input-init.self-5c2bc84c944b4bdcb008c0597604be6e0c740f64607179f029cd04123bfdccd7.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2901
+ Started GET "/assets/application.self-895f37d2474605b745aa24a2f8a9221c5648745996634561dd5df0054226cd3f.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2902
+ Started GET "/assets/bootstrap/button.self-d15b6d036ff0e7a977f3cf4dae08067e2c56036173de9b4816f64474a147b49e.js?body=1" for 127.0.0.1 at 2019-06-16 23:08:30 -0700
2903
+ Started GET "/clients/autocomplete_client_name" for 127.0.0.1 at 2019-06-16 23:08:34 -0700
2904
+ Processing by ClientsController#autocomplete_client_name as JSON
2905
+ Client Load (0.6ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE '%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2906
+ Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 2.2ms)
2907
+
2908
+
2909
+ Started GET "/orders/new" for 127.0.0.1 at 2019-06-16 23:09:56 -0700
2910
+ Processing by OrdersController#new as HTML
2911
+ Rendering orders/new.html.erb within layouts/application
2912
+ Rendered orders/_form.html.erb (5.7ms)
2913
+ Rendered orders/new.html.erb within layouts/application (6.8ms)
2914
+ Completed 200 OK in 108ms (Views: 106.7ms | ActiveRecord: 0.0ms)
2915
+
2916
+
2917
+ Started GET "/assets/jquery2.self-25ca496239ae8641a09627c8aace5863e7676e465fbb4ce81bc7eb78c4d15627.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2918
+ Started GET "/assets/tether.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2919
+ Started GET "/assets/jquery_ujs.self-784a997f6726036b1993eb2217c9cb558e1cbb801c6da88105588c56f13b466a.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2920
+ Started GET "/assets/tether/tether.self-99c623f594382910cc70df82521ff60958063fe2e595de94ff39b7edc36e7d89.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2921
+ Started GET "/assets/bootstrap/util.self-bd99f11cad842fcd9a8ddd422699afb1ed704b936956dc4606639fc17a54bf76.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2922
+ Started GET "/assets/bootstrap/button.self-d15b6d036ff0e7a977f3cf4dae08067e2c56036173de9b4816f64474a147b49e.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2923
+ Started GET "/assets/bootstrap/collapse.self-0fe50165fc54c393c3add58e366d2b526ddf66a28cd85badfcf72780e30b4a62.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2924
+ Started GET "/assets/bootstrap/modal.self-af980e8087905778e6f1cb88f1f2eeca056ab0d16e7fb1a438e9a7f4c1da67e5.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2925
+ Started GET "/assets/bootstrap/dropdown.self-a1563d3d930bd6ff047e915f21c36c1b783c31add7922e531103ce25b793d2b1.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2926
+ Started GET "/assets/bootstrap/carousel.self-9522f7a729470792881a56d74457327ceb54b1348fddf5c277f9f085b6ed6021.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2927
+ Started GET "/assets/bootstrap/toast.self-c8d18de86c9571f62f2918549dae825cf10f84b9326da48e0a15b425cae5ed41.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2928
+ Started GET "/assets/bootstrap/tooltip.self-710daa534e8a61588e78e9405d6d5e33fd67d0fd215f5c53cd1eded2bbc8755c.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2929
+ Started GET "/assets/bootstrap/popover.self-10309ff65027afe7c814f8837d525fccc611dbb20b923c066a608c06c1c89dc5.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2930
+ Started GET "/assets/bootstrap/alert.self-c906b9b22369d6c9e4cceb461ff4ce3d26bbd3bafc6e42dd20e92c309bf7e79c.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2931
+ Started GET "/assets/bootstrap/tab.self-cc0061b69e7256e35d7afda14e18fcadb8b923e21dbc6850bd08c181a702dac8.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2932
+ Started GET "/assets/bootstrap-sprockets.self-fbfa5ad7d9aa0afe439ec4ff3883acc4cb92b62cb67c40d674320c9aa1d4642d.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2933
+ Started GET "/assets/bootstrap3-typeahead.min.self-2ce9c5adac4a94e8444b0754fdd5fe2b4180af0ca6503ba9b347333d62c48381.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2934
+ Started GET "/assets/bootstrap-autocomplete-input.self-81cbb7dc414688e22a1205cf19a4e842266d223b3565eaba5f9341184966af14.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2935
+ Started GET "/assets/bootstrap-autocomplete-input-init.self-5c2bc84c944b4bdcb008c0597604be6e0c740f64607179f029cd04123bfdccd7.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2936
+ Started GET "/assets/application.self-895f37d2474605b745aa24a2f8a9221c5648745996634561dd5df0054226cd3f.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2937
+ Started GET "/assets/application.self-58ceb8d58d66186db49bec888044545bae528cf429073c49a5d54a07aa6d0845.css?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2938
+ Started GET "/assets/bootstrap/scrollspy.self-d399dae48d3a4a962e62a7ad1e196b5f78c65911149b51d355294066721961ae.js?body=1" for 127.0.0.1 at 2019-06-16 23:09:57 -0700
2939
+ Started GET "/clients/autocomplete_client_name?q=b" for 127.0.0.1 at 2019-06-16 23:09:58 -0700
2940
+ Processing by ClientsController#autocomplete_client_name as JSON
2941
+ Parameters: {"q"=>"b"}
2942
+ Client Load (0.5ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') ORDER BY clients.name ASC LIMIT ? [["LIMIT", 10]]
2943
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 1.0ms)
2944
+
2945
+
@@ -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"�file-digest:///data/projects/my-rails/mygems/bootstrap_autocomplete_input/lib/assets/javascripts/bootstrap-autocomplete-input.js;TTF
@@ -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"�file-digest:///data/projects/my-rails/mygems/bootstrap_autocomplete_input/lib/assets/javascripts/bootstrap-autocomplete-input-init.js;TTF
@@ -0,0 +1 @@
1
+ "%Y���z�L�e77Ӧ+x��#���0x�k@�Yu�
@@ -0,0 +1,2 @@
1
+ "%���Y�����I�x��{���C
2
+ B �
@@ -0,0 +1 @@
1
+ "%�S�y9-�X�A�n�/���$�=|�����
@@ -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"qfile-digest:///home/mmx/.rvm/gems/ruby-2.5.5/gems/jquery-rails-4.2.2/vendor/assets/javascripts/jquery_ujs.js;TTF
@@ -0,0 +1 @@
1
+ "%�6Bҙ��,{+<+8�d8W���%��*��51�u�
@@ -0,0 +1 @@
1
+ "%n�k�H#��aUL��a�i|�H�*��^�
@@ -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"nfile-digest:///home/mmx/.rvm/gems/ruby-2.5.5/gems/bootstrap-4.2.1/assets/javascripts/bootstrap/tooltip.js;TTF