trusty-clipped-extension 2.0.13 → 2.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +31 -21
  3. data/app/assets/images/admin/add.png +0 -0
  4. data/app/assets/images/admin/archive_icon.png +0 -0
  5. data/app/assets/images/admin/audio_icon.png +0 -0
  6. data/app/assets/images/admin/audio_thumbnail.png +0 -0
  7. data/app/assets/images/admin/c_icon.png +0 -0
  8. data/app/assets/images/admin/copy.png +0 -0
  9. data/app/assets/images/admin/css_icon.png +0 -0
  10. data/app/assets/images/admin/database_icon.png +0 -0
  11. data/app/assets/images/admin/delete.png +0 -0
  12. data/app/assets/images/admin/document_icon.png +0 -0
  13. data/app/assets/images/admin/document_thumbnail.png +0 -0
  14. data/app/assets/images/admin/flash_icon.png +0 -0
  15. data/app/assets/images/admin/flash_thumbnail.png +0 -0
  16. data/app/assets/images/admin/font_icon.png +0 -0
  17. data/app/assets/images/admin/gzip_icon.png +0 -0
  18. data/app/assets/images/admin/html_icon.png +0 -0
  19. data/app/assets/images/admin/image_icon.png +0 -0
  20. data/app/assets/images/admin/image_thumbnail.png +0 -0
  21. data/app/assets/images/admin/java_icon.png +0 -0
  22. data/app/assets/images/admin/page_edit.png +0 -0
  23. data/app/assets/images/admin/pdf_icon.png +0 -0
  24. data/app/assets/images/admin/pdf_thumbnail.png +0 -0
  25. data/app/assets/images/admin/perl_icon.png +0 -0
  26. data/app/assets/images/admin/php_icon.png +0 -0
  27. data/app/assets/images/admin/presentation_icon.png +0 -0
  28. data/app/assets/images/admin/python_icon.png +0 -0
  29. data/app/assets/images/admin/ruby_icon.png +0 -0
  30. data/app/assets/images/admin/script_icon.png +0 -0
  31. data/app/assets/images/admin/spreadsheet_icon.png +0 -0
  32. data/app/assets/images/admin/tar_icon.png +0 -0
  33. data/app/assets/images/admin/unknown_icon.png +0 -0
  34. data/app/assets/images/admin/unknown_thumbnail.png +0 -0
  35. data/app/assets/images/admin/video_icon.png +0 -0
  36. data/app/assets/images/admin/video_thumbnail.png +0 -0
  37. data/app/assets/images/admin/xml_icon.png +0 -0
  38. data/app/assets/images/admin/zip_icon.png +0 -0
  39. data/app/controllers/admin/assets_controller.rb +9 -0
  40. data/app/models/asset_type.rb +23 -25
  41. data/config/initializers/kraken.rb +7 -0
  42. data/lib/trusty-clipped-extension.rb +1 -1
  43. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
  44. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sass/00c1d7fe0cec57e42ea26421d7f3efae8aea343e/_base.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sass/00c1d7fe0cec57e42ea26421d7f3efae8aea343e/main.scssc +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sass/161445108ec77cc10c991314002bd9ff2cbf2a7c/_boxes.scssc +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sass/161445108ec77cc10c991314002bd9ff2cbf2a7c/_gradients.scssc +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sass/161445108ec77cc10c991314002bd9ff2cbf2a7c/_links.scssc +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sass/2b2b2b1a850f732308f37fbeaaad56db5870e9bf/_bullets.scssc +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sass/2b2b2b1a850f732308f37fbeaaad56db5870e9bf/_horizontal-list.scssc +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sass/2b2b2b1a850f732308f37fbeaaad56db5870e9bf/_inline-block-list.scssc +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sass/2b2b2b1a850f732308f37fbeaaad56db5870e9bf/_inline-list.scssc +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_actions.scssc +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_avatars.scssc +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_content.scssc +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_dateinput.scssc +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_deprecated.scssc +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_dropdown.scssc +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_footer.scssc +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_forms.scssc +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_header.scssc +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_index.scssc +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_jquery-ui-structure.scssc +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_jquery-ui-theme.scssc +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_jquery-ui.scssc +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_layout.scssc +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_messages.scssc +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_popup.scssc +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_tabcontrol.scssc +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_toolbar.scssc +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_treetable.scssc +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_typography.scssc +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sass/377fc08964700639bb196f8d9a1f658f19c03d3e/_validations.scssc +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sass/3af4f07233377fb2220b0071491eaa80ff5d8000/_brightness.scssc +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sass/3af4f07233377fb2220b0071491eaa80ff5d8000/_contrast.scssc +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sass/3c619ec8bd0f956f52e0dbf7bd40c8e0044fa562/_css3.scssc +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sass/3c619ec8bd0f956f52e0dbf7bd40c8e0044fa562/_reset.scssc +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sass/3c619ec8bd0f956f52e0dbf7bd40c8e0044fa562/_support.scssc +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sass/3c619ec8bd0f956f52e0dbf7bd40c8e0044fa562/_typography.scssc +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sass/3c619ec8bd0f956f52e0dbf7bd40c8e0044fa562/_utilities.scssc +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sass/491c7ec91d6285cb82bdfad307655f7a155caccf/_clearfix.scssc +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sass/491c7ec91d6285cb82bdfad307655f7a155caccf/_float.scssc +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sass/491c7ec91d6285cb82bdfad307655f7a155caccf/_hacks.scssc +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sass/491c7ec91d6285cb82bdfad307655f7a155caccf/_min.scssc +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sass/491c7ec91d6285cb82bdfad307655f7a155caccf/_reset.scssc +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sass/491c7ec91d6285cb82bdfad307655f7a155caccf/_tag-cloud.scssc +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sass/4e839efbc212db499fd273df52dfe7fb3616cf6e/_boxes.scssc +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sass/4e839efbc212db499fd273df52dfe7fb3616cf6e/_gradients.scssc +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sass/4e839efbc212db499fd273df52dfe7fb3616cf6e/_links.scssc +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sass/60366f0283ce5c513b3422b417a3b612afca826a/_alternating-rows-and-columns.scssc +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sass/60366f0283ce5c513b3422b417a3b612afca826a/_borders.scssc +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sass/60366f0283ce5c513b3422b417a3b612afca826a/_scaffolding.scssc +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sass/7378a27e4e6a0f3833baa483b22da4bc7d8db58d/_base.scssc +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sass/7378a27e4e6a0f3833baa483b22da4bc7d8db58d/_sprite-img.scssc +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sass/7f826e515402b0eb5554d3ee905bb40f9e763ecc/_links.scssc +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sass/7f826e515402b0eb5554d3ee905bb40f9e763ecc/_lists.scssc +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sass/7f826e515402b0eb5554d3ee905bb40f9e763ecc/_text.scssc +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sass/7f826e515402b0eb5554d3ee905bb40f9e763ecc/_units.scssc +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sass/7f826e515402b0eb5554d3ee905bb40f9e763ecc/_vertical_rhythm.scssc +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sass/813be4c13e9a8b3b8973ef94901d8c1f35789f8b/_base.scssc +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sass/813be4c13e9a8b3b8973ef94901d8c1f35789f8b/main.scssc +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sass/820da7483b189107308db63a7de55ba0110182f8/_grid-background.scssc +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sass/9cef5c95ccb846e891f1b71c243d96af76415c28/_color.scssc +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sass/9cef5c95ccb846e891f1b71c243d96af76415c28/_general.scssc +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sass/9cef5c95ccb846e891f1b71c243d96af76415c28/_sprites.scssc +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sass/9cef5c95ccb846e891f1b71c243d96af76415c28/_tables.scssc +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_actions.scssc +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_avatars.scssc +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_content.scssc +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_dateinput.scssc +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_deprecated.scssc +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_dropdown.scssc +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_footer.scssc +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_forms.scssc +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_header.scssc +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_index.scssc +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_jquery-ui-structure.scssc +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_jquery-ui-theme.scssc +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_jquery-ui.scssc +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_layout.scssc +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_messages.scssc +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_popup.scssc +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_tabcontrol.scssc +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_toolbar.scssc +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_treetable.scssc +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_typography.scssc +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sass/aa50969a488d3906643edc39d426a6b429592efd/_validations.scssc +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sass/b56efc8928ee5e9a59d48ec79d9c61d4c19f08c0/_hover-link.scssc +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sass/b56efc8928ee5e9a59d48ec79d9c61d4c19f08c0/_link-colors.scssc +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sass/b56efc8928ee5e9a59d48ec79d9c61d4c19f08c0/_unstyled-link.scssc +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sass/c5cf56cd5231319625e0b0ab47cc9b2cbfb36d91/_ellipsis.scssc +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sass/c5cf56cd5231319625e0b0ab47cc9b2cbfb36d91/_force-wrap.scssc +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sass/c5cf56cd5231319625e0b0ab47cc9b2cbfb36d91/_nowrap.scssc +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sass/c5cf56cd5231319625e0b0ab47cc9b2cbfb36d91/_replacement.scssc +0 -0
  136. data/spec/dummy/tmp/cache/assets/test/sass/cdda22d0d67e250f825202b668087c57f8ccf3da/_utilities.scssc +0 -0
  137. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_animation.scssc +0 -0
  138. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_appearance.scssc +0 -0
  139. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_background-clip.scssc +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_background-origin.scssc +0 -0
  141. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_background-size.scssc +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_border-radius.scssc +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_box-shadow.scssc +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_box-sizing.scssc +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_columns.scssc +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_deprecated-support.scssc +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_filter.scssc +0 -0
  148. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_flexbox.scssc +0 -0
  149. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_font-face.scssc +0 -0
  150. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_hyphenation.scssc +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_images.scssc +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_inline-block.scssc +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_opacity.scssc +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_regions.scssc +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_text-shadow.scssc +0 -0
  156. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_transform.scssc +0 -0
  157. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_transition.scssc +0 -0
  158. data/spec/dummy/tmp/cache/assets/test/sass/d50a95da6fd9146b3d31e5dd0600feccfb448ac4/_user-interface.scssc +0 -0
  159. data/spec/dummy/tmp/cache/assets/test/sass/eb49789eb28889545bb126fdb0f358051776b5eb/_compass.scssc +0 -0
  160. data/spec/dummy/tmp/cache/assets/test/sprockets/012c3512c77885551ad5bfea522f49b8 +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sprockets/02af6a459757837178ec308b1596a31f +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/04a667e17720e1d643d8e27a8fb57b30 +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/04ed0cbeda6bcb870fb5afcb368cd682 +0 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/053d1391ff3e3e26694d008c35b92979 +0 -0
  165. data/spec/dummy/tmp/cache/assets/test/sprockets/060dc6d0cf2f1f07c70b8dd769f549fc +0 -0
  166. data/spec/dummy/tmp/cache/assets/test/sprockets/0698448a39ad3b2009af62bff7bdca20 +0 -0
  167. data/spec/dummy/tmp/cache/assets/test/sprockets/0d12f19964de3c7a1b7534d2db02dc62 +0 -0
  168. data/spec/dummy/tmp/cache/assets/test/sprockets/0d967ab4e3f64deb6cdc00ef5867bc2b +0 -0
  169. data/spec/dummy/tmp/cache/assets/test/sprockets/11a30c56188640893ffebfb76c5ac23a +0 -0
  170. data/spec/dummy/tmp/cache/assets/test/sprockets/154f66b27ed8e71d2334a710c11469cf +0 -0
  171. data/spec/dummy/tmp/cache/assets/test/sprockets/186fd4af94e7c849c819ddd83fbe30fa +0 -0
  172. data/spec/dummy/tmp/cache/assets/test/sprockets/1da87ef6f3f9818381095a73d04243cc +0 -0
  173. data/spec/dummy/tmp/cache/assets/test/sprockets/1e93dcf0dfe745cd8121ca893fac5ba4 +0 -0
  174. data/spec/dummy/tmp/cache/assets/test/sprockets/1fdab2d59e7eca0bff0d7783ff37e031 +0 -0
  175. data/spec/dummy/tmp/cache/assets/test/sprockets/209b35b7fcbb8225bf98037dcbec1bbd +0 -0
  176. data/spec/dummy/tmp/cache/assets/test/sprockets/233868950d6e7df39f8cfa84adebe086 +0 -0
  177. data/spec/dummy/tmp/cache/assets/test/sprockets/24325a2367d86662059ec37241b10b68 +0 -0
  178. data/spec/dummy/tmp/cache/assets/test/sprockets/293947389b27a50863a978b7988dbef3 +0 -0
  179. data/spec/dummy/tmp/cache/assets/test/sprockets/2f626a0df791718198d2770c6dcff3cb +0 -0
  180. data/spec/dummy/tmp/cache/assets/test/sprockets/3078e8bd1d7e89ec258b23f53771580a +0 -0
  181. data/spec/dummy/tmp/cache/assets/test/sprockets/311d67b8b844e3c89993a330963d6c09 +0 -0
  182. data/spec/dummy/tmp/cache/assets/test/sprockets/36b7d1859faad834a26eb09bc0ef2abf +0 -0
  183. data/spec/dummy/tmp/cache/assets/test/sprockets/37a4944d43eb2943295a12bbb2088585 +0 -0
  184. data/spec/dummy/tmp/cache/assets/test/sprockets/38d0f5afa9efb241f6227c6d73daaa0f +0 -0
  185. data/spec/dummy/tmp/cache/assets/test/sprockets/395fdd6aec4cc0613420783173073db9 +0 -0
  186. data/spec/dummy/tmp/cache/assets/test/sprockets/39d818cadf3fcc4732e61eb385e9e830 +0 -0
  187. data/spec/dummy/tmp/cache/assets/test/sprockets/39f7dd0bc6b42c931ca31188da4635a1 +0 -0
  188. data/spec/dummy/tmp/cache/assets/test/sprockets/3b6b8682c1aa256e790a3e68d592fba0 +0 -0
  189. data/spec/dummy/tmp/cache/assets/test/sprockets/3c9d47f442cbaf5615dbf304733ef339 +0 -0
  190. data/spec/dummy/tmp/cache/assets/test/sprockets/3cb4459330c64dae73993ab915bbcf61 +0 -0
  191. data/spec/dummy/tmp/cache/assets/test/sprockets/3dee5553f5bb70dfd2bebd77de26cc4f +0 -0
  192. data/spec/dummy/tmp/cache/assets/test/sprockets/3def878df6611c6bff935d718030a702 +0 -0
  193. data/spec/dummy/tmp/cache/assets/test/sprockets/40cddbff1f5973ecbdff1e54034b01ad +0 -0
  194. data/spec/dummy/tmp/cache/assets/test/sprockets/417923f73587ee5961d7edaf11f3e2b3 +0 -0
  195. data/spec/dummy/tmp/cache/assets/test/sprockets/43a4e646e99c4ffd18c13100b92136ca +0 -0
  196. data/spec/dummy/tmp/cache/assets/test/sprockets/443aaf47ab0244534c36c6d241b737a2 +0 -0
  197. data/spec/dummy/tmp/cache/assets/test/sprockets/447ae292854503654d4e87856940f972 +0 -0
  198. data/spec/dummy/tmp/cache/assets/test/sprockets/4656fbe4c3d46270c6dc11c7768183b1 +0 -0
  199. data/spec/dummy/tmp/cache/assets/test/sprockets/469198f3ebe602ede1246c06694e4911 +0 -0
  200. data/spec/dummy/tmp/cache/assets/test/sprockets/48f8bf7e70666ac46ced372a2a10cee5 +0 -0
  201. data/spec/dummy/tmp/cache/assets/test/sprockets/492f3a9577cfcc12077c18c29759b19f +0 -0
  202. data/spec/dummy/tmp/cache/assets/test/sprockets/496cf5d9976cb57ca63ecb0ad8250c1c +0 -0
  203. data/spec/dummy/tmp/cache/assets/test/sprockets/4b023a60bd9fd4dfb40d9e5fd3919560 +0 -0
  204. data/spec/dummy/tmp/cache/assets/test/sprockets/4bc41990e4ec7bbe19a496787aaa67be +0 -0
  205. data/spec/dummy/tmp/cache/assets/test/sprockets/4cd3aed207d4b96092eb8fff74cae7b2 +0 -0
  206. data/spec/dummy/tmp/cache/assets/test/sprockets/4dbb298ad719271f4be9ea123f75c3cf +0 -0
  207. data/spec/dummy/tmp/cache/assets/test/sprockets/4ddf23ad0e670d0eae6b6d1349fb9531 +0 -0
  208. data/spec/dummy/tmp/cache/assets/test/sprockets/4e06e27ab249179877d2eb4bcccaecaf +0 -0
  209. data/spec/dummy/tmp/cache/assets/test/sprockets/561dcf3922c1a70b535960d57df0c142 +0 -0
  210. data/spec/dummy/tmp/cache/assets/test/sprockets/56eb9a27d9e84264c3b22eedefe5d06c +0 -0
  211. data/spec/dummy/tmp/cache/assets/test/sprockets/59f0cb289330013609889c1f07eb68a3 +0 -0
  212. data/spec/dummy/tmp/cache/assets/test/sprockets/5a9107007031f0de1e83d55658d09848 +0 -0
  213. data/spec/dummy/tmp/cache/assets/test/sprockets/5fd7998e11963db842f82822b28340d8 +0 -0
  214. data/spec/dummy/tmp/cache/assets/test/sprockets/61d1ba3ea783ac36d1f8340f61487e03 +0 -0
  215. data/spec/dummy/tmp/cache/assets/test/sprockets/636f9bdad9ea9a290d667a4a96a4648b +0 -0
  216. data/spec/dummy/tmp/cache/assets/test/sprockets/63b1b7d0ddc5d7131efefe8b9ce8ef23 +0 -0
  217. data/spec/dummy/tmp/cache/assets/test/sprockets/66c41b3f126dc77e1e25db5954024dbe +0 -0
  218. data/spec/dummy/tmp/cache/assets/test/sprockets/671e5fa66c42cc3c498bd2385407e375 +0 -0
  219. data/spec/dummy/tmp/cache/assets/test/sprockets/676903bf3260036e92cac04a806d9b94 +0 -0
  220. data/spec/dummy/tmp/cache/assets/test/sprockets/6a7c611bf4296a58c4e281d3e28184c1 +0 -0
  221. data/spec/dummy/tmp/cache/assets/test/sprockets/6b03f0235fc9ff096a44e7ec68e38cf9 +0 -0
  222. data/spec/dummy/tmp/cache/assets/test/sprockets/6dddc85eb021ad164bfedf66ac7f706d +0 -0
  223. data/spec/dummy/tmp/cache/assets/test/sprockets/6f44aa461af2b10a07aac2fdc2576cd8 +0 -0
  224. data/spec/dummy/tmp/cache/assets/test/sprockets/6f8d99c0eb0d52c7b263a2a948c399c1 +0 -0
  225. data/spec/dummy/tmp/cache/assets/test/sprockets/717dfc0909b67c35dc695c15b2c7cf51 +0 -0
  226. data/spec/dummy/tmp/cache/assets/test/sprockets/72f589ee7b40cd8243750fa3392c8cc1 +0 -0
  227. data/spec/dummy/tmp/cache/assets/test/sprockets/774f9a46893c60ca8351ae58fdc97c55 +0 -0
  228. data/spec/dummy/tmp/cache/assets/test/sprockets/776c48a8233f2215bfe0ccb2784d99fb +0 -0
  229. data/spec/dummy/tmp/cache/assets/test/sprockets/786a7f036e4df9efb66768cf7ce02986 +0 -0
  230. data/spec/dummy/tmp/cache/assets/test/sprockets/798b50a3d5246a1be84ea9e8c4852e39 +0 -0
  231. data/spec/dummy/tmp/cache/assets/test/sprockets/7c6d12b144d5b178a2ac9de300d9ff40 +0 -0
  232. data/spec/dummy/tmp/cache/assets/test/sprockets/7c7b2cfb2494ed893fba8993276dd6ad +0 -0
  233. data/spec/dummy/tmp/cache/assets/test/sprockets/7e5f87df1626dde6a21028d75fee3e43 +0 -0
  234. data/spec/dummy/tmp/cache/assets/test/sprockets/7e9f18f3513a55e450a15278c3441a6a +0 -0
  235. data/spec/dummy/tmp/cache/assets/test/sprockets/7ee3b0bdf99c4e63f273bd54e4b1c6cb +0 -0
  236. data/spec/dummy/tmp/cache/assets/test/sprockets/7eeeae481aa49aee88ee928db89bf054 +0 -0
  237. data/spec/dummy/tmp/cache/assets/test/sprockets/82cf3e653bd1dae443f9142710e2c004 +0 -0
  238. data/spec/dummy/tmp/cache/assets/test/sprockets/869fe68cbca4bb606781c0eda9044e39 +0 -0
  239. data/spec/dummy/tmp/cache/assets/test/sprockets/882d1d7b0b546831d6a9ca6df2dcfb04 +0 -0
  240. data/spec/dummy/tmp/cache/assets/test/sprockets/8918106fef53e11f60fbb63bceb89951 +0 -0
  241. data/spec/dummy/tmp/cache/assets/test/sprockets/8d1cfb5492fe732a93080159140ece21 +0 -0
  242. data/spec/dummy/tmp/cache/assets/test/sprockets/8e662f1325ed7dedd4613a592bc7b68c +0 -0
  243. data/spec/dummy/tmp/cache/assets/test/sprockets/9119ef2fb9b4f438a3e387688f14adde +0 -0
  244. data/spec/dummy/tmp/cache/assets/test/sprockets/912e65d7006516a4616481c3921f7bb2 +0 -0
  245. data/spec/dummy/tmp/cache/assets/test/sprockets/921254f13aa8e5167faaf54009554404 +0 -0
  246. data/spec/dummy/tmp/cache/assets/test/sprockets/9497e0db5fe0b57129e37df3696a4ac8 +0 -0
  247. data/spec/dummy/tmp/cache/assets/test/sprockets/95f9511a677cd0191ae97a38bee41c4b +0 -0
  248. data/spec/dummy/tmp/cache/assets/test/sprockets/96e84f156f4d5b8a98d677678fb40b62 +0 -0
  249. data/spec/dummy/tmp/cache/assets/test/sprockets/98236e0d8900c7f3a8b1d4c1afc0acfc +0 -0
  250. data/spec/dummy/tmp/cache/assets/test/sprockets/a01b9db4659f0ca25a54c07a2e1d0de7 +0 -0
  251. data/spec/dummy/tmp/cache/assets/test/sprockets/a484fe70d0924b1aec7315333bed097e +0 -0
  252. data/spec/dummy/tmp/cache/assets/test/sprockets/a5cd6038aa85d4a8990fd10c3c46ecb9 +0 -0
  253. data/spec/dummy/tmp/cache/assets/test/sprockets/a5fc73b7091b2e0201951fa310ac283e +0 -0
  254. data/spec/dummy/tmp/cache/assets/test/sprockets/a6938da7a9d54ff7ef474fb6e15a6e06 +0 -0
  255. data/spec/dummy/tmp/cache/assets/test/sprockets/ace63f54aabb9a77d2e89c8f5e1cb944 +0 -0
  256. data/spec/dummy/tmp/cache/assets/test/sprockets/acfb05f354f12b1a0d2f4cebcb6a84e9 +0 -0
  257. data/spec/dummy/tmp/cache/assets/test/sprockets/b3fc998bdb833107c8136ed76b63ef4d +0 -0
  258. data/spec/dummy/tmp/cache/assets/test/sprockets/b70b1277ecaa6cce9fc860341f150d8b +0 -0
  259. data/spec/dummy/tmp/cache/assets/test/sprockets/b8d56db0884942bf9cb2c09f3c184bbf +0 -0
  260. data/spec/dummy/tmp/cache/assets/test/sprockets/bad99db66bbfe31d0b6c53e871333fa3 +0 -0
  261. data/spec/dummy/tmp/cache/assets/test/sprockets/bb49ab19b59ddeb628094d0064f7c7e0 +0 -0
  262. data/spec/dummy/tmp/cache/assets/test/sprockets/bc2aea949fe68f412c23aed1439b5904 +0 -0
  263. data/spec/dummy/tmp/cache/assets/test/sprockets/bc4ab966642c0627897bb1b16c6b12f4 +0 -0
  264. data/spec/dummy/tmp/cache/assets/test/sprockets/bdc4532fb794497d25dc93354db299fa +0 -0
  265. data/spec/dummy/tmp/cache/assets/test/sprockets/be1d10356455b90fb79eed00a4acea65 +0 -0
  266. data/spec/dummy/tmp/cache/assets/test/sprockets/c1f86bf21d1458ab600b29942cf59150 +0 -0
  267. data/spec/dummy/tmp/cache/assets/test/sprockets/c2bead675c7a540d432966fcd08d1b52 +0 -0
  268. data/spec/dummy/tmp/cache/assets/test/sprockets/c31194988db259d25c2bbb80f52d34eb +0 -0
  269. data/spec/dummy/tmp/cache/assets/test/sprockets/c3d4c07e87155705447caebbc230ef3f +0 -0
  270. data/spec/dummy/tmp/cache/assets/test/sprockets/c4d9b6e9f51ecf8bace9eaaf9323eedb +0 -0
  271. data/spec/dummy/tmp/cache/assets/test/sprockets/c528c240dc662f51e7f1757f84cde41a +0 -0
  272. data/spec/dummy/tmp/cache/assets/test/sprockets/c7abeed3c49f309a49098fb1be763f87 +0 -0
  273. data/spec/dummy/tmp/cache/assets/test/sprockets/c80b92bc4ad0477ba0e9c1f027e17b4e +0 -0
  274. data/spec/dummy/tmp/cache/assets/test/sprockets/ca007158c792dde4dccf06309fd044e6 +0 -0
  275. data/spec/dummy/tmp/cache/assets/test/sprockets/cb61af13ad81067226850fbb31efdeba +0 -0
  276. data/spec/dummy/tmp/cache/assets/test/sprockets/ccf57fb53c40a6f852d5168a7824805a +0 -0
  277. data/spec/dummy/tmp/cache/assets/test/sprockets/ccf863d8f6cb1b1a873e0a2a1caba6c5 +0 -0
  278. data/spec/dummy/tmp/cache/assets/test/sprockets/cd9c5041780fe48977f2e3ef97ef72a7 +0 -0
  279. data/spec/dummy/tmp/cache/assets/test/sprockets/ce6b9ea1bfaf8d099ebb7ab3a1436ea6 +0 -0
  280. data/spec/dummy/tmp/cache/assets/test/sprockets/d088e150f621edba6e5226007e65a494 +0 -0
  281. data/spec/dummy/tmp/cache/assets/test/sprockets/d1468a0679c64da269101369cd1cc120 +0 -0
  282. data/spec/dummy/tmp/cache/assets/test/sprockets/d3dd9eb333fff41e3abc244cb5642a1a +0 -0
  283. data/spec/dummy/tmp/cache/assets/test/sprockets/d4123e9997bde704d3e238399f357796 +0 -0
  284. data/spec/dummy/tmp/cache/assets/test/sprockets/d52e21dc37c0df67b28e747a7efc9799 +0 -0
  285. data/spec/dummy/tmp/cache/assets/test/sprockets/d717337ad8ee148546701c49423e2e12 +0 -0
  286. data/spec/dummy/tmp/cache/assets/test/sprockets/d79d6f2b00edfdecf2a3fa3759479e78 +0 -0
  287. data/spec/dummy/tmp/cache/assets/test/sprockets/d8dcede44c2ba6ad797a751c952adbd1 +0 -0
  288. data/spec/dummy/tmp/cache/assets/test/sprockets/d967e2241978bbccbc089cfec8812d67 +0 -0
  289. data/spec/dummy/tmp/cache/assets/test/sprockets/dad03624faddc28d3500354d530594aa +0 -0
  290. data/spec/dummy/tmp/cache/assets/test/sprockets/dc2b6e1d4ce44486ff02f23ff358ed0f +0 -0
  291. data/spec/dummy/tmp/cache/assets/test/sprockets/dcb64c8f00145cd8b68015fb5f1dfd3f +0 -0
  292. data/spec/dummy/tmp/cache/assets/test/sprockets/df069799e487e244f443dc4d181b6832 +0 -0
  293. data/spec/dummy/tmp/cache/assets/test/sprockets/df62d122dd541e401466d6f659091a43 +0 -0
  294. data/spec/dummy/tmp/cache/assets/test/sprockets/e19dc6e499cbea61bc5ce3edb78f0a54 +0 -0
  295. data/spec/dummy/tmp/cache/assets/test/sprockets/e32412e9907f7bce90c87e381a75ad59 +0 -0
  296. data/spec/dummy/tmp/cache/assets/test/sprockets/e51f0bdbf730cce9249f6cc36846a1dd +0 -0
  297. data/spec/dummy/tmp/cache/assets/test/sprockets/e523a6ab49f81eeed849dfe5bb92489a +0 -0
  298. data/spec/dummy/tmp/cache/assets/test/sprockets/e6096d4fed78ccc5e01651d5fe4ec755 +0 -0
  299. data/spec/dummy/tmp/cache/assets/test/sprockets/e7321b128c3f95ab859e5278ac45ef9e +0 -0
  300. data/spec/dummy/tmp/cache/assets/test/sprockets/e746242161e359fcece652ac7e7829f9 +0 -0
  301. data/spec/dummy/tmp/cache/assets/test/sprockets/e77c2d3c6b19df8f1f5038bf958d330b +0 -0
  302. data/spec/dummy/tmp/cache/assets/test/sprockets/e8ea49933a17ed28c8a8062a85528378 +0 -0
  303. data/spec/dummy/tmp/cache/assets/test/sprockets/e8fb6bbe667d0ecbe96245104e1ba76c +0 -0
  304. data/spec/dummy/tmp/cache/assets/test/sprockets/e9f96fb30aeffcfec3b48b08ba2b6e3b +0 -0
  305. data/spec/dummy/tmp/cache/assets/test/sprockets/ecfaca0520c2f0fad7dffebc09b4e189 +0 -0
  306. data/spec/dummy/tmp/cache/assets/test/sprockets/ed7e9e2bd10439885c4081e81e20cc62 +0 -0
  307. data/spec/dummy/tmp/cache/assets/test/sprockets/efc8a9427d5585e826430dc1bc695ab7 +0 -0
  308. data/spec/dummy/tmp/cache/assets/test/sprockets/f1d47b3f839dc64a91bc63cc8b117b4b +0 -0
  309. data/spec/dummy/tmp/cache/assets/test/sprockets/f40cfb94ac60b405447b97bfd2f0b154 +0 -0
  310. data/spec/dummy/tmp/cache/assets/test/sprockets/f86b94bed45f9ed996b9bdf18b65e973 +0 -0
  311. data/spec/dummy/tmp/cache/assets/test/sprockets/fbb7c4f68d49a42c9b13b6fccca54757 +0 -0
  312. data/spec/dummy/tmp/cache/assets/test/sprockets/fd60bf0a58a325144d5c67ae420e1889 +0 -0
  313. data/spec/dummy/tmp/cache/assets/test/sprockets/fe7303b642f1661da50dfa4b75076e30 +0 -0
  314. data/trusty-clipped-extension.gemspec +2 -0
  315. metadata +560 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f9539db936bd51405eb6384a0f2d2d11713d299
