scavenger 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +82 -0
  4. data/Rakefile +28 -0
  5. data/lib/scavenger.rb +15 -0
  6. data/lib/scavenger/compressor.rb +70 -0
  7. data/lib/scavenger/config.rb +12 -0
  8. data/lib/scavenger/version.rb +3 -0
  9. data/lib/scavenger/view_helpers.rb +22 -0
  10. data/lib/tasks/scavenger_tasks.rake +4 -0
  11. data/test/dummy/README.rdoc +28 -0
  12. data/test/dummy/Rakefile +6 -0
  13. data/test/dummy/app/assets/javascripts/application.js +13 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  15. data/test/dummy/app/assets/svg/hejsna.svg +16 -0
  16. data/test/dummy/app/assets/svg/thing.svg +31 -0
  17. data/test/dummy/app/controllers/application_controller.rb +5 -0
  18. data/test/dummy/app/controllers/welcome_controller.rb +3 -0
  19. data/test/dummy/app/helpers/application_helper.rb +2 -0
  20. data/test/dummy/app/views/layouts/application.html.erb +16 -0
  21. data/test/dummy/app/views/welcome/index.html.erb +3 -0
  22. data/test/dummy/bin/bundle +3 -0
  23. data/test/dummy/bin/rails +4 -0
  24. data/test/dummy/bin/rake +4 -0
  25. data/test/dummy/bin/setup +29 -0
  26. data/test/dummy/config.ru +4 -0
  27. data/test/dummy/config/application.rb +34 -0
  28. data/test/dummy/config/boot.rb +5 -0
  29. data/test/dummy/config/environment.rb +5 -0
  30. data/test/dummy/config/environments/development.rb +41 -0
  31. data/test/dummy/config/environments/production.rb +79 -0
  32. data/test/dummy/config/environments/test.rb +42 -0
  33. data/test/dummy/config/initializers/assets.rb +11 -0
  34. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  36. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  37. data/test/dummy/config/initializers/inflections.rb +16 -0
  38. data/test/dummy/config/initializers/mime_types.rb +4 -0
  39. data/test/dummy/config/initializers/scavenger.rb +2 -0
  40. data/test/dummy/config/initializers/session_store.rb +3 -0
  41. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  42. data/test/dummy/config/locales/en.yml +23 -0
  43. data/test/dummy/config/routes.rb +3 -0
  44. data/test/dummy/config/secrets.yml +22 -0
  45. data/test/dummy/log/test.log +3171 -0
  46. data/test/dummy/public/404.html +67 -0
  47. data/test/dummy/public/422.html +67 -0
  48. data/test/dummy/public/500.html +66 -0
  49. data/test/dummy/public/favicon.ico +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-H/-HqbbfU0xcEJDTxWfLUwg4CHKddeND3q6UVFsh5Si_U.cache +1 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-U/-U_dM-L9LbHNJZIgTkRfkuKCZmM383uKGVLpowFlUWQ.cache +3 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-X/-XIkc5RT094TnZLk-Bx1VeBlhPNiDcbR8xKuvMWYg4g.cache +5 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/11/11izQccDDdFX41-0W9soseHqn6Gnsp5eXQUBekw0w00.cache +1 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1o/1oh-D7lF9NVZVT3A4Ke5-TFajlRvURXe2OPPBPZqMUg.cache +3 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/25/25maOm_ns9nLIHyiI4f_tf4wYwBPoq8gAvpSX9V4ge8.cache +2 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2G/2GKmKzQSIIALMgYslznKJEr-pXCza0znjBmmqTCVjgo.cache +5 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2r/2rbhR-ZHCA26TK7wMgaQ-43T-wZLyA0owLShzIxEWuk.cache +4 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/34/348WFNzOMxpgDI8iNz2i5urtOQitXtYJIGuHsfr4014.cache +1 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5F/5F2E3R3qgH5T2ZoN1FWgFnQmM365fKQe0g9EbWyGnQM.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6N/6NY324sAsWts7o2vwWeN0aXOWuuyKM9zuzO0c2eKLZc.cache +6 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7O/7OXjjKt0Z3xAjPdz99P7K2ILtSY-pj3ur0J1JvZuAHI.cache +3 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7x/7xjcSFxgDSCrJMkPDLL-u6HY4hQbXc0Hzk0efhSnk64.cache +4 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8O/8ObXUvh9D_nHhKqXK6ABwrG1kz2aRnb3rGzDZKwfyVI.cache +4 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8n/8nsCSYjv5XHXLcA0afPuGbdseM7SuTmmWKV1nCrk4r4.cache +1 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8x/8xhjdhp1eijzIzvWEtv1s5PePR_c8blbEE1sjKYMKPw.cache +2 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/98/98GuWujwu8Qf96txyyw5eTFnH5LVt-IcXaYV9hWq1aU.cache +2 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/99/99plte_Tg2iiF3VZZ_DzZwanFS6BvFUfkgWlqCdmleU.cache +4 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9s/9s6SDFrpwRn_oY_Vi1oR6WZNU09ubMW73COpZY5Rtf0.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9u/9uZR0qxSChIwkuOttRtYVWRCBuahCACYcqaPhI4o-Ro.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AK/AKUIAk7bmGCulWb0gNeSKzDmh57iSAcDuD0--UJMAa8.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ae/AeGKzMpQNBMxA6gXi_zJ3BOc7MqOIcOKP5-kh6lT4yw.cache +1 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BC/BC_MecqW6bPoz0C9IUmS3GAcdZrXP_ug9YH7Kw1vN_w.cache +1 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/C4/C439mq43l7yTi_NG2JVgM5crLZGT2mH7BWYa0U1L8vA.cache +2 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CD/CDQwlcBfGvlM1IzCLj_3WklFp44N6J-gTAlfdsyP6ws.cache +2 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cz/CZMRfdmWKqMJU9RD0twbl62L4CHkaKvPcionwcTeaPY.cache +1 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cz/CzBbMjpUVeDyH-t49_4iBLSjHsfoC5U5VfkLuURYHiA.cache +1 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dq/DqF4msXGrg8D1zFiR5oCNIygUO9BVcnhKfWitu_QhUo.cache +3 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/El/ElXVJKVUyx7wZtChp6_PiHsJ_uoljEal6Ga5IR-iRkc.cache +1 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FN/FNbIIgXbC_eTM5R6lUgQ4MAZeZz7a7iOsEI59tKi9Tc.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/G-/G-pL8xR7OSZ9EfTgqN9eWzjPAUO5uGy1s5LPA79cTa0.cache +4 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GY/GYTIgygclYPTMz-qWUtfjBLYsdfmD-f-d4s6biK_w7Q.cache +2 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gd/GdUOtQlWxrcatwpnsG71FEhWUXBGSCeg_KFVhICX7WM.cache +1 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gk/Gk4fpCDRXeS8W9uUc3BgMEDEjmJoZ-Nqg-SrPtAnqvI.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/I0/I0o3NaDD4aODBXGZgYZ1R8gQYkBUbpagqoNPduxjs_8.cache +3 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/I3/I3w40ud22J2dvAZsikqd4y9etnWp5z3tFZ50bMLt9aA.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/I7/I7WyZQ32i6kx0fg7Ce4dKJV64UT7ocQqiNVfBQaaCG4.cache +5 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Je/JewGvPxcszuYsSjQoKXxzJIRvvZv-uCLMZW3vMf1V8Y.cache +2 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jq/JqOJW1VYktU0ktLRM3UiCrPV-VSOVRCoy_Jllcvg3cY.cache +3 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jx/Jx4pqkuinO3CkdllQpCrdTowH3zl6HSLDffXnH39uOY.cache +3 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KC/KCyuFn9GRT1T8Fb2QASGqSjQEKiwyI0Lz7_a3oI6oHc.cache +2 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KZ/KZyxio0yOsOfb3ZhjZ0QwTn2I23pWNc4i6IDaObLS4Y.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LK/LKi-YtI10nTnwAZ9tGA0mycT_RK06P4Wbsup2mz_m-4.cache +1 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ly/LyC39AHA8MwZpDthVN0AlUdId0AI95jXHzZ1n5Gi7MY.cache +2 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mb/Mbe8cv5zaE0f3oIz0YESxHx057YFVmowkRkY0t5x7F0.cache +5 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NP/NPfOJLBKf3qawiTr5TsMx_6hQ47bmq-v6oMvAa1hDR8.cache +1 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NP/npSJTXQnTsAcxpKg1GF0SvIJdHwr6dZhfeb_iE-T-qM.cache +1 -0
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NY/NY2ITQsQhlGmpv_XYpBzY0bkYsoX9EnX2y6A4IA9y9w.cache +1 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ON/ONXM0yfYond9SL_ERL5_h2PYWRoxI7MB7dh8Wgux2kI.cache +2 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Of/Of3KRAbBZnkIAImLO3o_jYYgztAs8dP0tgW85lrJLJY.cache +2 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PM/PMFPGGsBq5NLwHjlR5DDyVNsOTxyv3RNh4LJLTJsiUc.cache +3 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pc/PcWIHtJvZlo6ITsS6eJhNsnQarnW4-vs9EIFm0XkdmY.cache +1 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pi/Pi7h_0clH-Punlu8yw_srmwHyc5VRE72bPMQNDxGgbE.cache +2 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pz/PzzfYC4OG_ObJ7byTmeaqyk9P_lgcdtqKWafD5LWXQY.cache +1 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QD/QDSurvjtF1BrJX-aLTJlFtYhxoWPRfqqx0Mn1OrZsnw.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/QP/QPznaEgVvMxnva5VmM_zC3cOGzjs4-eXRJn-QTitsMk.cache +1 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qi/QiQRRt1rzEMBbDSoPEB86n_6vuK-exu5nvlvb93-8Ds.cache +1 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RT/RT_IsNMQJK8QZtK46K7XcIykfX7iJcij4HyuXt2sElM.cache +2 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rw/RwK5VPS0ZWb2FtPpBy6hpaa3RdhtbYJnW0Y9m777fq0.cache +3 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SC/SCLYM9c1ukultsOsftGAbV2Vo7oWX1K5FGQDGWFbAjM.cache +0 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SU/SUVVA6yRljhAxtRtbpyqKrAmLkX_coZf-bAhQMaz_is.cache +3 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/T9/T9FoDi_hol-MZ-P0QSqGiu4GkCmIIwERSGNOrL9Fjh8.cache +1 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TA/TAXPWAOlG0yeyBDPEX6CbnmeFGobbw69rqy71da0-g0.cache +1 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ts/TsREWCSUnRzZFQgj2dEgXUBNmUAT2S48RVAedogYW3M.cache +3 -0
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UE/UE_MaxEM9CHQcUIJULCNMZFXY2gh_0ZYEO1x-nvo0Ws.cache +2 -0
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Uq/UqNMiop_l1QyuKMZReAXM9PpKiSSyX0K_fdxQEUt9YM.cache +3 -0
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V-/V-DwZpVv3uJ5fYwK0OkcmlmIHzLRNReULGZHxd3Bm3o.cache +1 -0
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WA/WAzmKG5FTHG-fX5IgbQQjlQz71VskqHqWgPlu7LDRwg.cache +1 -0
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WK/WKpE8UdXlizp-Ww_7pv6b8vzT6VatGaJ1Vzm0nlyAOQ.cache +2 -0
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WR/WR2xUEZg8ZzbIiT1c5zn5_l1Ow8UQmFEnMgce23smzk.cache +1 -0
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WY/WYVUNGREkk20SrlLAxmiHYYwLyLUB-geRUK-GdeEL1w.cache +2 -0
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/XC/XCAEpFovv21-TgsbmyI-NRSgt4i9htFPx-qIhLGSXso.cache +1 -0
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_XEor98WN1KgGsQLkMeimyXz1pwVkH40K6RgTPD11w.cache +1 -0
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YS/YSJFzCTZ7k4bznGUQBGhko471nErQpwVJJFp_HYBBdo.cache +1 -0
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yz/YzywD87qy07Nl8UDE_BrZAe7Rujp-hGRgchMefkh_f0.cache +2 -0
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZP/ZP3cKucRfI64siOZ3295sYHf8mkjxwPUv_jaAyu3ag8.cache +1 -0
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_B/_BqN4N7Cd7GtOGg2F94sLSm4DzvL4GWoYEV6JzCjNUU.cache +1 -0
  129. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_B/_byuC_ZlOnBVAgzjgIzgXx-Swz53HDeOlIsH12sEYC8.cache +5 -0
  130. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_C/_COlnL_arkOWZnYmNLFGQrjgVWIZOIGnZrV5LYllOP4.cache +3 -0
  131. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_S/_S3FZ5DdeuW2XcdvnLYfjFZ-0MhP7sbRhvGIQjyy87M.cache +1 -0
  132. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aG/aGrkF9dVFkubtXnIvZ_kEgJ-kaGCCOtZw2nZOF7BYQM.cache +2 -0
  133. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b2/b2iWoLtu1YgSEmVfG8Py57dnWPc4028NgAUpYLVwP8M.cache +3 -0
  134. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c8/c8NGPLJrGOwYYnfHCM6zIqpotl49juEf-pCrwibkIfA.cache +3 -0
  135. data/test/dummy/tmp/cache/assets/sprockets/v3.0/db/dbOQICwMxvVHo74WhUwaZ_krWuLAyC9FWYVFi3EYi64.cache +2 -0
  136. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dz/dzrkjMJU2cv7vFsVM_kWlebaKvi0hVwX5MBh4JGaVZQ.cache +0 -0
  137. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eZ/eZmtkxcD8zWwlTmMuNIQ8ohN1mNF65yxKpydpBb6EG0.cache +0 -0
  138. data/test/dummy/tmp/cache/assets/sprockets/v3.0/en/enZKX7_BXYbLay1iUItH0mID3HUiFGTPUHwDp8pvEW8.cache +1 -0
  139. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fb/fb7KUXnAajxrbaHI04zh4tF2SH7sdZ657Bhiq3sXD3w.cache +3 -0
  140. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fk/fkXthHN8eEXSenLGHVE5LbRNY_IDaymFUzzSkgPu4gc.cache +5 -0
  141. data/test/dummy/tmp/cache/assets/sprockets/v3.0/g2/g2YGG8q3Znp8HJDmvBNKvXzOSw0N7YLx0c8tmwWo41E.cache +1 -0
  142. data/test/dummy/tmp/cache/assets/sprockets/v3.0/g7/g7nzIpLeHaaI305Y_gDkIhdvrUB6L8OOGVyo_0qxCQ0.cache +3 -0
  143. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gB/gBb2UrDwoTf660QLvf3cMRkIlyMqB_Dhv--dy7V9qqg.cache +4 -0
  144. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hS/hS2z78kNWKL742oRFA2iYCpkxbFm3DKU99rnNsfv8CY.cache +0 -0
  145. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
  146. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hjeSBmoKHSPJnoOy0B2FESHA5wyW4txeU5Q_3eZB0Cg.cache +1 -0
  147. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hu/huI6bPDA-mhQ2xQX0IAH8_39y_6xjDcdZPARPyFZw6M.cache +2 -0
  148. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ii/IiC7EB9IjQhNa39duWC22zpxw0e3BxghOteX3SolBEQ.cache +1 -0
  149. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ii/iigHc6vqt9K7psybIJL1KHRE7fgsLy2CIDuaGHbArOc.cache +1 -0
  150. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iv/ivREQKqA9zJUX-Jhyfhk0O3UjpcrwIn9eQkJdoy7nXg.cache +2 -0
  151. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jO/jOjfs6GPegyizYTuhefR0hoqvJe4J-fEpcYh3YhrqJ4.cache +2 -0
  152. data/test/dummy/tmp/cache/assets/sprockets/v3.0/k2/k2-aBXrB3Ke8YR2jbXOK-KL1-gFnQZA8BMyUVq6vM28.cache +2 -0
  153. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kR/kR7RCcZe1MhK3VhrHTdVtDuyc_gWtwP_prnN__H-fmo.cache +1 -0
  154. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kx/kxSJEkFCpkpCr2l5rnTCONAK7O4ay4bebrMIrRZpWqA.cache +1 -0
  155. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lS/lSe3pxGkphIMg-nK8SjzZ8OcqeSQS2a6yQ20RYc_0dk.cache +1 -0
  156. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mI/mIwUHk88xv3gKGUw7SzpwTP3rOrMFYy75WPTed7408I.cache +3 -0
  157. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ml/mlPPQ_PuZqvyjkqOxsyxf9Z9h7EUM1nVB7S_8vdwOgs.cache +1 -0
  158. data/test/dummy/tmp/cache/assets/sprockets/v3.0/my/myACPpweGSS-gMqX0YA0w0C62H9NdKsB9jDPdQz4BIE.cache +4 -0
  159. data/test/dummy/tmp/cache/assets/sprockets/v3.0/n0/n07I1L-Uce4duFJ-hAiLY4Q8-3cVeVqyYhvmJiz1sek.cache +5 -0
  160. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nl/nlOXMwVK0UmpZ97HuC_aYsIeVoMiQ1JjoHuJ32it_GI.cache +2 -0
  161. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oK/oKy1wHj09ucP22ifneb5B76fbj7SWiM3No58wCl49M4.cache +2 -0
  162. data/test/dummy/tmp/cache/assets/sprockets/v3.0/or/orpEqlUEMffwmNrnvkPFFjHqBHcnMsztz2_rJVIrq08.cache +2 -0
  163. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
  164. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pF/pFew-CXURmC3dAcOhoao-57JVKOQZ0F274urmW3UUJs.cache +1 -0
  165. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qL/qLGDMvb5cXCVumOaFR6t4-f0ilgjiaY0Ru4jajg-xKs.cache +1 -0
  166. data/test/dummy/tmp/cache/assets/sprockets/v3.0/r5/r55LHvC-eGrLFwLE2Bw-_pHdzc_9XLvs8KR0-HtrLEk.cache +1 -0
  167. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rK/rKDjyToOy-58z-Eh8VKkPFeL_88p0z3yHHYczF1esx4.cache +1 -0
  168. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ro/roMrMIDKDgzpvUYc_8Pk6DmEIXPwfVerLyA7gjmxrwg.cache +1 -0
  169. data/test/dummy/tmp/cache/assets/sprockets/v3.0/s0/s0GtL5g52-kBCSVfyEUvdOW9w5wt4Z5sW_vQSR5zPAs.cache +1 -0
  170. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sb/sbX9VPvHha5S29JXbdIjbD3KKgXSRpjrKI9SL166z8Q.cache +0 -0
  171. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sd/sdagZgsImDr-xAlAfGYhjidRMllEzy_27c1bSUrDbnQ.cache +1 -0
  172. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tT/tTOwod4C2Nbyv-3EvABxITj2R7JJvBARNwN_NlPE32k.cache +1 -0
  173. data/test/dummy/tmp/cache/assets/sprockets/v3.0/u_/u_dsIjUu-S9yen1qOkk8zEhxGAqiauCL1xu-qxlw47g.cache +1 -0
  174. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uh/uh6Ed-bFb5Dy8KwHoRyMExaoyk1h2VuOvAawRKf5f6k.cache +1 -0
  175. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ut/utTarZyWOtD-F8RcUiTyXrS2uaYNlYtcAvxYUmecX00.cache +1 -0
  176. data/test/dummy/tmp/cache/assets/sprockets/v3.0/v_/v_F3lJ5kUDUp-DSzVPesW4SNq1jbWVZOH5Ih_rB3O1w.cache +1 -0
  177. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vf/vfzPLinMXzNAV9xSXrpnepBKEASknUfSg-D1wvSNa58.cache +2 -0
  178. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vu/vu3zBrNTODffz7MuVyx2zNiieVqB19BQbq14C-3ZxBg.cache +1 -0
  179. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wB/wBk66I_z5OAYQx44c6RAhS62-qRx6w1iNSbTV3SnomU.cache +1 -0
  180. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wE/wE8gMdwbbEsDgcXYGv3snKuG7vfYoMWthYSw_78ppGQ.cache +1 -0
  181. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wz/wzyFAPlTzbm1ES5ryQvw5b7zeiC6tvqthmOQVKJXmRM.cache +1 -0
  182. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xE/xE-cFLL16zfAjmMhOsTo5TR9iF8v1YTfY1RLOcWQaLo.cache +1 -0
  183. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xF/xFwrnVJHHrH2is1PhpFtGKCIQU6LSQkWjv8NBMhz44s.cache +1 -0
  184. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xg/xgO4MCgrxQqFOmo9IuZwbsKXtScKD7SthwwEkOCP0WI.cache +1 -0
  185. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yl/yldjfgmPuMnxRkdEgAWpMwad9_XBl3cChXmwWH2wmvA.cache +1 -0
  186. data/test/dummy/tmp/cache/assets/sprockets/v3.0/z2/z210K89_gqm16e59Z2LTKG3dD-fZGXySmIJoKr7Of18.cache +2 -0
  187. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zB/zByJ2MZFhhrJXoP0yxjtSZCBIn7H4q_F6Cg3s_dZn10.cache +5 -0
  188. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zU/zUVLlkpK0OEVkxk0BCotALBfwznhOtcvqMY8r8swJlo.cache +4 -0
  189. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zr/zrcX7wj8jDf-xZsAQ4Zdkv0Em_gr_6kO1Scvnj8DY0Q.cache +0 -0
  190. data/test/dummy/tmp/capybara/capybara-201610151235015736431907.html +19 -0
  191. data/test/dummy/tmp/capybara/capybara-201610151235481241682092.html +19 -0
  192. data/test/dummy/tmp/capybara/capybara-201610151236295081749283.html +19 -0
  193. data/test/dummy/tmp/capybara/capybara-201610151244534761297004.html +19 -0
  194. data/test/dummy/tmp/capybara/capybara-201610151247561020613886.html +19 -0
  195. data/test/dummy/tmp/capybara/capybara-201610151250216013032317.html +19 -0
  196. data/test/dummy/tmp/capybara/capybara-201610151253307213325474.html +32 -0
  197. data/test/dummy/tmp/capybara/capybara-201610151254071357816674.html +32 -0
  198. data/test/dummy/tmp/capybara/capybara-201610151254331207742056.html +19 -0
  199. data/test/dummy/tmp/capybara/capybara-201610151255247991085105.html +19 -0
  200. data/test/dummy/tmp/capybara/capybara-201610151259365054254918.html +19 -0
  201. data/test/dummy/tmp/capybara/capybara-201610151555033967150779.html +19 -0
  202. data/test/dummy/tmp/capybara/capybara-201610151600114731287846.html +19 -0
  203. data/test/dummy/tmp/capybara/capybara-201610151607304598904430.html +19 -0
  204. data/test/dummy/tmp/capybara/capybara-201610151608364573846650.html +19 -0
  205. data/test/dummy/tmp/capybara/capybara-201610151609309699514344.html +19 -0
  206. data/test/dummy/tmp/capybara/capybara-20161016123203375038998.html +19 -0
  207. data/test/dummy/tmp/capybara/capybara-201610161248574906626986.html +19 -0
  208. data/test/dummy/tmp/capybara/capybara-201610161252592076720975.html +19 -0
  209. data/test/dummy/tmp/capybara/capybara-201610161254117292204591.html +19 -0
  210. data/test/dummy/tmp/capybara/capybara-201610161255378850242089.html +19 -0
  211. data/test/dummy/tmp/capybara/capybara-201610211450328279801348.html +19 -0
  212. data/test/dummy/tmp/capybara/capybara-201610211457492054770742.html +19 -0
  213. data/test/dummy_integration_test.rb +28 -0
  214. data/test/scavenger_test.rb +32 -0
  215. data/test/svg/hejsna.svg +16 -0
  216. data/test/svg/thing.svg +31 -0
  217. data/test/test_helper.rb +34 -0
  218. metadata +525 -0
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><defs></defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><defs><rect x="0" y="1" width="185" height="68" rx="8"></rect><mask maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use href="#path-1" uid="" id=""></use></mask><text font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1" uid="Rectangle" id="Rectangle"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3" uid="" id=""></use><use href="#text-3" uid="" id=""></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,32 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><defs></defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><defs>
12
+ <rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect>
13
+ <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white">
14
+ <use href="#path-1"></use>
15
+ </mask>
16
+ <text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF">
17
+ <tspan x="24.5898438" y="37">LOL</tspan>
18
+ </text>
19
+ <filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4">
20
+ <feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
21
+ <feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
22
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
23
+ </filter>
24
+ </defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
25
+
26
+ <h1>Test</h1>
27
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
28
+ <svg class="thing"><use xlink:href="#thing"/></svg>
29
+
30
+
31
+ </body>
32
+ </html>
@@ -0,0 +1,32 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><defs></defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><defs>
12
+ <rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect>
13
+ <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white">
14
+ <use href="#path-1"></use>
15
+ </mask>
16
+ <text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF">
17
+ <tspan x="24.5898438" y="37">LOL</tspan>
18
+ </text>
19
+ <filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4">
20
+ <feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset>
21
+ <feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur>
22
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix>
23
+ </filter>
24
+ </defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
25
+
26
+ <h1>Test</h1>
27
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
28
+ <svg class="thing"><use xlink:href="#thing"/></svg>
29
+
30
+
31
+ </body>
32
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><defs></defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><defs><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use xlink:href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" xlink:href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" xlink:href="#text-3"></use><use xlink:href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use xlink:href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" xlink:href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" xlink:href="#text-3"></use><use xlink:href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use xlink:href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" xlink:href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" xlink:href="#text-3"></use><use xlink:href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use xlink:href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" xlink:href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" xlink:href="#text-3"></use><use xlink:href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use xlink:href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" xlink:href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" xlink:href="#text-3"></use><use xlink:href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g><rect id="path-1" x="0" y="1" width="185" height="68" rx="8"></rect><mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="185" height="68" fill="white"><use xlink:href="#path-1"></use></mask><text id="text-3" font-family="Oxygen-Regular, Oxygen" font-size="20" font-weight="normal" fill="#FFFFFF"><tspan x="24.5898438" y="37">LOL</tspan></text><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-4"><feOffset dx="0" dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feGaussianBlur stdDeviation="2" in="shadowOffsetOuter1" result="shadowBlurOuter1"></feGaussianBlur><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" type="matrix" in="shadowBlurOuter1"></feColorMatrix></filter></g><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" xlink:href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" xlink:href="#text-3"></use><use xlink:href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="hejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="thing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <link rel="stylesheet" media="all" href="/assets/application-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css" data-turbolinks-track="true" />
6
+ <script src="/assets/application-f9d8e5ce8f528d997d58156ff5f8c1d4b0741ac22b367a6a6294b3c7e9758e96.js" data-turbolinks-track="true"></script>
7
+
8
+ </head>
9
+ <body>
10
+
11
+ <svg style="display:none;"><symbol viewBox="0 0 173 173" id="hejsna" preserveAspectRatio="xMinYMin meet"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(1.000000, 1.000000)"><circle stroke="#979797" fill="#D8D8D8" cx="85.5" cy="85.5" r="85.5"></circle><path d="M83.5,117.5 L83.5,51.5" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><path d="M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z" stroke="#A80C0C" stroke-linecap="square" fill="#A80C0C"></path><polygon stroke="#979797" fill="#D8D8D8" points="39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544"></polygon><polygon fill="#EB8D8D" points="125 56 154 114 96 114"></polygon></g></g></symbol><symbol viewBox="0 0 185 69" id="thing" preserveAspectRatio="xMinYMin meet"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><use stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" href="#path-1"></use><path d="M1.5,0.5 L179.5,64.5" stroke="#979797" stroke-linecap="square"></path><path d="M180.5,4.5 L8.5,64.5" stroke="#979797" stroke-linecap="square"></path><g fill-opacity="1" fill="#FFFFFF"><use filter="url(#filter-4)" href="#text-3"></use><use href="#text-3"></use></g></g></g></symbol></svg>
12
+
13
+ <h1>Test</h1>
14
+ <svg class="xMaxYMax meethejsna"><use xlink:href="#hejsna"/></svg>
15
+ <svg class="xMaxYMax meetthing"><use xlink:href="#thing"/></svg>
16
+
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,28 @@
1
+ require "test_helper"
2
+
3
+ class DummyIntegrationTest < ActionDispatch::IntegrationTest
4
+ def test_svg_helper_and_sheet
5
+ visit("/")
6
+ assert page.has_css?("svg symbol#hejsna")
7
+ assert page.has_css?("svg.hejsna")
8
+ end
9
+
10
+ def test_prefix
11
+ Scavenger::Config.class_prefix = "icon-"
12
+ visit("/")
13
+ assert page.has_selector?("svg.icon-hejsna")
14
+ Scavenger::Config.class_prefix = nil
15
+ end
16
+
17
+ def test_default_aspect_ratio
18
+ visit("/")
19
+ assert page.has_css?("#hejsna[preserveaspectratio='xMinYMin meet']")
20
+ end
21
+
22
+ def test_configured_aspect_ratio
23
+ Scavenger::Config.aspect_ratio = "xMaxYMax meet"
24
+ visit("/")
25
+ assert page.has_css?("#hejsna[preserveaspectratio='xMaxYMax meet']")
26
+ Scavenger::Config.aspect_ratio = "xMinYMin meet"
27
+ end
28
+ end
@@ -0,0 +1,32 @@
1
+ require "test_helper"
2
+
3
+ class ScavengerTest < ActiveSupport::TestCase
4
+ def setup
5
+ @sprite_path = "test/dummy/app/assets/images/sprite.svg"
6
+ @compressor = Scavenger::Compressor.new("./test/svg")
7
+ end
8
+
9
+ def teardown
10
+ File.delete(@sprite_path) if File.exist?(@sprite_path)
11
+ end
12
+
13
+ def test_has_version_number
14
+ refute_nil ::Scavenger::VERSION
15
+ end
16
+
17
+ def test_can_compress_directory
18
+ expected_output = "<symbol viewBox=\"0 0 173 173\" id=\"hejsna\" preserveAspectRatio=\"xMinYMin meet\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g transform=\"translate(1.000000, 1.000000)\"><circle stroke=\"#979797\" fill=\"#D8D8D8\" cx=\"85.5\" cy=\"85.5\" r=\"85.5\"></circle><path d=\"M83.5,117.5 L83.5,51.5\" stroke=\"#A80C0C\" stroke-linecap=\"square\" fill=\"#A80C0C\"></path><path d=\"M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z\" stroke=\"#A80C0C\" stroke-linecap=\"square\" fill=\"#A80C0C\"></path><polygon stroke=\"#979797\" fill=\"#D8D8D8\" points=\"39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544\"></polygon><polygon fill=\"#EB8D8D\" points=\"125 56 154 114 96 114\"></polygon></g></g></symbol>"
19
+ expected_output += "<symbol viewBox=\"0 0 185 69\" id=\"thing\" preserveAspectRatio=\"xMinYMin meet\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g><use stroke=\"#979797\" mask=\"url(#mask-2)\" stroke-width=\"2\" fill=\"#D8D8D8\" href=\"#path-1\"></use><path d=\"M1.5,0.5 L179.5,64.5\" stroke=\"#979797\" stroke-linecap=\"square\"></path><path d=\"M180.5,4.5 L8.5,64.5\" stroke=\"#979797\" stroke-linecap=\"square\"></path><g fill-opacity=\"1\" fill=\"#FFFFFF\"><use filter=\"url(#filter-4)\" href=\"#text-3\"></use><use href=\"#text-3\"></use></g></g></g></symbol>"
20
+ assert_equal expected_output, @compressor.compress_dir
21
+ end
22
+
23
+ def test_can_compress_file
24
+ expected_output = "<symbol viewBox=\"0 0 173 173\" id=\"hejsna\" preserveAspectRatio=\"xMinYMin meet\"><g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g transform=\"translate(1.000000, 1.000000)\"><circle stroke=\"#979797\" fill=\"#D8D8D8\" cx=\"85.5\" cy=\"85.5\" r=\"85.5\"></circle><path d=\"M83.5,117.5 L83.5,51.5\" stroke=\"#A80C0C\" stroke-linecap=\"square\" fill=\"#A80C0C\"></path><path d=\"M83.5,51.5 L80.5,62.3 L86.5,62.3 L83.5,51.5 Z\" stroke=\"#A80C0C\" stroke-linecap=\"square\" fill=\"#A80C0C\"></path><polygon stroke=\"#979797\" fill=\"#D8D8D8\" points=\"39 92 20.1908719 101.888544 23.7830957 80.9442719 8.56619148 66.1114562 29.595436 63.0557281 39 44 48.404564 63.0557281 69.4338085 66.1114562 54.2169043 80.9442719 57.8091281 101.888544\"></polygon><polygon fill=\"#EB8D8D\" points=\"125 56 154 114 96 114\"></polygon></g></g></symbol>"
25
+ assert_equal expected_output, @compressor.compress_file("./test/svg/hejsna.svg", "hejsna.svg")
26
+ end
27
+
28
+ def test_creates_sprite_file
29
+ @compressor.compress_dir
30
+ assert File.exist?(@sprite_path)
31
+ end
32
+ end