mix-rails 0.23.1 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (553) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/MIX_RAILS_VERSION +1 -1
  4. data/README.md +2 -1
  5. data/admix/Gemfile +0 -1
  6. data/admix/admix.gemspec +0 -1
  7. data/admix/app/assets/javascripts/admix/application.js.coffee +30 -2
  8. data/admix/app/assets/stylesheets/admix/application.css +6 -1
  9. data/admix/app/assets/stylesheets/admix/wice_grid.css.scss +143 -0
  10. data/admix/app/controllers/admix/inherited_controller.rb +13 -34
  11. data/admix/app/controllers/admix/registrations_controller.rb +2 -0
  12. data/admix/app/controllers/admix/rest_controller.rb +46 -0
  13. data/admix/app/helpers/admix/tab.rb +33 -0
  14. data/admix/app/helpers/admix_helper.rb +76 -0
  15. data/admix/app/views/admix/inherited/_actions.haml +7 -0
  16. data/admix/app/views/admix/inherited/_column_actions.haml +3 -0
  17. data/admix/app/views/admix/inherited/_empty_grid.haml +3 -0
  18. data/admix/{spec/dummy/app/mailers/.gitkeep → app/views/admix/inherited/_form_config.haml} +0 -0
  19. data/admix/app/views/admix/inherited/_grid.haml +5 -0
  20. data/admix/app/views/admix/inherited/_grid_actions.haml +1 -0
  21. data/admix/app/views/admix/inherited/_grid_columns.haml +11 -0
  22. data/admix/app/views/admix/inherited/edit.html.haml +3 -3
  23. data/admix/app/views/admix/inherited/form.html.haml +52 -0
  24. data/admix/app/views/admix/inherited/index.html.haml +3 -5
  25. data/admix/app/views/admix/inherited/new.html.haml +3 -3
  26. data/admix/app/views/admix/inherited/show.html.haml +3 -5
  27. data/admix/app/views/admix/rest/_actions.haml +7 -0
  28. data/admix/app/views/admix/rest/_column_actions.haml +3 -0
  29. data/admix/app/views/admix/rest/_empty_grid.haml +3 -0
  30. data/admix/{spec/dummy/app/models/.gitkeep → app/views/admix/rest/_form_config.haml} +0 -0
  31. data/admix/app/views/admix/rest/_grid.haml +5 -0
  32. data/admix/app/views/admix/rest/_grid_actions.haml +1 -0
  33. data/admix/app/views/admix/rest/_grid_columns.haml +11 -0
  34. data/admix/app/views/admix/rest/edit.html.haml +5 -0
  35. data/admix/app/views/admix/rest/form.html.haml +50 -0
  36. data/admix/app/views/admix/rest/index.html.haml +3 -0
  37. data/admix/app/views/admix/rest/new.html.haml +3 -0
  38. data/admix/app/views/admix/rest/show.html.haml +3 -0
  39. data/admix/app/views/layouts/admix/{admix.html.haml → admix.haml} +2 -2
  40. data/admix/app/views/layouts/admix/{login.html.haml → login.haml} +1 -1
  41. data/admix/config/admix_navigation.rb +34 -49
  42. data/admix/config/application.rb +0 -2
  43. data/admix/config/initializers/admix.rb +0 -3
  44. data/admix/config/initializers/wice_grid_config.rb +142 -0
  45. data/admix/config/locales/admix.pt-BR.yml +10 -3
  46. data/admix/config/locales/wice_grid.yml +502 -0
  47. data/admix/lib/admix.rb +1 -3
  48. data/admix/lib/admix/engine.rb +28 -0
  49. data/admix/lib/admix/version.rb +2 -2
  50. data/lib/mix-rails.rb +23 -2
  51. data/lib/mix-rails/addresses.rb +1 -0
  52. data/lib/mix-rails/admix.rb +1 -5
  53. data/lib/mix-rails/all.rb +6 -2
  54. data/mix-rails-addresses/.gitignore +7 -0
  55. data/mix-rails-addresses/Gemfile +18 -0
  56. data/mix-rails-addresses/MIT-LICENSE +20 -0
  57. data/mix-rails-addresses/README.rdoc +3 -0
  58. data/mix-rails-addresses/Rakefile +29 -0
  59. data/{admix/spec/dummy/lib/assets → mix-rails-addresses/app/assets/images/mix-rails-addresses}/.gitkeep +0 -0
  60. data/{admix/spec/dummy/log → mix-rails-addresses/app/assets/javascripts/mix-rails-addresses}/.gitkeep +0 -0
  61. data/{mix-rails-albums/spec/dummy/app/mailers → mix-rails-addresses/app/assets/stylesheets/mix-rails-addresses}/.gitkeep +0 -0
  62. data/{mix-rails-albums/spec/dummy/app/models → mix-rails-addresses/app/controllers}/.gitkeep +0 -0
  63. data/mix-rails-addresses/app/controllers/cities_controller.rb +12 -0
  64. data/mix-rails-addresses/app/controllers/states_controller.rb +11 -0
  65. data/{mix-rails-albums/spec/dummy/lib/assets → mix-rails-addresses/app/helpers}/.gitkeep +0 -0
  66. data/{mix-rails-albums/spec/dummy/log → mix-rails-addresses/app/mailers}/.gitkeep +0 -0
  67. data/mix-rails-addresses/app/models/address.rb +13 -0
  68. data/mix-rails-addresses/app/models/city.rb +8 -0
  69. data/mix-rails-addresses/app/models/state.rb +9 -0
  70. data/{mix-rails-auth/spec/dummy/app/mailers → mix-rails-addresses/app/views}/.gitkeep +0 -0
  71. data/mix-rails-addresses/config/locales/addresses.pt-BR.yml +3 -0
  72. data/mix-rails-addresses/config/routes.rb +5 -0
  73. data/mix-rails-addresses/db/migrate/20130306144900_create_states.rb +10 -0
  74. data/mix-rails-addresses/db/migrate/20130306145007_create_cities.rb +12 -0
  75. data/mix-rails-addresses/db/migrate/20130306172839_create_addresses.rb +17 -0
  76. data/mix-rails-addresses/db/migrate/20130311130844_add_latitude_longitude_to_address.rb +6 -0
  77. data/mix-rails-addresses/db/seeds.rb +31 -0
  78. data/mix-rails-addresses/lib/mix-rails-addresses.rb +4 -0
  79. data/mix-rails-addresses/lib/mix-rails-addresses/engine.rb +8 -0
  80. data/mix-rails-addresses/lib/mix-rails-addresses/version.rb +10 -0
  81. data/mix-rails-addresses/lib/tasks/mix-rails-addresses_tasks.rake +4 -0
  82. data/mix-rails-addresses/mix-rails-addresses.gemspec +21 -0
  83. data/mix-rails-addresses/script/rails +8 -0
  84. data/{admix → mix-rails-addresses}/spec/dummy/README.rdoc +8 -8
  85. data/{admix → mix-rails-addresses}/spec/dummy/Rakefile +0 -0
  86. data/{admix → mix-rails-addresses}/spec/dummy/app/assets/javascripts/application.js +0 -0
  87. data/{admix → mix-rails-addresses}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  88. data/{admix → mix-rails-addresses}/spec/dummy/app/controllers/application_controller.rb +0 -0
  89. data/{admix → mix-rails-addresses}/spec/dummy/app/helpers/application_helper.rb +0 -0
  90. data/{mix-rails-auth/spec/dummy/app/models → mix-rails-addresses/spec/dummy/app/mailers}/.gitkeep +0 -0
  91. data/{mix-rails-auth/spec/dummy/lib/assets → mix-rails-addresses/spec/dummy/app/models}/.gitkeep +0 -0
  92. data/{admix → mix-rails-addresses}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  93. data/{admix → mix-rails-addresses}/spec/dummy/config.ru +0 -0
  94. data/{admix → mix-rails-addresses}/spec/dummy/config/application.rb +4 -4
  95. data/{admix → mix-rails-addresses}/spec/dummy/config/boot.rb +0 -0
  96. data/mix-rails-addresses/spec/dummy/config/database.yml +42 -0
  97. data/{admix → mix-rails-addresses}/spec/dummy/config/environment.rb +0 -0
  98. data/{admix → mix-rails-addresses}/spec/dummy/config/environments/development.rb +6 -0
  99. data/{mix-rails-albums → mix-rails-addresses}/spec/dummy/config/environments/production.rb +3 -0
  100. data/{mix-rails-auth → mix-rails-addresses}/spec/dummy/config/environments/test.rb +2 -0
  101. data/{admix → mix-rails-addresses}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  102. data/{admix → mix-rails-addresses}/spec/dummy/config/initializers/inflections.rb +0 -0
  103. data/{admix → mix-rails-addresses}/spec/dummy/config/initializers/mime_types.rb +0 -0
  104. data/{admix → mix-rails-addresses}/spec/dummy/config/initializers/secret_token.rb +1 -1
  105. data/{admix → mix-rails-addresses}/spec/dummy/config/initializers/session_store.rb +0 -0
  106. data/{mix-rails-albums → mix-rails-addresses}/spec/dummy/config/initializers/wrap_parameters.rb +4 -0
  107. data/{admix → mix-rails-addresses}/spec/dummy/config/locales/en.yml +0 -0
  108. data/{admix → mix-rails-addresses}/spec/dummy/config/routes.rb +0 -0
  109. data/{mix-rails-auth/spec/dummy/log → mix-rails-addresses/spec/dummy/lib/assets}/.gitkeep +0 -0
  110. data/{mix-rails-core/spec/dummy/app/mailers → mix-rails-addresses/spec/dummy/log}/.gitkeep +0 -0
  111. data/{admix → mix-rails-addresses}/spec/dummy/public/404.html +0 -0
  112. data/{admix → mix-rails-addresses}/spec/dummy/public/422.html +0 -0
  113. data/{admix → mix-rails-addresses}/spec/dummy/public/500.html +0 -0
  114. data/{admix → mix-rails-addresses}/spec/dummy/public/favicon.ico +0 -0
  115. data/{admix → mix-rails-addresses}/spec/dummy/script/rails +0 -0
  116. data/mix-rails-addresses/spec/models/address_spec.rb +5 -0
  117. data/mix-rails-addresses/spec/models/city_spec.rb +5 -0
  118. data/mix-rails-addresses/spec/models/state_spec.rb +5 -0
  119. data/mix-rails-albums/app/assets/javascripts/backbone/templates/photos/thumbnail.hamlc.erb +1 -1
  120. data/mix-rails-albums/app/assets/javascripts/backbone/templates/photos/upload_index.hamlc.erb +4 -5
  121. data/mix-rails-albums/app/controllers/albums_controller.rb +2 -1
  122. data/mix-rails-albums/app/helpers/admix/albums_helper.rb +2 -6
  123. data/mix-rails-albums/app/models/concerns/album.rb +4 -2
  124. data/mix-rails-albums/app/models/photo.rb +1 -1
  125. data/mix-rails-albums/app/views/admix/albums/_form_config.haml +9 -0
  126. data/mix-rails-albums/app/views/admix/albums/_grid_actions.haml +1 -0
  127. data/mix-rails-albums/app/views/admix/albums/_grid_columns.haml +9 -0
  128. data/mix-rails-albums/app/views/admix/albums/_show.html.haml +1 -1
  129. data/mix-rails-albums/app/views/templates/albums/index.haml +2 -0
  130. data/mix-rails-albums/app/views/templates/albums/show.haml +2 -0
  131. data/mix-rails-albums/config/locales/albums.pt-BR.yml +2 -1
  132. data/mix-rails-albums/db/migrate/20130219111930_remove_polymorphic_association_from_photos.rb +6 -0
  133. data/mix-rails-albums/lib/mix-rails-albums/engine.rb +6 -9
  134. data/mix-rails-albums/lib/mix-rails-albums/version.rb +2 -2
  135. data/mix-rails-auth/app/views/admix/roles/_form_config.haml +4 -0
  136. data/mix-rails-auth/app/views/admix/users/_form_config.haml +7 -0
  137. data/mix-rails-auth/config/locales/auth.pt-BR.yml +1 -0
  138. data/mix-rails-auth/config/routes.rb +1 -1
  139. data/mix-rails-auth/lib/mix-rails-auth/engine.rb +7 -16
  140. data/mix-rails-auth/lib/mix-rails-auth/version.rb +2 -2
  141. data/mix-rails-core/Gemfile +1 -1
  142. data/mix-rails-core/app/assets/images/blank.gif +0 -0
  143. data/mix-rails-core/app/assets/images/jqzoom/advertise.jpg +0 -0
  144. data/mix-rails-core/app/assets/images/jqzoom/zoomloader.gif +0 -0
  145. data/mix-rails-core/app/assets/images/loadinfo.net.gif +0 -0
  146. data/mix-rails-core/app/assets/javascripts/angular-google-maps.js +531 -0
  147. data/mix-rails-core/app/assets/javascripts/angular-ui.min.js +7 -0
  148. data/mix-rails-core/app/assets/javascripts/angular.min.js +161 -0
  149. data/mix-rails-core/app/assets/javascripts/gmaps.js +1909 -0
  150. data/mix-rails-core/app/assets/javascripts/jquery-gmaps-latlon-picker.js +231 -0
  151. data/mix-rails-core/app/assets/javascripts/jquery.jqzoom.js +1 -0
  152. data/mix-rails-core/app/assets/javascripts/jquery.krioImageLoader.js +47 -0
  153. data/mix-rails-core/app/assets/javascripts/jquery.lazyload.js +227 -0
  154. data/mix-rails-core/app/assets/javascripts/jquery.maskedinput.js +290 -0
  155. data/mix-rails-core/app/assets/javascripts/jquery.meio.mask.min.js +1 -0
  156. data/mix-rails-core/app/assets/javascripts/jquery.ui.addresspicker.js +194 -0
  157. data/mix-rails-core/app/assets/javascripts/jquery/jquery.jqzoom-core.js +733 -0
  158. data/mix-rails-core/app/assets/javascripts/multizoom.js +388 -0
  159. data/mix-rails-core/app/assets/stylesheets/angular-ui.min.css +1 -0
  160. data/mix-rails-core/app/assets/stylesheets/jquery-gmaps-latlon-picker.css +2 -0
  161. data/mix-rails-core/app/assets/stylesheets/jquery.jqzoom.css +3 -0
  162. data/mix-rails-core/app/assets/stylesheets/jquery/jquery.jqzoom.css.erb +120 -0
  163. data/mix-rails-core/app/assets/stylesheets/multizoom.css +48 -0
  164. data/mix-rails-core/app/helpers/core_helper.rb +4 -0
  165. data/mix-rails-core/app/inputs/cell_input.rb +5 -0
  166. data/mix-rails-core/app/inputs/cep_input.rb +5 -0
  167. data/mix-rails-core/app/inputs/phone_input.rb +5 -0
  168. data/mix-rails-core/app/inputs/state_input.rb +5 -0
  169. data/mix-rails-core/app/models/attachment.rb +4 -1
  170. data/mix-rails-core/app/models/category.rb +4 -1
  171. data/mix-rails-core/app/models/ckeditor/asset.rb +7 -0
  172. data/mix-rails-core/app/models/ckeditor/attachment_file.rb +7 -0
  173. data/mix-rails-core/app/models/ckeditor/picture.rb +7 -0
  174. data/mix-rails-core/app/uploaders/ckeditor_attachment_file_uploader.rb +36 -0
  175. data/mix-rails-core/app/uploaders/ckeditor_picture_uploader.rb +47 -0
  176. data/mix-rails-core/app/views/admix/categories/_form_config.haml +3 -0
  177. data/mix-rails-core/config/initializers/ckeditor.rb +21 -0
  178. data/mix-rails-core/config/initializers/defaults_rails.rb +10 -1
  179. data/mix-rails-core/config/locales/core.pt-BR.yml +25 -2
  180. data/mix-rails-core/config/routes.rb +2 -0
  181. data/mix-rails-core/db/migrate/20130226152256_create_ckeditor_assets.rb +26 -0
  182. data/mix-rails-core/lib/mix-rails-core.rb +3 -0
  183. data/mix-rails-core/lib/mix-rails-core/version.rb +2 -2
  184. data/mix-rails-core/mix-rails-core.gemspec +0 -4
  185. data/mix-rails-message-board/app/controllers/board_messages_controller.rb +1 -1
  186. data/mix-rails-message-board/app/views/admix/board_messages/_form_config.haml +8 -0
  187. data/mix-rails-message-board/app/views/admix/board_messages/_grid_actions.haml +8 -0
  188. data/mix-rails-message-board/app/views/admix/board_messages/_grid_columns.haml +9 -0
  189. data/mix-rails-message-board/app/views/admix/board_replies/_form_config.haml +8 -0
  190. data/mix-rails-message-board/app/views/admix/board_replies/_grid_actions.haml +8 -0
  191. data/mix-rails-message-board/app/views/admix/board_replies/_grid_columns.haml +9 -0
  192. data/mix-rails-message-board/config/locales/message-board.pt-BR.yml +1 -0
  193. data/mix-rails-message-board/lib/mix-rails-message-board/engine.rb +12 -9
  194. data/mix-rails-message-board/lib/mix-rails-message-board/version.rb +2 -2
  195. data/mix-rails-settings/app/models/setting.rb +8 -0
  196. data/mix-rails-settings/app/views/admix/settings/_form_config.haml +9 -0
  197. data/mix-rails-settings/app/views/admix/settings/_grid_columns.haml +16 -0
  198. data/mix-rails-settings/lib/mix-rails-settings/engine.rb +8 -17
  199. data/mix-rails-settings/lib/mix-rails-settings/version.rb +2 -2
  200. data/mix-rails-songs/app/views/admix/songs/_form_config.haml +8 -0
  201. data/mix-rails-songs/app/views/admix/songs/_grid_columns.haml +9 -0
  202. data/mix-rails-songs/lib/mix-rails-songs/version.rb +2 -2
  203. data/mix-rails-videos/app/views/admix/videos/_form_config.haml +3 -0
  204. data/mix-rails-videos/lib/mix-rails-videos/version.rb +2 -2
  205. data/mix-rails-vouchers/app/views/admix/vouchers/_form_config.haml +15 -0
  206. data/mix-rails-vouchers/config/locales/vouchers.pt-BR.yml +3 -2
  207. data/mix-rails-vouchers/lib/mix-rails-vouchers/version.rb +2 -2
  208. data/mix-rails-wireframe/lib/mix-rails-wireframe/version.rb +2 -2
  209. data/mix-rails-writer/app/controllers/news_controller.rb +1 -1
  210. data/mix-rails-writer/app/models/post.rb +1 -1
  211. data/mix-rails-writer/app/views/admix/posts/_form_config.haml +15 -0
  212. data/mix-rails-writer/app/views/admix/posts/_grid_columns.haml +9 -0
  213. data/mix-rails-writer/config/locales/writer.pt-BR.yml +2 -0
  214. data/mix-rails-writer/lib/mix-rails-writer/engine.rb +6 -9
  215. data/mix-rails-writer/lib/mix-rails-writer/version.rb +2 -2
  216. data/mix-rails.gemspec +19 -22
  217. data/tasks/release.rb +2 -0
  218. data/version.rb +2 -2
  219. metadata +271 -485
  220. data/admix/app/views/admix/inherited/_form.html.haml +0 -14
  221. data/admix/app/views/admix/inherited/_table_actions.html.haml +0 -3
  222. data/admix/config/initializers/locale.rb +0 -1
  223. data/admix/lib/admix/table-actions.rb +0 -17
  224. data/admix/spec/dummy/config/environments/production.rb +0 -64
  225. data/admix/spec/dummy/config/environments/test.rb +0 -35
  226. data/admix/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  227. data/admix/spec/dummy/config/mongoid.yml +0 -80
  228. data/mix-rails-albums/app/models/admix/albums_datagrid.rb +0 -32
  229. data/mix-rails-albums/app/models/admix/photos_datagrid.rb +0 -15
  230. data/mix-rails-albums/app/views/admix/albums/_form_fields.html.haml +0 -4
  231. data/mix-rails-albums/app/views/admix/albums/_table_actions.html.haml +0 -4
  232. data/mix-rails-albums/spec/dummy/README.rdoc +0 -261
  233. data/mix-rails-albums/spec/dummy/Rakefile +0 -7
  234. data/mix-rails-albums/spec/dummy/app/assets/javascripts/application.js +0 -15
  235. data/mix-rails-albums/spec/dummy/app/assets/stylesheets/application.css +0 -13
  236. data/mix-rails-albums/spec/dummy/app/controllers/application_controller.rb +0 -3
  237. data/mix-rails-albums/spec/dummy/app/helpers/application_helper.rb +0 -2
  238. data/mix-rails-albums/spec/dummy/app/views/layouts/application.html.erb +0 -14
  239. data/mix-rails-albums/spec/dummy/config.ru +0 -4
  240. data/mix-rails-albums/spec/dummy/config/application.rb +0 -65
  241. data/mix-rails-albums/spec/dummy/config/boot.rb +0 -10
  242. data/mix-rails-albums/spec/dummy/config/environment.rb +0 -5
  243. data/mix-rails-albums/spec/dummy/config/environments/development.rb +0 -31
  244. data/mix-rails-albums/spec/dummy/config/environments/test.rb +0 -35
  245. data/mix-rails-albums/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  246. data/mix-rails-albums/spec/dummy/config/initializers/inflections.rb +0 -15
  247. data/mix-rails-albums/spec/dummy/config/initializers/mime_types.rb +0 -5
  248. data/mix-rails-albums/spec/dummy/config/initializers/secret_token.rb +0 -7
  249. data/mix-rails-albums/spec/dummy/config/initializers/session_store.rb +0 -8
  250. data/mix-rails-albums/spec/dummy/config/locales/en.yml +0 -5
  251. data/mix-rails-albums/spec/dummy/config/mongoid.yml +0 -80
  252. data/mix-rails-albums/spec/dummy/config/routes.rb +0 -58
  253. data/mix-rails-albums/spec/dummy/public/404.html +0 -26
  254. data/mix-rails-albums/spec/dummy/public/422.html +0 -26
  255. data/mix-rails-albums/spec/dummy/public/500.html +0 -25
  256. data/mix-rails-albums/spec/dummy/public/favicon.ico +0 -0
  257. data/mix-rails-albums/spec/dummy/script/rails +0 -6
  258. data/mix-rails-auth/app/models/admix/roles_datagrid.rb +0 -14
  259. data/mix-rails-auth/app/models/admix/users_datagrid.rb +0 -19
  260. data/mix-rails-auth/app/views/admix/roles/_form_fields.html.haml +0 -2
  261. data/mix-rails-auth/app/views/admix/users/_form_fields.html.haml +0 -3
  262. data/mix-rails-auth/app/views/admix/users/_table_actions.html.haml +0 -3
  263. data/mix-rails-auth/spec/dummy/README.rdoc +0 -261
  264. data/mix-rails-auth/spec/dummy/Rakefile +0 -7
  265. data/mix-rails-auth/spec/dummy/app/assets/javascripts/application.js +0 -15
  266. data/mix-rails-auth/spec/dummy/app/assets/stylesheets/application.css +0 -13
  267. data/mix-rails-auth/spec/dummy/app/controllers/application_controller.rb +0 -3
  268. data/mix-rails-auth/spec/dummy/app/helpers/application_helper.rb +0 -2
  269. data/mix-rails-auth/spec/dummy/app/views/layouts/application.html.erb +0 -14
  270. data/mix-rails-auth/spec/dummy/config.ru +0 -4
  271. data/mix-rails-auth/spec/dummy/config/application.rb +0 -65
  272. data/mix-rails-auth/spec/dummy/config/boot.rb +0 -10
  273. data/mix-rails-auth/spec/dummy/config/environment.rb +0 -5
  274. data/mix-rails-auth/spec/dummy/config/environments/development.rb +0 -31
  275. data/mix-rails-auth/spec/dummy/config/environments/production.rb +0 -64
  276. data/mix-rails-auth/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  277. data/mix-rails-auth/spec/dummy/config/initializers/inflections.rb +0 -15
  278. data/mix-rails-auth/spec/dummy/config/initializers/mime_types.rb +0 -5
  279. data/mix-rails-auth/spec/dummy/config/initializers/secret_token.rb +0 -7
  280. data/mix-rails-auth/spec/dummy/config/initializers/session_store.rb +0 -8
  281. data/mix-rails-auth/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  282. data/mix-rails-auth/spec/dummy/config/locales/en.yml +0 -5
  283. data/mix-rails-auth/spec/dummy/config/routes.rb +0 -58
  284. data/mix-rails-auth/spec/dummy/public/404.html +0 -26
  285. data/mix-rails-auth/spec/dummy/public/422.html +0 -26
  286. data/mix-rails-auth/spec/dummy/public/500.html +0 -25
  287. data/mix-rails-auth/spec/dummy/public/favicon.ico +0 -0
  288. data/mix-rails-auth/spec/dummy/script/rails +0 -6
  289. data/mix-rails-core/app/assets/javascripts/jquery/jquery.maskedinput-1.3.min.js +0 -7
  290. data/mix-rails-core/app/models/admix/categories_datagrid.rb +0 -14
  291. data/mix-rails-core/app/views/admix/categories/_form_fields.haml +0 -1
  292. data/mix-rails-core/spec/dummy/README.rdoc +0 -261
  293. data/mix-rails-core/spec/dummy/Rakefile +0 -7
  294. data/mix-rails-core/spec/dummy/app/assets/javascripts/application.js +0 -15
  295. data/mix-rails-core/spec/dummy/app/assets/stylesheets/application.css +0 -13
  296. data/mix-rails-core/spec/dummy/app/controllers/application_controller.rb +0 -3
  297. data/mix-rails-core/spec/dummy/app/helpers/application_helper.rb +0 -2
  298. data/mix-rails-core/spec/dummy/app/models/.gitkeep +0 -0
  299. data/mix-rails-core/spec/dummy/app/views/layouts/application.html.erb +0 -14
  300. data/mix-rails-core/spec/dummy/config.ru +0 -4
  301. data/mix-rails-core/spec/dummy/config/application.rb +0 -65
  302. data/mix-rails-core/spec/dummy/config/boot.rb +0 -10
  303. data/mix-rails-core/spec/dummy/config/environment.rb +0 -5
  304. data/mix-rails-core/spec/dummy/config/environments/development.rb +0 -31
  305. data/mix-rails-core/spec/dummy/config/environments/production.rb +0 -64
  306. data/mix-rails-core/spec/dummy/config/environments/test.rb +0 -35
  307. data/mix-rails-core/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  308. data/mix-rails-core/spec/dummy/config/initializers/inflections.rb +0 -15
  309. data/mix-rails-core/spec/dummy/config/initializers/mime_types.rb +0 -5
  310. data/mix-rails-core/spec/dummy/config/initializers/secret_token.rb +0 -7
  311. data/mix-rails-core/spec/dummy/config/initializers/session_store.rb +0 -8
  312. data/mix-rails-core/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  313. data/mix-rails-core/spec/dummy/config/locales/en.yml +0 -5
  314. data/mix-rails-core/spec/dummy/config/routes.rb +0 -58
  315. data/mix-rails-core/spec/dummy/lib/assets/.gitkeep +0 -0
  316. data/mix-rails-core/spec/dummy/log/.gitkeep +0 -0
  317. data/mix-rails-core/spec/dummy/public/404.html +0 -26
  318. data/mix-rails-core/spec/dummy/public/422.html +0 -26
  319. data/mix-rails-core/spec/dummy/public/500.html +0 -25
  320. data/mix-rails-core/spec/dummy/public/favicon.ico +0 -0
  321. data/mix-rails-core/spec/dummy/script/rails +0 -6
  322. data/mix-rails-message-board/app/models/admix/board_messages_datagrid.rb +0 -31
  323. data/mix-rails-message-board/app/models/admix/board_replies_datagrid.rb +0 -29
  324. data/mix-rails-message-board/app/views/admix/board_messages/_form_fields.html.haml +0 -5
  325. data/mix-rails-message-board/app/views/admix/board_replies/_form_fields.html.haml +0 -5
  326. data/mix-rails-message-board/spec/dummy/README.rdoc +0 -261
  327. data/mix-rails-message-board/spec/dummy/Rakefile +0 -7
  328. data/mix-rails-message-board/spec/dummy/app/assets/javascripts/application.js +0 -15
  329. data/mix-rails-message-board/spec/dummy/app/assets/stylesheets/application.css +0 -13
  330. data/mix-rails-message-board/spec/dummy/app/controllers/application_controller.rb +0 -3
  331. data/mix-rails-message-board/spec/dummy/app/helpers/application_helper.rb +0 -2
  332. data/mix-rails-message-board/spec/dummy/app/mailers/.gitkeep +0 -0
  333. data/mix-rails-message-board/spec/dummy/app/models/.gitkeep +0 -0
  334. data/mix-rails-message-board/spec/dummy/app/views/layouts/application.html.erb +0 -14
  335. data/mix-rails-message-board/spec/dummy/config.ru +0 -4
  336. data/mix-rails-message-board/spec/dummy/config/application.rb +0 -65
  337. data/mix-rails-message-board/spec/dummy/config/boot.rb +0 -10
  338. data/mix-rails-message-board/spec/dummy/config/environment.rb +0 -5
  339. data/mix-rails-message-board/spec/dummy/config/environments/development.rb +0 -31
  340. data/mix-rails-message-board/spec/dummy/config/environments/production.rb +0 -64
  341. data/mix-rails-message-board/spec/dummy/config/environments/test.rb +0 -35
  342. data/mix-rails-message-board/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  343. data/mix-rails-message-board/spec/dummy/config/initializers/inflections.rb +0 -15
  344. data/mix-rails-message-board/spec/dummy/config/initializers/mime_types.rb +0 -5
  345. data/mix-rails-message-board/spec/dummy/config/initializers/secret_token.rb +0 -7
  346. data/mix-rails-message-board/spec/dummy/config/initializers/session_store.rb +0 -8
  347. data/mix-rails-message-board/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  348. data/mix-rails-message-board/spec/dummy/config/locales/en.yml +0 -5
  349. data/mix-rails-message-board/spec/dummy/config/routes.rb +0 -58
  350. data/mix-rails-message-board/spec/dummy/lib/assets/.gitkeep +0 -0
  351. data/mix-rails-message-board/spec/dummy/log/.gitkeep +0 -0
  352. data/mix-rails-message-board/spec/dummy/public/404.html +0 -26
  353. data/mix-rails-message-board/spec/dummy/public/422.html +0 -26
  354. data/mix-rails-message-board/spec/dummy/public/500.html +0 -25
  355. data/mix-rails-message-board/spec/dummy/public/favicon.ico +0 -0
  356. data/mix-rails-message-board/spec/dummy/script/rails +0 -6
  357. data/mix-rails-settings/app/models/admix/settings_datagrid.rb +0 -27
  358. data/mix-rails-settings/app/views/admix/settings/_form_fields.html.haml +0 -5
  359. data/mix-rails-settings/spec/dummy/README.rdoc +0 -261
  360. data/mix-rails-settings/spec/dummy/Rakefile +0 -7
  361. data/mix-rails-settings/spec/dummy/app/assets/javascripts/application.js +0 -15
  362. data/mix-rails-settings/spec/dummy/app/assets/stylesheets/application.css +0 -13
  363. data/mix-rails-settings/spec/dummy/app/controllers/application_controller.rb +0 -3
  364. data/mix-rails-settings/spec/dummy/app/helpers/application_helper.rb +0 -2
  365. data/mix-rails-settings/spec/dummy/app/mailers/.gitkeep +0 -0
  366. data/mix-rails-settings/spec/dummy/app/models/.gitkeep +0 -0
  367. data/mix-rails-settings/spec/dummy/app/views/layouts/application.html.erb +0 -14
  368. data/mix-rails-settings/spec/dummy/config.ru +0 -4
  369. data/mix-rails-settings/spec/dummy/config/application.rb +0 -66
  370. data/mix-rails-settings/spec/dummy/config/boot.rb +0 -10
  371. data/mix-rails-settings/spec/dummy/config/environment.rb +0 -5
  372. data/mix-rails-settings/spec/dummy/config/environments/development.rb +0 -31
  373. data/mix-rails-settings/spec/dummy/config/environments/production.rb +0 -64
  374. data/mix-rails-settings/spec/dummy/config/environments/test.rb +0 -35
  375. data/mix-rails-settings/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  376. data/mix-rails-settings/spec/dummy/config/initializers/inflections.rb +0 -15
  377. data/mix-rails-settings/spec/dummy/config/initializers/mime_types.rb +0 -5
  378. data/mix-rails-settings/spec/dummy/config/initializers/secret_token.rb +0 -7
  379. data/mix-rails-settings/spec/dummy/config/initializers/session_store.rb +0 -8
  380. data/mix-rails-settings/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  381. data/mix-rails-settings/spec/dummy/config/locales/en.yml +0 -5
  382. data/mix-rails-settings/spec/dummy/config/mongoid.yml +0 -80
  383. data/mix-rails-settings/spec/dummy/config/routes.rb +0 -59
  384. data/mix-rails-settings/spec/dummy/lib/assets/.gitkeep +0 -0
  385. data/mix-rails-settings/spec/dummy/log/.gitkeep +0 -0
  386. data/mix-rails-settings/spec/dummy/public/404.html +0 -26
  387. data/mix-rails-settings/spec/dummy/public/422.html +0 -26
  388. data/mix-rails-settings/spec/dummy/public/500.html +0 -25
  389. data/mix-rails-settings/spec/dummy/public/favicon.ico +0 -0
  390. data/mix-rails-settings/spec/dummy/script/rails +0 -6
  391. data/mix-rails-songs/app/models/admix/songs_datagrid.rb +0 -20
  392. data/mix-rails-songs/app/views/admix/songs/_form_fields.html.haml +0 -4
  393. data/mix-rails-songs/spec/dummy/README.rdoc +0 -261
  394. data/mix-rails-songs/spec/dummy/Rakefile +0 -7
  395. data/mix-rails-songs/spec/dummy/app/assets/javascripts/application.js +0 -15
  396. data/mix-rails-songs/spec/dummy/app/assets/stylesheets/application.css +0 -13
  397. data/mix-rails-songs/spec/dummy/app/controllers/application_controller.rb +0 -3
  398. data/mix-rails-songs/spec/dummy/app/helpers/application_helper.rb +0 -2
  399. data/mix-rails-songs/spec/dummy/app/mailers/.gitkeep +0 -0
  400. data/mix-rails-songs/spec/dummy/app/models/.gitkeep +0 -0
  401. data/mix-rails-songs/spec/dummy/app/views/layouts/application.html.erb +0 -14
  402. data/mix-rails-songs/spec/dummy/config.ru +0 -4
  403. data/mix-rails-songs/spec/dummy/config/application.rb +0 -65
  404. data/mix-rails-songs/spec/dummy/config/boot.rb +0 -10
  405. data/mix-rails-songs/spec/dummy/config/environment.rb +0 -5
  406. data/mix-rails-songs/spec/dummy/config/environments/development.rb +0 -31
  407. data/mix-rails-songs/spec/dummy/config/environments/production.rb +0 -64
  408. data/mix-rails-songs/spec/dummy/config/environments/test.rb +0 -35
  409. data/mix-rails-songs/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  410. data/mix-rails-songs/spec/dummy/config/initializers/inflections.rb +0 -15
  411. data/mix-rails-songs/spec/dummy/config/initializers/mime_types.rb +0 -5
  412. data/mix-rails-songs/spec/dummy/config/initializers/secret_token.rb +0 -7
  413. data/mix-rails-songs/spec/dummy/config/initializers/session_store.rb +0 -8
  414. data/mix-rails-songs/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  415. data/mix-rails-songs/spec/dummy/config/locales/en.yml +0 -5
  416. data/mix-rails-songs/spec/dummy/config/routes.rb +0 -58
  417. data/mix-rails-songs/spec/dummy/lib/assets/.gitkeep +0 -0
  418. data/mix-rails-songs/spec/dummy/log/.gitkeep +0 -0
  419. data/mix-rails-songs/spec/dummy/public/404.html +0 -26
  420. data/mix-rails-songs/spec/dummy/public/422.html +0 -26
  421. data/mix-rails-songs/spec/dummy/public/500.html +0 -25
  422. data/mix-rails-songs/spec/dummy/public/favicon.ico +0 -0
  423. data/mix-rails-songs/spec/dummy/script/rails +0 -6
  424. data/mix-rails-videos/app/models/admix/videos_datagrid.rb +0 -21
  425. data/mix-rails-videos/app/views/admix/videos/_form_fields.html.haml +0 -1
  426. data/mix-rails-videos/spec/dummy/README.rdoc +0 -261
  427. data/mix-rails-videos/spec/dummy/Rakefile +0 -7
  428. data/mix-rails-videos/spec/dummy/app/assets/javascripts/application.js +0 -15
  429. data/mix-rails-videos/spec/dummy/app/assets/stylesheets/application.css +0 -13
  430. data/mix-rails-videos/spec/dummy/app/controllers/application_controller.rb +0 -3
  431. data/mix-rails-videos/spec/dummy/app/helpers/application_helper.rb +0 -2
  432. data/mix-rails-videos/spec/dummy/app/mailers/.gitkeep +0 -0
  433. data/mix-rails-videos/spec/dummy/app/models/.gitkeep +0 -0
  434. data/mix-rails-videos/spec/dummy/app/views/layouts/application.html.erb +0 -14
  435. data/mix-rails-videos/spec/dummy/config.ru +0 -4
  436. data/mix-rails-videos/spec/dummy/config/application.rb +0 -65
  437. data/mix-rails-videos/spec/dummy/config/boot.rb +0 -10
  438. data/mix-rails-videos/spec/dummy/config/environment.rb +0 -5
  439. data/mix-rails-videos/spec/dummy/config/environments/development.rb +0 -31
  440. data/mix-rails-videos/spec/dummy/config/environments/production.rb +0 -64
  441. data/mix-rails-videos/spec/dummy/config/environments/test.rb +0 -35
  442. data/mix-rails-videos/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  443. data/mix-rails-videos/spec/dummy/config/initializers/inflections.rb +0 -15
  444. data/mix-rails-videos/spec/dummy/config/initializers/mime_types.rb +0 -5
  445. data/mix-rails-videos/spec/dummy/config/initializers/secret_token.rb +0 -7
  446. data/mix-rails-videos/spec/dummy/config/initializers/session_store.rb +0 -8
  447. data/mix-rails-videos/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  448. data/mix-rails-videos/spec/dummy/config/locales/en.yml +0 -5
  449. data/mix-rails-videos/spec/dummy/config/routes.rb +0 -58
  450. data/mix-rails-videos/spec/dummy/lib/assets/.gitkeep +0 -0
  451. data/mix-rails-videos/spec/dummy/log/.gitkeep +0 -0
  452. data/mix-rails-videos/spec/dummy/public/404.html +0 -26
  453. data/mix-rails-videos/spec/dummy/public/422.html +0 -26
  454. data/mix-rails-videos/spec/dummy/public/500.html +0 -25
  455. data/mix-rails-videos/spec/dummy/public/favicon.ico +0 -0
  456. data/mix-rails-videos/spec/dummy/script/rails +0 -6
  457. data/mix-rails-vouchers/app/models/admix/vouchers_datagrid.rb +0 -18
  458. data/mix-rails-vouchers/app/views/admix/vouchers/_form_fields.html.haml +0 -6
  459. data/mix-rails-vouchers/spec/dummy/README.rdoc +0 -261
  460. data/mix-rails-vouchers/spec/dummy/Rakefile +0 -7
  461. data/mix-rails-vouchers/spec/dummy/app/assets/javascripts/application.js +0 -15
  462. data/mix-rails-vouchers/spec/dummy/app/assets/stylesheets/application.css +0 -13
  463. data/mix-rails-vouchers/spec/dummy/app/controllers/application_controller.rb +0 -3
  464. data/mix-rails-vouchers/spec/dummy/app/helpers/application_helper.rb +0 -2
  465. data/mix-rails-vouchers/spec/dummy/app/mailers/.gitkeep +0 -0
  466. data/mix-rails-vouchers/spec/dummy/app/models/.gitkeep +0 -0
  467. data/mix-rails-vouchers/spec/dummy/app/views/layouts/application.html.erb +0 -14
  468. data/mix-rails-vouchers/spec/dummy/config.ru +0 -4
  469. data/mix-rails-vouchers/spec/dummy/config/application.rb +0 -65
  470. data/mix-rails-vouchers/spec/dummy/config/boot.rb +0 -10
  471. data/mix-rails-vouchers/spec/dummy/config/environment.rb +0 -5
  472. data/mix-rails-vouchers/spec/dummy/config/environments/development.rb +0 -31
  473. data/mix-rails-vouchers/spec/dummy/config/environments/production.rb +0 -64
  474. data/mix-rails-vouchers/spec/dummy/config/environments/test.rb +0 -35
  475. data/mix-rails-vouchers/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  476. data/mix-rails-vouchers/spec/dummy/config/initializers/inflections.rb +0 -15
  477. data/mix-rails-vouchers/spec/dummy/config/initializers/mime_types.rb +0 -5
  478. data/mix-rails-vouchers/spec/dummy/config/initializers/secret_token.rb +0 -7
  479. data/mix-rails-vouchers/spec/dummy/config/initializers/session_store.rb +0 -8
  480. data/mix-rails-vouchers/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  481. data/mix-rails-vouchers/spec/dummy/config/locales/en.yml +0 -5
  482. data/mix-rails-vouchers/spec/dummy/config/routes.rb +0 -58
  483. data/mix-rails-vouchers/spec/dummy/lib/assets/.gitkeep +0 -0
  484. data/mix-rails-vouchers/spec/dummy/log/.gitkeep +0 -0
  485. data/mix-rails-vouchers/spec/dummy/public/404.html +0 -26
  486. data/mix-rails-vouchers/spec/dummy/public/422.html +0 -26
  487. data/mix-rails-vouchers/spec/dummy/public/500.html +0 -25
  488. data/mix-rails-vouchers/spec/dummy/public/favicon.ico +0 -0
  489. data/mix-rails-vouchers/spec/dummy/script/rails +0 -6
  490. data/mix-rails-wireframe/spec/dummy/README.rdoc +0 -261
  491. data/mix-rails-wireframe/spec/dummy/Rakefile +0 -7
  492. data/mix-rails-wireframe/spec/dummy/app/assets/javascripts/application.js +0 -15
  493. data/mix-rails-wireframe/spec/dummy/app/assets/stylesheets/application.css +0 -13
  494. data/mix-rails-wireframe/spec/dummy/app/controllers/application_controller.rb +0 -3
  495. data/mix-rails-wireframe/spec/dummy/app/helpers/application_helper.rb +0 -2
  496. data/mix-rails-wireframe/spec/dummy/app/mailers/.gitkeep +0 -0
  497. data/mix-rails-wireframe/spec/dummy/app/models/.gitkeep +0 -0
  498. data/mix-rails-wireframe/spec/dummy/app/views/layouts/application.html.erb +0 -14
  499. data/mix-rails-wireframe/spec/dummy/config.ru +0 -4
  500. data/mix-rails-wireframe/spec/dummy/config/application.rb +0 -65
  501. data/mix-rails-wireframe/spec/dummy/config/boot.rb +0 -10
  502. data/mix-rails-wireframe/spec/dummy/config/environment.rb +0 -5
  503. data/mix-rails-wireframe/spec/dummy/config/environments/development.rb +0 -31
  504. data/mix-rails-wireframe/spec/dummy/config/environments/production.rb +0 -64
  505. data/mix-rails-wireframe/spec/dummy/config/environments/test.rb +0 -35
  506. data/mix-rails-wireframe/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  507. data/mix-rails-wireframe/spec/dummy/config/initializers/inflections.rb +0 -15
  508. data/mix-rails-wireframe/spec/dummy/config/initializers/mime_types.rb +0 -5
  509. data/mix-rails-wireframe/spec/dummy/config/initializers/secret_token.rb +0 -7
  510. data/mix-rails-wireframe/spec/dummy/config/initializers/session_store.rb +0 -8
  511. data/mix-rails-wireframe/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  512. data/mix-rails-wireframe/spec/dummy/config/locales/en.yml +0 -5
  513. data/mix-rails-wireframe/spec/dummy/config/routes.rb +0 -58
  514. data/mix-rails-wireframe/spec/dummy/lib/assets/.gitkeep +0 -0
  515. data/mix-rails-wireframe/spec/dummy/log/.gitkeep +0 -0
  516. data/mix-rails-wireframe/spec/dummy/public/404.html +0 -26
  517. data/mix-rails-wireframe/spec/dummy/public/422.html +0 -26
  518. data/mix-rails-wireframe/spec/dummy/public/500.html +0 -25
  519. data/mix-rails-wireframe/spec/dummy/public/favicon.ico +0 -0
  520. data/mix-rails-wireframe/spec/dummy/script/rails +0 -6
  521. data/mix-rails-writer/app/models/admix/news_datagrid.rb +0 -34
  522. data/mix-rails-writer/app/views/admix/posts/_form_fields.html.haml +0 -6
  523. data/mix-rails-writer/spec/dummy/README.rdoc +0 -261
  524. data/mix-rails-writer/spec/dummy/Rakefile +0 -7
  525. data/mix-rails-writer/spec/dummy/app/assets/javascripts/application.js +0 -15
  526. data/mix-rails-writer/spec/dummy/app/assets/stylesheets/application.css +0 -13
  527. data/mix-rails-writer/spec/dummy/app/controllers/application_controller.rb +0 -3
  528. data/mix-rails-writer/spec/dummy/app/helpers/application_helper.rb +0 -2
  529. data/mix-rails-writer/spec/dummy/app/mailers/.gitkeep +0 -0
  530. data/mix-rails-writer/spec/dummy/app/models/.gitkeep +0 -0
  531. data/mix-rails-writer/spec/dummy/app/views/layouts/application.html.erb +0 -14
  532. data/mix-rails-writer/spec/dummy/config.ru +0 -4
  533. data/mix-rails-writer/spec/dummy/config/application.rb +0 -65
  534. data/mix-rails-writer/spec/dummy/config/boot.rb +0 -10
  535. data/mix-rails-writer/spec/dummy/config/environment.rb +0 -5
  536. data/mix-rails-writer/spec/dummy/config/environments/development.rb +0 -31
  537. data/mix-rails-writer/spec/dummy/config/environments/production.rb +0 -64
  538. data/mix-rails-writer/spec/dummy/config/environments/test.rb +0 -35
  539. data/mix-rails-writer/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  540. data/mix-rails-writer/spec/dummy/config/initializers/inflections.rb +0 -15
  541. data/mix-rails-writer/spec/dummy/config/initializers/mime_types.rb +0 -5
  542. data/mix-rails-writer/spec/dummy/config/initializers/secret_token.rb +0 -7
  543. data/mix-rails-writer/spec/dummy/config/initializers/session_store.rb +0 -8
  544. data/mix-rails-writer/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
  545. data/mix-rails-writer/spec/dummy/config/locales/en.yml +0 -5
  546. data/mix-rails-writer/spec/dummy/config/routes.rb +0 -58
  547. data/mix-rails-writer/spec/dummy/lib/assets/.gitkeep +0 -0
  548. data/mix-rails-writer/spec/dummy/log/.gitkeep +0 -0
  549. data/mix-rails-writer/spec/dummy/public/404.html +0 -26
  550. data/mix-rails-writer/spec/dummy/public/422.html +0 -26
  551. data/mix-rails-writer/spec/dummy/public/500.html +0 -25
  552. data/mix-rails-writer/spec/dummy/public/favicon.ico +0 -0
  553. data/mix-rails-writer/spec/dummy/script/rails +0 -6
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4e77873e55e5d77aa9d71095afb04b3bc49033e4
4
+ data.tar.gz: 93b7689359b3e7ec2338a4d971c85e16f9ce7868
5
+ SHA512:
6
+ metadata.gz: 66dd6c86f80ddd37df54b5dfde0cf137b7266f9d08b8db184d885541689b4354e5ada855f7666faff83b4e36a6fd000aec52dd365543540c43dad9e906175b9b
7
+ data.tar.gz: 495667d46d0cd3c6be3ad4eabec8c6a3b67a72120bacd39c0735b1991dc5172b0d81bb406cb3d53c4667900a4c4f7d2c5e6ed59d874eaf776e1cc7a9c5ff1e0b
data/Gemfile CHANGED
@@ -1,9 +1,12 @@
1
1
  source 'https://rubygems.org'
