cybele 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/README.md +16 -2
  4. data/dump.rdb +1 -0
  5. data/lib/cybele/app_builder.rb +213 -220
  6. data/lib/cybele/generators/app_generator.rb +31 -20
  7. data/lib/cybele/version.rb +2 -2
  8. data/templates/.env.local.erb +11 -0
  9. data/templates/.env.production.erb +11 -0
  10. data/templates/.env.staging.erb +11 -0
  11. data/templates/README.md.erb +22 -0
  12. data/templates/app/assets/javascripts/application.js.coffee +63 -1
  13. data/templates/app/assets/javascripts/hq/application.js.coffee +93 -0
  14. data/templates/app/assets/stylesheets/application.css.sass +15 -4
  15. data/templates/app/assets/stylesheets/hq/application.css.sass +92 -0
  16. data/templates/app/controllers/application_controller.rb.erb +48 -0
  17. data/templates/app/controllers/concerns/basic_authentication.rb +18 -0
  18. data/templates/app/controllers/hq/admins_controller.rb +64 -0
  19. data/templates/app/controllers/hq/application_controller.rb +11 -0
  20. data/templates/app/controllers/hq/audits_controller.rb +16 -0
  21. data/templates/app/controllers/hq/cities_controller.rb +54 -0
  22. data/templates/app/controllers/hq/countries_controller.rb +54 -0
  23. data/templates/app/controllers/hq/dashboard_controller.rb +4 -1
  24. data/templates/app/controllers/hq/passwords_controller.rb +10 -0
  25. data/templates/app/controllers/hq/registrations_controller.rb +21 -0
  26. data/templates/app/controllers/hq/sessions_controller.rb +1 -1
  27. data/templates/app/controllers/hq/users_controller.rb +64 -0
  28. data/templates/app/controllers/user/dashboard_controller.rb +8 -0
  29. data/templates/app/controllers/user/passwords_controller.rb +10 -0
  30. data/templates/app/controllers/user/profiles_controller.rb +34 -0
  31. data/templates/app/controllers/user/registrations_controller.rb +20 -0
  32. data/templates/app/controllers/user/sessions_controller.rb +16 -0
  33. data/templates/app/controllers/user/user_application_controller.rb +20 -0
  34. data/templates/app/helpers/application_helper.rb.erb +27 -0
  35. data/templates/app/mailers/admin_mailer.rb +10 -0
  36. data/templates/app/mailers/base_mailer.rb +4 -0
  37. data/templates/app/mailers/user_mailer.rb +10 -0
  38. data/templates/app/models/admin.rb +51 -0
  39. data/templates/app/models/audit.rb +3 -0
  40. data/templates/app/models/city.rb +12 -0
  41. data/templates/app/models/country.rb +12 -0
  42. data/templates/app/models/user.rb +54 -0
  43. data/templates/app/views/admin_mailer/login_info.html.haml +13 -0
  44. data/templates/app/views/devise/confirmations/new.html.haml +6 -5
  45. data/templates/app/views/devise/mailer/confirmation_instructions.html.haml +5 -3
  46. data/templates/app/views/devise/mailer/reset_password_instructions.html.haml +2 -2
  47. data/templates/app/views/devise/passwords/edit.html.haml +3 -3
  48. data/templates/app/views/devise/passwords/new.html.haml +3 -3
  49. data/templates/app/views/devise/registrations/edit.html.haml +5 -11
  50. data/templates/app/views/devise/registrations/new.html.haml +18 -6
  51. data/templates/app/views/devise/sessions/new.html.haml +1 -1
  52. data/templates/app/views/devise/shared/_links.haml +3 -1
  53. data/templates/app/views/devise/unlocks/new.html.haml +4 -4
  54. data/templates/app/views/hq/admins/_admin.html.haml +21 -0
  55. data/templates/app/views/hq/admins/_blank.html.haml +9 -0
  56. data/templates/app/views/hq/admins/_filters.html.haml +20 -0
  57. data/templates/app/views/hq/admins/_form.html.haml +17 -0
  58. data/templates/app/views/hq/admins/_list.html.haml +15 -0
  59. data/templates/app/views/hq/admins/edit.html.haml +3 -0
  60. data/templates/app/views/hq/admins/index.html.haml +18 -0
  61. data/templates/app/views/hq/admins/new.html.haml +5 -0
  62. data/templates/app/views/hq/admins/show.html.haml +19 -0
  63. data/templates/app/views/hq/audits/_filters.html.haml +32 -0
  64. data/templates/app/views/hq/audits/_list.html.haml +37 -0
  65. data/templates/app/views/hq/audits/index.html.haml +5 -0
  66. data/templates/app/views/hq/audits/show.html.haml +5 -0
  67. data/templates/app/views/hq/cities/_blank.html.haml +9 -0
  68. data/templates/app/views/hq/cities/_city.html.haml +12 -0
  69. data/templates/app/views/hq/cities/_filters.html.haml +15 -0
  70. data/templates/app/views/hq/cities/_form.html.haml +15 -0
  71. data/templates/app/views/hq/cities/_list.html.haml +13 -0
  72. data/templates/app/views/hq/cities/edit.html.haml +3 -0
  73. data/templates/app/views/hq/cities/index.html.haml +18 -0
  74. data/templates/app/views/hq/cities/new.html.haml +3 -0
  75. data/templates/app/views/hq/cities/show.html.haml +13 -0
  76. data/templates/app/views/hq/countries/_blank.html.haml +9 -0
  77. data/templates/app/views/hq/countries/_country.html.haml +11 -0
  78. data/templates/app/views/hq/countries/_filters.html.haml +14 -0
  79. data/templates/app/views/hq/countries/_form.html.haml +14 -0
  80. data/templates/app/views/hq/countries/_list.html.haml +12 -0
  81. data/templates/app/views/hq/countries/edit.html.haml +3 -0
  82. data/templates/app/views/hq/countries/index.html.haml +18 -0
  83. data/templates/app/views/hq/countries/new.html.haml +3 -0
  84. data/templates/app/views/hq/countries/show.html.haml +14 -0
  85. data/templates/app/views/hq/dashboard/index.html.haml +8 -0
  86. data/templates/app/views/hq/passwords/edit.html.haml +12 -0
  87. data/templates/app/views/hq/passwords/new.html.haml +9 -0
  88. data/templates/app/views/hq/registrations/edit.html.haml +19 -0
  89. data/templates/app/views/hq/sessions/new.html.haml +7 -5
  90. data/templates/app/views/hq/users/_blank.html.haml +9 -0
  91. data/templates/app/views/hq/users/_filters.html.haml +20 -0
  92. data/templates/app/views/hq/users/_form.html.haml +18 -0
  93. data/templates/app/views/hq/users/_list.html.haml +15 -0
  94. data/templates/app/views/hq/users/_user.html.haml +20 -0
  95. data/templates/app/views/hq/users/edit.html.haml +3 -0
  96. data/templates/app/views/hq/users/index.html.haml +18 -0
  97. data/templates/app/views/hq/users/new.html.haml +5 -0
  98. data/templates/app/views/hq/users/show.html.haml +20 -0
  99. data/templates/app/views/layouts/application.html.haml.erb +16 -8
  100. data/templates/app/views/layouts/hq/application.html.haml.erb +55 -0
  101. data/templates/app/views/layouts/hq/login.html.haml.erb +35 -0
  102. data/templates/app/views/layouts/hq/partials/_dock.html.haml.erb +36 -0
  103. data/templates/app/views/layouts/hq/partials/_footer.html.haml.erb +0 -0
  104. data/templates/app/views/layouts/hq/partials/_navbar.html.haml.erb +22 -0
  105. data/templates/app/views/layouts/hq/partials/_trackers.html.haml.erb +0 -0
  106. data/templates/app/views/layouts/mailer.html.haml.erb +321 -0
  107. data/templates/app/views/layouts/mailer.text.haml +1 -0
  108. data/templates/app/views/layouts/partials/_footer.html.haml.erb +0 -0
  109. data/templates/app/views/layouts/partials/_trackers.html.haml.erb +0 -0
  110. data/templates/app/views/layouts/partials/_warnings.html.haml.erb +3 -0
  111. data/templates/app/views/user/dashboard/index.html.haml +8 -0
  112. data/templates/app/views/user/passwords/edit.html.haml +12 -0
  113. data/templates/app/views/user/passwords/new.html.haml +10 -0
  114. data/templates/app/views/{user_profiles → user/profiles}/_form.html.haml +4 -5
  115. data/templates/app/views/user/profiles/edit.html.haml +3 -0
  116. data/templates/app/views/user/profiles/show.html.haml +15 -0
  117. data/templates/app/views/user/registrations/edit.html.haml +19 -0
  118. data/templates/app/views/user/sessions/new.html.haml +11 -0
  119. data/templates/app/views/user_mailer/login_info.html.haml +13 -0
  120. data/templates/app/views/welcome/index.html.haml.erb +4 -4
  121. data/templates/config/initializers/devise_async.rb +6 -0
  122. data/templates/config/initializers/sidekiq.rb +13 -0
  123. data/templates/config/locales/email.tr.yml +28 -0
  124. data/templates/config/locales/models.tr.yml +72 -41
  125. data/templates/config/locales/responders.tr.yml +4 -1
  126. data/templates/config/locales/show_for.tr.yml +1 -3
  127. data/templates/config/locales/simple_form.tr.yml +8 -22
  128. data/templates/config/locales/tr.yml +33 -2
  129. data/templates/config/locales/view.tr.yml +64 -18
  130. data/templates/config/routes.erb +51 -0
  131. data/templates/config/schedule.yml +16 -0
  132. data/templates/config/settings/production.yml +0 -17
  133. data/templates/config/settings/staging.yml +0 -17
  134. data/templates/config/sidekiq.yml +13 -0
  135. data/templates/cybele_Gemfile +42 -5
  136. data/templates/cybele_gitignore +3 -1
  137. data/templates/cybele_version.txt +1 -0
  138. data/templates/env.sample.erb +11 -0
  139. data/templates/lib/data/cities.yml +163 -0
  140. data/templates/lib/tasks/dev.rake +29 -5
  141. data/templates/lib/tasks/sidekiq.rake +26 -0
  142. data/templates/lib/templates/rails/responders_controller/controller.rb +27 -22
  143. data/templates/public/images/favicon.png +0 -0
  144. data/templates/public/images/mail-logo.png +0 -0
  145. data/templates/public/images/missing_cover.png +0 -0
  146. data/templates/public/images/missing_cover@2x.png +0 -0
  147. data/templates/public/images/missing_logo.png +0 -0
  148. data/templates/public/images/missing_logo@2x.png +0 -0
  149. data/templates/public/images/sprite.png +0 -0
  150. data/templates/ruby-version +1 -1
  151. data/templates/vendor/assets/javascripts/jquery.datetimepicker.js +1871 -0
  152. data/templates/vendor/assets/javascripts/jquery.maskedinput.min.js +7 -0
  153. data/templates/vendor/assets/javascripts/nprogress.js +491 -0
  154. data/templates/vendor/assets/javascripts/trix.js +25 -0
  155. data/templates/vendor/assets/stylesheets/jquery.datetimepicker.css +418 -0
  156. data/templates/vendor/assets/stylesheets/nprogress.css +74 -0
  157. data/templates/vendor/assets/stylesheets/trix.css +209 -0
  158. metadata +125 -24
  159. data/templates/app/controllers/application_controller.rb +0 -19
  160. data/templates/app/controllers/hq/admin_profiles_controller.rb +0 -56
  161. data/templates/app/controllers/user_profiles_controller.rb +0 -56
  162. data/templates/app/views/hq/admin_profiles/_form.html.haml +0 -15
  163. data/templates/app/views/hq/admin_profiles/edit.html.haml +0 -3
  164. data/templates/app/views/hq/admin_profiles/new.html.haml +0 -3
  165. data/templates/app/views/hq/admin_profiles/show.html.haml +0 -13
  166. data/templates/app/views/hq/dashboard/index.html.haml.erb +0 -3
  167. data/templates/app/views/user_profiles/edit.html.haml +0 -3
  168. data/templates/app/views/user_profiles/new.html.haml +0 -3
  169. data/templates/app/views/user_profiles/show.html.haml +0 -13
  170. data/templates/config/locales/en.yml +0 -2
  171. data/templates/config/locales/models.en.yml +0 -54
  172. data/templates/config/locales/responders.en.yml +0 -10
  173. data/templates/config/locales/show_for.en.yml +0 -7
  174. data/templates/config/locales/simple_form.en.yml +0 -30
  175. data/templates/config/locales/view.en.yml +0 -51
