cybele 1.9.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (384) hide show
  1. checksums.yaml +4 -4
  2. data/.fasterer.yml +5 -0
  3. data/.flayignore +3 -0
  4. data/.gitignore +4 -1
  5. data/.haml-lint.yml +5 -0
  6. data/.poper.yml +7 -0
  7. data/.rubocop.yml +59 -0
  8. data/.ruby-version +1 -1
  9. data/CHANGELOG.md +458 -2
  10. data/Gemfile +2 -0
  11. data/README.md +16 -20
  12. data/Rakefile +1 -1
  13. data/USAGE +12 -0
  14. data/bin/build_app +18 -0
  15. data/bin/build_gem +20 -0
  16. data/bin/cybele +21 -6
  17. data/config.reek +29 -0
  18. data/cybele.gemspec +14 -6
  19. data/example.pronto.yml +8 -0
  20. data/lib/cybele.rb +33 -0
  21. data/lib/cybele/app_builder.rb +43 -510
  22. data/lib/cybele/generators/app_generator.rb +240 -180
  23. data/lib/cybele/helpers.rb +104 -0
  24. data/lib/cybele/helpers/app_files/assets_files.rb +43 -0
  25. data/lib/cybele/helpers/app_files/controller_files.rb +23 -0
  26. data/lib/cybele/helpers/app_files/helper_files.rb +15 -0
  27. data/lib/cybele/helpers/app_files/mailer_files.rb +15 -0
  28. data/lib/cybele/helpers/app_files/model_files.rb +16 -0
  29. data/lib/cybele/helpers/app_files/vendor_files.rb +14 -0
  30. data/lib/cybele/helpers/app_files/view_files.rb +62 -0
  31. data/lib/cybele/helpers/app_files/view_gems.rb +20 -0
  32. data/lib/cybele/helpers/audited.rb +12 -0
  33. data/lib/cybele/helpers/basic_authentication.rb +44 -0
  34. data/lib/cybele/helpers/devise.rb +67 -0
  35. data/lib/cybele/helpers/docker.rb +53 -0
  36. data/lib/cybele/helpers/dotenv.rb +23 -0
  37. data/lib/cybele/helpers/error_pages.rb +37 -0
  38. data/lib/cybele/helpers/general.rb +87 -0
  39. data/lib/cybele/helpers/haml.rb +18 -0
  40. data/lib/cybele/helpers/locale_language.rb +23 -0
  41. data/lib/cybele/helpers/mailer.rb +25 -0
  42. data/lib/cybele/helpers/paperclip.rb +33 -0
  43. data/lib/cybele/helpers/pronto.rb +34 -0
  44. data/lib/cybele/helpers/recipient_interceptor.rb +18 -0
  45. data/lib/cybele/helpers/responders.rb +36 -0
  46. data/lib/cybele/helpers/routes.rb +18 -0
  47. data/lib/cybele/helpers/show_for.rb +20 -0
  48. data/lib/cybele/helpers/sidekiq.rb +37 -0
  49. data/lib/cybele/helpers/simple_form.rb +19 -0
  50. data/lib/cybele/helpers/staging.rb +15 -0
  51. data/lib/cybele/version.rb +5 -3
  52. data/spec/features/cli_help_spec.rb +42 -0
  53. data/spec/features/git_and_git_flow_spec.rb +30 -0
  54. data/spec/features/new_default_project_spec.rb +465 -0
  55. data/spec/features/new_not_default_project_spec.rb +412 -0
  56. data/spec/spec_helper.rb +38 -0
  57. data/spec/support/config_test_helper.rb +36 -0
  58. data/spec/support/cybele_test_helpers.rb +115 -0
  59. data/spec/support/devise_test_helper.rb +45 -0
  60. data/spec/support/dotenv_test_helper.rb +31 -0
  61. data/spec/support/error_pages_test_helper.rb +24 -0
  62. data/spec/support/force_ssl_test_helper.rb +24 -0
  63. data/spec/support/git_ignore_test_helper.rb +10 -0
  64. data/spec/support/locale_language_test_helper.rb +43 -0
  65. data/spec/support/mail_test_helpers.rb +15 -0
  66. data/spec/support/paperclip_test_helper.rb +38 -0
  67. data/spec/support/pronto_test_helpers.rb +41 -0
  68. data/spec/support/responder_test_helper.rb +32 -0
  69. data/templates/Gemfile.erb +59 -0
  70. data/templates/README.md.erb +23 -20
  71. data/templates/VERSION.txt +1 -0
  72. data/templates/app_files/app/assets/javascripts/application.js +81 -0
  73. data/templates/app_files/app/assets/javascripts/hq/application.js +80 -0
  74. data/templates/{app/assets/stylesheets/application.css.sass → app_files/app/assets/stylesheets/application.sass} +27 -16
  75. data/templates/app_files/app/assets/stylesheets/hq/_sidebar.sass +89 -0
  76. data/templates/app_files/app/assets/stylesheets/hq/application.sass +74 -0
  77. data/templates/app_files/app/controllers/concerns/activatable.rb +16 -0
  78. data/templates/{app → app_files/app}/controllers/hq/admins_controller.rb +7 -10
  79. data/templates/app_files/app/controllers/hq/application_controller.rb +13 -0
  80. data/templates/{app → app_files/app}/controllers/hq/audits_controller.rb +3 -3
  81. data/templates/app_files/app/controllers/hq/dashboard_controller.rb +7 -0
  82. data/templates/{app → app_files/app}/controllers/hq/passwords_controller.rb +3 -2
  83. data/templates/app_files/app/controllers/hq/registrations_controller.rb +22 -0
  84. data/templates/{app → app_files/app}/controllers/hq/sessions_controller.rb +5 -4
  85. data/templates/{app → app_files/app}/controllers/hq/users_controller.rb +7 -10
  86. data/templates/app_files/app/controllers/user/application_controller.rb +18 -0
  87. data/templates/app_files/app/controllers/user/dashboard_controller.rb +7 -0
  88. data/templates/{app → app_files/app}/controllers/user/passwords_controller.rb +3 -4
  89. data/templates/app_files/app/controllers/user/profile_controller.rb +30 -0
  90. data/templates/{app → app_files/app}/controllers/user/registrations_controller.rb +7 -8
  91. data/templates/{app → app_files/app}/controllers/user/sessions_controller.rb +5 -6
  92. data/templates/app_files/app/controllers/welcome_controller.rb +9 -0
  93. data/templates/app_files/app/helpers/application_helper.rb.erb +61 -0
  94. data/templates/app_files/app/mailers/admin_mailer.rb +10 -0
  95. data/templates/app_files/app/mailers/application_mailer.rb +6 -0
  96. data/templates/app_files/app/mailers/user_mailer.rb +10 -0
  97. data/templates/app_files/app/models/admin.rb +42 -0
  98. data/templates/app_files/app/models/audit.rb +4 -0
  99. data/templates/app_files/app/models/concerns/password_creatable.rb +39 -0
  100. data/templates/app_files/app/models/user.rb +43 -0
  101. data/templates/app_files/app/vendor/assets/javascripts/footable.min.js +10 -0
  102. data/templates/{vendor → app_files/app/vendor}/assets/javascripts/jquery.datetimepicker.js +0 -0
  103. data/templates/{vendor → app_files/app/vendor}/assets/javascripts/jquery.maskedinput.min.js +0 -0
  104. data/templates/{vendor → app_files/app/vendor}/assets/javascripts/nprogress.js +0 -0
  105. data/templates/{vendor → app_files/app/vendor}/assets/javascripts/trix.js +0 -0
  106. data/templates/app_files/app/vendor/assets/stylesheets/footable.bootstrap.min.css +1 -0
  107. data/templates/{vendor → app_files/app/vendor}/assets/stylesheets/jquery.datetimepicker.css +0 -0
  108. data/templates/{vendor → app_files/app/vendor}/assets/stylesheets/nprogress.css +0 -1
  109. data/templates/{vendor → app_files/app/vendor}/assets/stylesheets/trix.css +0 -0
  110. data/templates/app_files/app/views/admin_mailer/login_info.html.haml +13 -0
  111. data/templates/app_files/app/views/hq/admins/_admin.html.haml +38 -0
  112. data/templates/{app → app_files/app}/views/hq/admins/_blank.html.haml +3 -3
  113. data/templates/app_files/app/views/hq/admins/_filters.html.haml +27 -0
  114. data/templates/app_files/app/views/hq/admins/_form.html.haml +17 -0
  115. data/templates/app_files/app/views/hq/admins/_list.html.haml +20 -0
  116. data/templates/app_files/app/views/hq/admins/edit.html.haml +3 -0
  117. data/templates/app_files/app/views/hq/admins/index.html.haml +18 -0
  118. data/templates/{app → app_files/app}/views/hq/admins/new.html.haml +2 -2
  119. data/templates/{app → app_files/app}/views/hq/admins/show.html.haml +8 -8
  120. data/templates/app_files/app/views/hq/audits/_filters.html.haml +48 -0
  121. data/templates/app_files/app/views/hq/audits/_list.html.haml +47 -0
  122. data/templates/{app → app_files/app}/views/hq/audits/index.html.haml +3 -3
  123. data/templates/app_files/app/views/hq/audits/show.html.haml +8 -0
  124. data/templates/app_files/app/views/hq/dashboard/index.html.haml +13 -0
  125. data/templates/app_files/app/views/hq/passwords/edit.html.haml +24 -0
  126. data/templates/app_files/app/views/hq/passwords/new.html.haml +21 -0
  127. data/templates/app_files/app/views/hq/registrations/edit.html.haml +30 -0
  128. data/templates/app_files/app/views/hq/sessions/new.html.haml +20 -0
  129. data/templates/{app → app_files/app}/views/hq/users/_blank.html.haml +3 -3
  130. data/templates/app_files/app/views/hq/users/_filters.html.haml +26 -0
  131. data/templates/app_files/app/views/hq/users/_form.html.haml +17 -0
  132. data/templates/app_files/app/views/hq/users/_list.html.haml +21 -0
  133. data/templates/app_files/app/views/hq/users/_user.html.haml +38 -0
  134. data/templates/app_files/app/views/hq/users/edit.html.haml +3 -0
  135. data/templates/app_files/app/views/hq/users/index.html.haml +18 -0
  136. data/templates/{app → app_files/app}/views/hq/users/new.html.haml +2 -2
  137. data/templates/{app → app_files/app}/views/hq/users/show.html.haml +8 -9
  138. data/templates/app_files/app/views/layouts/application.html.haml.erb +33 -0
  139. data/templates/app_files/app/views/layouts/hq/application.html.haml.erb +57 -0
  140. data/templates/app_files/app/views/layouts/hq/login.html.haml.erb +47 -0
  141. data/templates/app_files/app/views/layouts/hq/partials/_breadcrumb.html.haml +3 -0
  142. data/templates/app_files/app/views/layouts/hq/partials/_dock.html.haml +95 -0
  143. data/templates/{app/views/layouts/hq/partials/_footer.html.haml.erb → app_files/app/views/layouts/hq/partials/_footer.html.haml} +0 -0
  144. data/templates/app_files/app/views/layouts/hq/partials/_navbar.html.haml +35 -0
  145. data/templates/app_files/app/views/layouts/hq/partials/_toolbar.html.haml +3 -0
  146. data/templates/{app/views/layouts/hq/partials/_trackers.html.haml.erb → app_files/app/views/layouts/hq/partials/_trackers.html.haml} +0 -0
  147. data/templates/app_files/app/views/layouts/mailer.html.haml.erb +255 -0
  148. data/templates/app_files/app/views/layouts/partials/_messages.html.haml +11 -0
  149. data/templates/app_files/app/views/layouts/partials/_navbar.html.haml.erb +37 -0
  150. data/templates/{app/views/layouts/partials/_footer.html.haml.erb → app_files/app/views/layouts/partials/_warnings.html.haml} +0 -0
  151. data/templates/app_files/app/views/user/dashboard/index.html.haml +11 -0
  152. data/templates/app_files/app/views/user/passwords/edit.html.haml +18 -0
  153. data/templates/app_files/app/views/user/passwords/new.html.haml +18 -0
  154. data/templates/{app → app_files/app}/views/user/profile/_form.html.haml +5 -5
  155. data/templates/app_files/app/views/user/profile/edit.html.haml +3 -0
  156. data/templates/app_files/app/views/user/profile/show.html.haml +18 -0
  157. data/templates/app_files/app/views/user/registrations/edit.html.haml +30 -0
  158. data/templates/app_files/app/views/user/registrations/new.html.haml +33 -0
  159. data/templates/app_files/app/views/user/sessions/new.html.haml +15 -0
  160. data/templates/app_files/app/views/user_mailer/login_info.html.haml +13 -0
  161. data/templates/app_files/app/views/welcome/about.html.haml +3 -0
  162. data/templates/app_files/app/views/welcome/contact.html.haml +3 -0
  163. data/templates/app_files/app/views/welcome/index.html.haml.erb +19 -0
  164. data/templates/app_files/bootstrap_Gemfile.erb +4 -0
  165. data/templates/app_files/breadcrumb_Gemfile.erb +4 -0
  166. data/templates/app_files/jquery_Gemfile.erb +4 -0
  167. data/templates/{public → app_files/public}/images/favicon.png +0 -0
  168. data/templates/{public → app_files/public}/images/mail-logo.png +0 -0
  169. data/templates/basic_authentication/basic_authentication.rb +22 -0
  170. data/templates/basic_authentication/basic_authentication_settings.yml.erb +3 -0
  171. data/templates/basic_authentication/include_module.erb +2 -0
  172. data/templates/basic_authentication/no_basic_authentication.erb +2 -0
  173. data/templates/basic_authentication/yes_basic_authentication.erb +2 -0
  174. data/templates/bullet/bullet_settings.rb.erb +9 -0
  175. data/templates/config/config_application.rb.erb +4 -0
  176. data/templates/config/locales/devise.en.yml +99 -0
  177. data/templates/config/locales/devise.tr.yml +97 -0
  178. data/templates/config/locales/en.yml +34 -0
  179. data/templates/config/locales/mailer.en.yml +32 -0
  180. data/templates/config/locales/{email.tr.yml → mailer.tr.yml} +6 -2
  181. data/templates/config/locales/models.en.yml +74 -0
  182. data/templates/config/locales/models.tr.yml +11 -27
  183. data/templates/config/locales/responders.en.yml +15 -0
  184. data/templates/config/locales/responders.tr.yml +3 -2
  185. data/templates/config/locales/show_for.tr.yml +3 -3
  186. data/templates/config/locales/view.en.yml +73 -0
  187. data/templates/config/locales/view.tr.yml +55 -82
  188. data/templates/config/routes.rb.erb +63 -0
  189. data/templates/cybele_gitignore +4 -3
  190. data/templates/devise/devise_authenticate_admin.rb.erb +2 -0
  191. data/templates/devise/devise_before_action_strong_parameter.rb.erb +3 -0
  192. data/templates/devise/devise_mailer.rb.erb +1 -0
  193. data/templates/devise/devise_strong_parameter.rb.erb +13 -0
  194. data/templates/{app/views/devise → devise/devise_views}/confirmations/new.html.haml +4 -1
  195. data/templates/devise/devise_views/mailer/confirmation_instructions.html.haml +5 -0
  196. data/templates/devise/devise_views/mailer/reset_password_instructions.html.haml +7 -0
  197. data/templates/{app/views/devise → devise/devise_views}/mailer/unlock_instructions.html.haml +1 -1
  198. data/templates/devise/devise_views/passwords/edit.html.haml +19 -0
  199. data/templates/devise/devise_views/passwords/new.html.haml +14 -0
  200. data/templates/devise/devise_views/registrations/edit.html.haml +21 -0
  201. data/templates/devise/devise_views/registrations/new.html.haml +32 -0
  202. data/templates/{app/views/devise → devise/devise_views}/sessions/new.html.haml +8 -3
  203. data/templates/devise/devise_views/shared/_links.haml +29 -0
  204. data/templates/{app/views/devise → devise/devise_views}/unlocks/new.html.haml +4 -1
  205. data/templates/devise/seeds.rb.erb +1 -0
  206. data/templates/docker/Dockerfile.erb +48 -0
  207. data/templates/docker/docker-compose.yml.erb +46 -0
  208. data/templates/docker/docker_env_local_sample.erb +6 -0
  209. data/templates/docker/docker_env_local_sample_host.erb +1 -0
  210. data/templates/docker/docker_env_local_sample_sidekiq.erb +2 -0
  211. data/templates/docker/docker_env_staging_production_sidekiq.erb +2 -0
  212. data/templates/docker/start-app.sh.erb +7 -0
  213. data/templates/docker/start-sidekiq.sh.erb +27 -0
  214. data/templates/dotenv/.env.local.erb +5 -0
  215. data/templates/dotenv/.env.production.erb +5 -0
  216. data/templates/dotenv/.env.sample.erb +5 -0
  217. data/templates/dotenv/.env.staging.erb +5 -0
  218. data/templates/dotenv/dotenv_Gemfile.erb +2 -0
  219. data/templates/error_pages/error_control.erb +7 -0
  220. data/templates/error_pages/error_method.erb +10 -0
  221. data/templates/error_pages/error_route.erb.rb +2 -0
  222. data/templates/error_pages/internal_server_error.html.haml +2 -0
  223. data/templates/error_pages/not_found.html.haml +2 -0
  224. data/templates/guardfile/guardfile_settings.rb.erb +49 -0
  225. data/templates/haml/haml_Gemfile.erb +5 -0
  226. data/templates/mailer/.env.local.erb +7 -0
  227. data/templates/mailer/host.rb.erb +2 -0
  228. data/templates/mailer/mailer_settings.yml.erb +8 -0
  229. data/templates/mailer/smtp.rb.erb +10 -0
  230. data/templates/paperclip/paperclip.rb.erb +11 -0
  231. data/templates/paperclip/paperclip_Gemfile.erb +4 -0
  232. data/templates/paperclip/paperclip_env_local.erb +6 -0
  233. data/templates/paperclip/paperclip_env_production.erb +6 -0
  234. data/templates/paperclip/paperclip_env_sample.erb +6 -0
  235. data/templates/paperclip/paperclip_env_staging.erb +6 -0
  236. data/templates/paperclip/paperclip_settings.yml.erb +10 -0
  237. data/templates/postgresql_database.yml.erb +24 -0
  238. data/templates/pronto/.flayignore.erb +5 -0
  239. data/templates/pronto/.haml-lint.yml.erb +5 -0
  240. data/templates/pronto/.rubocop.yml.erb +38 -0
  241. data/templates/pronto/config.reek.erb +42 -0
  242. data/templates/pronto/example.pronto.yml.erb +27 -0
  243. data/templates/pronto/rubo.erb +24 -0
  244. data/templates/recipient_interceptor/recipient_interceptor_settings.yml.erb +4 -0
  245. data/templates/recipient_interceptor/recipient_interceptor_staging.rb.erb +2 -0
  246. data/templates/responders/responders_Gemfile.erb +3 -0
  247. data/templates/ruby-version +1 -1
  248. data/templates/secrets.yml.erb +3 -0
  249. data/templates/settings.yml.erb +1 -0
  250. data/templates/show_for/show_for_Gemfile.erb +3 -0
  251. data/templates/sidekiq/sidekiq.rake.erb +42 -0
  252. data/templates/sidekiq/sidekiq.rb.erb +18 -0
  253. data/templates/sidekiq/sidekiq.yml.erb +18 -0
  254. data/templates/sidekiq/sidekiq_Gemfile.erb +8 -0
  255. data/templates/{Procfile.erb → sidekiq/sidekiq_Procfile.erb} +0 -0
  256. data/templates/sidekiq/sidekiq_application.rb.erb +3 -0
  257. data/templates/sidekiq/sidekiq_routes_mount.erb +8 -0
  258. data/templates/sidekiq/sidekiq_routes_require.erb +3 -0
  259. data/templates/{config/schedule.yml → sidekiq/sidekiq_schedule.yml.erb} +6 -4
  260. data/templates/simple_form/simple_form_Gemfile.erb +3 -0
  261. data/templates/ssl/ssl_env_all.erb +2 -0
  262. metadata +369 -179
  263. data/templates/.env.local.erb +0 -11
  264. data/templates/.env.production.erb +0 -11
  265. data/templates/.env.staging.erb +0 -11
  266. data/templates/app/assets/javascripts/application.js.coffee +0 -81
  267. data/templates/app/assets/javascripts/hq/application.js.coffee +0 -94
  268. data/templates/app/assets/stylesheets/hq/application.css.sass +0 -92
  269. data/templates/app/controllers/application_controller.rb.erb +0 -48
  270. data/templates/app/controllers/concerns/basic_authentication.rb +0 -18
  271. data/templates/app/controllers/hq/application_controller.rb +0 -18
  272. data/templates/app/controllers/hq/cities_controller.rb +0 -54
  273. data/templates/app/controllers/hq/countries_controller.rb +0 -54
  274. data/templates/app/controllers/hq/dashboard_controller.rb +0 -8
  275. data/templates/app/controllers/hq/registrations_controller.rb +0 -21
  276. data/templates/app/controllers/user/dashboard_controller.rb +0 -8
  277. data/templates/app/controllers/user/profile_controller.rb +0 -34
  278. data/templates/app/controllers/user/user_application_controller.rb +0 -26
  279. data/templates/app/controllers/welcome_controller.rb +0 -4
  280. data/templates/app/helpers/application_helper.rb.erb +0 -27
  281. data/templates/app/mailers/admin_mailer.rb +0 -10
  282. data/templates/app/mailers/base_mailer.rb +0 -4
  283. data/templates/app/mailers/user_mailer.rb +0 -10
  284. data/templates/app/models/admin.rb +0 -51
  285. data/templates/app/models/audit.rb +0 -3
  286. data/templates/app/models/city.rb +0 -12
  287. data/templates/app/models/country.rb +0 -12
  288. data/templates/app/models/user.rb +0 -54
  289. data/templates/app/views/admin_mailer/login_info.html.haml +0 -13
  290. data/templates/app/views/devise/mailer/confirmation_instructions.html.haml +0 -6
  291. data/templates/app/views/devise/mailer/reset_password_instructions.html.haml +0 -9
  292. data/templates/app/views/devise/passwords/edit.html.haml +0 -11
  293. data/templates/app/views/devise/passwords/new.html.haml +0 -9
  294. data/templates/app/views/devise/registrations/edit.html.haml +0 -12
  295. data/templates/app/views/devise/registrations/new.html.haml +0 -24
  296. data/templates/app/views/devise/shared/_links.haml +0 -22
  297. data/templates/app/views/errors/internal_server_error.html.haml +0 -2
  298. data/templates/app/views/errors/not_found.html.haml +0 -2
  299. data/templates/app/views/hq/admins/_admin.html.haml +0 -21
  300. data/templates/app/views/hq/admins/_filters.html.haml +0 -20
  301. data/templates/app/views/hq/admins/_form.html.haml +0 -17
  302. data/templates/app/views/hq/admins/_list.html.haml +0 -15
  303. data/templates/app/views/hq/admins/edit.html.haml +0 -3
  304. data/templates/app/views/hq/admins/index.html.haml +0 -18
  305. data/templates/app/views/hq/audits/_filters.html.haml +0 -32
  306. data/templates/app/views/hq/audits/_list.html.haml +0 -37
  307. data/templates/app/views/hq/audits/show.html.haml +0 -5
  308. data/templates/app/views/hq/cities/_blank.html.haml +0 -9
  309. data/templates/app/views/hq/cities/_city.html.haml +0 -12
  310. data/templates/app/views/hq/cities/_filters.html.haml +0 -15
  311. data/templates/app/views/hq/cities/_form.html.haml +0 -15
  312. data/templates/app/views/hq/cities/_list.html.haml +0 -13
  313. data/templates/app/views/hq/cities/edit.html.haml +0 -3
  314. data/templates/app/views/hq/cities/index.html.haml +0 -18
  315. data/templates/app/views/hq/cities/new.html.haml +0 -3
  316. data/templates/app/views/hq/cities/show.html.haml +0 -13
  317. data/templates/app/views/hq/countries/_blank.html.haml +0 -9
  318. data/templates/app/views/hq/countries/_country.html.haml +0 -11
  319. data/templates/app/views/hq/countries/_filters.html.haml +0 -14
  320. data/templates/app/views/hq/countries/_form.html.haml +0 -14
  321. data/templates/app/views/hq/countries/_list.html.haml +0 -12
  322. data/templates/app/views/hq/countries/edit.html.haml +0 -3
  323. data/templates/app/views/hq/countries/index.html.haml +0 -18
  324. data/templates/app/views/hq/countries/new.html.haml +0 -3
  325. data/templates/app/views/hq/countries/show.html.haml +0 -14
  326. data/templates/app/views/hq/dashboard/index.html.haml +0 -8
  327. data/templates/app/views/hq/passwords/edit.html.haml +0 -12
  328. data/templates/app/views/hq/passwords/new.html.haml +0 -9
  329. data/templates/app/views/hq/registrations/edit.html.haml +0 -19
  330. data/templates/app/views/hq/sessions/new.html.haml +0 -11
  331. data/templates/app/views/hq/users/_filters.html.haml +0 -20
  332. data/templates/app/views/hq/users/_form.html.haml +0 -18
  333. data/templates/app/views/hq/users/_list.html.haml +0 -15
  334. data/templates/app/views/hq/users/_user.html.haml +0 -20
  335. data/templates/app/views/hq/users/edit.html.haml +0 -3
  336. data/templates/app/views/hq/users/index.html.haml +0 -18
  337. data/templates/app/views/layouts/application.html.haml.erb +0 -56
  338. data/templates/app/views/layouts/hq/application.html.haml.erb +0 -55
  339. data/templates/app/views/layouts/hq/login.html.haml.erb +0 -35
  340. data/templates/app/views/layouts/hq/partials/_dock.html.haml.erb +0 -36
  341. data/templates/app/views/layouts/hq/partials/_navbar.html.haml.erb +0 -22
  342. data/templates/app/views/layouts/mailer.html.haml.erb +0 -321
  343. data/templates/app/views/layouts/mailer.text.haml +0 -1
  344. data/templates/app/views/layouts/partials/_trackers.html.haml.erb +0 -0
  345. data/templates/app/views/layouts/partials/_warnings.html.haml.erb +0 -3
  346. data/templates/app/views/user/dashboard/index.html.haml +0 -8
  347. data/templates/app/views/user/passwords/edit.html.haml +0 -12
  348. data/templates/app/views/user/passwords/new.html.haml +0 -10
  349. data/templates/app/views/user/profile/edit.html.haml +0 -3
  350. data/templates/app/views/user/profile/show.html.haml +0 -18
  351. data/templates/app/views/user/registrations/edit.html.haml +0 -19
  352. data/templates/app/views/user/sessions/new.html.haml +0 -11
  353. data/templates/app/views/user_mailer/login_info.html.haml +0 -13
  354. data/templates/app/views/welcome/index.html.haml.erb +0 -16
  355. data/templates/config/database.yml.erb +0 -21
  356. data/templates/config/deploy.rb +0 -56
  357. data/templates/config/initializers/devise_async.rb +0 -6
  358. data/templates/config/initializers/disable_xml_params.rb +0 -3
  359. data/templates/config/initializers/mail.rb +0 -13
  360. data/templates/config/initializers/paperclip.rb +0 -10
  361. data/templates/config/initializers/secret_token.erb +0 -25
  362. data/templates/config/initializers/show_for.rb +0 -3
  363. data/templates/config/initializers/sidekiq.rb +0 -13
  364. data/templates/config/initializers/simple_form.rb +0 -142
  365. data/templates/config/initializers/simple_form_bootstrap.rb +0 -207
  366. data/templates/config/routes.erb +0 -51
  367. data/templates/config/settings.yml +0 -0
  368. data/templates/config/settings/production.yml +0 -0
  369. data/templates/config/settings/staging.yml +0 -0
  370. data/templates/config/sidekiq.yml +0 -13
  371. data/templates/cybele_Gemfile +0 -106
  372. data/templates/cybele_version.txt +0 -1
  373. data/templates/env.sample.erb +0 -11
  374. data/templates/lib/application_responder.rb +0 -8
  375. data/templates/lib/data/cities.yml +0 -163
  376. data/templates/lib/tasks/annotate.rake +0 -6
  377. data/templates/lib/tasks/dev.rake +0 -56
  378. data/templates/lib/tasks/sidekiq.rake +0 -26
  379. data/templates/lib/templates/rails/responders_controller/controller.rb +0 -56
  380. data/templates/public/images/missing_cover.png +0 -0
  381. data/templates/public/images/missing_cover@2x.png +0 -0
  382. data/templates/public/images/missing_logo.png +0 -0
  383. data/templates/public/images/missing_logo@2x.png +0 -0
  384. data/templates/public/images/sprite.png +0 -0
