alchemy 1.0.2 → 8.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +24 -17
  3. data/README.md +538 -4
  4. data/lib/alchemy.rb +3 -6
  5. metadata +61 -266
  6. data/Rakefile +0 -21
  7. data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.eot +0 -0
  8. data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.svg +0 -154
  9. data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.ttf +0 -0
  10. data/app/assets/fonts/alchemy/LiberationSans-Bold-webfont.woff +0 -0
  11. data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.eot +0 -0
  12. data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.svg +0 -154
  13. data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.ttf +0 -0
  14. data/app/assets/fonts/alchemy/LiberationSans-BoldItalic-webfont.woff +0 -0
  15. data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.eot +0 -0
  16. data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.svg +0 -154
  17. data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.ttf +0 -0
  18. data/app/assets/fonts/alchemy/LiberationSans-Italic-webfont.woff +0 -0
  19. data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.eot +0 -0
  20. data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.svg +0 -154
  21. data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.ttf +0 -0
  22. data/app/assets/fonts/alchemy/LiberationSans-Regular-webfont.woff +0 -0
  23. data/app/assets/fonts/alchemy/Red Hat Liberation License.txt +0 -78
  24. data/app/assets/fonts/alchemy/overpass_bold-web.eot +0 -0
  25. data/app/assets/fonts/alchemy/overpass_bold-web.svg +0 -470
  26. data/app/assets/fonts/alchemy/overpass_bold-web.ttf +0 -0
  27. data/app/assets/fonts/alchemy/overpass_bold-web.woff +0 -0
  28. data/app/assets/fonts/alchemy/overpass_regular-web.eot +0 -0
  29. data/app/assets/fonts/alchemy/overpass_regular-web.svg +0 -470
  30. data/app/assets/fonts/alchemy/overpass_regular-web.ttf +0 -0
  31. data/app/assets/fonts/alchemy/overpass_regular-web.woff +0 -0
  32. data/app/assets/images/alchemy/icons/action-icons.png +0 -0
  33. data/app/assets/images/alchemy/icons/arrow_icon.png +0 -0
  34. data/app/assets/images/alchemy/icons/chosen-sprite.png +0 -0
  35. data/app/assets/images/alchemy/icons/error_icon.png +0 -0
  36. data/app/assets/images/alchemy/icons/objects.png +0 -0
  37. data/app/assets/images/alchemy/icons/spinner.gif +0 -0
  38. data/app/assets/images/alchemy/icons/spinner_head.gif +0 -0
  39. data/app/assets/images/alchemy/icons/success_icon.png +0 -0
  40. data/app/assets/images/alchemy/icons/warning_icon.png +0 -0
  41. data/app/assets/javascripts/alchemy/flash_messages.js +0 -12
  42. data/app/assets/javascripts/alchemy/forms.js +0 -25
  43. data/app/assets/javascripts/alchemy/i18n.js +0 -36
  44. data/app/assets/javascripts/alchemy/login.js +0 -130
  45. data/app/assets/javascripts/alchemy/password.js +0 -99
  46. data/app/assets/stylesheets/alchemy/components/_chosen.scss +0 -423
  47. data/app/assets/stylesheets/alchemy/components/_content.scss +0 -58
  48. data/app/assets/stylesheets/alchemy/components/_helpers.scss +0 -38
  49. data/app/assets/stylesheets/alchemy/components/_media.scss +0 -49
  50. data/app/assets/stylesheets/alchemy/components/_media_object.scss +0 -22
  51. data/app/assets/stylesheets/alchemy/components/_normalize.scss +0 -448
  52. data/app/assets/stylesheets/alchemy/components/_shared.scss +0 -18
  53. data/app/assets/stylesheets/alchemy/components/buttons/_buttons.scss +0 -241
  54. data/app/assets/stylesheets/alchemy/components/buttons/_buttons_vars.scss +0 -10
  55. data/app/assets/stylesheets/alchemy/components/flash_messages/_flash_messages.scss +0 -93
  56. data/app/assets/stylesheets/alchemy/components/flash_messages/_flash_messages_vars.scss +0 -3
  57. data/app/assets/stylesheets/alchemy/components/fonts/_liberation.scss +0 -44
  58. data/app/assets/stylesheets/alchemy/components/fonts/_overpass.scss +0 -24
  59. data/app/assets/stylesheets/alchemy/components/footer/_footer.scss +0 -53
  60. data/app/assets/stylesheets/alchemy/components/footer/_footer_vars.scss +0 -4
  61. data/app/assets/stylesheets/alchemy/components/forms/_forms.scss +0 -536
  62. data/app/assets/stylesheets/alchemy/components/forms/_forms_ie.scss +0 -45
  63. data/app/assets/stylesheets/alchemy/components/forms/_forms_mixins.scss +0 -18
  64. data/app/assets/stylesheets/alchemy/components/forms/_forms_responsive.scss +0 -161
  65. data/app/assets/stylesheets/alchemy/components/forms/_forms_vars.scss +0 -25
  66. data/app/assets/stylesheets/alchemy/components/header/_header.scss +0 -214
  67. data/app/assets/stylesheets/alchemy/components/header/_header_vars.scss +0 -11
  68. data/app/assets/stylesheets/alchemy/components/login/_login.scss +0 -169
  69. data/app/assets/stylesheets/alchemy/components/login/_login_mixins.scss +0 -7
  70. data/app/assets/stylesheets/alchemy/components/login/_login_vars.scss +0 -19
  71. data/app/assets/stylesheets/alchemy/components/sprites/_sprites.scss +0 -110
  72. data/app/assets/stylesheets/alchemy/components/sprites/_sprites_mixins.scss +0 -9
  73. data/app/assets/stylesheets/alchemy/components/text/_text.scss +0 -30
  74. data/app/assets/stylesheets/alchemy/components/text/_text_vars.scss +0 -1
  75. data/app/assets/stylesheets/alchemy/composites/content_elements.scss +0 -6
  76. data/app/assets/stylesheets/alchemy/composites/login.scss +0 -9
  77. data/app/assets/stylesheets/alchemy/composites/shell.scss +0 -4
  78. data/app/assets/stylesheets/alchemy/partials/_base.scss +0 -8
  79. data/app/assets/stylesheets/alchemy/partials/_colors.scss +0 -99
  80. data/app/assets/stylesheets/alchemy/partials/_mixins.scss +0 -24
  81. data/app/assets/stylesheets/alchemy/partials/_vars.scss +0 -31
  82. data/app/helpers/alchemy/gettext_translations.rb +0 -28
  83. data/app/helpers/alchemy/layout_helper.rb +0 -19
  84. data/app/helpers/alchemy/rails_translations.rb +0 -21
  85. data/app/helpers/alchemy/translation_helper.rb +0 -19
  86. data/app/views/alchemy/layouts/_change_password_layout.html.haml +0 -20
  87. data/app/views/alchemy/layouts/_common_i18n.haml +0 -4
  88. data/app/views/alchemy/layouts/_header_layout.haml +0 -13
  89. data/app/views/alchemy/layouts/_login_layout.html.haml +0 -58
  90. data/app/views/alchemy/layouts/_user_session_layout.haml +0 -17
  91. data/app/views/alchemy/layouts/base.html.haml +0 -20
  92. data/app/views/alchemy/layouts/shell_layout.haml +0 -10
  93. data/lib/alchemy/version.rb +0 -3
  94. data/test/alchemy_test.rb +0 -7
  95. data/test/test_helper.rb +0 -9
  96. data/vendor/assets/javascripts/alchemy/html5shiv.js +0 -298
  97. data/vendor/assets/javascripts/alchemy/jquery/jquery-1.6.2.js +0 -8981
  98. data/vendor/assets/javascripts/alchemy/jquery/plugins/chosen.jquery.js +0 -1003
  99. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/API.txt +0 -1201
  100. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/FAQ.txt +0 -76
  101. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/LICENSE.txt +0 -22
  102. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/Makefile +0 -9
  103. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/NEWS.txt +0 -508
  104. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/PLUGINS.txt +0 -137
  105. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/README.txt +0 -90
  106. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/ajax.html +0 -143
  107. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/annotating.html +0 -75
  108. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-down.gif +0 -0
  109. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-left.gif +0 -0
  110. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-right.gif +0 -0
  111. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-up.gif +0 -0
  112. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/basic.html +0 -38
  113. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-1.json +0 -4
  114. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-2.json +0 -4
  115. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-3.json +0 -4
  116. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-4.json +0 -4
  117. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-5.json +0 -4
  118. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth.json +0 -4
  119. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-japan-gdp-growth.json +0 -4
  120. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-usa-gdp-growth.json +0 -4
  121. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/graph-types.html +0 -75
  122. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/hs-2004-27-a-large_web.jpg +0 -0
  123. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/image.html +0 -45
  124. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/index.html +0 -44
  125. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/interacting-axes.html +0 -97
  126. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/interacting.html +0 -93
  127. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/layout.css +0 -6
  128. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/multiple-axes.html +0 -60
  129. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/navigate.html +0 -118
  130. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/percentiles.html +0 -57
  131. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/pie.html +0 -756
  132. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/realtime.html +0 -83
  133. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/resize.html +0 -61
  134. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/selection.html +0 -114
  135. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/setting-options.html +0 -61
  136. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/stacking.html +0 -77
  137. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/symbols.html +0 -49
  138. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/thresholding.html +0 -54
  139. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/time.html +0 -71
  140. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/tracking.html +0 -95
  141. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/turning-series.html +0 -98
  142. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/visitors.html +0 -90
  143. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/zooming.html +0 -98
  144. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/excanvas.js +0 -1427
  145. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/excanvas.min.js +0 -1
  146. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.colorhelpers.js +0 -179
  147. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.colorhelpers.min.js +0 -1
  148. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.crosshair.js +0 -167
  149. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.crosshair.min.js +0 -1
  150. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.fillbetween.js +0 -183
  151. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.fillbetween.min.js +0 -1
  152. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.image.js +0 -238
  153. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.image.min.js +0 -1
  154. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.js +0 -2599
  155. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.min.js +0 -6
  156. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.navigate.js +0 -336
  157. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.navigate.min.js +0 -1
  158. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.pie.js +0 -750
  159. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.pie.min.js +0 -1
  160. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.resize.js +0 -60
  161. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.resize.min.js +0 -1
  162. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.selection.js +0 -344
  163. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.selection.min.js +0 -1
  164. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.stack.js +0 -184
  165. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.stack.min.js +0 -1
  166. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.symbol.js +0 -70
  167. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.symbol.min.js +0 -1
  168. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.threshold.js +0 -103
  169. data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/jquery.flot.threshold.min.js +0 -1
  170. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/blank.svg +0 -3
  171. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/custom_test.js +0 -67
  172. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.css +0 -9
  173. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.js +0 -1101
  174. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.min.js +0 -7
  175. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svg.pack.js +0 -7
  176. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.js +0 -396
  177. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.min.js +0 -7
  178. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svgfilter.pack.js +0 -7
  179. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.js +0 -1337
  180. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.min.js +0 -7
  181. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/jquery.svggraph.pack.js +0 -7
  182. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/lion.svg +0 -161
  183. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery-svg/test.js +0 -714
  184. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ajaxfileupload.js +0 -205
  185. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ba-bbq.js +0 -1137
  186. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ba-resize.js +0 -246
  187. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.cookie.js +0 -92
  188. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.easing.1.3.js +0 -205
  189. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.fancyqueries.js +0 -106
  190. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.flash.js +0 -288
  191. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.form.js +0 -964
  192. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.hoverIntent.js +0 -106
  193. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jeditable.ajaxupload.js +0 -62
  194. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jeditable.js +0 -556
  195. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jnotify.js +0 -210
  196. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jscrollpane.js +0 -1390
  197. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.jscrollpane.min.js +0 -11
  198. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.linkHover.js +0 -89
  199. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.loadmask.min.js +0 -10
  200. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.mousewheel.js +0 -78
  201. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.multiselect.filter.js +0 -176
  202. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.multiselect.js +0 -668
  203. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.pack.js +0 -11
  204. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.periodicalupdater.js +0 -175
  205. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.sortElements.js +0 -75
  206. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.sparkline.min.js +0 -94
  207. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.text-overflow.js +0 -60
  208. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.timepickr.js +0 -214
  209. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.timers.js +0 -142
  210. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.tipsy.js +0 -358
  211. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.treeTable.js +0 -226
  212. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.trunk8.js +0 -203
  213. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ui.multiselect.js +0 -338
  214. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.ui.totop.js +0 -58
  215. data/vendor/assets/javascripts/alchemy/jquery/plugins/jquery.uitablefilter.js +0 -95
  216. data/vendor/assets/javascripts/alchemy/jquery/plugins/ui.spinner.js +0 -683
  217. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  218. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  219. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_75_dadada_1x100.png +0 -0
  220. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_75_e6e6e6_1x100.png +0 -0
  221. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-hard_95_ffffff_1x100.png +0 -0
  222. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_highlight-soft_80_e0e0e0_1x100.png +0 -0
  223. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_inset-hard_65_ffffff_1x100.png +0 -0
  224. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  225. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_8f8f8f_256x240.png +0 -0
  226. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_97baed_256x240.png +0 -0
  227. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  228. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/css/custom-theme/jquery-ui-1.8.11.custom.css +0 -573
  229. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/js/jquery-1.5.1.min.js +0 -16
  230. data/vendor/assets/javascripts/alchemy/jquery-ui-1.8.11.custom/js/jquery-ui-1.8.11.custom.min.js +0 -783
  231. data/vendor/assets/javascripts/alchemy/rails.js +0 -331
  232. data/vendor/assets/javascripts/alchemy/underscore-1.3.1.js +0 -999
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 22c5bf220ee3584316b6da25f112e40e53a62fccf3687b7d7c9f4f9bceaf124f
4
+ data.tar.gz: c58344b51fb626d787469395656e69ae27d08c2335107ad2ee5b4132dda42cc1
5
+ SHA512:
6
+ metadata.gz: acd54ed171a75c745030b86fcd6a9f53a1f59bebed25dfb5993a3bc57af72bef421adbd71fe648dc8b69ee66d69f48e8de5094b169d4cdcb44a60d27542f7ef1
7
+ data.tar.gz: '039db7cc715ed72708cf0a0be1f7ef265f4341b4a9d1b09f592120714270c39f4ce42911a46f5600c4b76ac7f3078d10ce4e8b9455069b08adf7c2321ca8392c'
data/LICENSE CHANGED
@@ -1,20 +1,27 @@
1
- Copyright (c) 2012 Red Hat
1
+ Copyright (c) Blish GmbH, Hamburg Germany
2
+ All rights reserved.
2
3
 
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
4
+ Redistribution and use in source and binary forms, with or without modification,
5
+ are permitted provided that the following conditions are met:
10
6
 
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
7
+ Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
13
9
 
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10
+ Redistributions in binary form must reproduce the above copyright notice, this
11
+ list of conditions and the following disclaimer in the documentation and/or
12
+ other materials provided with the distribution.
13
+
14
+ Neither the name of the Blish GmbH nor the names of its
15
+ contributors may be used to endorse or promote products derived from
16
+ this software without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
22
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md CHANGED
@@ -1,6 +1,540 @@
1
- Please see latest documentation at on the Github page or all current and previous versions at Read The Do
2
- cs.
1
+ # AlchemyCMS
3
2
 