4
- data.tar.gz: a52524601529faeb53f019681a26693c32905e56
3
+ metadata.gz: 820cbfb1f50f886f5aaf0b92d3f410bae2c22ebc
4
+ data.tar.gz: f2fedd62e3f042f1aa6e9997721433a2b088949c
5
5
  SHA512:
6
- metadata.gz: 4b71b6576be354faf6c8104858a8b4b23b952f0e56469c9f633e2d401f68e60915eccc55ce98122d1d69e1482af7a93e478cdf0a0b46f0f3b5b6a0c3433ed728
7
- data.tar.gz: 4cc8b9e38c1c9d29a56f06e82014be4080b94aca84dcac859b19cbd1f99c33b029d2ad2a64fa681f566572e72aa697f80a65015ef1b39e874a8cd8ae7794de2f
6
+ metadata.gz: 0dfa3ad9edb6883fbbcb362f8a446049685ce4d3845dac89b4ca0da46bb982472e2955b42549ecba566a023500d79bcc54ceea28d9788b1dc8117f02bbaf0741
7
+ data.tar.gz: 681b616db09c3f49594c62a9ce6c8412db598e34ed3f43a9c904c731be12516b43c4cd76d96b76ce27185e1958a901aeec1ab76d6580a03f27d941efff792df9
data/Gemfile.lock CHANGED
@@ -1,9 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-clipped-extension (2.0.13)
4
+ trusty-clipped-extension (2.0.14)
5
5
  acts_as_list (~> 0.4.0)