@@ -0,0 +1,8 @@
1
+
2
+ # Use Sidekiq as a background job processor through Active Job
3
+ gem 'sidekiq', '~> 4.2.10'
4
+ gem 'sidekiq-cron', '~> 0.4.5'
5
+ # Cocaine run bash commands with ruby. Required for sidekiq start commands
6
+ gem 'cocaine', '~> 0.5.8'
7
+ # Devise Async provides an easy way to configure Devise to send its emails asynchronously using ActiveJob.
8
+ gem 'devise-async', '~> 1.0'
@@ -0,0 +1,3 @@
1
+
2
+ # Background jobs
3
+ config.active_job.queue_adapter = :sidekiq
@@ -0,0 +1,8 @@
1
+
2
+ # ========== Sidekiq ==========
3
+ if Rails.env.production?
4
+ Sidekiq::Web.use Rack::Auth::Basic do |username, password|
5
+ username == 'sidekiq' && password == 'sidekiq'
6
+ end
7
+ end
8
+ mount Sidekiq::Web, at: '/sidekiq'
@@ -0,0 +1,3 @@
1
+ require 'sidekiq/web'
2
+ require 'sidekiq/cron/web'
3
+
@@ -6,11 +6,13 @@
6
6
  # 20 0 * * * -> Every day at 00:20
