referer_tracking 4.5.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/referer_tracking/tracking.rb +6 -3
  3. data/lib/referer_tracking/controller_addons.rb +10 -7
  4. data/lib/referer_tracking/version.rb +1 -1
  5. metadata +22 -515
  6. data/test/dummy/Rakefile +0 -7
  7. data/test/dummy/app/assets/config/manifest.js +0 -1
  8. data/test/dummy/app/assets/javascripts/application.js +0 -9
  9. data/test/dummy/app/assets/javascripts/users.js +0 -2
  10. data/test/dummy/app/assets/stylesheets/application.css +0 -7
  11. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -56
  12. data/test/dummy/app/assets/stylesheets/users.css +0 -4
  13. data/test/dummy/app/controllers/application_controller.rb +0 -6
  14. data/test/dummy/app/controllers/users_controller.rb +0 -103
  15. data/test/dummy/app/helpers/application_helper.rb +0 -2
  16. data/test/dummy/app/helpers/users_helper.rb +0 -2
  17. data/test/dummy/app/models/user.rb +0 -5
  18. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  19. data/test/dummy/app/views/users/_form.html.erb +0 -21
  20. data/test/dummy/app/views/users/edit.html.erb +0 -6
  21. data/test/dummy/app/views/users/index.html.erb +0 -1
  22. data/test/dummy/app/views/users/new.html.erb +0 -5
  23. data/test/dummy/app/views/users/show.html.erb +0 -10
  24. data/test/dummy/config/application.rb +0 -45
  25. data/test/dummy/config/boot.rb +0 -10
  26. data/test/dummy/config/database.yml +0 -25
  27. data/test/dummy/config/environment.rb +0 -5
  28. data/test/dummy/config/environments/development.rb +0 -29
  29. data/test/dummy/config/environments/production.rb +0 -62
  30. data/test/dummy/config/environments/test.rb +0 -39
  31. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  32. data/test/dummy/config/initializers/inflections.rb +0 -10
  33. data/test/dummy/config/initializers/mime_types.rb +0 -5
  34. data/test/dummy/config/initializers/referer_tracking.rb +0 -1
  35. data/test/dummy/config/initializers/secret_token.rb +0 -8
  36. data/test/dummy/config/initializers/session_store.rb +0 -8
  37. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  38. data/test/dummy/config/locales/en.yml +0 -5
  39. data/test/dummy/config/routes.rb +0 -9
  40. data/test/dummy/config.ru +0 -4
  41. data/test/dummy/db/development.sqlite3 +0 -0
  42. data/test/dummy/db/migrate/20120119111039_create_users.rb +0 -9
  43. data/test/dummy/db/migrate/20120418183653_table_rename.rb +0 -13
  44. data/test/dummy/db/schema.rb +0 -45
  45. data/test/dummy/db/test.sqlite3 +0 -0
  46. data/test/dummy/log/development.log +0 -146
  47. data/test/dummy/log/test.log +0 -28049
  48. data/test/dummy/public/404.html +0 -26
  49. data/test/dummy/public/422.html +0 -26
  50. data/test/dummy/public/500.html +0 -26
  51. data/test/dummy/public/favicon.ico +0 -0
  52. data/test/dummy/script/rails +0 -6
  53. data/test/dummy/test/fixtures/users.yml +0 -7
  54. data/test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6 +0 -0
  55. data/test/dummy/tmp/cache/assets/CDF/070/sprockets%2F70e3c8a3916622c17858d520dcee0d92 +0 -0
  56. data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  57. data/test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4 +0 -0
  58. data/test/dummy/tmp/cache/assets/D27/530/sprockets%2F4f6982cf32d995b6ac3bce79729b6435 +0 -374
  59. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  60. data/test/dummy/tmp/cache/assets/D39/8B0/sprockets%2Ff3fdaca7531a71f4014b287f392e7b08 +0 -377
  61. data/test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124 +0 -0
  62. data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  63. data/test/dummy/tmp/cache/assets/D61/6B0/sprockets%2Fcb11afa26a559c0c626de8b4b720f554 +0 -9271
  64. data/test/dummy/tmp/cache/assets/D73/220/sprockets%2F3dbc0a37f98fb43ec819b85a64d32c55 +0 -0
  65. data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -9651
  66. data/test/dummy/tmp/cache/assets/D9A/830/sprockets%2F97b0ba4e6b920af1eb0c96a299f28b3b +0 -9268
  67. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2c/2cmx78HHFtUJ_moZQYLRA1xgWz9_WPCl2iqNJsvdbiM.cache +0 -1
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2k/2k-njHwbpW920uPBaEpcue86NrC7Hcd05j1VR3EZync.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5b/5biJe43O-0O4crJwYAa7_nO64aiJhGTYjtUueOuC_is.cache +0 -1
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/93/93Ku-6KPiY-60WSo2HETa51xVHPgXa4WJX5Uv-wAWAQ.cache +0 -1
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AP/AP6o_YPNWKy9zHLd5cKfcigb_AIYYx9BQgrutmxZJRI.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ac/Acgs9o3MIUUfLt9mLhpkGV4bWMk0c4HD9NMCKV40KWM.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CR/CRKJnPJGBJ_Dy0-QfKhF5WPh6Gj5skuy0TXmBjMTSnQ.cache +0 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EH/EHtJZlbRr0XpqH8VpYwd1n2RscSRWAOCX0iB3wpgWGo.cache +0 -2
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/H-/H-y0Yk2LBlS6mPkAU-Ga5JhkYyh0dVNVMqaF-W6PFxw.cache +0 -3
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/IJ/IJ8ElaMFALDqzdETIWgY8Ax7KJXh8akX9X0FyMOuGss.cache +0 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JI/JIhTmLF72w8zL2CiAlo0rK-OrZ0B2hQ5QjYIFN_GLgI.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JP/JPc_KuUY6_Ahtu7ucIQTkgVm0pV0Cxjneop9jamp85g.cache +0 -1
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Js/Js14cgaqqSpuUEccMkdmdvR2BI_Vt2Qs5KLiK5D7av8.cache +0 -1
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ju/Jutw6Rj0FSocTHtJXYbtw0LdUcLAZ8UikAzo_o2MqLM.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ka/KagYVzDXOrwIV8OqoCjrLu5kwqlqtzrwhLbuOdO_Lrs.cache +0 -1
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/L_/L_TkUn9_VwUmKllp4LTxZPoFZhQqDJ5LdN6C4dLZMHY.cache +0 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/M4/M4tC0iiffEPr59-_9rDBPz7hW5dT21_6-lDvMXz0RDY.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MH/MHjWQyW87MB3935yX7faTJs78U_q8hZzHNNTcLN1PT4.cache +0 -3
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/N7/N7zP8wm5MiV4STIoPEnCUnkXqivzPUT53j8UwchoL-k.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Uz/UzPJJZKw4rpMT2bxQwJuoe9US4s1FVDWwFxa-dkDFCo.cache +0 -1
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/XS/XSNwmxjyrFikkyy0vjCTtFHT0rpH55uEBUHADoq9nKA.cache +0 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yr/YrTrK88uscJSzLxAkni4AP3DcCgRnBgUEpGv9Wp3amk.cache +0 -1
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_L/_L5HgSK_wumfqnP75mB222WJBijCwVTKaP6aDWxRylc.cache +0 -1
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_U/_U5PROuRlRvYODxGigRIEnjl72IgqyK0FygnCj_Vshg.cache +0 -1
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aK/aKfRVfkNjadngUWgjM6l3tpd1R0tBMVOGq0zmitb8lc.cache +0 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aQ/aQoXZnppdm61nSE11Ss680Y0Upsh8-TT4WWZcgANI8s.cache +0 -1
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b4/b4bSF6LEaJe3w2FL_KqGBHNvDsL4AQrt2QSEBYPirnM.cache +0 -1
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cb/cb1En-wWowTDy305CAUFD3y_HgoyABsO43k1RaeZ2Yw.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dM/dMQaKOLcpCZ3Vvn8mgWMveuO03TRJsl33DEzyMWycEo.cache +0 -1
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dg/dgShmOoDRE4is6u2eg610LdtDk9jFgSDHmHZN_ccLmc.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ed/edZ1SpHyO0mz0vpyZrcv9LPCo3kpt_2AZBRpIxHGTxM.cache +0 -1
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fE/fEEB8V-7zl58hnko_zGpQDNOL7fG0PEzR0h5SpyBYhE.cache +0 -1
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/g1/g1E9wGfeqvJatuTShi4bSINubsRft6ree93G4gxsoV8.cache +0 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gS/gS3fatuku-xkc3GGm887naF-gdr16YpQsbJSWhwboQA.cache +0 -1
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iD/iDTnVSbZnIij5Xm4jkwCyIXAPDn8RwaRe5Ja8YPKibw.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ir/ir0sqLyW8xAzpw1ej4ZbB8gE-JNSbIA3gtIEOETp0GU.cache +0 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jk/jkhYOgGwcRPwrqMh9yZ4Obqh0xLBodWlAj4jTpdJzbU.cache +0 -1
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jp/jpUy1Dtew4gtTFQizUVFfHdLk40FoJPK0NFZNTpd5VY.cache +0 -1
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/k9/k9aRd28fGiCawGMasGhG7gj4WhgAc80ViY0aKlyy7AY.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lY/lYs0UokR743fbG1wJ4t9VWTVba42SOUm6F2HAGVWgnk.cache +0 -3
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nf/nfW6VHREUZeKueuW3Tlc_VIIqfwFpKNrQeGIokq6zck.cache +0 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/p8/p8GwHGWWAnLsIiI_bJGmLkNHu26B4wNIyMhtq85h-ck.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qp/qpYHEqUJcqJpx4Zm9PbO4LVVjAqI1wQUcy83KPrUK7M.cache +0 -1
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qv/qvP9mvAxiXeWokmJ-izRCt-2t3ws-3eywyVFEpi4qUU.cache +0 -1
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/r6/r6KjMmQ9n_jOrJlySdyY3ghq7-QyiM3ai5wHX6eTp-g.cache +0 -1
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rb/rb_u_gHDnEZUoDZl9KxS9eteCoe-SaXymHkbl47PpVs.cache +0 -1
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/s0/s02N7FukTN1s0egRDlsT3JJvb_jLR9D-3ZSl1fw4gxQ.cache +0 -1
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sf/sfXBmcNmexUfAs7KgTDPoDAaNZYDUSydp33PV4yudHw.cache +0 -1
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tO/tOxhErQwxvgr9JfRKZMxi1UpgzmM495rXbr8W37zOJY.cache +0 -1
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYr6b-dRgBs0t6PHVK4-DPCYGonZqDOt79_MdMBQfIs.cache +0 -0
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tb/tbvBptkPvGRBrkyVDhibdmwuzJGETGarYsioQ2yYoEs.cache +0 -3
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/u1/u1n2hPPIyJio7Et2oBwwHpcIuks50r1SCwTTn4brCoY.cache +0 -1
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vY/vYs0RdDuRdFHhoZ4mTI7CCesaXrNdFtEUd2zKuveIIE.cache +0 -1
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/we/weAiRO9OmZWR0dwLBnEXBEvRuWV9RXnOZ_2I4pF-_jo.cache +0 -1
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wn/wnvJ74QIdj8tSD10cXmY9KyXCpaQIv0FfZJWw-EudW8.cache +0 -0
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wv/wvrMP5KWADmenicQ0Ez5LSX0Lo_nEtq8afqxX5y6KC4.cache +0 -1
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/x9/x9xhlrwLuOojnndztRS4C9uIDE-LjKIrWTIGnaKBWVo.cache +0 -1
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xP/xPMfTXGxxCCgIip6XsG-paelKjnDzbpAYugLmUfykPs.cache +0 -0
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/y0/y0WduPcvMCWqXcU7KagyUSx0kDZs6ZxwSlzSLy_vxkw.cache +0 -0
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zN/zNWlVQtl-GZdt37fhVDBuT0ehONIucjtUm1AzGUMWOw.cache +0 -1
  129. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/CS/CS8nEse4iNQsIQp6JJMkrfiNOJ0C4AsDb2TR7hOGIH0.cache +0 -1
  130. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -3
  131. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ka/KagYVzDXOrwIV8OqoCjrLu5kwqlqtzrwhLbuOdO_Lrs.cache +0 -1
  132. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/U6/U6ujBBtVuScKUBOvp2wmpQO2qYG5QMZj9oFkEoWtF6E.cache +0 -0
  133. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UZ/UZ_c1KkSJaaNhwYwe1v-89WvyVGicihlY6Zp1bXhq3M.cache +0 -0
  134. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/V-/V-CNkRRDXuu8o_FKw6oQPptxNYchi36Ctond2A9pFCM.cache +0 -0
  135. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/WI/WIhdpx5T1Wxi7u_C-fCzIVkEYsWzm9hcfsoi-hotpdE.cache +0 -0
  136. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Z4/Z41nxEwpWQWFoc3tdahPn8d-nQygg6rN5wPU0iWRYrA.cache +0 -1
  137. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bP/bPBEsM47rrracC6h0DUpa76b38d_hdPadAGWeHXJIj8.cache +0 -3
  138. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cG/cGfnqX6g3P0WuiBZ7nc-f8N13CSgrV163hKk2ry0-n8.cache +0 -1
  139. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dz/dzSD3sm4znNDRdp04nrjxADibaOAuBl1B_WUyfsaNac.cache +0 -1
  140. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/i1/i1DwWMZeHC_QdByjF6bFQ3-UXJyXEvY7zJfsvk6rSl4.cache +0 -1
  141. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/iD/iDTnVSbZnIij5Xm4jkwCyIXAPDn8RwaRe5Ja8YPKibw.cache +0 -3
  142. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/l8/l8s8Rg4fjDwXddzNqmy9aLM9gcOiiuYpZZbbreeV7Xk.cache +0 -2
  143. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m5/m52gbfVbAznVnzdJcivzel9TPhOOLSbJ8Rp4PByLHeo.cache +0 -0
  144. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/qp/qpYHEqUJcqJpx4Zm9PbO4LVVjAqI1wQUcy83KPrUK7M.cache +0 -1
  145. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/r6/r6KjMmQ9n_jOrJlySdyY3ghq7-QyiM3ai5wHX6eTp-g.cache +0 -1
  146. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rb/rb_u_gHDnEZUoDZl9KxS9eteCoe-SaXymHkbl47PpVs.cache +0 -1
  147. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ty/tyrbLxvr3XORxAaPLnpHstJahZsB9CS5tJAB3BiKaII.cache +0 -0
  148. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wX/wXZYB3qZL8CcqH7bLqFclD7G1KHZdxh-PxR2zVSSQe0.cache +0 -1
  149. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wn/wnvJ74QIdj8tSD10cXmY9KyXCpaQIv0FfZJWw-EudW8.cache +0 -2
  150. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xP/xPMfTXGxxCCgIip6XsG-paelKjnDzbpAYugLmUfykPs.cache +0 -2
  151. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yw/ywTOTWuvOMHV0wh02S8szPOIWIaS_244Z0lUeU8Dstw.cache +0 -1
  152. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  153. data/test/dummy/tmp/cache/assets/test/sprockets/2061465cdaa4af5682ef172a297ff369 +0 -0
  154. data/test/dummy/tmp/cache/assets/test/sprockets/2cd8dbafa2066abde725994dae1058c3 +0 -0
  155. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  156. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  157. data/test/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  158. data/test/dummy/tmp/cache/assets/test/sprockets/4050a4e5062ab95c9f32e9b6940821ea +0 -0
  159. data/test/dummy/tmp/cache/assets/test/sprockets/4c04c5d3c4c4970598b78b1362270ed6 +0 -0
  160. data/test/dummy/tmp/cache/assets/test/sprockets/5652340e6744eb036df1049edad63537 +0 -0
  161. data/test/dummy/tmp/cache/assets/test/sprockets/593b93ec1ad4cc8ce7600f8e12d88cc9 +0 -0
  162. data/test/dummy/tmp/cache/assets/test/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
  163. data/test/dummy/tmp/cache/assets/test/sprockets/669c55c2bc3e16bcc6e4ca54b102fda6 +0 -0
  164. data/test/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  165. data/test/dummy/tmp/cache/assets/test/sprockets/707a1c711633514ec09e3b0db7af6a5a +0 -0
  166. data/test/dummy/tmp/cache/assets/test/sprockets/87b209c0c9da28094a8d5581a21262c6 +0 -0
  167. data/test/dummy/tmp/cache/assets/test/sprockets/9aaa89030775346d168ace83765eb46a +0 -0
  168. data/test/dummy/tmp/cache/assets/test/sprockets/a13866390005bb0cb0260ff16310f297 +0 -0
  169. data/test/dummy/tmp/cache/assets/test/sprockets/b0c12099afcf1845441fc62fc3c0f731 +0 -0
  170. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  171. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  172. data/test/dummy/tmp/cache/assets/test/sprockets/e067a273d5fdb6cc978465b152e662b5 +0 -0
  173. data/test/dummy/tmp/cache/assets/test/sprockets/f56253b5f374fff1a33fbbc9881c9124 +0 -0
  174. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  175. data/test/dummy/tmp/cache/assets/test/sprockets/fd2dc9334cabdf1812653883c577dfaf +0 -0
  176. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0G3oFbqJ7eFUY0UdwEjScsfwwbPpWiWBNw09qdd1ohI.cache +0 -0
  177. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0Z6bW0B1kuGtkIeYr4ThAL4uqYBz_KTiRnIbWojB7Aw.cache +0 -1
  178. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1H1i5_RyMh4B7slWyR-5HmOLlYMLqwBoIHac9sf2UGU.cache +0 -1
  179. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1eXGkBvJXR18xUslJtU6HnzHBHlj9zMbL1lVS7Ab84M.cache +0 -1
  180. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1xHqeEplAI_MobTJGjagsr8Q6xaDyVXT50IdI86fHEw.cache +0 -1
  181. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2i17CO5DMhuAQ23V2NrBSC1m1qGbVEcfTQPOZvRGs8E.cache +0 -1
  182. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/46JXON6AslwNbbvz__9ddRiVifnFuk8ifD2rSIS85-M.cache +0 -0
  183. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4JY-SwetEJ9O6ZGcQcZ26z5Lwa71xMfRmfgrUMivfFY.cache +0 -0
  184. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/523-OCQbCRB1j_tlqIjEssUe6m7reS6feGOWn7hrV4c.cache +0 -0
  185. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5mzNt8xoknzyPmjXjf9jYI14ZvvMAqCU9rwM6GpSpXA.cache +0 -1
  186. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8SS1Jdp7AgUHgLl0L-2n3KE2-WflAeaChclAGEW_SFM.cache +0 -1
  187. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8yLF7Pm-8w-1cv3HnmHv6MSOWaTEPh6hBWRdTY7eCrI.cache +0 -1
  188. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9rTAa3n4m_1tnYuo_PQBUe9AHWAx8DmbK07tjEDBJYk.cache +0 -2
  189. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Awt8aE1L6iJxPHDB19XLUcrdBHzK7yH-x57kv_NKojU.cache +0 -0
  190. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BP10TsBq4rYpNlPktp1I4r-0iPpEyWk6HVlUrhT8Umg.cache +0 -1
  191. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Bee-ZlOeMpd0qyQPbZ3i8ZoH7Yhw2coD8YL3-9GViAw.cache +0 -0
  192. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DQ-VfoAVjHpu1y8DR1HQVmz_IAVzAgEOv2UGjbvlMLM.cache +0 -1
  193. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EQ5-Zi3kqng0IGc-dOuC3Nb6AJ7itxt2EhoMRjAZM78.cache +0 -0
  194. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HBa9hNZdUCrVlnn4DcWwu8ujBPsPhHj-SzAxTHx3gyM.cache +0 -0
  195. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/J5sQQA899f9Yaj6s8m0sbwP2Ai1J9Wsl30XsiE63Tlk.cache +0 -1
  196. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JoQJIRS5fitTPBwEToHFffx8wzQh1OGFAu5xDSz11I8.cache +0 -0
  197. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MTXn13WRB7BfO1V3dblDHLOM3_n2bwr2PxtPNg0eo9A.cache +0 -0
  198. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MVvZCkjLbPbkR9gt8wskucEPJHuRZbsq0WzftgYgBrs.cache +0 -1
  199. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NGMpC_EFlJjbA20OjGoJtJfynmG55lVXqEBQElL0J8c.cache +0 -1
  200. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NW6MHRYmTMyI512aPcOJ4s6tgW0o_sXXmgrqQfKzkSs.cache +0 -1
  201. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Nhuhyntxrz8qJ4e9bhgWV1giXOvsTdLPxGDvrMtnNzo.cache +0 -1
  202. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/O2agJjKw-HXlfsSATA2_aeqgAYO4bWrWRd1bcTN5_C0.cache +0 -1
  203. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OVj6tY43u7jqUGurvVYkWx3HFRru4oH1hxmXKnz_itc.cache +0 -1
  204. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PWG7LBu6STtK0n1rFJDQjW5x3J7tQd_Ij06lNYAzym0.cache +0 -1
  205. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PghEL7Jal_M5xfjdzxnW-Jiq-6kt7W49FaF44yRK3Yk.cache +0 -0
  206. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RYnKHL96X2OWT7cQwEm1CEbN-kP9jamPCD8Viq5WOJs.cache +0 -2
  207. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RvE2VrcnvR4vet1dyPKMSOu-qTSXJUVbsONOudiUiqo.cache +0 -0
  208. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YhdJORPRV4WeWGbpN4lF7qM1JemsU0sSBBFSeCjK5Zk.cache +0 -2
  209. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_zleWcY3FPsUHamwtaWVGPFC2ZrfVEdPcPxtZ0ncAKQ.cache +0 -0
  210. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/aOYT6AMsiiCTko9bck34eQ_cpji7JFJkcO6Gih7XwY0.cache +0 -0
  211. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/aovOL6rHj1sNeXFn2epj7OC6vuL3xqhgG66DCvO1y60.cache +0 -1
  212. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bR5B145dhQ5ciLkU1IpQTYV5yuuGW1hFVZ11_HaQbhE.cache +0 -2
  213. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/deKZpN3Fw7GBmRNV2zF4XhwPu7G4vqFvMZ2EhVR0ogg.cache +0 -1
  214. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/e6QsN5AJT0NQ1szDvc8kkfCz6XVVjVWDNHKP6f0YoSo.cache +0 -2
  215. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/esK4x1b0AOlLi9q6KDmOPKMPG6uS7tF2XVFfrQpIgwU.cache +0 -1
  216. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fUBHMp2rRJ2R0D76_G51M7lBmOZpVQzuaSjbitW7IFc.cache +0 -1
  217. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gBSV6LbejlEAByktpuqDpXQOiHSTl-EHI5c0MW6-8rw.cache +0 -1
  218. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/guTw1gpaRgyeuxZQ3eQFePUZcp9d-v1IWXG5qm_PTGY.cache +0 -0
  219. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hM0aSE9SRyMgQSqQY_G3js1_4dSng4Q9vnWpgMqFWTc.cache +0 -0
  220. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hg6DQjmNFxgP1ABwg213wrPGMurhGbyC2SJWF_eR3EM.cache +0 -1
  221. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/i0po6m1De10_m-wY5hbOaMN1dZbKIitPo3bn9EcqeA4.cache +0 -0
  222. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/igBCEQJL_hNTNkZQWbXcg0FX23pPTcv61SiuP8sww4Q.cache +0 -0
  223. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/im21DLPpH4nyd4LX8cmORbNfg7jUx_PEXXMwJA87Qsw.cache +0 -1
  224. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/joYQeCzbCCq4TvDcSpRWsiaR0i4HVRDhLBrQOenKw_U.cache +0 -0
  225. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jpA0RKjvuqt6qEaIASWc8qU1VB0Aydp6JgbzLhpGUOQ.cache +0 -1
  226. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/k__HZRe6MJEx_es4mae2UKNJ7S-xQjjtNvuWfURI2L8.cache +0 -1
  227. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kl1-ITbGxlNpIH_bdRiAd4APIX9fZOYgmo0XXZcrvgo.cache +0 -1
  228. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mUqHquf2Zmd8u6uiyK61Ezlu1TcpGRVaTOWUxxGEi1Q.cache +0 -2
  229. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/n8Aje18PD8oQE5TPpOTUD3BGZ7_TmvPPZ5eXDXoq8Gg.cache +0 -1
  230. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ngUc-SbI6D2rZ8MAICdvGgIewOpQ-2Pl0CILWKGcq3U.cache +0 -0
  231. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nvtXH1L_dKEY1ZmXVBM1NqTE6nP0QRCdobSLzIj00xI.cache +0 -1
  232. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pwDXjciqVi1_CS4MlD2TH1ZqbzXchkMonNpsttR96Vk.cache +0 -1
  233. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qkq4_FDzkYw-Jgf-PQ1QvZRMOcpJieAhpakErII07uI.cache +0 -2
  234. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qmTv4Or54pJag3e-RuC8J8YBw5WvkzqP36yA1qF7brA.cache +0 -0
  235. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/r6gN_QsTAf7c1o4Cst-frjvGHokmbxsEOdSr4mkMEJI.cache +0 -1
  236. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/reN5Eb8r7-aFzpa3gnf0d-hIULaqBhZbU3j6bHL8c54.cache +0 -1
  237. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ss0roaA9M5TQHC9lcaT0WzZ401TWw-pTCBcrTYorKrU.cache +0 -1
  238. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tZ-5zRkNGhZpjLydDPN14TgvqrG-sRsmhjHmD16K9w4.cache +0 -0
  239. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uAeR8lWRY18fsV62fVeVlDfQL-0svUgCWxUntrKiscM.cache +0 -1
  240. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ut0rmLnfJ-Ischq127ylQ8-6EKVPTiko_mqVVAuMli8.cache +0 -0
  241. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vXSDU5apajRzjlgKITJW6ww-R5nViNgTca-WgN2rQjA.cache +0 -1
  242. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/v_Ilb0G5vj-RNZGvNkGntio2WXLwx0dLgXj22KrEF1A.cache +0 -1
  243. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xE2R25fLVYnFI2W6I4LvT03gascYQsI-YR4dr_274d8.cache +0 -0
  244. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xyZgV6TicjUr8zQ2arynATHycCL5HEg4v44PTplSlCE.cache +0 -1
  245. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y9ZtIMFclPh-m6WSjAOTLR1Oz8oUv8IF4DdJDKgCgDE.cache +0 -0
  246. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zhLZKiMTXH3IgicVp2uI18ziLOLaV51MjYysWkjSLrw.cache +0 -0
  247. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zviTNUYEUvNXHr7SV9QMmjiPlU-Ij7IN_Wf5NXwsbdQ.cache +0 -1
  248. data/test/fixtures/referer_tracking/referer_trackings.yml +0 -13
  249. data/test/integration/navigation_test.rb +0 -10
  250. data/test/integration/referer_tracking/has_tracking_test.rb +0 -31
  251. data/test/integration/referer_tracking/referer_session_test.rb +0 -160
  252. data/test/test_helper.rb +0 -20
  253. data/test/tracking_test.rb +0 -88
