mix-rails 0.7.0 → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (706) hide show
  1. data/MIX_RAILS_VERSION +1 -0
  2. data/README.md +18 -6
  3. data/Rakefile +9 -0
  4. data/admix/admix.gemspec +1 -2
  5. data/admix/lib/admix/engine.rb +0 -3
  6. data/admix/lib/admix/version.rb +10 -0
  7. data/lib/mix-rails.rb +0 -2
  8. data/lib/mix-rails/all.rb +2 -6
  9. data/{albums → mix-rails-albums}/.gitignore +0 -0
  10. data/{albums → mix-rails-albums}/Gemfile +0 -2
  11. data/{albums → mix-rails-albums}/MIT-LICENSE +0 -0
  12. data/{albums → mix-rails-albums}/README.rdoc +0 -0
  13. data/{albums → mix-rails-albums}/Rakefile +0 -0
  14. data/{albums → mix-rails-albums}/app/assets/images/albums/.gitkeep +0 -0
  15. data/{albums → mix-rails-albums}/app/assets/images/albums/crop.png +0 -0
  16. data/{albums → mix-rails-albums}/app/assets/images/albums/delete.png +0 -0
  17. data/{albums → mix-rails-albums}/app/assets/images/albums/photos.png +0 -0
  18. data/{albums → mix-rails-albums}/app/assets/images/albums/rotate_ccw.png +0 -0
  19. data/{albums → mix-rails-albums}/app/assets/images/albums/rotate_cw.png +0 -0
  20. data/{albums → mix-rails-albums}/app/assets/images/colorbox/border.png +0 -0
  21. data/{albums → mix-rails-albums}/app/assets/images/colorbox/controls.png +0 -0
  22. data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderBottomCenter.png +0 -0
  23. data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderBottomLeft.png +0 -0
  24. data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderBottomRight.png +0 -0
  25. data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderMiddleLeft.png +0 -0
  26. data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderMiddleRight.png +0 -0
  27. data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderTopCenter.png +0 -0
  28. data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderTopLeft.png +0 -0
  29. data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderTopRight.png +0 -0
  30. data/{albums → mix-rails-albums}/app/assets/images/colorbox/loading.gif +0 -0
  31. data/{albums → mix-rails-albums}/app/assets/images/colorbox/loading_background.png +0 -0
  32. data/{albums → mix-rails-albums}/app/assets/images/colorbox/overlay.png +0 -0
  33. data/{albums → mix-rails-albums}/app/assets/javascripts/admix/photos.js.erb +0 -0
  34. data/{albums → mix-rails-albums}/app/assets/javascripts/albums.js +0 -0
  35. data/{albums → mix-rails-albums}/app/assets/javascripts/albums/.gitkeep +0 -0
  36. data/{albums → mix-rails-albums}/app/assets/javascripts/albums/jquery.jcarousel.min.js +0 -0
  37. data/{albums → mix-rails-albums}/app/assets/javascripts/albums/show.js.coffee +0 -0
  38. data/{albums → mix-rails-albums}/app/assets/javascripts/collections/.gitkeep +0 -0
  39. data/{albums → mix-rails-albums}/app/assets/javascripts/collections/filelist.js +0 -0
  40. data/{albums → mix-rails-albums}/app/assets/javascripts/colorbox/jquery.colorbox-min.js +0 -0
  41. data/{albums → mix-rails-albums}/app/assets/javascripts/models/.gitkeep +0 -0
  42. data/{albums → mix-rails-albums}/app/assets/javascripts/models/fileitem.js +0 -0
  43. data/{albums → mix-rails-albums}/app/assets/javascripts/models/filezip.js +0 -0
  44. data/{albums → mix-rails-albums}/app/assets/javascripts/photo_uploader.coffee +0 -0
  45. data/{albums → mix-rails-albums}/app/assets/javascripts/routers/.gitkeep +0 -0
  46. data/{albums → mix-rails-albums}/app/assets/javascripts/templates/.gitkeep +0 -0
  47. data/{albums → mix-rails-albums}/app/assets/javascripts/templates/photo_view.hamlc.erb +0 -0
  48. data/{albums → mix-rails-albums}/app/assets/javascripts/views/.gitkeep +0 -0
  49. data/{albums → mix-rails-albums}/app/assets/javascripts/views/filelistview.js +0 -0
  50. data/{albums → mix-rails-albums}/app/assets/javascripts/views/fileview.js +0 -0
  51. data/{albums → mix-rails-albums}/app/assets/javascripts/views/filezipview.js +0 -0
  52. data/{albums → mix-rails-albums}/app/assets/stylesheets/albums/.gitkeep +0 -0
  53. data/{albums → mix-rails-albums}/app/assets/stylesheets/colorbox/colorbox.css.scss +0 -0
  54. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/credits.txt +0 -0
  55. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/loading-small.gif +0 -0
  56. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/loading.gif +0 -0
  57. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/loading_small.gif +0 -0
  58. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/next-horizontal.gif +0 -0
  59. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/prev-horizontal.gif +0 -0
  60. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/skin.css +0 -0
  61. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/credits.txt +0 -0
  62. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/next-horizontal.png +0 -0
  63. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/next-vertical.png +0 -0
  64. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/prev-horizontal.png +0 -0
  65. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/prev-vertical.png +0 -0
  66. data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/skin.css +0 -0
  67. data/{albums → mix-rails-albums}/app/controllers/.gitkeep +0 -0
  68. data/{albums → mix-rails-albums}/app/controllers/admix/albums_controller.rb +0 -0
  69. data/{albums → mix-rails-albums}/app/controllers/admix/photos_controller.rb +0 -0
  70. data/{albums → mix-rails-albums}/app/controllers/albums_controller.rb +0 -0
  71. data/{albums → mix-rails-albums}/app/helpers/.gitkeep +0 -0
  72. data/{albums → mix-rails-albums}/app/helpers/admix/albums_helper.rb +0 -0
  73. data/{albums → mix-rails-albums}/app/mailers/.gitkeep +0 -0
  74. data/{albums → mix-rails-albums}/app/models/.gitkeep +0 -0
  75. data/{albums → mix-rails-albums}/app/models/admix/albums_datagrid.rb +0 -0
  76. data/{albums → mix-rails-albums}/app/models/admix/photos_datagrid.rb +0 -0
  77. data/{albums → mix-rails-albums}/app/models/album.rb +0 -0
  78. data/{albums → mix-rails-albums}/app/models/photo.rb +0 -0
  79. data/{albums → mix-rails-albums}/app/uploaders/albums/image_uploader.rb +4 -0
  80. data/{albums → mix-rails-albums}/app/views/.gitkeep +0 -0
  81. data/{albums → mix-rails-albums}/app/views/admix/albums/_form_fields.html.haml +0 -0
  82. data/{albums → mix-rails-albums}/app/views/admix/albums/_show.html.haml +0 -0
  83. data/{albums → mix-rails-albums}/app/views/admix/albums/_table_actions.html.haml +0 -0
  84. data/{albums → mix-rails-albums}/app/views/admix/photos/_upload.html.haml +0 -0
  85. data/{albums → mix-rails-albums}/app/views/admix/photos/index.html.haml +0 -0
  86. data/{albums → mix-rails-albums}/app/views/albums/index.html.haml +0 -0
  87. data/{albums → mix-rails-albums}/app/views/albums/show.html.haml +0 -0
  88. data/{albums → mix-rails-albums}/config/application.rb +0 -0
  89. data/{albums → mix-rails-albums}/config/initializers/albums.rb +0 -0
  90. data/{albums → mix-rails-albums}/config/initializers/carrierwave.rb +1 -0
  91. data/{albums → mix-rails-albums}/config/locales/albums.en.yml +0 -0
  92. data/{albums → mix-rails-albums}/config/locales/albums.pt-BR.yml +0 -0
  93. data/{albums → mix-rails-albums}/config/locales/photos.pt-BR.yml +0 -0
  94. data/{albums → mix-rails-albums}/config/routes.rb +0 -0
  95. data/{albums/lib/albums.rb → mix-rails-albums/lib/mix-rails-albums.rb} +2 -2
  96. data/{albums/lib/albums → mix-rails-albums/lib/mix-rails-albums}/engine.rb +1 -1
  97. data/mix-rails-albums/lib/mix-rails-albums/version.rb +10 -0
  98. data/{albums → mix-rails-albums}/lib/tasks/albums_tasks.rake +0 -0
  99. data/{albums → mix-rails-albums}/mix-rails-albums.gemspec +1 -2
  100. data/{albums → mix-rails-albums}/script/rails +0 -0
  101. data/{albums → mix-rails-albums}/spec/dummy/README.rdoc +0 -0
  102. data/{albums → mix-rails-albums}/spec/dummy/Rakefile +0 -0
  103. data/{albums → mix-rails-albums}/spec/dummy/app/assets/javascripts/application.js +0 -0
  104. data/{albums → mix-rails-albums}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  105. data/{albums → mix-rails-albums}/spec/dummy/app/controllers/application_controller.rb +0 -0
  106. data/{albums → mix-rails-albums}/spec/dummy/app/helpers/application_helper.rb +0 -0
  107. data/{albums → mix-rails-albums}/spec/dummy/app/mailers/.gitkeep +0 -0
  108. data/{albums → mix-rails-albums}/spec/dummy/app/models/.gitkeep +0 -0
  109. data/{albums → mix-rails-albums}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  110. data/{albums → mix-rails-albums}/spec/dummy/config.ru +0 -0
  111. data/{albums → mix-rails-albums}/spec/dummy/config/application.rb +0 -0
  112. data/{albums → mix-rails-albums}/spec/dummy/config/boot.rb +0 -0
  113. data/{albums → mix-rails-albums}/spec/dummy/config/environment.rb +0 -0
  114. data/{albums → mix-rails-albums}/spec/dummy/config/environments/development.rb +0 -0
  115. data/{albums → mix-rails-albums}/spec/dummy/config/environments/production.rb +0 -0
  116. data/{albums → mix-rails-albums}/spec/dummy/config/environments/test.rb +0 -0
  117. data/{albums → mix-rails-albums}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  118. data/{albums → mix-rails-albums}/spec/dummy/config/initializers/inflections.rb +0 -0
  119. data/{albums → mix-rails-albums}/spec/dummy/config/initializers/mime_types.rb +0 -0
  120. data/{albums → mix-rails-albums}/spec/dummy/config/initializers/secret_token.rb +0 -0
  121. data/{albums → mix-rails-albums}/spec/dummy/config/initializers/session_store.rb +0 -0
  122. data/{albums → mix-rails-albums}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  123. data/{albums → mix-rails-albums}/spec/dummy/config/locales/en.yml +0 -0
  124. data/{albums → mix-rails-albums}/spec/dummy/config/mongoid.yml +0 -0
  125. data/{albums → mix-rails-albums}/spec/dummy/config/routes.rb +0 -0
  126. data/{albums → mix-rails-albums}/spec/dummy/lib/assets/.gitkeep +0 -0
  127. data/{albums → mix-rails-albums}/spec/dummy/log/.gitkeep +0 -0
  128. data/{albums → mix-rails-albums}/spec/dummy/public/404.html +0 -0
  129. data/{albums → mix-rails-albums}/spec/dummy/public/422.html +0 -0
  130. data/{albums → mix-rails-albums}/spec/dummy/public/500.html +0 -0
  131. data/{albums → mix-rails-albums}/spec/dummy/public/favicon.ico +0 -0
  132. data/{albums → mix-rails-albums}/spec/dummy/script/rails +0 -0
  133. data/{auth → mix-rails-auth}/.gitignore +0 -0
  134. data/{auth → mix-rails-auth}/Gemfile +0 -0
  135. data/{auth → mix-rails-auth}/MIT-LICENSE +0 -0
  136. data/{auth → mix-rails-auth}/README.rdoc +0 -0
  137. data/{auth → mix-rails-auth}/Rakefile +0 -0
  138. data/{auth → mix-rails-auth}/app/assets/images/auth/.gitkeep +0 -0
  139. data/{auth → mix-rails-auth}/app/assets/javascripts/admix/users.js +0 -0
  140. data/{auth → mix-rails-auth}/app/assets/javascripts/auth/.gitkeep +0 -0
  141. data/{auth → mix-rails-auth}/app/assets/stylesheets/admix/users.css +0 -0
  142. data/{auth → mix-rails-auth}/app/assets/stylesheets/auth/.gitkeep +0 -0
  143. data/{auth → mix-rails-auth}/app/controllers/.gitkeep +0 -0
  144. data/{auth → mix-rails-auth}/app/controllers/admix/users_controller.rb +0 -0
  145. data/{auth → mix-rails-auth}/app/helpers/.gitkeep +0 -0
  146. data/{auth → mix-rails-auth}/app/helpers/admix/users_helper.rb +0 -0
  147. data/{auth → mix-rails-auth}/app/mailers/.gitkeep +0 -0
  148. data/{auth → mix-rails-auth}/app/models/.gitkeep +0 -0
  149. data/{auth → mix-rails-auth}/app/models/ability.rb +0 -0
  150. data/{auth → mix-rails-auth}/app/models/admix/users_datagrid.rb +0 -0
  151. data/{auth → mix-rails-auth}/app/models/user.rb +0 -0
  152. data/{auth → mix-rails-auth}/app/views/.gitkeep +0 -0
  153. data/{auth → mix-rails-auth}/app/views/admix/users/_form_fields.html.haml +0 -0
  154. data/{auth → mix-rails-auth}/app/views/admix/users/_show.html.haml +0 -0
  155. data/{auth → mix-rails-auth}/app/views/admix/users/_table_actions.html.haml +0 -0
  156. data/{auth → mix-rails-auth}/config/initializers/devise.rb +0 -0
  157. data/{auth → mix-rails-auth}/config/locales/auth.en.yml +0 -0
  158. data/{auth → mix-rails-auth}/config/locales/auth.pt-BR.yml +0 -0
  159. data/{auth → mix-rails-auth}/config/locales/devise.en.yml +0 -0
  160. data/{auth → mix-rails-auth}/config/locales/devise.pt-BR.yml +0 -0
  161. data/{auth → mix-rails-auth}/config/routes.rb +0 -0
  162. data/mix-rails-auth/lib/mix-rails-auth.rb +5 -0
  163. data/{auth/lib/auth → mix-rails-auth/lib/mix-rails-auth}/engine.rb +1 -4
  164. data/mix-rails-auth/lib/mix-rails-auth/version.rb +10 -0
  165. data/{auth → mix-rails-auth}/lib/tasks/auth_tasks.rake +0 -0
  166. data/{auth → mix-rails-auth}/mix-rails-auth.gemspec +1 -3
  167. data/{auth → mix-rails-auth}/script/rails +0 -0
  168. data/{auth → mix-rails-auth}/spec/dummy/README.rdoc +0 -0
  169. data/{auth → mix-rails-auth}/spec/dummy/Rakefile +0 -0
  170. data/{auth → mix-rails-auth}/spec/dummy/app/assets/javascripts/application.js +0 -0
  171. data/{auth → mix-rails-auth}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  172. data/{auth → mix-rails-auth}/spec/dummy/app/controllers/application_controller.rb +0 -0
  173. data/{auth → mix-rails-auth}/spec/dummy/app/helpers/application_helper.rb +0 -0
  174. data/{auth → mix-rails-auth}/spec/dummy/app/mailers/.gitkeep +0 -0
  175. data/{auth → mix-rails-auth}/spec/dummy/app/models/.gitkeep +0 -0
  176. data/{auth → mix-rails-auth}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  177. data/{auth → mix-rails-auth}/spec/dummy/config.ru +0 -0
  178. data/{auth → mix-rails-auth}/spec/dummy/config/application.rb +0 -0
  179. data/{auth → mix-rails-auth}/spec/dummy/config/boot.rb +0 -0
  180. data/{auth → mix-rails-auth}/spec/dummy/config/environment.rb +0 -0
  181. data/{auth → mix-rails-auth}/spec/dummy/config/environments/development.rb +0 -0
  182. data/{auth → mix-rails-auth}/spec/dummy/config/environments/production.rb +0 -0
  183. data/{auth → mix-rails-auth}/spec/dummy/config/environments/test.rb +0 -0
  184. data/{auth → mix-rails-auth}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  185. data/{auth → mix-rails-auth}/spec/dummy/config/initializers/inflections.rb +0 -0
  186. data/{auth → mix-rails-auth}/spec/dummy/config/initializers/mime_types.rb +0 -0
  187. data/{auth → mix-rails-auth}/spec/dummy/config/initializers/secret_token.rb +0 -0
  188. data/{auth → mix-rails-auth}/spec/dummy/config/initializers/session_store.rb +0 -0
  189. data/{auth → mix-rails-auth}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  190. data/{auth → mix-rails-auth}/spec/dummy/config/locales/en.yml +0 -0
  191. data/{auth → mix-rails-auth}/spec/dummy/config/routes.rb +0 -0
  192. data/{auth → mix-rails-auth}/spec/dummy/lib/assets/.gitkeep +0 -0
  193. data/{auth → mix-rails-auth}/spec/dummy/log/.gitkeep +0 -0
  194. data/{auth → mix-rails-auth}/spec/dummy/public/404.html +0 -0
  195. data/{auth → mix-rails-auth}/spec/dummy/public/422.html +0 -0
  196. data/{auth → mix-rails-auth}/spec/dummy/public/500.html +0 -0
  197. data/{auth → mix-rails-auth}/spec/dummy/public/favicon.ico +0 -0
  198. data/{auth → mix-rails-auth}/spec/dummy/script/rails +0 -0
  199. data/{core → mix-rails-core}/.gitignore +0 -0
  200. data/{core → mix-rails-core}/.rspec +0 -0
  201. data/{core → mix-rails-core}/Gemfile +0 -1
  202. data/{core → mix-rails-core}/MIT-LICENSE +0 -0
  203. data/{core → mix-rails-core}/README.rdoc +0 -0
  204. data/{core → mix-rails-core}/Rakefile +0 -0
  205. data/mix-rails-core/app/assets/images/colorbox/border.png +0 -0
  206. data/mix-rails-core/app/assets/images/colorbox/controls.png +0 -0
  207. data/mix-rails-core/app/assets/images/colorbox/ie6/borderBottomCenter.png +0 -0
  208. data/mix-rails-core/app/assets/images/colorbox/ie6/borderBottomLeft.png +0 -0
  209. data/mix-rails-core/app/assets/images/colorbox/ie6/borderBottomRight.png +0 -0
  210. data/mix-rails-core/app/assets/images/colorbox/ie6/borderMiddleLeft.png +0 -0
  211. data/mix-rails-core/app/assets/images/colorbox/ie6/borderMiddleRight.png +0 -0
  212. data/mix-rails-core/app/assets/images/colorbox/ie6/borderTopCenter.png +0 -0
  213. data/mix-rails-core/app/assets/images/colorbox/ie6/borderTopLeft.png +0 -0
  214. data/mix-rails-core/app/assets/images/colorbox/ie6/borderTopRight.png +0 -0
  215. data/mix-rails-core/app/assets/images/colorbox/loading.gif +0 -0
  216. data/mix-rails-core/app/assets/images/colorbox/loading_background.png +0 -0
  217. data/mix-rails-core/app/assets/images/colorbox/overlay.png +0 -0
  218. data/{core → mix-rails-core}/app/assets/images/core/.gitkeep +0 -0
  219. data/mix-rails-core/app/assets/images/jplayer/jplayer.pink.flag.jpg +0 -0
  220. data/mix-rails-core/app/assets/javascripts/colorbox.js +3 -0
  221. data/mix-rails-core/app/assets/javascripts/colorbox/jquery.colorbox-min.js +6 -0
  222. data/{core → mix-rails-core}/app/assets/javascripts/core/.gitkeep +0 -0
  223. data/mix-rails-core/app/assets/javascripts/jplayer.js +3 -0
  224. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/Jplayer.swf +0 -0
  225. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/add-on/jplayer.playlist.min.js +30 -0
  226. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/add-on/jquery.jplayer.inspector.js +331 -0
  227. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/extras/jquery-1.8.2-ajax-deprecated.min.js +2 -0
  228. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/extras/jquery.jplayer.combo.min.js +100 -0
  229. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/extras/jquery.jplayer.playlist.combo.min.js +131 -0
  230. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/extras/readme.txt +31 -0
  231. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/jquery.jplayer.min.js +97 -0
  232. data/mix-rails-core/app/assets/javascripts/jquery.jplayer/popcorn/popcorn.jplayer.js +559 -0
  233. data/{core/app/assets/javascripts → mix-rails-core/app/assets/javascripts/jquery}/jquery.livequery.js +0 -0
  234. data/mix-rails-core/app/assets/javascripts/jquery/jquery.maskedinput-1.3.min.js +7 -0
  235. data/mix-rails-core/app/assets/javascripts/underscore.js +1221 -0
  236. data/mix-rails-core/app/assets/stylesheets/colorbox.css +3 -0
  237. data/mix-rails-core/app/assets/stylesheets/colorbox/colorbox.css.erb +86 -0
  238. data/{core → mix-rails-core}/app/assets/stylesheets/core/.gitkeep +0 -0
  239. data/mix-rails-core/app/assets/stylesheets/jplayer/jplayer.pink.flag.css +650 -0
  240. data/{core → mix-rails-core}/app/controllers/.gitkeep +0 -0
  241. data/{core → mix-rails-core}/app/controllers/gridfs_controller.rb +2 -4
  242. data/{core → mix-rails-core}/app/controllers/mix_controller.rb +0 -0
  243. data/{core → mix-rails-core}/app/helpers/.gitkeep +0 -0
  244. data/{core → mix-rails-core}/app/helpers/core_helper.rb +0 -0
  245. data/{core → mix-rails-core}/app/mailers/.gitkeep +0 -0
  246. data/{core → mix-rails-core}/app/models/.gitkeep +0 -0
  247. data/{core → mix-rails-core}/app/models/youtube_validator.rb +0 -0
  248. data/{core → mix-rails-core}/app/views/.gitkeep +0 -0
  249. data/{core → mix-rails-core}/app/views/application/_title.html.haml +0 -0
  250. data/{core → mix-rails-core}/config/locales/core.pt-BR.yml +7 -0
  251. data/{core → mix-rails-core}/config/routes.rb +0 -0
  252. data/{core → mix-rails-core}/lib/mix-rails-core.rb +6 -5
  253. data/{core/lib/mix-rails → mix-rails-core/lib/mix-rails-core}/concerns/engine.rb +1 -1
  254. data/{core/lib/mix-rails → mix-rails-core/lib/mix-rails-core}/engine.rb +1 -4
  255. data/{core/lib/mix-rails → mix-rails-core/lib/mix-rails-core}/railtie.rb +1 -1
  256. data/mix-rails-core/lib/mix-rails-core/version.rb +10 -0
  257. data/{core → mix-rails-core}/lib/tasks/mix-rails_tasks.rake +0 -0
  258. data/{core → mix-rails-core}/mix-rails-core.gemspec +5 -3
  259. data/{core → mix-rails-core}/script/rails +0 -0
  260. data/{core → mix-rails-core}/spec/dummy/README.rdoc +0 -0
  261. data/{core → mix-rails-core}/spec/dummy/Rakefile +0 -0
  262. data/{core → mix-rails-core}/spec/dummy/app/assets/javascripts/application.js +0 -0
  263. data/{core → mix-rails-core}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  264. data/{core → mix-rails-core}/spec/dummy/app/controllers/application_controller.rb +0 -0
  265. data/{core → mix-rails-core}/spec/dummy/app/helpers/application_helper.rb +0 -0
  266. data/{core → mix-rails-core}/spec/dummy/app/mailers/.gitkeep +0 -0
  267. data/{core → mix-rails-core}/spec/dummy/app/models/.gitkeep +0 -0
  268. data/{core → mix-rails-core}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  269. data/{core → mix-rails-core}/spec/dummy/config.ru +0 -0
  270. data/{core → mix-rails-core}/spec/dummy/config/application.rb +0 -0
  271. data/{core → mix-rails-core}/spec/dummy/config/boot.rb +0 -0
  272. data/{core → mix-rails-core}/spec/dummy/config/environment.rb +0 -0
  273. data/{core → mix-rails-core}/spec/dummy/config/environments/development.rb +0 -0
  274. data/{core → mix-rails-core}/spec/dummy/config/environments/production.rb +0 -0
  275. data/{core → mix-rails-core}/spec/dummy/config/environments/test.rb +0 -0
  276. data/{core → mix-rails-core}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  277. data/{core → mix-rails-core}/spec/dummy/config/initializers/inflections.rb +0 -0
  278. data/{core → mix-rails-core}/spec/dummy/config/initializers/mime_types.rb +0 -0
  279. data/{core → mix-rails-core}/spec/dummy/config/initializers/secret_token.rb +0 -0
  280. data/{core → mix-rails-core}/spec/dummy/config/initializers/session_store.rb +0 -0
  281. data/{core → mix-rails-core}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  282. data/{core → mix-rails-core}/spec/dummy/config/locales/en.yml +0 -0
  283. data/{core → mix-rails-core}/spec/dummy/config/routes.rb +0 -0
  284. data/{core → mix-rails-core}/spec/dummy/lib/assets/.gitkeep +0 -0
  285. data/{core → mix-rails-core}/spec/dummy/log/.gitkeep +0 -0
  286. data/{core → mix-rails-core}/spec/dummy/public/404.html +0 -0
  287. data/{core → mix-rails-core}/spec/dummy/public/422.html +0 -0
  288. data/{core → mix-rails-core}/spec/dummy/public/500.html +0 -0
  289. data/{core → mix-rails-core}/spec/dummy/public/favicon.ico +0 -0
  290. data/{core → mix-rails-core}/spec/dummy/script/rails +0 -0
  291. data/{core → mix-rails-core}/spec/spec_helper.rb +0 -0
  292. data/{message-board → mix-rails-message-board}/.gitignore +0 -0
  293. data/{message-board → mix-rails-message-board}/Gemfile +0 -0
  294. data/{message-board → mix-rails-message-board}/MIT-LICENSE +0 -0
  295. data/{message-board → mix-rails-message-board}/README.rdoc +0 -0
  296. data/{message-board → mix-rails-message-board}/Rakefile +0 -0
  297. data/{message-board → mix-rails-message-board}/app/assets/images/message-board/.gitkeep +0 -0
  298. data/{message-board → mix-rails-message-board}/app/assets/javascripts/message-board/.gitkeep +0 -0
  299. data/{message-board → mix-rails-message-board}/app/assets/stylesheets/message-board/.gitkeep +0 -0
  300. data/{message-board → mix-rails-message-board}/app/controllers/.gitkeep +0 -0
  301. data/{message-board → mix-rails-message-board}/app/controllers/admix/board_messages_controller.rb +0 -0
  302. data/{message-board → mix-rails-message-board}/app/controllers/admix/board_replies_controller.rb +0 -0
  303. data/{message-board → mix-rails-message-board}/app/controllers/admix/dashboard_controller.rb +0 -0
  304. data/{message-board → mix-rails-message-board}/app/controllers/board_messages_controller.rb +0 -0
  305. data/{message-board → mix-rails-message-board}/app/helpers/.gitkeep +0 -0
  306. data/{message-board → mix-rails-message-board}/app/mailers/.gitkeep +0 -0
  307. data/{message-board → mix-rails-message-board}/app/mailers/message_board_mailer.rb +0 -0
  308. data/{message-board → mix-rails-message-board}/app/models/.gitkeep +0 -0
  309. data/{message-board → mix-rails-message-board}/app/models/admix/board_messages_datagrid.rb +0 -0
  310. data/{message-board → mix-rails-message-board}/app/models/admix/board_replies_datagrid.rb +0 -0
  311. data/{message-board → mix-rails-message-board}/app/models/board_message.rb +0 -0
  312. data/{message-board → mix-rails-message-board}/app/models/board_reply.rb +0 -0
  313. data/{message-board → mix-rails-message-board}/app/views/.gitkeep +0 -0
  314. data/{message-board → mix-rails-message-board}/app/views/admix/board_messages/_form_fields.html.haml +0 -0
  315. data/mix-rails-message-board/app/views/admix/board_messages/_show.html.haml +16 -0
  316. data/{message-board → mix-rails-message-board}/app/views/admix/board_messages/_table_actions.html.haml +0 -0
  317. data/{message-board → mix-rails-message-board}/app/views/admix/board_replies/_form_fields.html.haml +0 -0
  318. data/{message-board/app/views/admix/board_messages → mix-rails-message-board/app/views/admix/board_replies}/_show.html.haml +0 -0
  319. data/{message-board → mix-rails-message-board}/app/views/admix/board_replies/_table_actions.html.haml +0 -0
  320. data/{message-board → mix-rails-message-board}/app/views/admix/dashboard/index.html.haml +0 -0
  321. data/{message-board → mix-rails-message-board}/app/views/board_messages/_board_message.html.haml +0 -0
  322. data/{message-board → mix-rails-message-board}/app/views/board_messages/index.html.haml +0 -0
  323. data/{message-board → mix-rails-message-board}/app/views/board_messages/show.html.haml +0 -0
  324. data/{message-board → mix-rails-message-board}/app/views/message_board_mailer/message_replied.text.erb +0 -0
  325. data/{message-board → mix-rails-message-board}/config/locales/message-board.pt-BR.yml +0 -0
  326. data/{message-board → mix-rails-message-board}/config/routes.rb +0 -0
  327. data/mix-rails-message-board/lib/mix-rails-message-board.rb +4 -0
  328. data/{message-board/lib/message-board → mix-rails-message-board/lib/mix-rails-message-board}/engine.rb +1 -1
  329. data/mix-rails-message-board/lib/mix-rails-message-board/version.rb +10 -0
  330. data/{message-board → mix-rails-message-board}/lib/tasks/message-board_tasks.rake +0 -0
  331. data/{message-board → mix-rails-message-board}/mix-rails-message-board.gemspec +2 -2
  332. data/{message-board → mix-rails-message-board}/script/rails +0 -0
  333. data/{message-board → mix-rails-message-board}/spec/dummy/README.rdoc +0 -0
  334. data/{message-board → mix-rails-message-board}/spec/dummy/Rakefile +0 -0
  335. data/{message-board → mix-rails-message-board}/spec/dummy/app/assets/javascripts/application.js +0 -0
  336. data/{message-board → mix-rails-message-board}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  337. data/{message-board → mix-rails-message-board}/spec/dummy/app/controllers/application_controller.rb +0 -0
  338. data/{message-board → mix-rails-message-board}/spec/dummy/app/helpers/application_helper.rb +0 -0
  339. data/{message-board → mix-rails-message-board}/spec/dummy/app/mailers/.gitkeep +0 -0
  340. data/{message-board → mix-rails-message-board}/spec/dummy/app/models/.gitkeep +0 -0
  341. data/{message-board → mix-rails-message-board}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  342. data/{message-board → mix-rails-message-board}/spec/dummy/config.ru +0 -0
  343. data/{message-board → mix-rails-message-board}/spec/dummy/config/application.rb +0 -0
  344. data/{message-board → mix-rails-message-board}/spec/dummy/config/boot.rb +0 -0
  345. data/{message-board → mix-rails-message-board}/spec/dummy/config/environment.rb +0 -0
  346. data/{message-board → mix-rails-message-board}/spec/dummy/config/environments/development.rb +0 -0
  347. data/{message-board → mix-rails-message-board}/spec/dummy/config/environments/production.rb +0 -0
  348. data/{message-board → mix-rails-message-board}/spec/dummy/config/environments/test.rb +0 -0
  349. data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  350. data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/inflections.rb +0 -0
  351. data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/mime_types.rb +0 -0
  352. data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/secret_token.rb +0 -0
  353. data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/session_store.rb +0 -0
  354. data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  355. data/{message-board → mix-rails-message-board}/spec/dummy/config/locales/en.yml +0 -0
  356. data/{message-board → mix-rails-message-board}/spec/dummy/config/routes.rb +0 -0
  357. data/{message-board → mix-rails-message-board}/spec/dummy/lib/assets/.gitkeep +0 -0
  358. data/{message-board → mix-rails-message-board}/spec/dummy/log/.gitkeep +0 -0
  359. data/{message-board → mix-rails-message-board}/spec/dummy/public/404.html +0 -0
  360. data/{message-board → mix-rails-message-board}/spec/dummy/public/422.html +0 -0
  361. data/{message-board → mix-rails-message-board}/spec/dummy/public/500.html +0 -0
  362. data/{message-board → mix-rails-message-board}/spec/dummy/public/favicon.ico +0 -0
  363. data/{message-board → mix-rails-message-board}/spec/dummy/script/rails +0 -0
  364. data/{settings → mix-rails-settings}/.gitignore +0 -0
  365. data/{settings → mix-rails-settings}/Gemfile +0 -0
  366. data/{settings → mix-rails-settings}/MIT-LICENSE +0 -0
  367. data/{settings → mix-rails-settings}/README.rdoc +0 -0
  368. data/{settings → mix-rails-settings}/Rakefile +0 -0
  369. data/{settings → mix-rails-settings}/app/assets/images/settings/.gitkeep +0 -0
  370. data/{settings → mix-rails-settings}/app/assets/javascripts/settings.js +0 -0
  371. data/{settings → mix-rails-settings}/app/assets/javascripts/settings/.gitkeep +0 -0
  372. data/{settings → mix-rails-settings}/app/assets/stylesheets/scaffold.css +0 -0
  373. data/{settings → mix-rails-settings}/app/assets/stylesheets/settings.css +0 -0
  374. data/{settings → mix-rails-settings}/app/assets/stylesheets/settings/.gitkeep +0 -0
  375. data/{settings → mix-rails-settings}/app/controllers/.gitkeep +0 -0
  376. data/{settings → mix-rails-settings}/app/controllers/admix/settings_controller.rb +0 -0
  377. data/{settings → mix-rails-settings}/app/helpers/.gitkeep +0 -0
  378. data/{settings → mix-rails-settings}/app/mailers/.gitkeep +0 -0
  379. data/{settings → mix-rails-settings}/app/models/.gitkeep +0 -0
  380. data/{settings → mix-rails-settings}/app/models/admix/settings_datagrid.rb +0 -0
  381. data/{settings → mix-rails-settings}/app/models/setting.rb +0 -0
  382. data/{settings → mix-rails-settings}/app/uploaders/settings/image_uploader.rb +0 -0
  383. data/{settings → mix-rails-settings}/app/views/.gitkeep +0 -0
  384. data/{settings → mix-rails-settings}/app/views/admix/settings/_form_fields.html.haml +0 -0
  385. data/{settings → mix-rails-settings}/app/views/admix/settings/_show.html.haml +0 -0
  386. data/{settings → mix-rails-settings}/config/locales/settings.en.yml +0 -0
  387. data/{settings → mix-rails-settings}/config/locales/settings.pt-BR.yml +0 -0
  388. data/{settings → mix-rails-settings}/config/routes.rb +0 -0
  389. data/mix-rails-settings/lib/mix-rails-settings.rb +4 -0
  390. data/{settings/lib/settings → mix-rails-settings/lib/mix-rails-settings}/engine.rb +2 -4
  391. data/mix-rails-settings/lib/mix-rails-settings/version.rb +10 -0
  392. data/{settings → mix-rails-settings}/lib/tasks/settings_tasks.rake +0 -0
  393. data/{settings → mix-rails-settings}/mix-rails-settings.gemspec +1 -1
  394. data/{settings → mix-rails-settings}/script/rails +0 -0
  395. data/{settings → mix-rails-settings}/spec/dummy/README.rdoc +0 -0
  396. data/{settings → mix-rails-settings}/spec/dummy/Rakefile +0 -0
  397. data/{settings → mix-rails-settings}/spec/dummy/app/assets/javascripts/application.js +0 -0
  398. data/{settings → mix-rails-settings}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  399. data/{settings → mix-rails-settings}/spec/dummy/app/controllers/application_controller.rb +0 -0
  400. data/{settings → mix-rails-settings}/spec/dummy/app/helpers/application_helper.rb +0 -0
  401. data/{settings → mix-rails-settings}/spec/dummy/app/mailers/.gitkeep +0 -0
  402. data/{settings → mix-rails-settings}/spec/dummy/app/models/.gitkeep +0 -0
  403. data/{settings → mix-rails-settings}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  404. data/{settings → mix-rails-settings}/spec/dummy/config.ru +0 -0
  405. data/{settings → mix-rails-settings}/spec/dummy/config/application.rb +0 -0
  406. data/{settings → mix-rails-settings}/spec/dummy/config/boot.rb +0 -0
  407. data/{settings → mix-rails-settings}/spec/dummy/config/environment.rb +0 -0
  408. data/{settings → mix-rails-settings}/spec/dummy/config/environments/development.rb +0 -0
  409. data/{settings → mix-rails-settings}/spec/dummy/config/environments/production.rb +0 -0
  410. data/{settings → mix-rails-settings}/spec/dummy/config/environments/test.rb +0 -0
  411. data/{settings → mix-rails-settings}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  412. data/{settings → mix-rails-settings}/spec/dummy/config/initializers/inflections.rb +0 -0
  413. data/{settings → mix-rails-settings}/spec/dummy/config/initializers/mime_types.rb +0 -0
  414. data/{settings → mix-rails-settings}/spec/dummy/config/initializers/secret_token.rb +0 -0
  415. data/{settings → mix-rails-settings}/spec/dummy/config/initializers/session_store.rb +0 -0
  416. data/{settings → mix-rails-settings}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  417. data/{settings → mix-rails-settings}/spec/dummy/config/locales/en.yml +0 -0
  418. data/{settings → mix-rails-settings}/spec/dummy/config/mongoid.yml +0 -0
  419. data/{settings → mix-rails-settings}/spec/dummy/config/routes.rb +0 -0
  420. data/{settings → mix-rails-settings}/spec/dummy/lib/assets/.gitkeep +0 -0
  421. data/{settings → mix-rails-settings}/spec/dummy/log/.gitkeep +0 -0
  422. data/{settings → mix-rails-settings}/spec/dummy/public/404.html +0 -0
  423. data/{settings → mix-rails-settings}/spec/dummy/public/422.html +0 -0
  424. data/{settings → mix-rails-settings}/spec/dummy/public/500.html +0 -0
  425. data/{settings → mix-rails-settings}/spec/dummy/public/favicon.ico +0 -0
  426. data/{settings → mix-rails-settings}/spec/dummy/script/rails +0 -0
  427. data/{videos → mix-rails-songs}/.gitignore +0 -0
  428. data/mix-rails-songs/Gemfile +17 -0
  429. data/{videos → mix-rails-songs}/MIT-LICENSE +0 -0
  430. data/mix-rails-songs/README.rdoc +3 -0
  431. data/mix-rails-songs/Rakefile +27 -0
  432. data/{videos/app/assets/images/videos → mix-rails-songs/app/assets/images/songs}/.gitkeep +0 -0
  433. data/{videos/app/assets/javascripts/videos → mix-rails-songs/app/assets/javascripts/songs}/.gitkeep +0 -0
  434. data/{videos/app/assets/stylesheets/videos → mix-rails-songs/app/assets/stylesheets/songs}/.gitkeep +0 -0
  435. data/{videos/app/helpers → mix-rails-songs/app/controllers}/.gitkeep +0 -0
  436. data/mix-rails-songs/app/controllers/admix/songs_controller.rb +3 -0
  437. data/mix-rails-songs/app/controllers/songs_controller.rb +16 -0
  438. data/{videos/app/mailers → mix-rails-songs/app/helpers}/.gitkeep +0 -0
  439. data/{videos/app/views → mix-rails-songs/app/mailers}/.gitkeep +0 -0
  440. data/{videos/spec/dummy/app/mailers → mix-rails-songs/app/models}/.gitkeep +0 -0
  441. data/mix-rails-songs/app/models/admix/songs_datagrid.rb +20 -0
  442. data/mix-rails-songs/app/models/song.rb +19 -0
  443. data/mix-rails-songs/app/uploaders/songs/song_uploader.rb +60 -0
  444. data/{videos/spec/dummy/app/models → mix-rails-songs/app/views}/.gitkeep +0 -0
  445. data/mix-rails-songs/app/views/admix/songs/_form_fields.html.haml +4 -0
  446. data/mix-rails-songs/app/views/admix/songs/_show.html.haml +12 -0
  447. data/{writer/app/views/admix/posts → mix-rails-songs/app/views/admix/songs}/_table_actions.html.haml +0 -0
  448. data/mix-rails-songs/app/views/songs/player.haml +99 -0
  449. data/mix-rails-songs/config/locales/songs.pt-BR.yml +4 -0
  450. data/mix-rails-songs/config/routes.rb +15 -0
  451. data/mix-rails-songs/lib/mix-rails-songs.rb +4 -0
  452. data/mix-rails-songs/lib/mix-rails-songs/engine.rb +19 -0
  453. data/mix-rails-songs/lib/mix-rails-songs/version.rb +10 -0
  454. data/mix-rails-songs/lib/tasks/songs_tasks.rake +4 -0
  455. data/mix-rails-songs/mix-rails-songs.gemspec +20 -0
  456. data/mix-rails-songs/script/rails +8 -0
  457. data/{videos → mix-rails-songs}/spec/dummy/README.rdoc +0 -0
  458. data/{videos → mix-rails-songs}/spec/dummy/Rakefile +0 -0
  459. data/{videos → mix-rails-songs}/spec/dummy/app/assets/javascripts/application.js +0 -0
  460. data/{videos → mix-rails-songs}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  461. data/{videos → mix-rails-songs}/spec/dummy/app/controllers/application_controller.rb +0 -0
  462. data/{videos → mix-rails-songs}/spec/dummy/app/helpers/application_helper.rb +0 -0
  463. data/{videos/spec/dummy/lib/assets → mix-rails-songs/spec/dummy/app/mailers}/.gitkeep +0 -0
  464. data/{videos/spec/dummy/log → mix-rails-songs/spec/dummy/app/models}/.gitkeep +0 -0
  465. data/{videos → mix-rails-songs}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  466. data/{videos → mix-rails-songs}/spec/dummy/config.ru +0 -0
  467. data/mix-rails-songs/spec/dummy/config/application.rb +65 -0
  468. data/{videos → mix-rails-songs}/spec/dummy/config/boot.rb +0 -0
  469. data/{videos → mix-rails-songs}/spec/dummy/config/environment.rb +0 -0
  470. data/{videos → mix-rails-songs}/spec/dummy/config/environments/development.rb +0 -0
  471. data/{videos → mix-rails-songs}/spec/dummy/config/environments/production.rb +0 -0
  472. data/{videos → mix-rails-songs}/spec/dummy/config/environments/test.rb +0 -0
  473. data/{videos → mix-rails-songs}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  474. data/{videos → mix-rails-songs}/spec/dummy/config/initializers/inflections.rb +0 -0
  475. data/{videos → mix-rails-songs}/spec/dummy/config/initializers/mime_types.rb +0 -0
  476. data/mix-rails-songs/spec/dummy/config/initializers/secret_token.rb +7 -0
  477. data/{videos → mix-rails-songs}/spec/dummy/config/initializers/session_store.rb +0 -0
  478. data/{videos → mix-rails-songs}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  479. data/{videos → mix-rails-songs}/spec/dummy/config/locales/en.yml +0 -0
  480. data/{videos → mix-rails-songs}/spec/dummy/config/routes.rb +0 -0
  481. data/{vouchers/app/assets/images/mix-vouchers → mix-rails-songs/spec/dummy/lib/assets}/.gitkeep +0 -0
  482. data/{vouchers/app/assets/javascripts/mix-vouchers → mix-rails-songs/spec/dummy/log}/.gitkeep +0 -0
  483. data/{videos → mix-rails-songs}/spec/dummy/public/404.html +0 -0
  484. data/{videos → mix-rails-songs}/spec/dummy/public/422.html +0 -0
  485. data/{videos → mix-rails-songs}/spec/dummy/public/500.html +0 -0
  486. data/{videos → mix-rails-songs}/spec/dummy/public/favicon.ico +0 -0
  487. data/{writer → mix-rails-songs}/spec/dummy/script/rails +0 -0
  488. data/{vouchers → mix-rails-videos}/.gitignore +0 -0
  489. data/{videos → mix-rails-videos}/Gemfile +0 -0
  490. data/{vouchers → mix-rails-videos}/MIT-LICENSE +0 -0
  491. data/{videos → mix-rails-videos}/README.rdoc +0 -0
  492. data/{videos → mix-rails-videos}/Rakefile +0 -0
  493. data/{vouchers/app/assets/stylesheets/mix-vouchers → mix-rails-videos/app/assets/images/videos}/.gitkeep +0 -0
  494. data/{vouchers/app/helpers → mix-rails-videos/app/assets/javascripts/videos}/.gitkeep +0 -0
  495. data/{vouchers/app/mailers → mix-rails-videos/app/assets/stylesheets/videos}/.gitkeep +0 -0
  496. data/{videos → mix-rails-videos}/app/controllers/admix/videos_controller.rb +0 -0
  497. data/{videos → mix-rails-videos}/app/controllers/videos_controller.rb +0 -0
  498. data/{vouchers/app/views → mix-rails-videos/app/helpers}/.gitkeep +0 -0
  499. data/{vouchers/spec/dummy → mix-rails-videos}/app/mailers/.gitkeep +0 -0
  500. data/{videos → mix-rails-videos}/app/models/admix/videos_datagrid.rb +0 -0
  501. data/{videos → mix-rails-videos}/app/models/video.rb +0 -0
  502. data/{vouchers/spec/dummy/app/models → mix-rails-videos/app/views}/.gitkeep +0 -0
  503. data/{videos → mix-rails-videos}/app/views/admix/videos/_form_fields.html.haml +0 -0
  504. data/{videos → mix-rails-videos}/app/views/admix/videos/_show.html.haml +0 -0
  505. data/{videos → mix-rails-videos}/app/views/videos/_video.html.haml +0 -0
  506. data/{videos → mix-rails-videos}/app/views/videos/_video_show.html.haml +0 -0
  507. data/{videos → mix-rails-videos}/app/views/videos/index.html.haml +0 -0
  508. data/{videos → mix-rails-videos}/app/views/videos/show.html.haml +0 -0
  509. data/{videos → mix-rails-videos}/config/locales/videos.pt-BR.yml +0 -0
  510. data/{videos → mix-rails-videos}/config/routes.rb +0 -0
  511. data/mix-rails-videos/lib/mix-rails-videos.rb +5 -0
  512. data/{videos/lib/videos → mix-rails-videos/lib/mix-rails-videos}/engine.rb +1 -1
  513. data/mix-rails-videos/lib/mix-rails-videos/version.rb +10 -0
  514. data/{videos → mix-rails-videos}/lib/tasks/videos_tasks.rake +0 -0
  515. data/{videos → mix-rails-videos}/mix-rails-videos.gemspec +1 -1
  516. data/{videos → mix-rails-videos}/script/rails +0 -0
  517. data/{vouchers → mix-rails-videos}/spec/dummy/README.rdoc +0 -0
  518. data/{vouchers → mix-rails-videos}/spec/dummy/Rakefile +0 -0
  519. data/{vouchers → mix-rails-videos}/spec/dummy/app/assets/javascripts/application.js +0 -0
  520. data/{vouchers → mix-rails-videos}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  521. data/{vouchers → mix-rails-videos}/spec/dummy/app/controllers/application_controller.rb +0 -0
  522. data/{vouchers → mix-rails-videos}/spec/dummy/app/helpers/application_helper.rb +0 -0
  523. data/{vouchers/spec/dummy/lib/assets → mix-rails-videos/spec/dummy/app/mailers}/.gitkeep +0 -0
  524. data/{vouchers/spec/dummy/log → mix-rails-videos/spec/dummy/app/models}/.gitkeep +0 -0
  525. data/{vouchers → mix-rails-videos}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  526. data/{vouchers → mix-rails-videos}/spec/dummy/config.ru +0 -0
  527. data/{videos → mix-rails-videos}/spec/dummy/config/application.rb +0 -0
  528. data/{vouchers → mix-rails-videos}/spec/dummy/config/boot.rb +0 -0
  529. data/{vouchers → mix-rails-videos}/spec/dummy/config/environment.rb +0 -0
  530. data/{vouchers → mix-rails-videos}/spec/dummy/config/environments/development.rb +0 -0
  531. data/{vouchers → mix-rails-videos}/spec/dummy/config/environments/production.rb +0 -0
  532. data/{vouchers → mix-rails-videos}/spec/dummy/config/environments/test.rb +0 -0
  533. data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  534. data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/inflections.rb +0 -0
  535. data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/mime_types.rb +0 -0
  536. data/{videos → mix-rails-videos}/spec/dummy/config/initializers/secret_token.rb +0 -0
  537. data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/session_store.rb +0 -0
  538. data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  539. data/{vouchers → mix-rails-videos}/spec/dummy/config/locales/en.yml +0 -0
  540. data/{vouchers → mix-rails-videos}/spec/dummy/config/routes.rb +0 -0
  541. data/{writer/app/assets/images/writer → mix-rails-videos/spec/dummy/lib/assets}/.gitkeep +0 -0
  542. data/{writer/app/assets/javascripts/writer → mix-rails-videos/spec/dummy/log}/.gitkeep +0 -0
  543. data/{vouchers → mix-rails-videos}/spec/dummy/public/404.html +0 -0
  544. data/{vouchers → mix-rails-videos}/spec/dummy/public/422.html +0 -0
  545. data/{vouchers → mix-rails-videos}/spec/dummy/public/500.html +0 -0
  546. data/{vouchers → mix-rails-videos}/spec/dummy/public/favicon.ico +0 -0
  547. data/{videos → mix-rails-videos}/spec/dummy/script/rails +0 -0
  548. data/{writer → mix-rails-vouchers}/.gitignore +0 -0
  549. data/{vouchers → mix-rails-vouchers}/Gemfile +0 -0
  550. data/{writer → mix-rails-vouchers}/MIT-LICENSE +0 -0
  551. data/{vouchers → mix-rails-vouchers}/README.rdoc +0 -0
  552. data/{vouchers → mix-rails-vouchers}/Rakefile +0 -0
  553. data/{writer/app/assets/stylesheets/writer → mix-rails-vouchers/app/assets/images/mix-vouchers}/.gitkeep +0 -0
  554. data/{writer/app/controllers → mix-rails-vouchers/app/assets/javascripts/mix-vouchers}/.gitkeep +0 -0
  555. data/{writer/app/helpers → mix-rails-vouchers/app/assets/stylesheets/mix-vouchers}/.gitkeep +0 -0
  556. data/{vouchers → mix-rails-vouchers}/app/controllers/admix/vouchers_controller.rb +0 -0
  557. data/{vouchers → mix-rails-vouchers}/app/controllers/vouchers_controller.rb +0 -0
  558. data/{writer/app/mailers → mix-rails-vouchers/app/helpers}/.gitkeep +0 -0
  559. data/{writer/app/models → mix-rails-vouchers/app/mailers}/.gitkeep +0 -0
  560. data/{vouchers → mix-rails-vouchers}/app/mailers/voucher_mailer.rb +0 -0
  561. data/{vouchers → mix-rails-vouchers}/app/models/admix/vouchers_datagrid.rb +0 -0
  562. data/{vouchers → mix-rails-vouchers}/app/models/email_validator.rb +0 -0
  563. data/{vouchers → mix-rails-vouchers}/app/models/voucher.rb +0 -0
  564. data/{vouchers → mix-rails-vouchers}/app/models/voucher_user.rb +0 -0
  565. data/{vouchers → mix-rails-vouchers}/app/models/vouchers/contact.rb +0 -0
  566. data/{vouchers → mix-rails-vouchers}/app/uploaders/vouchers/photo_uploader.rb +0 -0
  567. data/{writer → mix-rails-vouchers}/app/views/.gitkeep +0 -0
  568. data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/_form_fields.html.haml +0 -0
  569. data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/_show.html.haml +0 -0
  570. data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/_table_actions.html.haml +0 -0
  571. data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/print.html.haml +0 -0
  572. data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/users.html.haml +0 -0
  573. data/{vouchers → mix-rails-vouchers}/app/views/voucher_mailer/send_confirmation_link.text.erb +0 -0
  574. data/{vouchers → mix-rails-vouchers}/app/views/vouchers/_voucher.html.haml +0 -0
  575. data/{vouchers → mix-rails-vouchers}/app/views/vouchers/_voucher_show.html.haml +0 -0
  576. data/{vouchers → mix-rails-vouchers}/app/views/vouchers/confirmation.html.haml +0 -0
  577. data/{vouchers → mix-rails-vouchers}/app/views/vouchers/confirmation_error.html.haml +0 -0
  578. data/{vouchers → mix-rails-vouchers}/app/views/vouchers/email_sent.html.haml +0 -0
  579. data/{vouchers → mix-rails-vouchers}/app/views/vouchers/index.html.haml +0 -0
  580. data/{vouchers → mix-rails-vouchers}/app/views/vouchers/print.html.haml +0 -0
  581. data/{vouchers → mix-rails-vouchers}/app/views/vouchers/show.html.haml +0 -0
  582. data/{vouchers → mix-rails-vouchers}/config/initializers/carrier_wave.rb +0 -0
  583. data/{vouchers → mix-rails-vouchers}/config/locales/vouchers.pt-BR.yml +0 -0
  584. data/{vouchers → mix-rails-vouchers}/config/routes.rb +0 -0
  585. data/mix-rails-vouchers/lib/mix-rails-vouchers.rb +5 -0
  586. data/{vouchers/lib/mix-vouchers → mix-rails-vouchers/lib/mix-rails-vouchers}/engine.rb +1 -1
  587. data/mix-rails-vouchers/lib/mix-rails-vouchers/version.rb +10 -0
  588. data/{vouchers → mix-rails-vouchers}/lib/tasks/mix-vouchers_tasks.rake +0 -0
  589. data/{vouchers → mix-rails-vouchers}/mix-rails-vouchers.gemspec +2 -2
  590. data/{vouchers → mix-rails-vouchers}/script/rails +0 -0
  591. data/{writer → mix-rails-vouchers}/spec/dummy/README.rdoc +0 -0
  592. data/{writer → mix-rails-vouchers}/spec/dummy/Rakefile +0 -0
  593. data/{writer → mix-rails-vouchers}/spec/dummy/app/assets/javascripts/application.js +0 -0
  594. data/{writer → mix-rails-vouchers}/spec/dummy/app/assets/stylesheets/application.css +0 -0
  595. data/{writer → mix-rails-vouchers}/spec/dummy/app/controllers/application_controller.rb +0 -0
  596. data/{writer → mix-rails-vouchers}/spec/dummy/app/helpers/application_helper.rb +0 -0
  597. data/{writer → mix-rails-vouchers}/spec/dummy/app/mailers/.gitkeep +0 -0
  598. data/{writer → mix-rails-vouchers}/spec/dummy/app/models/.gitkeep +0 -0
  599. data/{writer → mix-rails-vouchers}/spec/dummy/app/views/layouts/application.html.erb +0 -0
  600. data/{writer → mix-rails-vouchers}/spec/dummy/config.ru +0 -0
  601. data/{vouchers → mix-rails-vouchers}/spec/dummy/config/application.rb +0 -0
  602. data/{writer → mix-rails-vouchers}/spec/dummy/config/boot.rb +0 -0
  603. data/{writer → mix-rails-vouchers}/spec/dummy/config/environment.rb +0 -0
  604. data/{writer → mix-rails-vouchers}/spec/dummy/config/environments/development.rb +0 -0
  605. data/{writer → mix-rails-vouchers}/spec/dummy/config/environments/production.rb +0 -0
  606. data/{writer → mix-rails-vouchers}/spec/dummy/config/environments/test.rb +0 -0
  607. data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  608. data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/inflections.rb +0 -0
  609. data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/mime_types.rb +0 -0
  610. data/{vouchers → mix-rails-vouchers}/spec/dummy/config/initializers/secret_token.rb +0 -0
  611. data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/session_store.rb +0 -0
  612. data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  613. data/{writer → mix-rails-vouchers}/spec/dummy/config/locales/en.yml +0 -0
  614. data/{writer → mix-rails-vouchers}/spec/dummy/config/routes.rb +0 -0
  615. data/{writer → mix-rails-vouchers}/spec/dummy/lib/assets/.gitkeep +0 -0
  616. data/{writer → mix-rails-vouchers}/spec/dummy/log/.gitkeep +0 -0
  617. data/{writer → mix-rails-vouchers}/spec/dummy/public/404.html +0 -0
  618. data/{writer → mix-rails-vouchers}/spec/dummy/public/422.html +0 -0
  619. data/{writer → mix-rails-vouchers}/spec/dummy/public/500.html +0 -0
  620. data/{writer → mix-rails-vouchers}/spec/dummy/public/favicon.ico +0 -0
  621. data/{vouchers → mix-rails-vouchers}/spec/dummy/script/rails +0 -0
  622. data/{vouchers → mix-rails-vouchers}/test/functional/voucher_mailer_test.rb +0 -0
  623. data/mix-rails-writer/.gitignore +7 -0
  624. data/{writer → mix-rails-writer}/Gemfile +0 -0
  625. data/mix-rails-writer/MIT-LICENSE +20 -0
  626. data/{writer → mix-rails-writer}/README.rdoc +0 -0
  627. data/{writer → mix-rails-writer}/Rakefile +0 -0
  628. data/{writer/app/assets/stylesheets/writer/posts/index.scss → mix-rails-writer/app/assets/images/writer/.gitkeep} +0 -0
  629. data/{writer/app/views/admix/posts/_thumb_image.html.haml → mix-rails-writer/app/assets/javascripts/writer/.gitkeep} +0 -0
  630. data/mix-rails-writer/app/assets/stylesheets/writer/.gitkeep +0 -0
  631. data/mix-rails-writer/app/assets/stylesheets/writer/posts/index.scss +0 -0
  632. data/mix-rails-writer/app/controllers/.gitkeep +0 -0
  633. data/{writer → mix-rails-writer}/app/controllers/admix/news_controller.rb +0 -0
  634. data/{writer → mix-rails-writer}/app/controllers/admix/posts_controller.rb +0 -0
  635. data/{writer → mix-rails-writer}/app/controllers/news_controller.rb +0 -0
  636. data/{writer → mix-rails-writer}/app/controllers/posts_controller.rb +0 -0
  637. data/mix-rails-writer/app/helpers/.gitkeep +0 -0
  638. data/mix-rails-writer/app/mailers/.gitkeep +0 -0
  639. data/mix-rails-writer/app/models/.gitkeep +0 -0
  640. data/{writer → mix-rails-writer}/app/models/admix/news_datagrid.rb +0 -0
  641. data/{writer → mix-rails-writer}/app/models/news.rb +0 -0
  642. data/{writer → mix-rails-writer}/app/models/post.rb +0 -0
  643. data/{writer → mix-rails-writer}/app/uploaders/writer/image_uploader.rb +0 -0
  644. data/mix-rails-writer/app/views/.gitkeep +0 -0
  645. data/{writer → mix-rails-writer}/app/views/admix/posts/_form_fields.html.haml +0 -0
  646. data/{writer → mix-rails-writer}/app/views/admix/posts/_show.html.haml +0 -0
  647. data/mix-rails-writer/app/views/admix/posts/_table_actions.html.haml +3 -0
  648. data/mix-rails-writer/app/views/admix/posts/_thumb_image.html.haml +0 -0
  649. data/{writer → mix-rails-writer}/app/views/templates/news/index.html.haml +0 -0
  650. data/{writer → mix-rails-writer}/config/locales/writer.pt-BR.yml +0 -0
  651. data/{writer → mix-rails-writer}/config/routes.rb +0 -0
  652. data/mix-rails-writer/lib/mix-rails-writer.rb +4 -0
  653. data/{writer/lib/writer → mix-rails-writer/lib/mix-rails-writer}/engine.rb +1 -1
  654. data/mix-rails-writer/lib/mix-rails-writer/version.rb +10 -0
  655. data/{writer → mix-rails-writer}/lib/tasks/writer_tasks.rake +0 -0
  656. data/{writer → mix-rails-writer}/mix-rails-writer.gemspec +2 -2
  657. data/{writer → mix-rails-writer}/script/rails +0 -0
  658. data/mix-rails-writer/spec/dummy/README.rdoc +261 -0
  659. data/mix-rails-writer/spec/dummy/Rakefile +7 -0
  660. data/mix-rails-writer/spec/dummy/app/assets/javascripts/application.js +15 -0
  661. data/mix-rails-writer/spec/dummy/app/assets/stylesheets/application.css +13 -0
  662. data/mix-rails-writer/spec/dummy/app/controllers/application_controller.rb +3 -0
  663. data/mix-rails-writer/spec/dummy/app/helpers/application_helper.rb +2 -0
  664. data/mix-rails-writer/spec/dummy/app/mailers/.gitkeep +0 -0
  665. data/mix-rails-writer/spec/dummy/app/models/.gitkeep +0 -0
  666. data/mix-rails-writer/spec/dummy/app/views/layouts/application.html.erb +14 -0
  667. data/mix-rails-writer/spec/dummy/config.ru +4 -0
  668. data/{writer → mix-rails-writer}/spec/dummy/config/application.rb +0 -0
  669. data/mix-rails-writer/spec/dummy/config/boot.rb +10 -0
  670. data/mix-rails-writer/spec/dummy/config/environment.rb +5 -0
  671. data/mix-rails-writer/spec/dummy/config/environments/development.rb +31 -0
  672. data/mix-rails-writer/spec/dummy/config/environments/production.rb +64 -0
  673. data/mix-rails-writer/spec/dummy/config/environments/test.rb +35 -0
  674. data/mix-rails-writer/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  675. data/mix-rails-writer/spec/dummy/config/initializers/inflections.rb +15 -0
  676. data/mix-rails-writer/spec/dummy/config/initializers/mime_types.rb +5 -0
  677. data/{writer → mix-rails-writer}/spec/dummy/config/initializers/secret_token.rb +0 -0
  678. data/mix-rails-writer/spec/dummy/config/initializers/session_store.rb +8 -0
  679. data/mix-rails-writer/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
  680. data/mix-rails-writer/spec/dummy/config/locales/en.yml +5 -0
  681. data/mix-rails-writer/spec/dummy/config/routes.rb +58 -0
  682. data/mix-rails-writer/spec/dummy/lib/assets/.gitkeep +0 -0
  683. data/mix-rails-writer/spec/dummy/log/.gitkeep +0 -0
  684. data/mix-rails-writer/spec/dummy/public/404.html +26 -0
  685. data/mix-rails-writer/spec/dummy/public/422.html +26 -0
  686. data/mix-rails-writer/spec/dummy/public/500.html +25 -0
  687. data/mix-rails-writer/spec/dummy/public/favicon.ico +0 -0
  688. data/mix-rails-writer/spec/dummy/script/rails +6 -0
  689. data/mix-rails.gemspec +15 -3
  690. data/tasks/release.rb +123 -0
  691. data/version.rb +10 -0
  692. metadata +722 -609
  693. data/albums/lib/albums/version.rb +0 -3
  694. data/albums/lib/mix-rails-albums.rb +0 -1
  695. data/auth/lib/mix-rails-auth.rb +0 -5
  696. data/lib/mix-rails/version.rb +0 -3
  697. data/message-board/app/views/admix/board_replies/_show.html.haml +0 -11
  698. data/message-board/lib/message-board.rb +0 -4
  699. data/message-board/lib/mix-rails-message-board.rb +0 -1
  700. data/settings/lib/mix-rails-settings.rb +0 -1
  701. data/settings/lib/settings.rb +0 -4
  702. data/videos/lib/mix-rails-videos.rb +0 -1
  703. data/videos/lib/videos.rb +0 -5
  704. data/vouchers/lib/mix-rails-vouchers.rb +0 -5
  705. data/writer/lib/mix-rails-writer.rb +0 -1
  706. data/writer/lib/writer.rb +0 -4