7
7
  # 30 0 * * * -> Every day at 00:30
8
8
  # 40 0 * * * -> Every day at 00:40
9
+ # 0 1 * * * -> Every day at 01:00
10
+ # 0 8 * * * -> Every day at 08:00
9
11
 
10
- # Look config/initializers/sidekiq.rb
12
+ # You should enable sidekiq_schedule.yml in config/initializers/sidekiq.rb
11
13
 
12
14
  # Every day at 00:01
13
- #check_course_hosting_date_job:
14
- # cron: 1 0 * * * Europe/Istanbul
15
- # class: JobName
15
+ #example:
16
+ # cron: '0 1 * * * UTC'
17
+ # class: ExampleJob
16
18
  # queue: high_priority
@@ -0,0 +1,3 @@
1
+
2
+ # Simple Form aims to be as flexible as possible while helping you with powerful components to create your forms.
3
+ gem 'simple_form', '~> 3.5'
@@ -0,0 +1,2 @@
1
+
2
+ RAILS_FORCE_SSL=
metadata CHANGED
@@ -1,59 +1,148 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybele
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lab2023
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-03 00:00:00.000000000 Z
11
+ date: 2018-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rake
14
+ name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
19
+ version: '1.5'
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: bundler
28
+ name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.5'
33
+ version: '5.0'
34
+ - - "~>"
35
+ - !ruby/object:Gem::Version
36
+ version: 5.1.4
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
- version: '1.5'
43
+ version: '5.0'
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: 5.1.4
41
47
  - !ruby/object:Gem::Dependency