6
6
  cocaine (~> 0.5)
7
+ kraken-io
7
8
  paperclip (~> 4.2)
8
9
  rake (< 11.0)
9
10
  trusty-cms (~> 2.0.16)
@@ -12,7 +13,7 @@ PATH
12
13
  GEM
13
14
  remote: https://rubygems.org/
14
15
  specs:
15
- RedCloth (4.2.9)
16
+ RedCloth (4.3.2)
16
17
  actionmailer (4.2.6)
17
18
  actionpack (= 4.2.6)
18
19
  actionview (= 4.2.6)
@@ -50,10 +51,10 @@ GEM
50
51
  tzinfo (~> 1.1)
51
52
  acts_as_list (0.4.0)
52
53
  activerecord (>= 3.0)
53
- acts_as_tree (2.4.0)
54
+ acts_as_tree (2.6.1)
54
55
  activerecord (>= 3.0.0)
55
56
  addressable (2.4.0)
56
- arel (6.0.3)
57
+ arel (6.0.4)
57
58
  builder (3.2.2)
58
59
  byebug (8.2.2)
59
60
  capybara (2.3.0)
@@ -95,14 +96,14 @@ GEM
95
96
  diff-lcs (1.2.5)
96
97
  erubis (2.7.0)
97
98
  eventmachine (1.2.0.1)