@@ -0,0 +1,209 @@
1
+ @charset "UTF-8";
2
+ /*
3
+ Trix 0.9.1
4
+ Copyright © 2015 Basecamp, LLC
5
+ http://trix-editor.org/
6
+ */
7
+ trix-editor {
8
+ color: #111;
9
+ border: 1px solid #bbb;
10
+ border-radius: 3px;
11
+ margin: 0;
12
+ padding: 4px 8px;
13
+ min-height: 54px;
14
+ outline: none; }
15
+ trix-toolbar * {
16
+ box-sizing: border-box; }
17
+ trix-toolbar .button_group {
18
+ display: inline-block;
19
+ font-size: 0;
20
+ margin: 0 8px 4px 0;
21
+ border: 1px solid #bbb;
22
+ border-top-color: #ccc;
23
+ border-bottom-color: #888;
24
+ border-radius: 5px;
25
+ overflow: hidden; }
26
+ trix-toolbar .button_group:last-of-type {
27
+ margin-right: 0; }
28
+ trix-toolbar .button_group button, trix-toolbar .button_group input[type=button] {
29
+ position: relative;
30
+ font-size: 0;
31
+ margin: 0;
32
+ height: 28px;
33
+ width: 40px;
34
+ background: #fff;
35
+ border: none;
36
+ border-bottom: 1px solid #ddd; }
37
+ trix-toolbar .button_group button::before, trix-toolbar .button_group input[type=button]::before {
38
+ display: inline-block;
39
+ position: absolute;
40
+ top: 0;
41
+ right: 0;
42
+ bottom: 0;
43
+ left: 0;
44
+ background-position: center;
45
+ background-repeat: no-repeat;
46
+ opacity: .6;
47
+ content: ""; }
48
+ trix-toolbar .button_group button.active, trix-toolbar .button_group input[type=button].active {
49
+ background: #cbeefa; }
50
+ trix-toolbar .button_group button.active::before, trix-toolbar .button_group input[type=button].active::before {
51
+ opacity: 1; }
52
+ trix-toolbar .button_group button:disabled::before, trix-toolbar .button_group input[type=button]:disabled::before {
53
+ opacity: .125; }
54
+ trix-toolbar .button_group button:not(:first-child), trix-toolbar .button_group input[type=button]:not(:first-child) {
55
+ border-left: 1px solid #ccc; }
56
+ trix-toolbar .dialogs {
57
+ position: relative; }
58
+ trix-toolbar .dialogs .dialog {
59
+ position: absolute;
60
+ top: 0;
61
+ left: 0;
62
+ right: 0;
63
+ padding: 12px 8px;
64
+ line-height: 12px;
65
+ background: #fff;
66
+ box-shadow: 0 0.3rem 1rem #ccc;
67
+ border-top: 2px solid #888;
68
+ border-radius: 5px;
69
+ z-index: 5; }
70
+ trix-toolbar .dialogs .dialog input[type=button] {
71
+ font-size: 12px;
72
+ height: 24px;
73
+ width: 50px;
74
+ padding: 1px 8px 0 8px;
75
+ width: auto;
76
+ opacity: .6;
77
+ -webkit-appearance: none;
78
+ -webkit-border-radius: 0; }
79
+ trix-toolbar .dialogs .dialog input[type=url], trix-toolbar .dialogs .dialog input[type=text] {
80
+ display: inline-block;
81
+ height: 26px;
82
+ font-size: 12px;
83
+ padding: 0 8px;
84
+ margin: 0 8px 0 0;
85
+ border-radius: 5px;
86
+ border: 1px solid #bbb;
87
+ background-color: #fff;
88
+ box-shadow: none;
89
+ outline: none;
90
+ -webkit-appearance: none;
91
+ -moz-appearance: none; }
92
+ trix-toolbar .dialogs .dialog input[type=url].validate:invalid, trix-toolbar .dialogs .dialog input[type=text].validate:invalid {
93
+ box-shadow: #F00 0px 0px 1.5px 1px; }
94
+ trix-toolbar .dialogs .dialog.link_dialog {
95
+ min-width: 300px;
96
+ max-width: 600px; }
97
+ trix-toolbar .dialogs .dialog.link_dialog .button_group {
98
+ max-width: 110px; }
99
+ trix-toolbar .dialogs .dialog.link_dialog input[type=url] {
100
+ float: left;
101
+ width: calc(100% - 120px); }
102
+ trix-toolbar .button_group button.bold::before {
103
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgd2lkdGg9IjI0cHgiIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCAyNCAyNCI%2BCiA8cGF0aCBpZD0iU2hhcGUiIGZpbGw9IiMwMDAiIGQ9Im0xNS42IDExLjc5YzAuOTY1LTAuNjc1IDEuNjUtMS43NjUgMS42NS0yLjc5IDAtMi4yNTUtMS43NDUtNC00LTRoLTYuMjV2MTRoNy4wNGMyLjA5NSAwIDMuNzEtMS43IDMuNzEtMy43OSAwLTEuNTItMC44NjUtMi44MTUtMi4xNS0zLjQyem0tNS42LTQuMjloM2MwLjgzIDAgMS41IDAuNjcgMS41IDEuNXMtMC42NyAxLjUtMS41IDEuNWgtM3YtM3ptMy41IDloLTMuNXYtM2gzLjVjMC44MyAwIDEuNSAwLjY3IDEuNSAxLjVzLTAuNjcgMS41LTEuNSAxLjV6Ii8%2BCjwvc3ZnPgo%3D); }
104
+ trix-toolbar .button_group button.italic::before {
105
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgd2lkdGg9IjI0cHgiIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCAyNCAyNCI%2BCiA8cGF0aCBpZD0iU2hhcGUiIGZpbGw9IiMwMDAiIGQ9Im0xMCA1djNoMi4yMTVsLTMuNDMgOGgtMi43ODV2M2g4di0zaC0yLjIxNWwzLjQzLThoMi43ODV2LTNoLTh6Ii8%2BCjwvc3ZnPgo%3D); }
106
+ trix-toolbar .button_group button.link::before {
107
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8%2BCjxzdmcgd2lkdGg9IjI0cHgiIGh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Lz4KIDxwYXRoIGlkPSJQYXRoLTIiIGZpbGw9IiMwMDAiIGQ9Im0zIDEzaDE4di0yaC0xOHYyeiIvPgo8L3N2Zz4K); }
110
+ trix-toolbar .button_group button.quote::before {
111
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KPHBhdGggZD0iTTYgMTdoM2wyLTR2LTZoLTZ2Nmgzek0xNCAxN2gzbDItNHYtNmgtNnY2aDN6IiBmaWxsPSIjMDAwIj48L3BhdGg%2BCjwvc3ZnPgo%3D); }
112
+ trix-toolbar .button_group button.code::before {
113
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KPHBhdGggZD0iTTE4LjE3IDEybC0zLjE3IDMuMTcgMS40MTUgMS40MTUgNC41ODUtNC41ODUtNC41ODUtNC41ODUtMS40MTUgMS40MTUgMy4xNyAzLjE3ek01LjgzIDEybDMuMTctMy4xNy0xLjQxNS0xLjQxNS00LjU4NSA0LjU4NSA0LjU4NSA0LjU4NSAxLjQxNS0xLjQxNS0zLjE3LTMuMTd6IiBmaWxsPSIjMDAwIj48L3BhdGg%2BCjwvc3ZnPgo%3D); }
114
+ trix-toolbar .button_group button.bullets::before {
115
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgd2lkdGg9IjI0cHgiIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCAyNCAyNCI%2BCiAgPHBhdGggaWQ9IlNoYXBlIiBmaWxsPSIjMDAwIiBkPSJtNCA0Yy0xLjEwNjcgMC0yIDAuODkzMy0yIDJzMC44OTMzIDIgMiAyIDItMC44OTMzIDItMi0wLjg5MzMtMi0yLTJ6bTAgNmMtMS4xMDY3IDAtMiAwLjg5My0yIDJzMC44OTMzIDIgMiAyIDItMC44OTMgMi0yLTAuODkzMy0yLTItMnptMCA2Yy0xLjEwNjcgMC0yIDAuODkzLTIgMnMwLjg5MzMgMiAyIDIgMi0wLjg5MyAyLTItMC44OTMzLTItMi0yem00IDNoMTR2LTJoLTE0djJ6bTAtNmgxNHYtMmgtMTR2MnptMC04djJoMTR2LTJoLTE0eiIvPgo8L3N2Zz4K); }
116
+ trix-toolbar .button_group button.numbers::before {
117
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KPHBhdGggZD0iTTIgMTdoMnYwLjVoLTF2MWgxdjAuNWgtMnYxaDN2LTRoLTN2MXpNMyA4aDF2LTRoLTJ2MWgxdjN6TTIgMTFoMS44bC0xLjggMi4xdjAuOWgzdi0xaC0xLjhsMS44LTIuMXYtMC45aC0zdjF6TTcgNXYyaDE0di0yaC0xNHpNNyAxOWgxNHYtMmgtMTR2MnpNNyAxM2gxNHYtMmgtMTR2MnoiIGZpbGw9IiMwMDAiPjwvcGF0aD4KPC9zdmc%2BCg%3D%3D); }
118
+ trix-toolbar .button_group button.block-level.decrease::before {
119
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8%2BCjxzdmcgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogIDxwYXRo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yMTM1Niw4LjUgTDEsOS45MTQyMTM1NiBMMy4xMjEzMjAzNCwxMi4wMzU1MzM5IFogTTMsNSBMMyw3IEwyMiw3IEwyMiw1IEwzLDUgWiIgaWQ9IlNoYXBlLUNvcHkiIGZpbGw9IiMwMDAiPjwvcGF0aD4KPC9zdmc%2BCg%3D%3D); }
122
+ trix-toolbar .button_group button.undo::before {
123
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KPHBhdGggZD0iTTEyLjUgOGMtMi42NDUgMC01LjA1NSAwLjk4NS02LjkgMi42bC0zLjYtMy42djloOWwtMy42MTUtMy42MTVjMS4zODUtMS4xNjUgMy4xNi0xLjg4NSA1LjExNS0xLjg4NSAzLjU0NSAwIDYuNTQ1IDIuMzA1IDcuNTk1IDUuNWwyLjM2NS0wLjc4Yy0xLjM3NS00LjE5LTUuMzEtNy4yMi05Ljk2LTcuMjJ6IiBmaWxsPSIjMDAwIj48L3BhdGg%2BCjwvc3ZnPgo%3D); }
124
+ trix-toolbar .button_group button.redo::before {
125
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KPHBhdGggZD0iTTE4LjM5NSAxMC42Yy0xLjg0LTEuNjE1LTQuMjUtMi42LTYuODk1LTIuNi00LjY1IDAtOC41ODUgMy4wMzAtOS45NiA3LjIybDIuMzY1IDAuNzhjMS4wNTAtMy4xOTUgNC4wNTAtNS41IDcuNTk1LTUuNSAxLjk1NSAwIDMuNzMgMC43MiA1LjExNSAxLjg4NWwtMy42MTUgMy42MTVoOXYtOWwtMy42MDUgMy42eiIgZmlsbD0iIzAwMCI%2BPC9wYXRoPgo8L3N2Zz4K); }
126
+ @charset "UTF-8";
127
+ trix-editor a[data-trix-attachment] {
128
+ color: inherit;
129
+ text-decoration: none; }
130
+ trix-editor a[data-trix-attachment]:hover, trix-editor a[data-trix-attachment]:visited:hover {
131
+ color: inherit; }
132
+ trix-editor [data-trix-mutable=true] {
133
+ -webkit-user-select: none;
134
+ -moz-user-select: none;
135
+ -ms-user-select: none;
136
+ user-select: none; }
137
+ trix-editor [data-trix-mutable=true] img {
138
+ box-shadow: 0 0 0 2px highlight; }
139
+ trix-editor .attachment {
140
+ position: relative;
141
+ display: inline-block;
142
+ max-width: 100%;
143
+ margin: 0;
144
+ padding: 0;
145
+ color: #666;
146
+ font-size: 13px; }
147
+ trix-editor .attachment .remove {
148
+ display: block;
149
+ position: absolute;
150
+ top: -12px;
151
+ right: -12px;
152
+ width: 24px;
153
+ height: 24px;
154
+ border-radius: 24px;
155
+ line-height: 22px;
156
+ font-size: 0;
157
+ color: black;
158
+ text-align: center;
159
+ text-decoration: none;
160
+ background-color: #fff;
161
+ border: 1px solid #bbb;
162
+ box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1); }
163
+ trix-editor .attachment .remove:after {
164
+ content: '×';
165
+ font-size: 18px;
166
+ font-weight: bold;
167
+ opacity: 0.6; }
168
+ trix-editor .attachment .remove:hover:after {
169
+ opacity: 1; }
170
+ trix-editor .attachment .caption {
171
+ display: block;
172
+ margin: 4px auto 0 auto;
173
+ padding: 0;
174
+ text-align: center; }
175
+ trix-editor .attachment .caption .size:before {
176
+ content: ' · '; }
177
+ trix-editor .attachment .caption.caption-editing textarea {
178
+ width: 100%;
179
+ margin: 0;
180
+ padding: 0;
181
+ font-size: 13px;
182
+ line-height: 13px;
183
+ text-align: center;
184
+ border: none;
185
+ outline: none;
186
+ -webkit-appearance: none;
187
+ -moz-appearance: none; }
188
+ trix-editor .attachment.attachment-file {
189
+ color: #333;
190
+ line-height: 30px;
191
+ padding: 0 16px;
192
+ border: 1px solid #bbb;
193
+ border-radius: 5px; }
194
+ .trix-content blockquote {
195
+ margin: 0 0 0 5px;
196
+ padding: 0 0 0 10px;
197
+ border-left: 5px solid #ccc; }
198
+ .trix-content pre {
199
+ font-family: monospace;
200
+ font-size: 12px;
201
+ margin: 0;
202
+ padding: 10px;
203
+ white-space: pre-wrap;
204
+ background-color: #eee; }
205
+ .trix-content ul, .trix-content ol, .trix-content li {
206
+ margin: 0;
207
+ padding: 0; }
208
+ .trix-content ul li, .trix-content ol li, .trix-content li li {
209
+ margin-left: 20px; }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybele
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.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-02-11 00:00:00.000000000 Z
11
+ date: 2016-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 4.2.5
47
+ version: 4.2.6
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 4.2.5
54
+ version: 4.2.6
55
55
  description: Rails 4.x template with responder, simple form, haml, exception notification,
56
56
  etc etc ...
57
57
  email:
@@ -73,19 +73,47 @@ files:
73
73
  - SECURITY.md
74
74
  - bin/cybele
75
75
  - cybele.gemspec
76
+ - dump.rdb
76
77
  - lib/cybele/app_builder.rb
77
78
  - lib/cybele/generators/app_generator.rb
78
79
  - lib/cybele/version.rb
80
+ - templates/.env.local.erb
81
+ - templates/.env.production.erb
82
+ - templates/.env.staging.erb
79
83
  - templates/README.md.erb
80
84
  - templates/app/assets/javascripts/application.js.coffee
85
+ - templates/app/assets/javascripts/hq/application.js.coffee
81
86
  - templates/app/assets/stylesheets/application.css.sass
82
- - templates/app/controllers/application_controller.rb
83
- - templates/app/controllers/hq/admin_profiles_controller.rb
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
84
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
85
95
  - templates/app/controllers/hq/dashboard_controller.rb
96
+ - templates/app/controllers/hq/passwords_controller.rb
97
+ - templates/app/controllers/hq/registrations_controller.rb
86
98
  - templates/app/controllers/hq/sessions_controller.rb
87
- - templates/app/controllers/user_profiles_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/profiles_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
88
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
89
117
  - templates/app/views/devise/confirmations/new.html.haml
90
118
  - templates/app/views/devise/mailer/confirmation_instructions.html.haml
91
119
  - templates/app/views/devise/mailer/reset_password_instructions.html.haml
@@ -99,50 +127,123 @@ files:
99
127
  - templates/app/views/devise/unlocks/new.html.haml
100
128
  - templates/app/views/errors/internal_server_error.html.haml
101
129
  - templates/app/views/errors/not_found.html.haml
102
- - templates/app/views/hq/admin_profiles/_form.html.haml
103
- - templates/app/views/hq/admin_profiles/edit.html.haml
104
- - templates/app/views/hq/admin_profiles/new.html.haml
105
- - templates/app/views/hq/admin_profiles/show.html.haml
106
- - templates/app/views/hq/dashboard/index.html.haml.erb
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
107
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
108
175
  - templates/app/views/layouts/application.html.haml.erb
109
- - templates/app/views/user_profiles/_form.html.haml
110
- - templates/app/views/user_profiles/edit.html.haml
111
- - templates/app/views/user_profiles/new.html.haml
112
- - templates/app/views/user_profiles/show.html.haml
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/profiles/_form.html.haml
191
+ - templates/app/views/user/profiles/edit.html.haml
192
+ - templates/app/views/user/profiles/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
113
196
  - templates/app/views/welcome/index.html.haml.erb
114
197
  - templates/config/database.yml.erb
115
198
  - templates/config/deploy.rb
199
+ - templates/config/initializers/devise_async.rb
116
200
  - templates/config/initializers/disable_xml_params.rb
117
201
  - templates/config/initializers/mail.rb
118
202
  - templates/config/initializers/paperclip.rb
119
203
  - templates/config/initializers/secret_token.erb
120
204
  - templates/config/initializers/show_for.rb
205
+ - templates/config/initializers/sidekiq.rb
121
206
  - templates/config/initializers/simple_form.rb
122
207
  - templates/config/initializers/simple_form_bootstrap.rb
123
- - templates/config/locales/en.yml
124
- - templates/config/locales/models.en.yml
208
+ - templates/config/locales/email.tr.yml
125
209
  - templates/config/locales/models.tr.yml
126
- - templates/config/locales/responders.en.yml
127
210
  - templates/config/locales/responders.tr.yml
128
- - templates/config/locales/show_for.en.yml
129
211
  - templates/config/locales/show_for.tr.yml
130
- - templates/config/locales/simple_form.en.yml
131
212
  - templates/config/locales/simple_form.tr.yml
132
213
  - templates/config/locales/tr.yml
133
- - templates/config/locales/view.en.yml
134
214
  - templates/config/locales/view.tr.yml
215
+ - templates/config/routes.erb
216
+ - templates/config/schedule.yml
135
217
  - templates/config/settings.yml
136
218
  - templates/config/settings/production.yml
137
219
  - templates/config/settings/staging.yml
220
+ - templates/config/sidekiq.yml
138
221
  - templates/cybele_Gemfile
139
222
  - templates/cybele_gitignore
223
+ - templates/cybele_version.txt
140
224
  - templates/editorconfig
225
+ - templates/env.sample.erb
141
226
  - templates/lib/application_responder.rb
227
+ - templates/lib/data/cities.yml
142
228
  - templates/lib/tasks/annotate.rake
143
229
  - templates/lib/tasks/dev.rake
230
+ - templates/lib/tasks/sidekiq.rake
144
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
145
239
  - 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
146
247
  homepage: https://github.com/kebab-project/cybele
147
248
  licenses:
148
249
  - MIT
@@ -155,7 +256,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
256
  requirements:
156
257
  - - ">="
157
258
  - !ruby/object:Gem::Version
158
- version: 2.2.3
259
+ version: 2.3.0
159
260
  required_rubygems_version: !ruby/object:Gem::Requirement
160
261
  requirements:
161
262
  - - ">="
@@ -163,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
264
  version: '0'
164
265
  requirements: []
165
266
  rubyforge_project:
166
- rubygems_version: 2.4.5.1
267
+ rubygems_version: 2.6.2
167
268
  signing_key:
168
269
  specification_version: 4
169
270
  summary: Rails 4.x template with responder, simple form, haml, exception notification,
@@ -1,19 +0,0 @@
1
- require 'application_responder'
2
-
3
- class ApplicationController < ActionController::Base
4
- self.responder = ApplicationResponder
5
- respond_to :html, :json
6
- WillPaginate.per_page = 10
7
-
8
- # Prevent CSRF attacks by raising an exception.
9
- # For APIs, you may want to use :null_session instead.
10
- protect_from_forgery with: :exception
11
-
12
- def after_sign_in_path_for(resource_or_scope)
13
- if current_user
14
- super
15
- else
16
- hq_dashboard_index_path
17
- end
18
- end
19
- end