42
- name: rails
48
+ name: pronto
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: 4.2.6
48
- type: :runtime
53
+ version: 0.9.5
54
+ type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: 4.2.6
55
- description: Rails 4.x template with responder, simple form, haml, exception notification,
56
- etc etc ...
60
+ version: 0.9.5
61
+ - !ruby/object:Gem::Dependency
62
+ name: pronto-fasterer
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 0.9.0
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 0.9.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: pronto-flay
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 0.9.0
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 0.9.0
89
+ - !ruby/object:Gem::Dependency
90
+ name: pronto-reek
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: 0.9.0
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 0.9.0
103
+ - !ruby/object:Gem::Dependency
104
+ name: pronto-rubocop
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: 0.9.0
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: 0.9.0
117
+ - !ruby/object:Gem::Dependency
118
+ name: rspec
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '3.5'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '3.5'
131
+ - !ruby/object:Gem::Dependency
132
+ name: thor
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: 0.19.4
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: 0.19.4
145
+ description: Rails 5.x App template
57
146
  email:
58
147
  - info@lab2023.com
59
148
  executables:
@@ -63,7 +152,12 @@ extra_rdoc_files:
63
152
  - README.md
64
153
  - MIT-LICENSE
65
154
  files:
155
+ - ".fasterer.yml"
156
+ - ".flayignore"
66
157
  - ".gitignore"