98
- execjs (2.6.0)
99
+ execjs (2.7.0)
99
100
  factory_girl (4.5.0)
100
101
  activesupport (>= 3.0.0)
101
102
  factory_girl_rails (4.5.0)
102
103
  factory_girl (~> 4.5.0)
103
104
  railties (>= 3.0.0)
104
105
  ffi (1.9.10)
105
- globalid (0.3.6)
106
+ globalid (0.3.7)
106
107
  activesupport (>= 4.1.0)
107
108
  haml (4.0.7)
108
109
  tilt
@@ -114,19 +115,26 @@ GEM
114
115
  railties (>= 4.0.1)
115
116
  highline (1.7.8)
116
117
  hike (1.2.3)
117
- html2haml (2.0.0)
118
+ html2haml (2.1.0)
118
119
  erubis (~> 2.7.0)
119
- haml (~> 4.0.0)
120
- nokogiri (~> 1.6.0)
120
+ haml (~> 4.0)
121
+ nokogiri (>= 1.6.0)
121
122
  ruby_parser (~> 3.5)
123
+ httparty (0.14.0)
124
+ multi_xml (>= 0.5.2)
122
125
  i18n (0.7.0)
123
126
  jquery-rails (3.1.4)
124
127
  railties (>= 3.0, < 5.0)