File without changes
@@ -0,0 +1,261 @@
1
+ == Welcome to Rails
2
+
3
+ Rails is a web-application framework that includes everything needed to create
4
+ database-backed web applications according to the Model-View-Control pattern.
5
+
6
+ This pattern splits the view (also called the presentation) into "dumb"
7
+ templates that are primarily responsible for inserting pre-built data in between
8
+ HTML tags. The model contains the "smart" domain objects (such as Account,
9
+ Product, Person, Post) that holds all the business logic and knows how to
10
+ persist themselves to a database. The controller handles the incoming requests
11
+ (such as Save New Account, Update Product, Show Post) by manipulating the model
12
+ and directing data to the view.
13
+
14
+ In Rails, the model is handled by what's called an object-relational mapping
15
+ layer entitled Active Record. This layer allows you to present the data from
16
+ database rows as objects and embellish these data objects with business logic
17
+ methods. You can read more about Active Record in
18
+ link:files/vendor/rails/activerecord/README.html.
19
+
20
+ The controller and view are handled by the Action Pack, which handles both
21
+ layers by its two parts: Action View and Action Controller. These two layers
22
+ are bundled in a single package due to their heavy interdependence. This is
23
+ unlike the relationship between the Active Record and Action Pack that is much
24
+ more separate. Each of these packages can be used independently outside of
25
+ Rails. You can read more about Action Pack in
26
+ link:files/vendor/rails/actionpack/README.html.
27
+
28
+
29
+ == Getting Started
30
+
31
+ 1. At the command prompt, create a new Rails application:
32
+ <tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
33
+
34
+ 2. Change directory to <tt>myapp</tt> and start the web server:
35
+ <tt>cd myapp; rails server</tt> (run with --help for options)
36
+
37
+ 3. Go to http://localhost:3000/ and you'll see:
38
+ "Welcome aboard: You're riding Ruby on Rails!"
39
+
40
+ 4. Follow the guidelines to start developing your application. You can find
41
+ the following resources handy:
42
+
43
+ * The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
44
+ * Ruby on Rails Tutorial Book: http://www.railstutorial.org/
45
+
46
+
47
+ == Debugging Rails
48
+
49
+ Sometimes your application goes wrong. Fortunately there are a lot of tools that
50
+ will help you debug it and get it back on the rails.
51
+
52
+ First area to check is the application log files. Have "tail -f" commands
53
+ running on the server.log and development.log. Rails will automatically display
54
+ debugging and runtime information to these files. Debugging info will also be
55
+ shown in the browser on requests from 127.0.0.1.
56
+
57
+ You can also log your own messages directly into the log file from your code
58
+ using the Ruby logger class from inside your controllers. Example:
59
+
60
+ class WeblogController < ActionController::Base
61
+ def destroy
62
+ @weblog = Weblog.find(params[:id])
63
+ @weblog.destroy
64
+ logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!")
65
+ end
66
+ end
67
+
68
+ The result will be a message in your log file along the lines of:
69
+
70
+ Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1!
71
+
72
+ More information on how to use the logger is at http://www.ruby-doc.org/core/
73
+
74
+ Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are
75
+ several books available online as well:
76
+
77
+ * Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe)
78
+ * Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
79
+
80
+ These two books will bring you up to speed on the Ruby language and also on
81
+ programming in general.
82
+
83
+
84
+ == Debugger
85
+
86
+ Debugger support is available through the debugger command when you start your
87
+ Mongrel or WEBrick server with --debugger. This means that you can break out of
88
+ execution at any point in the code, investigate and change the model, and then,
89
+ resume execution! You need to install ruby-debug to run the server in debugging
90
+ mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
91
+
92
+ class WeblogController < ActionController::Base
93
+ def index
94
+ @posts = Post.all
95
+ debugger
96
+ end
97
+ end
98
+
99
+ So the controller will accept the action, run the first line, then present you
100
+ with a IRB prompt in the server window. Here you can do things like:
101
+
102
+ >> @posts.inspect
103
+ => "[#<Post:0x14a6be8
104
+ @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>,
105
+ #<Post:0x14a6620
106
+ @attributes={"title"=>"Rails", "body"=>"Only ten..", "id"=>"2"}>]"
107
+ >> @posts.first.title = "hello from a debugger"
108
+ => "hello from a debugger"
109
+
110
+ ...and even better, you can examine how your runtime objects actually work:
111
+
112
+ >> f = @posts.first
113
+ => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
114
+ >> f.
115
+ Display all 152 possibilities? (y or n)
116
+
117
+ Finally, when you're ready to resume execution, you can enter "cont".
118
+
119
+
120
+ == Console
121
+
122
+ The console is a Ruby shell, which allows you to interact with your
123
+ application's domain model. Here you'll have all parts of the application
124
+ configured, just like it is when the application is running. You can inspect
125
+ domain models, change values, and save to the database. Starting the script
126
+ without arguments will launch it in the development environment.
127
+
128
+ To start the console, run <tt>rails console</tt> from the application
129
+ directory.
130
+
131
+ Options:
132
+
133
+ * Passing the <tt>-s, --sandbox</tt> argument will rollback any modifications
134
+ made to the database.
135
+ * Passing an environment name as an argument will load the corresponding
136
+ environment. Example: <tt>rails console production</tt>.
137
+
138
+ To reload your controllers and models after launching the console run
139
+ <tt>reload!</tt>
140
+
141
+ More information about irb can be found at:
142
+ link:http://www.rubycentral.org/pickaxe/irb.html
143
+
144
+
145
+ == dbconsole
146
+
147
+ You can go to the command line of your database directly through <tt>rails
148
+ dbconsole</tt>. You would be connected to the database with the credentials
149
+ defined in database.yml. Starting the script without arguments will connect you
150
+ to the development database. Passing an argument will connect you to a different
151
+ database, like <tt>rails dbconsole production</tt>. Currently works for MySQL,
152
+ PostgreSQL and SQLite 3.
153
+
154
+ == Description of Contents
155
+
156
+ The default directory structure of a generated Ruby on Rails application:
157
+
158
+ |-- app
159
+ | |-- assets
160
+ | |-- images
161
+ | |-- javascripts
162
+ | `-- stylesheets
163
+ | |-- controllers
164
+ | |-- helpers
165
+ | |-- mailers
166
+ | |-- models
167
+ | `-- views
168
+ | `-- layouts
169
+ |-- config
170
+ | |-- environments
171
+ | |-- initializers
172
+ | `-- locales
173
+ |-- db
174
+ |-- doc
175
+ |-- lib
176
+ | `-- tasks
177
+ |-- log
178
+ |-- public
179
+ |-- script
180
+ |-- test
181
+ | |-- fixtures
182
+ | |-- functional
183
+ | |-- integration
184
+ | |-- performance
185
+ | `-- unit
186
+ |-- tmp
187
+ | |-- cache
188
+ | |-- pids
189
+ | |-- sessions
190
+ | `-- sockets
191
+ `-- vendor
192
+ |-- assets
193
+ `-- stylesheets
194
+ `-- plugins
195
+
196
+ app
197
+ Holds all the code that's specific to this particular application.
198
+
199
+ app/assets
200
+ Contains subdirectories for images, stylesheets, and JavaScript files.
201
+
202
+ app/controllers
203
+ Holds controllers that should be named like weblogs_controller.rb for
204
+ automated URL mapping. All controllers should descend from
205
+ ApplicationController which itself descends from ActionController::Base.
206
+
207
+ app/models
208
+ Holds models that should be named like post.rb. Models descend from
209
+ ActiveRecord::Base by default.
210
+
211
+ app/views
212
+ Holds the template files for the view that should be named like
213
+ weblogs/index.html.erb for the WeblogsController#index action. All views use
214
+ eRuby syntax by default.
215
+
216
+ app/views/layouts
217
+ Holds the template files for layouts to be used with views. This models the
218
+ common header/footer method of wrapping views. In your views, define a layout
219
+ using the <tt>layout :default</tt> and create a file named default.html.erb.
220
+ Inside default.html.erb, call <% yield %> to render the view using this
221
+ layout.
222
+
223
+ app/helpers
224
+ Holds view helpers that should be named like weblogs_helper.rb. These are
225
+ generated for you automatically when using generators for controllers.
226
+ Helpers can be used to wrap functionality for your views into methods.
227
+
228
+ config
229
+ Configuration files for the Rails environment, the routing map, the database,
230
+ and other dependencies.
231
+
232
+ db
233
+ Contains the database schema in schema.rb. db/migrate contains all the
234
+ sequence of Migrations for your schema.
235
+
236
+ doc
237
+ This directory is where your application documentation will be stored when
238
+ generated using <tt>rake doc:app</tt>
239
+
240
+ lib
241
+ Application specific libraries. Basically, any kind of custom code that
242
+ doesn't belong under controllers, models, or helpers. This directory is in
243
+ the load path.
244
+
245
+ public
246
+ The directory available for the web server. Also contains the dispatchers and the
247
+ default HTML files. This should be set as the DOCUMENT_ROOT of your web
248
+ server.
249
+
250
+ script
251
+ Helper scripts for automation and generation.
252
+
253
+ test
254
+ Unit and functional tests along with fixtures. When using the rails generate
255
+ command, template test files will be generated for you and placed in this
256
+ directory.
257
+
258
+ vendor
259
+ External libraries that the application depends on. Also includes the plugins
260
+ subdirectory. If the app has frozen rails, those gems also go here, under
261
+ vendor/rails/. This directory is in the load path.
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env rake
2
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
3
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4
+
5
+ require File.expand_path('../config/application', __FILE__)
6
+
7
+ Dummy::Application.load_tasks
@@ -0,0 +1,15 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // the compiled file.
9
+ //
10
+ // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
+ // GO AFTER THE REQUIRES BELOW.
12
+ //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require_tree .
@@ -0,0 +1,13 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
9
+ * compiled file, but it's generally better to create a new file per style scope.
10
+ *
11
+ *= require_self
12
+ *= require_tree .
13
+ */
@@ -0,0 +1,3 @@
1
+ class ApplicationController < ActionController::Base
2
+ protect_from_forgery
3
+ end
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <%= stylesheet_link_tag "application", :media => "all" %>
6
+ <%= javascript_include_tag "application" %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <%= yield %>
12
+
13
+ </body>
14
+ </html>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
6
+ require 'bundler'
7
+ Bundler.setup
8
+ end
9
+
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Dummy::Application.initialize!
@@ -0,0 +1,31 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger
20
+ config.active_support.deprecation = :log
21
+
22
+ # Only use best-standards-support built into browsers
23
+ config.action_dispatch.best_standards_support = :builtin
24
+
25
+
26
+ # Do not compress assets
27
+ config.assets.compress = false
28
+
29
+ # Expands the lines which load the assets
30
+ config.assets.debug = true
31
+ end
@@ -0,0 +1,64 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to nil and saved in location specified by config.assets.prefix
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Prepend all log lines with the following tags
37
+ # config.log_tags = [ :subdomain, :uuid ]
38
+
39
+ # Use a different logger for distributed setups
40
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
41
+
42
+ # Use a different cache store in production
43
+ # config.cache_store = :mem_cache_store
44
+
45
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
46
+ # config.action_controller.asset_host = "http://assets.example.com"
47
+
48
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
49
+ # config.assets.precompile += %w( search.js )
50
+
51
+ # Disable delivery errors, bad email addresses will be ignored
52
+ # config.action_mailer.raise_delivery_errors = false
53
+
54
+ # Enable threaded mode
55
+ # config.threadsafe!
56
+
57
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
58
+ # the I18n.default_locale when a translation can not be found)
59
+ config.i18n.fallbacks = true
60
+
61
+ # Send deprecation notices to registered listeners
62
+ config.active_support.deprecation = :notify
63
+
64
+ end