158
+ - ".haml-lint.yml"
159
+ - ".poper.yml"
160
+ - ".rubocop.yml"
67
161
  - ".ruby-version"
68
162
  - CHANGELOG.md
69
163
  - Gemfile
@@ -71,179 +165,258 @@ files:
71
165
  - README.md
72
166
  - Rakefile
73
167
  - SECURITY.md
168
+ - USAGE
169
+ - bin/build_app
170
+ - bin/build_gem
74
171
  - bin/cybele
172
+ - config.reek
75
173
  - cybele.gemspec
174
+ - example.pronto.yml
175
+ - lib/cybele.rb
76
176
  - lib/cybele/app_builder.rb
77
177
  - lib/cybele/generators/app_generator.rb
178
+ - lib/cybele/helpers.rb
179
+ - lib/cybele/helpers/app_files/assets_files.rb
180
+ - lib/cybele/helpers/app_files/controller_files.rb
181
+ - lib/cybele/helpers/app_files/helper_files.rb
182
+ - lib/cybele/helpers/app_files/mailer_files.rb
183
+ - lib/cybele/helpers/app_files/model_files.rb
184
+ - lib/cybele/helpers/app_files/vendor_files.rb
185
+ - lib/cybele/helpers/app_files/view_files.rb
186
+ - lib/cybele/helpers/app_files/view_gems.rb
187
+ - lib/cybele/helpers/audited.rb
188
+ - lib/cybele/helpers/basic_authentication.rb
189
+ - lib/cybele/helpers/devise.rb
190
+ - lib/cybele/helpers/docker.rb
191
+ - lib/cybele/helpers/dotenv.rb
192
+ - lib/cybele/helpers/error_pages.rb
193
+ - lib/cybele/helpers/general.rb
194
+ - lib/cybele/helpers/haml.rb
195
+ - lib/cybele/helpers/locale_language.rb
196
+ - lib/cybele/helpers/mailer.rb
197
+ - lib/cybele/helpers/paperclip.rb
198
+ - lib/cybele/helpers/pronto.rb
199
+ - lib/cybele/helpers/recipient_interceptor.rb
200
+ - lib/cybele/helpers/responders.rb
201
+ - lib/cybele/helpers/routes.rb
202
+ - lib/cybele/helpers/show_for.rb
203
+ - lib/cybele/helpers/sidekiq.rb
204
+ - lib/cybele/helpers/simple_form.rb
205
+ - lib/cybele/helpers/staging.rb
78
206
  - lib/cybele/version.rb
79
- - templates/.env.local.erb
80
- - templates/.env.production.erb
81
- - templates/.env.staging.erb
82
- - templates/Procfile.erb
207
+ - spec/features/cli_help_spec.rb
208
+ - spec/features/git_and_git_flow_spec.rb
209
+ - spec/features/new_default_project_spec.rb
210
+ - spec/features/new_not_default_project_spec.rb
211
+ - spec/spec_helper.rb
212
+ - spec/support/config_test_helper.rb
213
+ - spec/support/cybele_test_helpers.rb
214
+ - spec/support/devise_test_helper.rb
215
+ - spec/support/dotenv_test_helper.rb
216
+ - spec/support/error_pages_test_helper.rb
217
+ - spec/support/force_ssl_test_helper.rb
218
+ - spec/support/git_ignore_test_helper.rb
219
+ - spec/support/locale_language_test_helper.rb
220
+ - spec/support/mail_test_helpers.rb
221
+ - spec/support/paperclip_test_helper.rb
222
+ - spec/support/pronto_test_helpers.rb
223
+ - spec/support/responder_test_helper.rb
224
+ - templates/Gemfile.erb
83
225
  - templates/README.md.erb