125
128
  thor (>= 0.14, < 2.0)
126
129
  json (1.8.3)
130
+ kraken-io (0.1.3)
131
+ activesupport
132
+ httparty
133
+ json
134
+ multipart-post
127
135
  launchy (2.4.3)
128
136
  addressable (~> 2.3)
129
- libv8 (3.16.14.13)
137
+ libv8 (3.16.14.19)
130
138
  loofah (2.0.3)
131
139
  nokogiri (>= 1.5.9)
132
140
  mail (2.6.4)
@@ -139,11 +147,13 @@ GEM
139
147
  mini_portile2 (2.0.0)
140
148
  minitest (5.8.4)
141
149
  multi_json (1.11.2)
142
- mysql2 (0.4.3)
150
+ multi_xml (0.6.0)
151
+ multipart-post (2.0.0)
152
+ mysql2 (0.4.5)
143
153
  nokogiri (1.6.7.2)
144
154
  mini_portile2 (~> 2.0.0.rc2)
145
155
  orm_adapter (0.5.0)
146
- paperclip (4.3.6)
156
+ paperclip (4.3.7)
147
157
  activemodel (>= 3.2.0)
148
158
  activesupport (>= 3.2.0)
149
159
  cocaine (~> 0.5.5)
@@ -164,7 +174,7 @@ GEM
164
174
  byebug (~> 8.0)