data/test/dummy/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env rake
2
- # Add your own tasks in files placed in lib/tasks ending in .rake,
3
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
-
5
- require File.expand_path('../config/application', __FILE__)
6
-
7
- Dummy::Application.load_tasks
@@ -1 +0,0 @@
1
- // Nothing used
@@ -1,9 +0,0 @@
1
- // This is a manifest file that'll be compiled into including all the files listed below.
2
- // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
- // be included in the compiled file accessible from http://example.com/assets/application.js
4
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
- // the compiled file.
6
- //
7
- //= require jquery
8
- //= require jquery_ujs
9
- //= require_tree .
@@ -1,2 +0,0 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
@@ -1,7 +0,0 @@
1
- /*
2
- * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
- * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
- * the top of the compiled file, but it's generally better to create a new file per style scope.
5
- *= require_self
6
- *= require_tree .
7
- */
@@ -1,56 +0,0 @@
1
- body { background-color: #fff; color: #333; }
2
-
3
- body, p, ol, ul, td {
4
- font-family: verdana, arial, helvetica, sans-serif;
5
- font-size: 13px;
6
- line-height: 18px;
7
- }
8
-
9
- pre {
10
- background-color: #eee;
11
- padding: 10px;
12
- font-size: 11px;
13
- }
14
-
15
- a { color: #000; }
16
- a:visited { color: #666; }
17
- a:hover { color: #fff; background-color:#000; }
18
-
19
- div.field, div.actions {
20
- margin-bottom: 10px;
21
- }
22
-
23
- #notice {
24
- color: green;
25
- }
26
-
27
- .field_with_errors {
28
- padding: 2px;
29
- background-color: red;
30
- display: table;
31
- }
32
-
33
- #error_explanation {
34
- width: 450px;
35
- border: 2px solid red;
36
- padding: 7px;
37
- padding-bottom: 0;
38
- margin-bottom: 20px;
39
- background-color: #f0f0f0;
40
- }
41
-
42
- #error_explanation h2 {
43
- text-align: left;
44
- font-weight: bold;
45
- padding: 5px 5px 5px 15px;
46
- font-size: 12px;
47
- margin: -7px;
48
- margin-bottom: 0px;
49
- background-color: #c00;
50
- color: #fff;
51
- }
52
-
53
- #error_explanation ul li {
54
- font-size: 12px;
55
- list-style: square;
56
- }
@@ -1,4 +0,0 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
@@ -1,6 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- protect_from_forgery
3
-
4
- include RefererTracking::ControllerAddons
5
-
6
- end
@@ -1,103 +0,0 @@
1
- class UsersController < ApplicationController
2
-
3
- # GET /users
4
- # GET /users.json
5
- def index
6
- referer_tracking_add_info('session_added', 'testing_session_add')
7
- referer_tracking_add_info('session_added_hash', 'testing_session_add_without_db_column')
8
- @users = User.all
9
-
10
- respond_to do |format|
11
- format.html # index.html.erb
12
- format.json { render :json => @users }
13
- end
14
- end
15
-
16
- # GET /users/1
17
- # GET /users/1.json
18
- def show
19
- referer_tracking_add_info("show_action", "CUSTOM_VAL")
20
- @user = User.find(params[:id])
21
-
22
- respond_to do |format|
23
- format.html # show.html.erb
24
- format.json { render :json => @user }
25
- end
26
- end
27
-
28
- # GET /users/new
29
- # GET /users/new.json
30
- def new
31
- @user = User.new
32
-
33
- respond_to do |format|
34
- format.html # new.html.erb
35
- format.json { render :json => @user }
36
- end
37
- end
38
-
39
- # GET /users/1/edit
40
- def edit
41
- @user = User.find(params[:id])
42
- end
43
-
44
- # POST /users
45
- # POST /users.json
46
- def create
47
- referer_tracking_request_set_info('request_added', 'testing_request_add')
48
- referer_tracking_request_set_info('request_added_hash', 'testing_request_add_without_db_column')
49
- @user = User.new(user_params)
50
-
51
- if @user.save
52
- referer_tracking_after_create(@user)
53
- redirect_to @user, :notice => 'User was successfully created.'
54
- else
55
- render :action => "new"
56
- end
57
- end
58
-
59
- def create_with_custom_saving
60
- @user = User.new(user_params)
61
- @user.save
62
- referer_tracking_after_create(@user)
63
- render 'index'
64
- end
65
- def build_without_saving
66
- @user = User.new(user_params)
67
- referer_tracking_after_create(@user)
68
- render 'index'
69
- end
70
-
71
- # PUT /users/1
72
- # PUT /users/1.json
73
- def update
74
- @user = User.find(params[:id])
75
-
76
- respond_to do |format|
77
- if @user.update(user_params)
78
- format.html { redirect_to @user, :notice => 'User was successfully updated.' }
79
- format.json { head :ok }
80
- else
81
- format.html { render :action => "edit" }
82
- format.json { render :json => @user.errors, :status => :unprocessable_entity }
83
- end
84
- end
85
- end
86
-
87
- # DELETE /users/1
88
- # DELETE /users/1.json
89
- def destroy
90
- @user = User.find(params[:id])
91
- @user.destroy
92
-
93
- respond_to do |format|
94
- format.html { redirect_to users_url }
95
- format.json { head :ok }
96
- end
97
- end
98
-
99
- private
100
- def user_params
101
- params.require('user').permit('name') if params['user']
102
- end
103
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,2 +0,0 @@
1
- module UsersHelper
2
- end
@@ -1,5 +0,0 @@
1
- class User < ActiveRecord::Base
2
- has_referer_tracking
3
-
4
- #delegate :add_log_line, to: :tracking, prefix: true, allow_nil: true
5
- end
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <%#= stylesheet_link_tag "application" %>
6
- <%#= javascript_include_tag "application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>
@@ -1,21 +0,0 @@
1
- <%= form_for(@user) do |f| %>
2
- <% if @user.errors.any? %>
3
- <div id="error_explanation">
4
- <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
5
-
6
- <ul>
7
- <% @user.errors.full_messages.each do |msg| %>
8
- <li><%= msg %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
13
-
14
- <div class="field">
15
- <%= f.label :name %><br />
16
- <%= f.text_field :name %>
17
- </div>
18
- <div class="actions">
19
- <%= f.submit %>
20
- </div>
21
- <% end %>
@@ -1,6 +0,0 @@
1
- <h1>Editing user</h1>
2
-
3
- <%= render 'form' %>
4
-
5
- <%= link_to 'Show', @user %> |
6
- <%= link_to 'Back', users_path %>
@@ -1 +0,0 @@
1
- <%# view not needed %>
@@ -1,5 +0,0 @@
1
- <h1>New user</h1>
2
-
3
- <%= render 'form' %>
4
-
5
- <%= link_to 'Back', users_path %>
@@ -1,10 +0,0 @@
1
- <p id="notice"><%= notice %></p>
2
-
3
- <p>
4
- <b>Name:</b>
5
- <%= @user.name %>
6
- </p>
7
-
8
-
9
- <%= link_to 'Edit', edit_user_path(@user) %> |
10
- <%= link_to 'Back', users_path %>
@@ -1,45 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require 'rails/all'
4
-
5
- Bundler.require
6
- require "referer_tracking"
7
-
8
- module Dummy
9
- class Application < Rails::Application
10
- # Settings in config/environments/* take precedence over those specified here.
11
- # Application configuration should go into files in config/initializers
12
- # -- all .rb files in that directory are automatically loaded.
13
-
14
- # Custom directories with classes and modules you want to be autoloadable.
15
- # config.autoload_paths += %W(#{config.root}/extras)
16
-
17
- # Only load the plugins named here, in the order given (default is alphabetical).
18
- # :all can be used as a placeholder for all plugins not explicitly named.
19
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
20
-
21
- # Activate observers that should always be running.
22
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
23
-
24
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
- # config.time_zone = 'Central Time (US & Canada)'
27
-
28
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
- # config.i18n.default_locale = :de
31
-
32
- # Configure the default encoding used in templates for Ruby 1.9.
33
- config.encoding = "utf-8"
34
-
35
- # Configure sensitive parameters which will be filtered from the log file.
36
- config.filter_parameters += [:password]
37
-
38
- # Enable the asset pipeline
39
- # config.assets.enabled = true
40
-
41
- # Version of your assets, change this if you want to expire all your assets
42
- # config.assets.version = '1.0'
43
- end
44
- end
45
-
@@ -1,10 +0,0 @@
1
- require 'rubygems'
2
- gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
-
4
- if File.exist?(gemfile)
5
- ENV['BUNDLE_GEMFILE'] = gemfile
6
- require 'bundler'
7
- Bundler.setup
8
- end
9
-
10
- $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -1,25 +0,0 @@
1
- # SQLite version 3.x
2
- # gem install sqlite3
3
- #
4
- # Ensure the SQLite 3 gem is defined in your Gemfile
5
- # gem 'sqlite3'
6
- development:
7
- adapter: sqlite3
8
- database: db/development.sqlite3
9
- pool: 5
10
- timeout: 5000
11
-
12
- # Warning: The database defined as "test" will be erased and
13
- # re-generated from your development database when you run "rake".
14
- # Do not set this db to the same as development or production.
15
- test:
16
- adapter: sqlite3
17
- database: db/test.sqlite3
18
- pool: 5
19
- timeout: 5000
20
-
21
- production:
22
- adapter: sqlite3
23
- database: db/production.sqlite3
24
- pool: 5
25
- timeout: 5000
@@ -1,5 +0,0 @@
1
- # Load the rails application
2
- require File.expand_path('../application', __FILE__)
3
-
4
- # Initialize the rails application
5
- Dummy::Application.initialize!
@@ -1,29 +0,0 @@
1
- Dummy::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
- # Show full error reports and disable caching
10
- config.consider_all_requests_local = true
11
- config.action_controller.perform_caching = false
12
-
13
- # Don't care if the mailer can't send
14
- config.action_mailer.raise_delivery_errors = false
15
-
16
- # Print deprecation notices to the Rails logger
17
- config.active_support.deprecation = :log
18
-
19
- # Only use best-standards-support built into browsers
20
- config.action_dispatch.best_standards_support = :builtin
21
-
22
- # Do not compress assets
23
- config.assets.compress = false
24
-
25
- # Expands the lines which load the assets
26
- config.assets.debug = true
27
-
28
- config.eager_load = false
29
- end
@@ -1,62 +0,0 @@
1
- Dummy::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
- # Full error reports are disabled and caching is turned on
8
- config.consider_all_requests_local = false
9
- config.action_controller.perform_caching = true
10
-
11
- # Disable Rails's static asset server (Apache or nginx will already do this)
12
- config.serve_static_assets = false
13
-
14
- # Compress JavaScripts and CSS
15
- config.assets.compress = true
16
-
17
- # Don't fallback to assets pipeline if a precompiled asset is missed
18
- config.assets.compile = false
19
-
20
- # Generate digests for assets URLs
21
- config.assets.digest = true
22
-
23
- # Defaults to Rails.root.join("public/assets")
24
- # config.assets.manifest = YOUR_PATH
25
-
26
- # Specifies the header that your server uses for sending files
27
- # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
-
30
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
- # config.force_ssl = true
32
-
33
- # See everything in the log (default is :info)
34
- # config.log_level = :debug
35
-
36
- # Use a different logger for distributed setups
37
- # config.logger = SyslogLogger.new
38
-
39
- # Use a different cache store in production
40
- # config.cache_store = :mem_cache_store
41
-
42
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
43
- # config.action_controller.asset_host = "http://assets.example.com"
44
-
45
- # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
- # config.assets.precompile += %w( search.js )
47
-
48
- # Disable delivery errors, bad email addresses will be ignored
49
- # config.action_mailer.raise_delivery_errors = false
50
-
51
- # Enable threaded mode
52
- # config.threadsafe!
53
-
54
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
- # the I18n.default_locale when a translation can not be found)
56
- config.i18n.fallbacks = true
57
-
58
- # Send deprecation notices to registered listeners
59
- config.active_support.deprecation = :notify
60
-
61
- config.eager_load = true
62
- end
@@ -1,39 +0,0 @@
1
- Dummy::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
- # Configure static asset server for tests with Cache-Control for performance
11
- config.public_file_server.enabled = false
12
- config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
13
-
14
- # Show full error reports and disable caching
15
- config.consider_all_requests_local = true
16
- config.action_controller.perform_caching = false
17
-
18
- # Raise exceptions instead of rendering exception templates
19
- config.action_dispatch.show_exceptions = false
20
-
21
- # Disable request forgery protection in test environment
22
- config.action_controller.allow_forgery_protection = false
23
-
24
- # Tell Action Mailer not to deliver emails to the real world.
25
- # The :test delivery method accumulates sent emails in the
26
- # ActionMailer::Base.deliveries array.
27
- config.action_mailer.delivery_method = :test
28
-
29
- # Use SQL instead of Active Record's schema dumper when creating the test database.
30
- # This is necessary if your schema can't be completely dumped by the schema dumper,
31
- # like if you have constraints or database-specific column types
32
- # config.active_record.schema_format = :sql
33
-
34
- # Print deprecation notices to the stderr
35
- config.active_support.deprecation = :stderr
36
-
37
- config.eager_load = false
38
- config.active_support.test_order = :random
39
- end
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,10 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
6
- # inflect.plural /^(ox)$/i, '\1en'
7
- # inflect.singular /^(ox)en/i, '\1'
8
- # inflect.irregular 'person', 'people'
9
- # inflect.uncountable %w( fish sheep )
10
- # end
@@ -1,5 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '3a887a2bca725d3619e487d4be5dee5c23b7ec299b4ade216de539eaa3cd6cf850a9906397af6de19117c086a2129203ea41ca15fc93db2c7ad90d670ffeb27d'
8
- Dummy::Application.config.secret_key_base = '305e82ada6f4354748140c91c7eeef6b7acbf4a7ba4460b5fa1a874731c1cc430028762feeeccce52dab0d7685aa9278173d3b05e26043f8cb5a1c4b6e796f06'
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
- #
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters :format => [:json]
9
- end
10
-
11
- # Disable root element in JSON by default.
12
- ActiveSupport.on_load(:active_record) do
13
- self.include_root_in_json = false
14
- end
@@ -1,5 +0,0 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
-
4
- en:
5
- hello: "Hello world"
@@ -1,9 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- resources :users do
4
- post :create_with_custom_saving, :on => :collection
5
- post :build_without_saving, :on => :collection
6
- end
7
-
8
- mount RefererTracking::Engine => "/referer_tracking"
9
- 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 Dummy::Application
Binary file
@@ -1,9 +0,0 @@
1
- class CreateUsers < ActiveRecord::Migration[4.2]
2
- def change
3
- create_table :users do |t|
4
- t.string :name
5
-
6
- t.timestamps
7
- end
8
- end
9
- end
@@ -1,13 +0,0 @@
1
- class TableRename < ActiveRecord::Migration[4.2]
2
- def up
3
- #rename_table :referer_tracking_referer_trackings, :referer_trackings
4
- add_column :referer_trackings, :request_added, :string
5
- add_column :referer_trackings, :session_added, :string
6
- end
7
-
8
- def down
9
- remove_column :referer_trackings, :session_added
10
- remove_column :referer_trackings, :request_added
11
- #rename_table :referer_trackings, :referer_tracking_referer_trackings
12
- end
13
- end