84
- - templates/app/assets/javascripts/application.js.coffee
85
- - templates/app/assets/javascripts/hq/application.js.coffee
86
- - templates/app/assets/stylesheets/application.css.sass
87
- - templates/app/assets/stylesheets/hq/application.css.sass
88
- - templates/app/controllers/application_controller.rb.erb
89
- - templates/app/controllers/concerns/basic_authentication.rb
90
- - templates/app/controllers/hq/admins_controller.rb
91
- - templates/app/controllers/hq/application_controller.rb
92
- - templates/app/controllers/hq/audits_controller.rb
93
- - templates/app/controllers/hq/cities_controller.rb
94
- - templates/app/controllers/hq/countries_controller.rb
95
- - templates/app/controllers/hq/dashboard_controller.rb
96
- - templates/app/controllers/hq/passwords_controller.rb
97
- - templates/app/controllers/hq/registrations_controller.rb
98
- - templates/app/controllers/hq/sessions_controller.rb
99
- - templates/app/controllers/hq/users_controller.rb
100
- - templates/app/controllers/user/dashboard_controller.rb
101
- - templates/app/controllers/user/passwords_controller.rb
102
- - templates/app/controllers/user/profile_controller.rb
103
- - templates/app/controllers/user/registrations_controller.rb
104
- - templates/app/controllers/user/sessions_controller.rb
105
- - templates/app/controllers/user/user_application_controller.rb
106
- - templates/app/controllers/welcome_controller.rb
107
- - templates/app/helpers/application_helper.rb.erb
108
- - templates/app/mailers/admin_mailer.rb
109
- - templates/app/mailers/base_mailer.rb
110
- - templates/app/mailers/user_mailer.rb
111
- - templates/app/models/admin.rb
112
- - templates/app/models/audit.rb
113
- - templates/app/models/city.rb
114
- - templates/app/models/country.rb
115
- - templates/app/models/user.rb
116
- - templates/app/views/admin_mailer/login_info.html.haml
117
- - templates/app/views/devise/confirmations/new.html.haml
118
- - templates/app/views/devise/mailer/confirmation_instructions.html.haml
119
- - templates/app/views/devise/mailer/reset_password_instructions.html.haml
120
- - templates/app/views/devise/mailer/unlock_instructions.html.haml
121
- - templates/app/views/devise/passwords/edit.html.haml
122
- - templates/app/views/devise/passwords/new.html.haml
123
- - templates/app/views/devise/registrations/edit.html.haml
124
- - templates/app/views/devise/registrations/new.html.haml
125
- - templates/app/views/devise/sessions/new.html.haml
126
- - templates/app/views/devise/shared/_links.haml
127
- - templates/app/views/devise/unlocks/new.html.haml
128
- - templates/app/views/errors/internal_server_error.html.haml
129
- - templates/app/views/errors/not_found.html.haml
130
- - templates/app/views/hq/admins/_admin.html.haml
131
- - templates/app/views/hq/admins/_blank.html.haml
132
- - templates/app/views/hq/admins/_filters.html.haml
133
- - templates/app/views/hq/admins/_form.html.haml
134
- - templates/app/views/hq/admins/_list.html.haml
135
- - templates/app/views/hq/admins/edit.html.haml
136
- - templates/app/views/hq/admins/index.html.haml
137
- - templates/app/views/hq/admins/new.html.haml
138
- - templates/app/views/hq/admins/show.html.haml
139
- - templates/app/views/hq/audits/_filters.html.haml
140
- - templates/app/views/hq/audits/_list.html.haml
141
- - templates/app/views/hq/audits/index.html.haml
142
- - templates/app/views/hq/audits/show.html.haml
143
- - templates/app/views/hq/cities/_blank.html.haml
144
- - templates/app/views/hq/cities/_city.html.haml
145
- - templates/app/views/hq/cities/_filters.html.haml
146
- - templates/app/views/hq/cities/_form.html.haml
147
- - templates/app/views/hq/cities/_list.html.haml
148
- - templates/app/views/hq/cities/edit.html.haml
149
- - templates/app/views/hq/cities/index.html.haml
150
- - templates/app/views/hq/cities/new.html.haml
151
- - templates/app/views/hq/cities/show.html.haml
152
- - templates/app/views/hq/countries/_blank.html.haml
153
- - templates/app/views/hq/countries/_country.html.haml
154
- - templates/app/views/hq/countries/_filters.html.haml
155
- - templates/app/views/hq/countries/_form.html.haml
156
- - templates/app/views/hq/countries/_list.html.haml
157
- - templates/app/views/hq/countries/edit.html.haml
158
- - templates/app/views/hq/countries/index.html.haml
159
- - templates/app/views/hq/countries/new.html.haml
160
- - templates/app/views/hq/countries/show.html.haml
161
- - templates/app/views/hq/dashboard/index.html.haml
162
- - templates/app/views/hq/passwords/edit.html.haml
163
- - templates/app/views/hq/passwords/new.html.haml
164
- - templates/app/views/hq/registrations/edit.html.haml
165
- - templates/app/views/hq/sessions/new.html.haml
166
- - templates/app/views/hq/users/_blank.html.haml
167
- - templates/app/views/hq/users/_filters.html.haml
168
- - templates/app/views/hq/users/_form.html.haml
169
- - templates/app/views/hq/users/_list.html.haml
170
- - templates/app/views/hq/users/_user.html.haml
171
- - templates/app/views/hq/users/edit.html.haml
172
- - templates/app/views/hq/users/index.html.haml
173
- - templates/app/views/hq/users/new.html.haml
174
- - templates/app/views/hq/users/show.html.haml
175
- - templates/app/views/layouts/application.html.haml.erb
176
- - templates/app/views/layouts/hq/application.html.haml.erb
177
- - templates/app/views/layouts/hq/login.html.haml.erb
178
- - templates/app/views/layouts/hq/partials/_dock.html.haml.erb
179
- - templates/app/views/layouts/hq/partials/_footer.html.haml.erb
180
- - templates/app/views/layouts/hq/partials/_navbar.html.haml.erb
181
- - templates/app/views/layouts/hq/partials/_trackers.html.haml.erb
182
- - templates/app/views/layouts/mailer.html.haml.erb
183
- - templates/app/views/layouts/mailer.text.haml
184
- - templates/app/views/layouts/partials/_footer.html.haml.erb
185
- - templates/app/views/layouts/partials/_trackers.html.haml.erb
186
- - templates/app/views/layouts/partials/_warnings.html.haml.erb
187
- - templates/app/views/user/dashboard/index.html.haml
188
- - templates/app/views/user/passwords/edit.html.haml
189
- - templates/app/views/user/passwords/new.html.haml
190
- - templates/app/views/user/profile/_form.html.haml
191
- - templates/app/views/user/profile/edit.html.haml
192
- - templates/app/views/user/profile/show.html.haml
193
- - templates/app/views/user/registrations/edit.html.haml
194
- - templates/app/views/user/sessions/new.html.haml
195
- - templates/app/views/user_mailer/login_info.html.haml
196
- - templates/app/views/welcome/index.html.haml.erb
197
- - templates/config/database.yml.erb
198
- - templates/config/deploy.rb
199
- - templates/config/initializers/devise_async.rb
200
- - templates/config/initializers/disable_xml_params.rb
201
- - templates/config/initializers/mail.rb
202
- - templates/config/initializers/paperclip.rb
203
- - templates/config/initializers/secret_token.erb
204
- - templates/config/initializers/show_for.rb
205
- - templates/config/initializers/sidekiq.rb
206
- - templates/config/initializers/simple_form.rb
207
- - templates/config/initializers/simple_form_bootstrap.rb
208
- - templates/config/locales/email.tr.yml
226
+ - templates/VERSION.txt
227
+ - templates/app_files/app/assets/javascripts/application.js
228
+ - templates/app_files/app/assets/javascripts/hq/application.js
229
+ - templates/app_files/app/assets/stylesheets/application.sass
230
+ - templates/app_files/app/assets/stylesheets/hq/_sidebar.sass
231
+ - templates/app_files/app/assets/stylesheets/hq/application.sass
232
+ - templates/app_files/app/controllers/concerns/activatable.rb
233
+ - templates/app_files/app/controllers/hq/admins_controller.rb
234
+ - templates/app_files/app/controllers/hq/application_controller.rb
235
+ - templates/app_files/app/controllers/hq/audits_controller.rb
236
+ - templates/app_files/app/controllers/hq/dashboard_controller.rb
237
+ - templates/app_files/app/controllers/hq/passwords_controller.rb
238
+ - templates/app_files/app/controllers/hq/registrations_controller.rb
239
+ - templates/app_files/app/controllers/hq/sessions_controller.rb
240
+ - templates/app_files/app/controllers/hq/users_controller.rb
241
+ - templates/app_files/app/controllers/user/application_controller.rb
242
+ - templates/app_files/app/controllers/user/dashboard_controller.rb
243
+ - templates/app_files/app/controllers/user/passwords_controller.rb
244
+ - templates/app_files/app/controllers/user/profile_controller.rb
245
+ - templates/app_files/app/controllers/user/registrations_controller.rb
246
+ - templates/app_files/app/controllers/user/sessions_controller.rb
247
+ - templates/app_files/app/controllers/welcome_controller.rb
248
+ - templates/app_files/app/helpers/application_helper.rb.erb
249
+ - templates/app_files/app/mailers/admin_mailer.rb
250
+ - templates/app_files/app/mailers/application_mailer.rb
251
+ - templates/app_files/app/mailers/user_mailer.rb
252
+ - templates/app_files/app/models/admin.rb
253
+ - templates/app_files/app/models/audit.rb
254
+ - templates/app_files/app/models/concerns/password_creatable.rb
255
+ - templates/app_files/app/models/user.rb
256
+ - templates/app_files/app/vendor/assets/javascripts/footable.min.js
257
+ - templates/app_files/app/vendor/assets/javascripts/jquery.datetimepicker.js
258
+ - templates/app_files/app/vendor/assets/javascripts/jquery.maskedinput.min.js
259
+ - templates/app_files/app/vendor/assets/javascripts/nprogress.js
260
+ - templates/app_files/app/vendor/assets/javascripts/trix.js
261
+ - templates/app_files/app/vendor/assets/stylesheets/footable.bootstrap.min.css
262
+ - templates/app_files/app/vendor/assets/stylesheets/jquery.datetimepicker.css
263
+ - templates/app_files/app/vendor/assets/stylesheets/nprogress.css
264
+ - templates/app_files/app/vendor/assets/stylesheets/trix.css
265
+ - templates/app_files/app/views/admin_mailer/login_info.html.haml
266
+ - templates/app_files/app/views/hq/admins/_admin.html.haml
267
+ - templates/app_files/app/views/hq/admins/_blank.html.haml
268
+ - templates/app_files/app/views/hq/admins/_filters.html.haml
269
+ - templates/app_files/app/views/hq/admins/_form.html.haml
270
+ - templates/app_files/app/views/hq/admins/_list.html.haml
271
+ - templates/app_files/app/views/hq/admins/edit.html.haml
272
+ - templates/app_files/app/views/hq/admins/index.html.haml
273
+ - templates/app_files/app/views/hq/admins/new.html.haml
274
+ - templates/app_files/app/views/hq/admins/show.html.haml
275
+ - templates/app_files/app/views/hq/audits/_filters.html.haml
276
+ - templates/app_files/app/views/hq/audits/_list.html.haml
277
+ - templates/app_files/app/views/hq/audits/index.html.haml
278
+ - templates/app_files/app/views/hq/audits/show.html.haml
279
+ - templates/app_files/app/views/hq/dashboard/index.html.haml
280
+ - templates/app_files/app/views/hq/passwords/edit.html.haml
281
+ - templates/app_files/app/views/hq/passwords/new.html.haml
282
+ - templates/app_files/app/views/hq/registrations/edit.html.haml
283
+ - templates/app_files/app/views/hq/sessions/new.html.haml
284
+ - templates/app_files/app/views/hq/users/_blank.html.haml
285
+ - templates/app_files/app/views/hq/users/_filters.html.haml
286
+ - templates/app_files/app/views/hq/users/_form.html.haml
287
+ - templates/app_files/app/views/hq/users/_list.html.haml
288
+ - templates/app_files/app/views/hq/users/_user.html.haml
289
+ - templates/app_files/app/views/hq/users/edit.html.haml
290
+ - templates/app_files/app/views/hq/users/index.html.haml
291
+ - templates/app_files/app/views/hq/users/new.html.haml
292
+ - templates/app_files/app/views/hq/users/show.html.haml
293
+ - templates/app_files/app/views/layouts/application.html.haml.erb
294
+ - templates/app_files/app/views/layouts/hq/application.html.haml.erb
295
+ - templates/app_files/app/views/layouts/hq/login.html.haml.erb
296
+ - templates/app_files/app/views/layouts/hq/partials/_breadcrumb.html.haml
297
+ - templates/app_files/app/views/layouts/hq/partials/_dock.html.haml
298
+ - templates/app_files/app/views/layouts/hq/partials/_footer.html.haml
299
+ - templates/app_files/app/views/layouts/hq/partials/_navbar.html.haml
300
+ - templates/app_files/app/views/layouts/hq/partials/_toolbar.html.haml
301
+ - templates/app_files/app/views/layouts/hq/partials/_trackers.html.haml
302
+ - templates/app_files/app/views/layouts/mailer.html.haml.erb
303
+ - templates/app_files/app/views/layouts/partials/_messages.html.haml
304
+ - templates/app_files/app/views/layouts/partials/_navbar.html.haml.erb
305
+ - templates/app_files/app/views/layouts/partials/_warnings.html.haml
306
+ - templates/app_files/app/views/user/dashboard/index.html.haml
307
+ - templates/app_files/app/views/user/passwords/edit.html.haml
308
+ - templates/app_files/app/views/user/passwords/new.html.haml
309
+ - templates/app_files/app/views/user/profile/_form.html.haml
310
+ - templates/app_files/app/views/user/profile/edit.html.haml
311
+ - templates/app_files/app/views/user/profile/show.html.haml
312
+ - templates/app_files/app/views/user/registrations/edit.html.haml
313
+ - templates/app_files/app/views/user/registrations/new.html.haml
314
+ - templates/app_files/app/views/user/sessions/new.html.haml
315
+ - templates/app_files/app/views/user_mailer/login_info.html.haml
316
+ - templates/app_files/app/views/welcome/about.html.haml
317
+ - templates/app_files/app/views/welcome/contact.html.haml
318
+ - templates/app_files/app/views/welcome/index.html.haml.erb
319
+ - templates/app_files/bootstrap_Gemfile.erb
320
+ - templates/app_files/breadcrumb_Gemfile.erb
321
+ - templates/app_files/jquery_Gemfile.erb
322
+ - templates/app_files/public/images/favicon.png
323
+ - templates/app_files/public/images/mail-logo.png
324
+ - templates/basic_authentication/basic_authentication.rb
325
+ - templates/basic_authentication/basic_authentication_settings.yml.erb
326
+ - templates/basic_authentication/include_module.erb
327
+ - templates/basic_authentication/no_basic_authentication.erb
328
+ - templates/basic_authentication/yes_basic_authentication.erb
329
+ - templates/bullet/bullet_settings.rb.erb
330
+ - templates/config/config_application.rb.erb
331
+ - templates/config/locales/devise.en.yml
332
+ - templates/config/locales/devise.tr.yml
333
+ - templates/config/locales/en.yml
334
+ - templates/config/locales/mailer.en.yml
335
+ - templates/config/locales/mailer.tr.yml
336
+ - templates/config/locales/models.en.yml
209
337
  - templates/config/locales/models.tr.yml