165
175
  pry (~> 0.10)
166
176
  rack (1.6.4)
167
- rack-cache (1.6.1)
177
+ rack-cache (1.7.0)
168
178
  rack (>= 0.4)
169
179
  rack-test (0.6.3)
170
180
  rack (>= 1.0)
@@ -218,7 +228,7 @@ GEM
218
228
  rspec-mocks (~> 3.0.0)
219
229
  rspec-support (~> 3.0.0)
220
230
  rspec-support (3.0.4)
221
- ruby_parser (3.8.1)
231
+ ruby_parser (3.8.4)
222
232
  sexp_processor (~> 4.1)
223
233
  sass (3.4.21)
224
234
  sass-rails (5.0.4)
@@ -227,7 +237,7 @@ GEM
227
237
  sprockets (>= 2.8, < 4.0)
228
238
  sprockets-rails (>= 2.0, < 4.0)
229
239
  tilt (>= 1.1, < 3)
230
- sexp_processor (4.7.0)
240
+ sexp_processor (4.8.0)
231
241
  slop (3.6.0)
232
242
  sprockets (2.12.4)
233
243
  hike (~> 1.2)
@@ -239,8 +249,8 @@ GEM
239
249
  activesupport (>= 3.0)
240
250
  sprockets (>= 2.8, < 4.0)