4
- Read The Docs: http://readthedocs.org/projects/convergeui/
3
+ [![Build & Test](https://github.com/AlchemyCMS/alchemy_cms/actions/workflows/build_test.yml/badge.svg)](https://github.com/AlchemyCMS/alchemy_cms/actions/workflows/build_test.yml)
4
+ [![Brakeman Scan](https://github.com/AlchemyCMS/alchemy_cms/actions/workflows/brakeman-analysis.yml/badge.svg)](https://github.com/AlchemyCMS/alchemy_cms/actions/workflows/brakeman-analysis.yml)
5
+ [![Lint](https://github.com/AlchemyCMS/alchemy_cms/actions/workflows/lint.yml/badge.svg)](https://github.com/AlchemyCMS/alchemy_cms/actions/workflows/lint.yml)
5
6
 
6
- Official Demo and Reference Site: http://convergeui.org/
7
+ [![Gem Version](https://badge.fury.io/rb/alchemy_cms.svg)](https://badge.fury.io/rb/alchemy_cms)
8
+ [![codecov](https://codecov.io/gh/AlchemyCMS/alchemy_cms/graph/badge.svg?token=uUHQGfB2xe)](https://codecov.io/gh/AlchemyCMS/alchemy_cms)
9
+ [![Depfu](https://badges.depfu.com/badges/ebe56d2dd7b7044a8ae700cc81212a8e/overview.svg)](https://depfu.com/github/AlchemyCMS/alchemy_cms?project_id=4600)
10
+
11
+ [![Backers on Open Collective](https://opencollective.com/alchemy_cms/backers/badge.svg?color=blue)](#backers)
12
+ [![Sponsors on Open Collective](https://opencollective.com/alchemy_cms/sponsors/badge.svg?color=blue)](#sponsors)
13
+ [![Open Source Helpers](https://www.codetriage.com/alchemycms/alchemy_cms/badges/users.svg)](https://www.codetriage.com/alchemycms/alchemy_cms)
14
+
15
+ <img src="./app/assets/images/alchemy/alchemy-logo.svg" width=300>
16
+
17
+ Alchemy is an open source CMS engine written in Ruby on Rails.
18
+
19
+ Read more about Alchemy on the [website](https://alchemy-cms.com) and in the [guidelines](https://guides.alchemy-cms.com).
20
+
21
+ > [!CAUTION]
22
+ > This main branch is a **development branch** that *can* contain bugs.
23
+ >
24
+ > For productive environments you should use the [current Ruby gem version](https://rubygems.org/gems/alchemy_cms), or the [latest stable branch (8.0-stable)](https://github.com/AlchemyCMS/alchemy_cms/tree/8.0-stable).**
25
+
26
+ ## 🏆 Main sponsor
27
+
28
+ [![BLISH Logo](https://blish.cloud/BLISH_Logo.svg)](https://blish.cloud)
29
+
30
+ ## ✅ Features
31
+
32
+ - Flexible templating that separates content from markup
33
+ - A rich RESTful API
34
+ - Intuitive admin interface with live preview
35
+ - Multi language and multi domain
36
+ - Page versioning
37
+ - SEO friendly urls
38
+ - User Access Control
39
+ - Build in contact form mailer
40
+ - Attachments and downloads
41
+ - On-the-fly image cropping and resizing
42
+ - Extendable via Rails engines
43
+ - Integrates into existing Rails Apps
44
+ - Resourceful Rails admin
45
+ - Flexible caching
46
+ - Hostable on any Server that supports Ruby on Rails, a SQL Database and ImageMagick
47
+
48
+ ## 🎮 Demo
49
+
50
+ Visit the existing demo at https://demo.alchemy-cms.com/
51
+
52
+ - Login: `demo`
53
+ - Password: `demo123`
54
+
55
+ ## 🚂 Rails Version
56
+
57
+ **This version of AlchemyCMS runs with >= Rails 7.2**
58
+
59
+ * For a Rails 7.1 compatible version use the [`8.0-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/8.0-stable).
60
+ * For a Rails 7.0 compatible version use the [`7.4-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/7.4-stable).
61
+ * For a Rails 6.1 compatible version use the [`7.0-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/7.0-stable).
62
+ * For a Rails 6.0 compatible version use the [`6.1-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/6.1-stable).
63
+ * For a Rails 5.2 compatible version use the [`5.3-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/5.3-stable).
64
+ * For a Rails 5.0 or 5.1 compatible version use the [`4.5-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/4.5-stable).
65
+ * For a Rails 4.2 compatible version use the [`3.6-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/3.6-stable).
66
+ * For a Rails 4.0/4.1 compatible version use the [`3.1-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/3.1-stable).
67
+ * For a Rails 3.2 compatible version use the [`2.8-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/2.8-stable).
68
+ * For a Rails 3.1 compatible version use the [`2.1-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/2.1-stable).
69
+ * For a Rails 3.0 compatible version use the [`2.0-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/2.0-stable).
70
+ * For a Rails 2.3 compatible version use the [`1.6-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/1.6-stable).
71
+
72
+ > [!NOTE]
73
+ > For Rails `>= 8`, use Alchemy version `>= 8.0.0a` which comes with propshaft support.
74
+ > If you are on Rails `>= 8` with an older Alchemy version, you will need to [temporarily comment out](https://github.com/AlchemyCMS/alchemy_cms/issues/3330) the `propshaft` gem.
75
+
76
+ ## 💎 Ruby Version
77
+
78
+ Alchemy runs with Ruby >= 3.1.0 including 4.0.
79
+
80
+ For a Ruby 3.0 compatible version use the [`7.2-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/7.2-stable).
81
+
82
+ For a Ruby 2.4 compatible version use the [`5.2-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/5.2-stable).
83
+
84
+ For a Ruby 2.2 compatible version use the [`4.1-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/4.1-stable).
85
+
86
+ For a Ruby 2.1 compatible version use the [`3.6-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/3.6-stable).
87
+
88
+ For a Ruby 2.0.0 compatible version use the [`3.2-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/3.2-stable).
89
+
90
+ For a Ruby 1.9.3 compatible version use the [`3.1-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/3.1-stable).
91
+
92
+ For a Ruby 1.8.7 compatible version use the [`2.3-stable` branch](https://github.com/AlchemyCMS/alchemy_cms/tree/2.3-stable).
93
+
94
+
95
+ ## ⌨️ Installation
96
+
97
+ ### Stand Alone Installation
98
+
99
+ If you do not have a Rails project yet or just want to check out Alchemy, then use this Rails template.
100
+
101
+ Make sure you have Rails installed first:
102
+
103
+ ```
104
+ $ gem install rails
105
+ ```
106
+
107
+ Then create a new Rails project with:
108
+
109
+ ```
110
+ $ rails new -m https://raw.githubusercontent.com/AlchemyCMS/rails-templates/master/all.rb <MY-PROJECT-NAME>
111
+ ```
112
+
113
+ and follow the on screen instructions.
114
+
115
+ ### Manual Installation
116
+
117
+ If you want to manually install Alchemy into your Rails project follow these steps.
118
+
119
+ #### Add the Alchemy gem:
120
+
121
+ Put Alchemy into your `Gemfile` with:
122
+
123
+ ```
124
+ $ bundle add alchemy_cms
125
+ ```
126
+
127
+ #### Set the authentication user
128
+
129
+ Now you have to decide, if you want to use your own user model or if you want to use
130
+ the Devise based user model that Alchemy provides and was extracted [into its own gem](https://github.com/AlchemyCMS/alchemy-devise).
131
+
132
+ ##### Use Alchemy user
133
+
134
+ If you don't have your own user class, you can use the Alchemy user model. Just add the following gem into your `Gemfile`:
135
+
136
+ ```
137
+ $ bundle add alchemy-devise
138
+ ```
139
+
140
+ Then run the `alchemy-devise` installer:
141
+
142
+ ```bash
143
+ $ bin/rails g alchemy:devise:install
144
+ ```
145
+
146
+ ##### Use your User model
147
+
148
+ In order to use your own user model you need to tell Alchemy about it.
149
+
150
+ The best practice is to use an initializer:
151
+
152
+ ```ruby
153
+ # config/initializers/alchemy.rb
154
+ Alchemy.configure do |config|
155
+ config.user_class = 'YourUserClass' # This has to be configured
156
+ config.current_user_method = 'current_admin_user' # Defaults to 'current_user'
157
+ config.signup_path = '/your/signup/path' # Defaults to '/signup'
158
+ config.login_path = '/your/login/path' # Defaults to '/login'
159
+ config.logout_path = '/your/logout/path' # Defaults to '/logout'
160
+ config.logout_method = 'http_verb_for_logout' # Defaults to 'delete'
161
+ config.unauthorized_path = '/some/public/page' # Defaults to '/'
162
+ end
163
+ ```
164
+
165
+ Alchemy needs a `alchemy_roles` column in your database for the RBAC to work.
166
+
167
+ Alchemy provides a migration generator that adds these tables to your users table.
168
+
169
+ ```
170
+ $ bin/rails g alchemy:user_columns_migration --table-name=my-users-table
171
+ ```
172
+
173
+ Then include this module in your model.
174
+
175
+ ```ruby
176
+ class User
177
+ include Alchemy::UserMethods
178
+ end
179
+ ```
180
+
181
+ Please follow [this guide](https://guides.alchemy-cms.com/how_to_add_custom_authentication.html) for further instructions on how to customize your user class even more.
182
+
183
+ #### 4. Install Alchemy into your app:
184
+
185
+ **After** you set the user model you need to run the Alchemy install task:
186
+
187
+ ```bash
188
+ $ bin/rails alchemy:install
189
+ ```
190
+
191
+ Now everything should be set up and you should be able to visit the Alchemy Dashboard at:
192
+
193
+ <http://localhost:3000/admin>
194
+
195
+ *) Use your custom path if you mounted Alchemy at something else then `'/'`
196
+
197
+
198
+ ## 🏗 Customization
199
+
200
+ Alchemy has very flexible ways to organize and manage content. Please be sure to read [the introduction guide](https://guides.alchemy-cms.com/about.html) in order to understand the basic idea of how Alchemy works.
201
+
202
+
203
+ ### Custom Controllers
204
+
205
+ Beginning with Alchemy 3.1 we do not patch the `ApplicationController` anymore. If you have controllers that loads Alchemy content or uses Alchemy helpers in the views (i.e. `render_menu` or `render_elements`) you can either inherit from `Alchemy::BaseController` or you `include Alchemy::ControllerActions` in your controller (**that's the recommended way**).
206
+
207
+ ### Custom admin interface routing
208
+
209
+ By default, Alchemy Dashboard is accessible at <http://example.com/admin>. You can change this by setting `Alchemy.admin_path` and `Alchemy.admin_constraints`.
210
+
211
+ For example, these settings:
212
+
213
+ ```ruby
214
+ # config/initializers/alchemy.rb
215
+
216
+ Alchemy.admin_path = 'backend'
217
+ Alchemy.admin_constraints = {subdomain: 'hidden'}
218
+ ```
219
+
220
+ will move the dashboard to <http://hidden.example.com/backend>.
221
+
222
+ ### Picture caching
223
+
224
+ Alchemy uses the Dragonfly gem to render pictures on-the-fly.
225
+
226
+ To make this as performant as possible the rendered picture gets stored into `public/pictures` so the web server can pick up the file and serve it without hitting the Rails process at all.
227
+
228
+ This may or may not what you want. Especially for multi server setups you eventually want to use something like S3.
229
+
230
+ Please follow the guidelines about picture caching on the Dragonfly homepage for further instructions:
231
+
232
+ http://markevans.github.io/dragonfly/cache
233
+
234
+ We also provide an [extension for Cloudinary](https://github.com/AlchemyCMS/alchemy_cloudinary)
235
+
236
+ ## 🌍 Localization
237
+
238
+ Alchemy ships with one default English translation for the admin interface. If you want to use the admin interface in other languages please have a look at the [`alchemy_i18n` project](https://github.com/AlchemyCMS/alchemy_i18n).
239
+
240
+ ## ✨ Upgrading
241
+
242
+ We, the Alchemy team, take upgrades very seriously and we try to make them as smooth as possible. Therefore we have build an upgrade task, that tries to automate the upgrade procedure as much as possible.
243
+
244
+ That's why after the Alchemy gem has been updated, with explicit call to:
245
+
246
+ ```bash
247
+ $ bundle update alchemy_cms
248
+ ```
249
+
250
+ you should **always run the upgrader**:
251
+
252
+ ```bash
253
+ $ bin/rake alchemy:upgrade
254
+ ```
255
+
256
+ Alchemy will print out useful information after running the automated tasks that help a smooth upgrade path.
257
+ So please **take your time and read them**.
258
+
259
+ Always be sure to keep an eye on the output of your Rails app when starting. There will probably be useful information about deprecations.
260
+
261
+ Also, `git diff` is your friend.
262
+
263
+ ### Customize the upgrade preparation
264
+
265
+ The Alchemy upgrader comes prepared with several rake tasks in a specific order.
266
+ This is sometimes not what you want or could even break upgrades.
267
+ In order to customize the upgrade preparation process you can instead run each of the tasks on their own.
268
+
269
+ ```bash
270
+ $ bin/rake alchemy:install:migrations
271
+ $ bin/rake db:migrate
272
+ $ bin/rake alchemy:db:seed
273
+ $ bin/rake alchemy:upgrade:config
274
+ $ bin/rake alchemy:upgrade:run
275
+ ```
276
+
277
+ **WARNING:** This is only recommended, if you have problems with the default `rake alchemy:upgrade` task and need to
278
+ repair your data in between. The upgrader depends on these upgrade tasks running in this specific order, otherwise
279
+ we can't ensure smooth upgrades for you.
280
+
281
+ ### Run an individual upgrade
282
+
283
+ You can also run an individual upgrade on its own:
284
+
285
+ ```bash
286
+ $ bin/rake -T alchemy:upgrade
287
+ ```
288
+
289
+ provides you with a list of each upgrade you can run individually.
290
+
291
+ #### Example
292
+
293
+ ```bash
294
+ $ bin/rake alchemy:upgrade:4.1
295
+ ```
296
+
297
+ runs only the Alchemy 4.1 upgrade
298
+
299
+ ## 🚀 Deployment
300
+
301
+ Alchemy has an official Capistrano extension which takes care of everything you need to deploy an Alchemy site.
302
+
303
+ Please use [capistrano-alchemy](https://github.com/AlchemyCMS/capistrano-alchemy), if you want to deploy with Capistrano.
304
+
305
+ ### Without Capistrano
306
+
307
+ If you don't use Capistrano you have to **make sure** that the `uploads`, `tmp/cache/assets`, `public/assets` and `public/pictures` folders get **shared between deployments**, otherwise you **will loose data**. No, not really, but you know, just keep them in sync.
308
+
309
+
310
+ ## 🗃 Writing Migrations
311
+
312
+ **On SQLite, a migration that rebuilds a table silently deletes data from other tables.**
313
+
314
+ SQLite has no real `ALTER TABLE`, so Rails implements the operations below by recreating the table: it copies the rows aside, runs `DROP TABLE`, and copies them back.
315
+
316
+ - `change_column`
317
+ - `change_column_null`
318
+ - `change_column_default`
319
+ - `rename_column`
320
+ - `remove_column` and `remove_columns`
321
+ - `add_timestamps`
322
+ - `add_column` with `null: false` and **no** `default:`
323
+
324
+ With foreign keys enforced, SQLite's `DROP TABLE` performs an implicit `DELETE`, which fires `ON DELETE CASCADE`. The rebuilt table keeps its rows, because they come back from the copy, but **every cascading descendant is deleted permanently**. Since Alchemy cascades from pages down to ingredients, rebuilding `alchemy_pages` empties `alchemy_page_versions`, `alchemy_elements` and `alchemy_ingredients`.
325
+
326
+ Rails tries to prevent this by disabling foreign keys for the rebuild, but that only works outside a transaction, and migrations run inside one by default. The safeguard is therefore silently ineffective.
327
+
328
+ So when a migration touches a table that has cascading children:
329
+
330
+ 1. **Avoid the rebuild if you can.** `add_column` with both `null: false` and a `default:` is a plain `ALTER TABLE ADD COLUMN`. A nullable column combined with a model level default behaves the same on every adapter, and is the only option for MySQL `text` columns, which cannot carry a literal default.
331
+ 2. **If a rebuild is unavoidable**, including `remove_column` in `down`, declare `disable_ddl_transaction!` in the migration. Because it no longer rolls back as a single unit, make sure the migration is safe to run again after a partial failure.
332
+ 3. **Test against a populated database** and check that child records survive. An empty database hides the problem completely.
333
+
334
+ You can check the migrations in this repository with:
335
+
336
+ ```bash
337
+ ruby bin/check-destructive-migrations
338
+ ```
339
+
340
+ This also runs in CI, and fails when a migration rebuilds a table without `disable_ddl_transaction!`.
341
+
342
+ ## 🚧 Testing
343
+
344
+ If you want to contribute to Alchemy ([and we encourage you to do so](CONTRIBUTING.md)) we have a strong test suite that helps you to not break anything.
345
+
346
+ ### Preparation
347
+
348
+ First of all you need to clone your fork to your local development machine.
349
+
350
+ **Using Docker (recommended):**
351
+
352
+ ```bash
353
+ $ docker compose build
354
+ $ docker compose up
355
+ ```
356
+
357
+ This starts the Rails dev server, Sass watcher, and JS bundle watcher. The dev server is available at http://localhost:3000.
358
+
359
+ **Local setup:**
360
+
361
+ ```bash
362
+ $ bin/setup
363
+ ```
364
+
365
+ To prepare the tests of your Alchemy fork please make sure to run the preparation task:
366
+
367
+ ```bash
368
+ $ bundle exec rake alchemy:spec:prepare
369
+ ```
370
+
371
+ to set up the database for testing.
372
+
373
+ ### Run your tests with:
374
+
375
+ ```bash
376
+ $ bin/rspec
377
+ ```
378
+
379
+ **Alternatively** you can just run*:
380
+
381
+ ```bash
382
+ $ bundle exec rake
383
+ ```
384
+
385
+ *) This default task executes the database preparations and runs all defined test cases.
386
+
387
+ ### Start the dummy app
388
+
389
+ You can even start the dummy app and use it to manually test your changes.
390
+
391
+ To run the whole stack in Docker (builds the images and starts the Rails
392
+ server, Sass watcher, and JS bundle watcher):
393
+
394
+ ```bash
395
+ $ bin/start
396
+ ```
397
+
398
+ After changing dependencies (`Gemfile` or `package.json`), rebuild the image and
399
+ refresh the baked `node_modules` in one step:
400
+
401
+ ```bash
402
+ $ bin/start --refresh
403
+ ```
404
+
405
+ Or, to run the dummy app locally without Docker:
406
+
407
+ ```bash
408
+ $ bin/dev
409
+ ```
410
+
411
+
412
+ ## 📦 Releasing
413
+
414
+ ### 🤖 Automated (recommended)
415
+
416
+ There is a Rake task that helps you to release a new version of Alchemy.
417
+
418
+ ```bash
419
+ $ bundle exec rake alchemy:release
420
+ ```
421
+
422
+ > [!NOTE]
423
+ > This will release a new patch level
424
+
425
+ If you want to release a new minor or major version you can do so by setting the `VERSION` environment variable accordingly.
426
+
427
+ ```bash
428
+ $ bundle exec rake alchemy:release VERSION=X.Y.Z
429
+ ```
430
+
431
+ ### 👷🏽‍♀️ Manual
432
+
433
+ If something goes wrong with the automated release task you can still release a new version manually.
434
+
435
+ #### 1. Bump version
436
+
437
+ Bump the version number in `lib/alchemy/version.rb`.
438
+
439
+ #### 2. Update the changelog
440
+
441
+ ```bash
442
+ $ export GITHUB_ACCESS_TOKEN=...
443
+ $ PREVIOUS_VERSION=4.1.0 bundle exec rake alchemy:changelog:update
444
+ ```
445
+
446
+ #### 3. Commit version bump
447
+
448
+ ```bash
449
+ $ git commit -am "Bump version to vX.Y.Z"
450
+ ```
451
+
452
+ #### 4. Release a new version
453
+
454
+ This task will publish the ruby gem.
455
+ It also tags the latest commit.
456
+
457
+ ```bash
458
+ $ bundle exec rake release
459
+ ```
460
+
461
+ ## ❓Getting Help
462
+
463
+ * Read the guidelines: https://guides.alchemy-cms.com.
464
+ * Read the documentation: https://www.rubydoc.info/github/AlchemyCMS/alchemy_cms
465
+ * If you think you found a bug please use the [issue tracker on Github](https://github.com/AlchemyCMS/alchemy_cms/issues).
466
+ * For questions about general usage please use [Stack Overflow](http://stackoverflow.com/questions/tagged/alchemy-cms) or the [Slack](https://join.slack.com/t/alchemy-cms/shared_invite/zt-2ir32b4ph-L3EVS0FiMiWKx7omNNbeyw).
467
+ * New features should be discussed on our [Trello Board](https://trello.com/alchemycms).
468
+
469
+ **PLEASE** don't use the Github issues for feature requests. If you want to contribute to Alchemy please [read the contribution guidelines](CONTRIBUTING.md) before doing so.
470
+
471
+
472
+ ## 🔗 Resources
473
+
474
+ * Homepage: <https://alchemy-cms.com>
475
+ * Live-Demo: <https://demo.alchemy-cms.com> (user: demo, password: demo123)
476
+ * API Documentation: <https://www.rubydoc.info/github/AlchemyCMS/alchemy_cms>
477
+ * Issue-Tracker: <https://github.com/AlchemyCMS/alchemy_cms/issues>
478
+ * Sourcecode: <https://github.com/AlchemyCMS/alchemy_cms>
479
+ * Slack: [https://alchemy-cms.slack.com](https://join.slack.com/t/alchemy-cms/shared_invite/zt-2ir32b4ph-L3EVS0FiMiWKx7omNNbeyw)
480
+ * Mastodon: <https://ruby.social/@alchemy_cms>
481
+
482
+
483
+ ## ✍️ Authors
484
+
485
+ * Thomas von Deyen: <https://github.com/tvdeyen>
486
+ * Martin Meyerhoff: <https://github.com/mamhoff>
487
+ * Sascha Karnatz: <https://github.com/sascha-karnatz>
488
+ * Robin Böning: <https://github.com/robinboening>
489
+
490
+ ### Alumni
491
+
492
+ * Marc Schettke: <https://github.com/masche842>
493
+ * Hendrik Mans: <https://github.com/hmans>
494
+ * Carsten Fregin: <https://github.com/cfregin>
495
+
496
+
497
+ ## 🏅 Contributors
498
+
499
+ This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
500
+ <a href="https://github.com/undefined/undefinedgraphs/contributors"><img src="https://opencollective.com/alchemy_cms/contributors.svg?width=890&button=false" /></a>
501
+
502
+
503
+ ## 💵 Backers
504
+
505
+ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/alchemy_cms#backer)]
506
+
507
+ <a href="https://opencollective.com/alchemy_cms#backers" target="_blank"><img src="https://opencollective.com/alchemy_cms/backers.svg?width=890"></a>
508
+
509
+
510
+ ## 💰 Sponsors
511
+
512
+ Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/alchemy_cms#sponsor)]
513
+
514
+ <a href="https://opencollective.com/alchemy_cms/sponsor/0/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/0/avatar.svg"></a>
515
+ <a href="https://opencollective.com/alchemy_cms/sponsor/1/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/1/avatar.svg"></a>
516
+ <a href="https://opencollective.com/alchemy_cms/sponsor/2/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/2/avatar.svg"></a>
517
+ <a href="https://opencollective.com/alchemy_cms/sponsor/3/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/3/avatar.svg"></a>
518
+ <a href="https://opencollective.com/alchemy_cms/sponsor/4/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/4/avatar.svg"></a>
519
+ <a href="https://opencollective.com/alchemy_cms/sponsor/5/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/5/avatar.svg"></a>
520
+ <a href="https://opencollective.com/alchemy_cms/sponsor/6/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/6/avatar.svg"></a>
521
+ <a href="https://opencollective.com/alchemy_cms/sponsor/7/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/7/avatar.svg"></a>
522
+ <a href="https://opencollective.com/alchemy_cms/sponsor/8/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/8/avatar.svg"></a>
523
+ <a href="https://opencollective.com/alchemy_cms/sponsor/9/website" target="_blank"><img src="https://opencollective.com/alchemy_cms/sponsor/9/avatar.svg"></a>
524
+
525
+
526
+
527
+ ## 📜 License
528
+
529
+ [BSD-3-Clause](LICENSE)
530
+
531
+
532
+ ## 📢 Spread the love
533
+
534
+ If you like Alchemy, please help us to spread the word about Alchemy and star this repo [on GitHub](https://github.com/AlchemyCMS/alchemy_cms), upvote it [on The Ruby Toolbox](https://www.ruby-toolbox.com/projects/alchemy_cms), mention us [on Twitter](https://twitter.com/alchemy_cms).
535
+
536
+ That will help us to keep Alchemy awesome.
537
+
538
+ Thank you!
539
+
540
+ ## ❤️
data/lib/alchemy.rb CHANGED
@@ -1,6 +1,3 @@
1
- require "alchemy/version"
2
-
3
- module Alchemy
4
- class Engine < ::Rails::Engine
5
- end
6
- end
1
+ require "alchemy_cms"
2
+ require "alchemy/devise"
3
+ require "alchemy_i18n"