338
+ - templates/config/locales/responders.en.yml
210
339
  - templates/config/locales/responders.tr.yml
211
340
  - templates/config/locales/show_for.tr.yml
212
341
  - templates/config/locales/simple_form.tr.yml
213
342
  - templates/config/locales/tr.yml
343
+ - templates/config/locales/view.en.yml
214
344
  - templates/config/locales/view.tr.yml
215
- - templates/config/routes.erb
216
- - templates/config/schedule.yml
217
- - templates/config/settings.yml
218
- - templates/config/settings/production.yml
219
- - templates/config/settings/staging.yml
220
- - templates/config/sidekiq.yml
221
- - templates/cybele_Gemfile
345
+ - templates/config/routes.rb.erb
222
346
  - templates/cybele_gitignore
223
- - templates/cybele_version.txt
347
+ - templates/devise/devise_authenticate_admin.rb.erb
348
+ - templates/devise/devise_before_action_strong_parameter.rb.erb
349
+ - templates/devise/devise_mailer.rb.erb
350
+ - templates/devise/devise_strong_parameter.rb.erb
351
+ - templates/devise/devise_views/confirmations/new.html.haml
352
+ - templates/devise/devise_views/mailer/confirmation_instructions.html.haml
353
+ - templates/devise/devise_views/mailer/reset_password_instructions.html.haml
354
+ - templates/devise/devise_views/mailer/unlock_instructions.html.haml
355
+ - templates/devise/devise_views/passwords/edit.html.haml
356
+ - templates/devise/devise_views/passwords/new.html.haml
357
+ - templates/devise/devise_views/registrations/edit.html.haml
358
+ - templates/devise/devise_views/registrations/new.html.haml
359
+ - templates/devise/devise_views/sessions/new.html.haml
360
+ - templates/devise/devise_views/shared/_links.haml
361
+ - templates/devise/devise_views/unlocks/new.html.haml
362
+ - templates/devise/seeds.rb.erb
363
+ - templates/docker/Dockerfile.erb
364
+ - templates/docker/docker-compose.yml.erb
365
+ - templates/docker/docker_env_local_sample.erb
366
+ - templates/docker/docker_env_local_sample_host.erb
367
+ - templates/docker/docker_env_local_sample_sidekiq.erb
368
+ - templates/docker/docker_env_staging_production_sidekiq.erb
369
+ - templates/docker/start-app.sh.erb
370
+ - templates/docker/start-sidekiq.sh.erb
371
+ - templates/dotenv/.env.local.erb
372
+ - templates/dotenv/.env.production.erb
373
+ - templates/dotenv/.env.sample.erb
374
+ - templates/dotenv/.env.staging.erb
375
+ - templates/dotenv/dotenv_Gemfile.erb
224
376
  - templates/editorconfig