241
251
  stringex (1.5.1)
242
- therubyracer (0.12.2)
243
- libv8 (~> 3.16.14.0)
252
+ therubyracer (0.12.3)
253
+ libv8 (~> 3.16.14.15)
244
254
  ref
245
255
  thin (1.6.4)
246
256
  daemons (~> 1.0, >= 1.0.9)
@@ -249,8 +259,8 @@ GEM
249
259
  thor (0.19.1)
250
260
  thread_safe (0.3.5)
251
261
  tilt (1.4.1)
252
- trusty-cms (2.0.20)
253
- RedCloth (~> 4.2)
262
+ trusty-cms (2.0.26)
263
+ RedCloth (~> 4.3.2)
254
264
  acts_as_tree (~> 2.1)
255
265
  bundler (~> 1.7)
256
266
  ckeditor (~> 4.1)
@@ -285,7 +295,7 @@ GEM
285
295
  websocket-driver (0.6.3)
286
296
  websocket-extensions (>= 0.1.0)
287
297
  websocket-extensions (0.1.2)
288
- will_paginate (3.1.0)
298
+ will_paginate (3.1.5)
289
299
  xpath (2.0.0)
290
300
  nokogiri (~> 1.3)
291
301
 
@@ -310,4 +320,4 @@ DEPENDENCIES
310
320
  trustygems (~> 0.2.0)
311
321
 
312
322
  BUNDLED WITH
313
- 1.11.2
323
+ 1.14.5
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,6 @@
1
1
  class Admin::AssetsController < Admin::ResourceController
2
2
  paginate_models(:per_page => 50)
3
+ COMPRESS_FILE_TYPE = ["image/jpeg", "image/png", "image/gif", "image/svg+xml"]
3
4
 
4
5
  def index
5
6
  assets = Asset.order("created_at DESC")
@@ -34,6 +35,7 @@ class Admin::AssetsController < Admin::ResourceController
34
35
  if uploaded_asset.content_type == "application/octet-stream"
35
36
  flash[:notice] = "Please only upload assets that have a valid extension in the name."
36
37
  else
38
+ uploaded_asset = compress(uploaded_asset) if $kraken.api_key.present? && COMPRESS_FILE_TYPE.include?(uploaded_asset.content_type)
37
39
  @asset = Asset.create(:asset => uploaded_asset, :caption => params[:asset][:caption])
38
40
  if params[:for_attachment]
39
41
  @page = Page.find_by_id(params[:page_id]) || Page.new
@@ -70,5 +72,12 @@ class Admin::AssetsController < Admin::ResourceController
70
72
  flash[:notice] = t('clipped_extension.all_thumbnails_refreshed')
71
73
  redirect_to admin_assets_path
72
74
  end
75
+
76
+ private
77
+ def compress(uploaded_asset)
78
+ data = $kraken.upload(uploaded_asset.tempfile.path)
79
+ File.write(uploaded_asset.tempfile, open(data.kraked_url).read, { :mode => 'wb' })
80
+ uploaded_asset
81
+ end
73
82
 
74
83
  end
@@ -1,5 +1,5 @@
1
1
  class AssetType
2
-
2
+
3
3
  # The Asset Type encapsulates a type of attachment.
4
4
  # Conventionally this would a sensible category like 'image' or 'video'
5
5
  # that should be processed and presented in a particular way.
@@ -9,14 +9,14 @@ class AssetType
9
9
  # * mime type list for file recognition
10
10
  # * selectors and scopes for retrieving this (or not this) category of asset
11
11
  # * radius tags for those subsets of assets (temporarily removed pending discussion of interface)
12
-
12
+
13
13
  @@types = []