2
+
2
3
  Encoding.default_external = Encoding::UTF_8
3
4
 
4
5
  # Specify your gem's dependencies in mix-rails.gemspec
5
6
  gemspec
6
7
 
8
+ gem 'default_value_for', github: 'FooBarWidget/default_value_for', branch: 'master'
9
+
7
10
  group :development do
8
11
  gem 'capistrano'
9
12
  gem 'rvm-capistrano'
data/MIX_RAILS_VERSION CHANGED
@@ -1 +1 @@
1
- 0.23.1
1
+ 0.24.0
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/mixinternet/mix-rails.png)](https://travis-ci.org/mixinternet/mix-rails)
4
4
  [![Dependency Status](https://gemnasium.com/mixinternet/mix-rails.png)](https://gemnasium.com/mixinternet/mix-rails)
5
+ [![Code Climate](https://codeclimate.com/github/mixinternet/mix-rails.png)](https://codeclimate.com/github/mixinternet/mix-rails)
5
6
 
6
7
  MixRails is a CMS based on Ruby on Rails.
7
8
 
@@ -10,7 +11,7 @@ MixRails is a CMS based on Ruby on Rails.
10
11
 
11
12
  Create a new rails project.
12
13
 
13
- $ rails new myproject -T --skip-bundle
14
+ $ rails new myproject --skip-bundle
14
15
 
15
16
  Add this line to your application's Gemfile:
16
17
 
data/admix/Gemfile CHANGED
@@ -19,7 +19,6 @@ gem 'haml-rails'
19
19
  gem 'coffee-script'
20
20
  gem 'inherited_resources'
21
21
  gem 'simple_form'
22
- gem 'datagrid'
23
22
 
24
23
  # Declare any dependencies that are still in development here instead of in
25
24
  # your gemspec. These might include edge Rails or gems from your path or
data/admix/admix.gemspec CHANGED
@@ -24,7 +24,6 @@ Gem::Specification.new do |s|
24
24
 
25
25
  s.add_dependency "inherited_resources"
26
26
  s.add_dependency 'simple_form'
27
- s.add_dependency 'datagrid'
28
27
 
29
28
  s.add_dependency 'haml-rails'
30
29
  s.add_dependency "jquery-rails"
@@ -1,9 +1,11 @@
1
+
1
2
  #= require jquery
2
3
  #= require jquery_ujs
3
4
  #= require underscore
4
5
  #= require backbone
5
6
  #= require jquery/jquery.livequery
6
7
  #= require fancybox
8
+ #= require wice_grid
7
9
  #= require jquery.ui.all
8
10
  #= require bootstrap
9
11
  #= require ../../nicedit/nicEdit
@@ -12,7 +14,13 @@
12
14
  # ./tipsy_init
13
15
  #= require jquery.qtip.js
14
16
  #= require jquery.globalmoney
17
+ #= require ckeditor/init
18
+ #= require jquery.meio.mask.min
19
+ #= require jquery.ui.addresspicker
15
20
 
21
+ #= require angular.min
22
+ #= require angular-ui.min
23
+ #= require gmaps
16
24
 
17
25
 
18
26
  Backbone.emulateHTTP = true
@@ -29,7 +37,7 @@ $ ->
29
37
  style:
30
38
  classes: 'qtip-bootstrap'
31
39
 
32
- $('.fancybox').livequery ->
40
+ $('.zoom-image').livequery ->
33
41
  $(@).fancybox();
34
42
 
35
43
  $('.currency').livequery ->
@@ -44,4 +52,24 @@ $ ->
44
52
  $(this).datepicker
45
53
  altFormat: "yy-mm-dd"
46
54
  dateFormat: "dd/mm/yy"
47
- altField: $(this).next()
55
+ altField: $(this).next()
56
+
57
+ $(".cell, .phone").livequery ->
58
+ $(@).setMask('(84) 9999-9999')
59
+
60
+ $(".cep").livequery ->
61
+ $(@).setMask('99999-999')
62
+
63
+ # window.admix = angular.module('admix', ['ui'])
64
+ # .config(["$httpProvider", function(provider) {
65
+ # provider.defaults.headers.common['X-CSRF-Token'] = $('meta[name=csrf-token]').attr('content');
66
+ # .controller 'FormController', ($scope) ->
67
+ # console.log 'init From Controller'
68
+ # $scope.method = $(AdmixForm._method).val()
69
+ # $scope.authenticity_token = $(AdmixForm.authenticity_token).val()
70
+ # $scope.utf8 = $(AdmixForm.utf8).val()
71
+
72
+ # console.log $scope
73
+
74
+
75
+ # angular.bootstrap(document, ['admix'])
@@ -15,6 +15,7 @@
15
15
  *= require ./admix_bootstrap
16
16
  *= require ./style
17
17
  *= require jquery.qtip.css
18
+ *= require ./wice_grid
18
19
  *= require_self
19
20
  */
20
21
 
@@ -25,4 +26,8 @@
25
26
 
26
27
  form abbr {
27
28
  color: red;
28
- }
29
+ }
30
+
31
+ #gmapa img {
32
+ max-width: none;
33
+ }
@@ -0,0 +1,143 @@
1
+ @mixin icon-dimensions {
2
+ width: 16px;
3
+ height: 16px;
4
+ }
5
+
6
+ .wg-detached-filter{
7
+ a.date-label {text-decoration: none;}
8
+ a.date-label:hover {text-decoration: line-through;}
9
+ }
10
+
11
+ .wice-grid{
12
+
13
+ .clickable{
14
+ cursor: pointer;
15
+ margin-bottom: 2px;
16
+ margin-right: 2px;
17
+ }
18
+
19
+
20
+ a.date-label {text-decoration: none;}
21
+ a.date-label:hover {text-decoration: line-through;}
22
+
23
+ .ui-datepicker-trigger, .wg-detached-filter .ui-datepicker-trigger{
24
+ cursor: pointer;
25
+ }
26
+
27
+ .desc, .asc{
28
+ padding-right: 18px;
29
+ text-decoration:none;
30
+ }
31
+
32
+ .desc {
33
+ background: transparent url(/assets/icons/grid/arrow_down.gif) right no-repeat
34
+ }
35
+ .asc {
36
+ background: transparent url(/assets/icons/grid/arrow_up.gif) right no-repeat
37
+ }
38
+
39
+ .submit.clickable{
40
+ background: transparent url(/assets/icons/grid/table_refresh.png) no-repeat;
41
+ @include icon-dimensions;
42
+ }
43
+
44
+ .reset.clickable{
45
+ background: transparent url(/assets/icons/grid/table.png) no-repeat;
46
+ @include icon-dimensions;
47
+ }
48
+
49
+
50
+ .wg-show-filter.clickable,
51
+ .wg-hide-filter.clickable{
52
+ background: transparent url(/assets/icons/grid/page_white_find.png) no-repeat;
53
+ @include icon-dimensions;
54
+ }
55
+
56
+
57
+ .export-to-csv-button.clickable{
58
+ background: transparent url(/assets/icons/grid/page_white_excel.png) no-repeat;
59
+ @include icon-dimensions;
60
+ }
61
+
62
+ .clickable.select-all{
63
+ background: transparent url(/assets/icons/grid/tick_all.png) no-repeat;
64
+ @include icon-dimensions;
65
+ float:left;
66
+ }
67
+
68
+ .clickable.deselect-all{
69
+ background: transparent url(/assets/icons/grid/untick_all.png) no-repeat;
70
+ @include icon-dimensions;
71
+ float:left;
72
+ }
73
+
74
+ .custom-dropdown-container {
75
+ position: relative;
76
+ padding-right: 18px;
77
+
78
+
79
+ .collapse-multi-select-icon, .expand-multi-select-icon{
80
+ width: 12px;
81
+ height: 12px;
82
+ position:absolute;
83
+ top:0;
84
+ right:0;
85
+ }
86
+
87
+ .collapse-multi-select-icon{
88
+ background: transparent url(/assets/icons/grid/collapse.gif) no-repeat;
89
+ }
90
+
91
+ .expand-multi-select-icon{
92
+ background: transparent url(/assets/icons/grid/expand.gif) no-repeat;
93
+ }
94
+
95
+ }
96
+
97
+ .text-filter-container {
98
+ position: relative; padding-right: 13px;
99
+ .negation-checkbox {
100
+ position:absolute;
101
+ top:0;
102
+ right:0;
103
+ }
104
+ }
105
+
106
+
107
+ /* in case of twitter bootstrap :) */
108
+ thead th select{
109
+ width: auto;
110
+ }
111
+
112
+ .pagination{
113
+ margin: 0px;
114
+ float: left;
115
+ }
116
+
117
+
118
+ tr.wg-filter-row input[type=text] {
119
+ width: 100px;
120
+ }
121
+
122
+ .pagination_status {
123
+ font-weight: bold;
124
+ float: right;
125
+ }
126
+
127
+ }
128
+
129
+ .wice-grid-query-panel{
130
+ li {list-style-type: none; }
131
+
132
+ ul {margin-left: 0 }
133
+
134
+ a.wice-grid-delete-query .delete-icon{
135
+ background: transparent url(/assets/icons/grid/delete.png) no-repeat;
136
+ float: left;
137
+ @include icon-dimensions;
138
+ }
139
+ }
140
+
141
+ .table-striped td.active-filter {
142
+ background-color: #f9f9e9 !important;
143
+ }
@@ -1,25 +1,20 @@
1
1
  module Admix
2
2
  class InheritedController < Admix::AdmixController
3
+
3
4
  helper :all
4
5
 
5
6
  inherit_resources
6
- include InheritedResources::DSL
7
7
 
8
+ include InheritedResources::DSL
8
9
  rescue_from ActiveRecord::DeleteRestrictionError do |exception|
9
10
  #resource.errors.add(:base, exception)
10
11
  flash[:alert] = I18n.t('errors.dependent')
11
12
  redirect_to collection_url
12
13
  end
13
14
 
14
- # destroy! do |success, failure|
15
- # failure.html { redirect_to polymorphic_path(resource) }
16
- # end
17
-
18
15
  # TODO: Add authorization here.
19
-
20
16
 
21
-
22
- before_filter :generate_datagrid , only: [:index ]
17
+ before_filter :load_grid , only: [:index ]
23
18
 
24
19
 
25
20
  # Add a breadcrumb, in this case nested resources. ;)
@@ -31,22 +26,29 @@ module Admix
31
26
  }
32
27
 
33
28
  before_filter -> { breadcrumbs.add t("#{collection_name}.#{collection_name}"), collection_url, :i18n => false }
34
- before_filter -> { breadcrumbs.add "#{resource[crumb_field]}" , resource_url, :i18n => false } , except: [:index, :new, :create ]
29
+ before_filter -> { breadcrumbs.add "#{crumb_field}" , resource_url, :i18n => false } , except: [:index, :new, :create ]
35
30
  before_filter -> { breadcrumbs.add t("admix.crud.new.title"), :i18n => false } , only: [:new ]
36
31
  before_filter -> { @crumb_field = crumb_field } , only: [:edit ]
37
32
 
38
33
  protected
39
34
 
40
35
  def crumb_field
41
- if resource.respond_to?(:name)
36
+ field_name = if resource.respond_to?(:name)
42
37
  :name
43
38
  elsif resource.respond_to?(:title)
44
39
  :title
45
40
  elsif resource.respond_to?(:email)
46
41
  :email
47
42
  else
48
- "Implement crumb_field method in #{self}"
43
+ raise "Implement crumb_field method in #{self}"
49
44
  end
45
+
46
+ resource[field_name]
47
+
48
+ end
49
+
50
+ def load_grid
51
+ @grid = initialize_grid(resource_class)
50
52
  end
51
53
 
52
54
  def collection_name
@@ -61,28 +63,5 @@ module Admix
61
63
  raise "TODO: We need implement this in #{self}"
62
64
  end
63
65
 
64
- def generate_datagrid
65
- @report = report
66
- @assets = @report.assets.paginate(:page => params[:page], :per_page => 10)
67
- end
68
-
69
- def report
70
- datagrid_class.new(params[datagrid_param_name])
71
- end
72
-
73
- def datagrid_class
74
- @datagrid_class = guess_datagrid_class
75
- end
76
-
77
- private
78
- def guess_datagrid_class
79
- "#{self.class.name}".gsub("Controller", "Datagrid").constantize
80
- end
81
-
82
- def datagrid_param_name
83
- guess_datagrid_class.to_s.underscore.gsub('/', '_')
84
- end
85
-
86
-
87
66
  end
88
67
  end
@@ -0,0 +1,2 @@
1
+ class Admix::RegistrationsController < Devise::RegistrationsController
2
+ end
@@ -0,0 +1,46 @@
1
+ class Admix::RestController < Admix::AdmixController
2
+
3
+ inherit_resources
4
+
5
+ before_filter -> {
6
+ if defined?(parent_type)
7
+ breadcrumbs.add t("#{parent_type.to_s.gsub('_', '').pluralize}.#{parent_type.to_s.gsub('_', '').pluralize}") , polymorphic_path([:admix, parent_class])
8
+ breadcrumbs.add "#{parent.name}" , parent_url
9
+ end
10
+ }
11
+
12
+ before_filter -> { breadcrumbs.add t("#{collection_name}.#{collection_name}"), collection_url, :i18n => false }
13
+ before_filter -> { breadcrumbs.add "#{crumb_field}" , resource_url, :i18n => false } , except: [:index, :new, :create ]
14
+ before_filter -> { breadcrumbs.add t("admix.crud.new.title"), :i18n => false } , only: [:new ]
15
+ before_filter -> { @crumb_field = crumb_field } , only: [:edit ]
16
+
17
+ protected
18
+
19
+ def crumb_field
20
+ field_name = if resource.respond_to?(:name)
21
+ :name
22
+ elsif resource.respond_to?(:title)
23
+ :title
24
+ elsif resource.respond_to?(:email)
25
+ :email
26
+ else
27
+ raise "Implement crumb_field method in #{self}"
28
+ end
29
+
30
+ resource[field_name]
31
+
32
+ end
33
+
34
+ def load_grid
35
+ @grid = initialize_grid(resource_class)
36
+ end
37
+
38
+ def collection_name
39
+ @collection_name = resource_class.to_s.underscore.pluralize.gsub("::", "_")
40
+ end
41
+
42
+ def resource_name
43
+ resource_class.to_s.downcase
44
+ end
45
+
46
+ end
@@ -0,0 +1,33 @@
1
+ module Admix
2
+ class Tab
3
+
4
+ # include ActionView::Helpers::CaptureHelper
5
+ # include ActionView::Helpers::TagHelper
6
+
7
+ attr_reader :tab_id, :header, :content, :view_context, :options
8
+
9
+ def initialize(view_context, tab_name, tab_id = nil, options={}, &block)
10
+ @view_context ||= view_context
11
+ @tab_id = "tab-#{tab_name}".parameterize.to_sym unless tab_id
12
+ @tab_name = tab_name
13
+
14
+ @options = options
15
+
16
+ @header = view_context.content_tag :li, class: (options[:first] ? 'active' : '') do
17
+ view_context.link_to(@tab_name, "##{@tab_id}")
18
+ end
19
+
20
+ @content = ''.html_safe
21
+ yield(self)
22
+ end
23
+
24
+ def tab_header(&block)
25
+ @header = block_given? ? @view_context.capture(&block) : ''
26
+ end
27
+
28
+ def tab_content(&block)
29
+ @content = block_given? ? @view_context.capture(&block) : ''
30
+ end
31
+
32
+ end
33
+ end