225
- - templates/env.sample.erb
226
- - templates/lib/application_responder.rb
227
- - templates/lib/data/cities.yml
228
- - templates/lib/tasks/annotate.rake
229
- - templates/lib/tasks/dev.rake
230
- - templates/lib/tasks/sidekiq.rake
231
- - templates/lib/templates/rails/responders_controller/controller.rb
232
- - templates/public/images/favicon.png
233
- - templates/public/images/mail-logo.png
234
- - templates/public/images/missing_cover.png
235
- - templates/public/images/missing_cover@2x.png
236
- - templates/public/images/missing_logo.png
237
- - templates/public/images/missing_logo@2x.png
238
- - templates/public/images/sprite.png
377
+ - templates/error_pages/error_control.erb
378
+ - templates/error_pages/error_method.erb
379
+ - templates/error_pages/error_route.erb.rb
380
+ - templates/error_pages/internal_server_error.html.haml
381
+ - templates/error_pages/not_found.html.haml
382
+ - templates/guardfile/guardfile_settings.rb.erb
383
+ - templates/haml/haml_Gemfile.erb
384
+ - templates/mailer/.env.local.erb
385
+ - templates/mailer/host.rb.erb
386
+ - templates/mailer/mailer_settings.yml.erb
387
+ - templates/mailer/smtp.rb.erb
388
+ - templates/paperclip/paperclip.rb.erb
389
+ - templates/paperclip/paperclip_Gemfile.erb
390
+ - templates/paperclip/paperclip_env_local.erb
391
+ - templates/paperclip/paperclip_env_production.erb
392
+ - templates/paperclip/paperclip_env_sample.erb
393
+ - templates/paperclip/paperclip_env_staging.erb
394
+ - templates/paperclip/paperclip_settings.yml.erb
395
+ - templates/postgresql_database.yml.erb
396
+ - templates/pronto/.flayignore.erb
397
+ - templates/pronto/.haml-lint.yml.erb
398
+ - templates/pronto/.rubocop.yml.erb
399
+ - templates/pronto/config.reek.erb
400
+ - templates/pronto/example.pronto.yml.erb
401
+ - templates/pronto/rubo.erb
402
+ - templates/recipient_interceptor/recipient_interceptor_settings.yml.erb
403
+ - templates/recipient_interceptor/recipient_interceptor_staging.rb.erb
404
+ - templates/responders/responders_Gemfile.erb
239
405
  - templates/ruby-version
240
- - templates/vendor/assets/javascripts/jquery.datetimepicker.js
241
- - templates/vendor/assets/javascripts/jquery.maskedinput.min.js
242
- - templates/vendor/assets/javascripts/nprogress.js
243
- - templates/vendor/assets/javascripts/trix.js
244
- - templates/vendor/assets/stylesheets/jquery.datetimepicker.css
245
- - templates/vendor/assets/stylesheets/nprogress.css
246
- - templates/vendor/assets/stylesheets/trix.css
406
+ - templates/secrets.yml.erb
407
+ - templates/settings.yml.erb
408
+ - templates/show_for/show_for_Gemfile.erb
409
+ - templates/sidekiq/sidekiq.rake.erb
410
+ - templates/sidekiq/sidekiq.rb.erb
411
+ - templates/sidekiq/sidekiq.yml.erb
412
+ - templates/sidekiq/sidekiq_Gemfile.erb
413
+ - templates/sidekiq/sidekiq_Procfile.erb
414
+ - templates/sidekiq/sidekiq_application.rb.erb
415
+ - templates/sidekiq/sidekiq_routes_mount.erb
416
+ - templates/sidekiq/sidekiq_routes_require.erb
417
+ - templates/sidekiq/sidekiq_schedule.yml.erb
418
+ - templates/simple_form/simple_form_Gemfile.erb
419
+ - templates/ssl/ssl_env_all.erb
247
420
  homepage: https://github.com/kebab-project/cybele
248
421
  licenses:
249
422
  - MIT
@@ -256,7 +429,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
256
429
  requirements:
257
430
  - - ">="
258
431
  - !ruby/object:Gem::Version
259
- version: 2.3.0
432
+ version: 2.3.5
260
433
  required_rubygems_version: !ruby/object:Gem::Requirement
261
434
  requirements:
262
435
  - - ">="
@@ -264,9 +437,26 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
437
  version: '0'
265
438
  requirements: []
266
439
  rubyforge_project:
267
- rubygems_version: 2.5.1
440
+ rubygems_version: 2.5.2.1
268
441
  signing_key:
269
442
  specification_version: 4
270
- summary: Rails 4.x template with responder, simple form, haml, exception notification,
443
+ summary: Rails 5.x template with responder, simple form, haml, exception notification,
271
444
  etc etc ...
272
- test_files: []
445
+ test_files:
446
+ - spec/features/cli_help_spec.rb
447
+ - spec/features/git_and_git_flow_spec.rb
448
+ - spec/features/new_default_project_spec.rb
449
+ - spec/features/new_not_default_project_spec.rb
450
+ - spec/spec_helper.rb
451
+ - spec/support/config_test_helper.rb
452
+ - spec/support/cybele_test_helpers.rb
453
+ - spec/support/devise_test_helper.rb
454
+ - spec/support/dotenv_test_helper.rb
455
+ - spec/support/error_pages_test_helper.rb
456
+ - spec/support/force_ssl_test_helper.rb
457
+ - spec/support/git_ignore_test_helper.rb
458
+ - spec/support/locale_language_test_helper.rb
459
+ - spec/support/mail_test_helpers.rb
460
+ - spec/support/paperclip_test_helper.rb
461
+ - spec/support/pronto_test_helpers.rb
462
+ - spec/support/responder_test_helper.rb