14
14
  @@type_lookup = {}
15
15
  @@extension_lookup = {}
16
16
  @@mime_lookup = {}
17
17
  @@default_type = nil
18
18
  attr_reader :name, :processors, :styles, :icon_name, :catchall, :default_radius_tag
19
-
19
+
20
20
  def initialize(name, options = {})
21
21
  options = options.symbolize_keys
22
22
  @name = name
@@ -31,17 +31,17 @@ class AssetType
31
31
  @mimes.each { |mimetype| @@mime_lookup[mimetype] ||= self }
32
32
 
33
33
  this = self
34
- Asset.send :define_method, "#{name}?".intern do this.mime_types.include?(asset_content_type) end
34
+ Asset.send :define_method, "#{name}?".intern do this.mime_types.include?(asset_content_type) end
35
35
  Asset.send :define_class_method, "#{name}_condition".intern do this.condition; end
36
36
  Asset.send :define_class_method, "not_#{name}_condition".intern do this.non_condition; end
37
37
  Asset.send :scope, plural.to_sym, -> {where(:conditions => condition)}
38
38
  Asset.send :scope, "not_#{plural}".to_sym, -> {where(:conditions => non_condition)}
39
-
39
+
40
40
  self.define_radius_tags
41
41
  @@types.push self
42
42
  @@type_lookup[@name] = self
43
43
  end
44
-
44
+
45
45
  def plural
46
46
  name.to_s.pluralize
47
47
  end
@@ -53,11 +53,11 @@ class AssetType
53
53
  return "/assets/admin/#{icon_name}_icon.png"
54
54
  end
55
55
  end
56
-
56
+
57
57
  def icon_path(style_name='icon')
58
58
  Rails.root + "public#{icon(style_name)}"
59
59
  end
60
-
60
+
61
61
  def condition
62
62
  if @mimes.any?
63
63
  ["asset_content_type IN (#{@mimes.map{'?'}.join(',')})", *@mimes]
@@ -65,7 +65,7 @@ class AssetType
65
65
  self.class.other_condition
66
66
  end
67
67
  end
68
-
68
+
69
69
  def sanitized_condition
70
70
  ActiveRecord::Base.send :sanitize_sql_array, condition
71
71
  end
@@ -89,9 +89,9 @@ class AssetType
89
89
  def paperclip_processors
90
90
  TrustyCms.config["assets.create_#{name}_thumbnails?"] ? processors : []
91
91
  end
92
-
92
+
93
93
  # Parses and combines the various ways in which paperclip styles can be defined, and normalises them into
94
- # the format that paperclip expects. Note that :styles => :standard has already been replaced with the
94
+ # the format that paperclip expects. Note that :styles => :standard has already been replaced with the
95
95
  # results of a call to standard_styles.
96
96
  # Styles are passed to paperclip as a hash and arbitrary keys can be passed through from configuration.
97
97
  #
@@ -105,9 +105,9 @@ class AssetType
105
105
  end
106
106
  @paperclip_styles
107
107
  end
108
-
108
+
109
109
  # Takes a motley collection of differently-defined styles and renders them into the standard hash-of-hashes format.
110
- # Solitary strings are assumed to be
110
+ # Solitary strings are assumed to be
111
111
  #TODO: define permitted and/or expected options for the asset type and pass through that subset of the style-definition hash
112
112
  #
113
113
  def normalize_style_rules(styles={})
@@ -128,12 +128,10 @@ class AssetType
128
128
 
129
129
  def standard_styles
130
130
  {
131
- :native => { :geometry => "", :format => :jpg },
132
- :icon => { :geometry => '42x42#', :format => :png },
133
131
  :thumbnail => { :geometry => '100x100#', :format => :png }
134
132
  }
135
133
  end
136
-
134
+
137
135
  # Paperclip styles are defined in the config entry `assets.thumbnails.asset_type`, with the format:
138
136
  # foo:key-x,key=y,key=z|bar:key-x,key=y,key=z
139
137
  # where 'key' can be any parameter understood by your paperclip processors. Usually they include :geometry and :format.
@@ -153,17 +151,17 @@ class AssetType
153
151
  {}
154
152
  end
155
153
  end
156
-
154
+
157
155
  def legacy_styles
158
156
  TrustyCms::config["assets.additional_thumbnails"].to_s.gsub(' ','').split(',').collect{|s| s.split('=')}.inject({}) {|ha, (k, v)| ha[k.to_sym] = v; ha}
159
157
  end
160
-
158
+
161
159
  def style_dimensions(style_name)
162
160
  if style = paperclip_styles[style_name.to_sym]
163
161
  style[:size]
164
162
  end
165
163
  end
166
-
164
+
167
165
  def define_radius_tags
168
166
  type = self.name
169
167
  Page.class_eval {
@@ -175,9 +173,9 @@ class AssetType
175
173
  end
176
174
  }
177
175
  end
178
-
176
+
179
177
  # class methods
180
-
178
+
181
179
  def self.for(attachment)
182
180
  extension = File.extname(attachment.original_filename).sub(/^\.+/, "")
183
181
  from_extension(extension) || from_mimetype(attachment.instance_read(:content_type)) || catchall
@@ -190,11 +188,11 @@ class AssetType
190
188
  def self.from_mimetype(mimetype)
191
189
  @@mime_lookup[mimetype]
192
190
  end
193
-
191
+
194
192
  def self.catchall
195
193
  @@default_type ||= self.find(:other)
196
194
  end
197
-
195
+
198
196
  def self.known?(name)
199
197
  !self.find(name).nil?
200
198
  end
@@ -209,7 +207,7 @@ class AssetType
209
207
  def self.[](type)
210
208
  find(type)
211
209
  end
212
-
210
+
213
211
  def self.all
214
212
  @@types
215
213
  end
@@ -221,7 +219,7 @@ class AssetType
221
219
  def self.known_mimetypes
222
220
  @@mime_lookup.keys
223
221
  end
224
-
222
+
225
223
  def self.mime_types_for(*names)
226
224
  names.collect{ |name| find(name).mime_types }.flatten
227
225
  end