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.
- data/MIX_RAILS_VERSION +1 -0
- data/README.md +18 -6
- data/Rakefile +9 -0
- data/admix/admix.gemspec +1 -2
- data/admix/lib/admix/engine.rb +0 -3
- data/admix/lib/admix/version.rb +10 -0
- data/lib/mix-rails.rb +0 -2
- data/lib/mix-rails/all.rb +2 -6
- data/{albums → mix-rails-albums}/.gitignore +0 -0
- data/{albums → mix-rails-albums}/Gemfile +0 -2
- data/{albums → mix-rails-albums}/MIT-LICENSE +0 -0
- data/{albums → mix-rails-albums}/README.rdoc +0 -0
- data/{albums → mix-rails-albums}/Rakefile +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/albums/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/albums/crop.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/albums/delete.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/albums/photos.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/albums/rotate_ccw.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/albums/rotate_cw.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/border.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/controls.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderBottomCenter.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderBottomLeft.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderBottomRight.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderMiddleLeft.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderMiddleRight.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderTopCenter.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderTopLeft.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/ie6/borderTopRight.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/loading.gif +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/loading_background.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/images/colorbox/overlay.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/admix/photos.js.erb +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/albums.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/albums/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/albums/jquery.jcarousel.min.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/albums/show.js.coffee +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/collections/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/collections/filelist.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/colorbox/jquery.colorbox-min.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/models/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/models/fileitem.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/models/filezip.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/photo_uploader.coffee +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/routers/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/templates/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/templates/photo_view.hamlc.erb +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/views/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/views/filelistview.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/views/fileview.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/javascripts/views/filezipview.js +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/albums/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/colorbox/colorbox.css.scss +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/credits.txt +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/loading-small.gif +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/loading.gif +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/loading_small.gif +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/next-horizontal.gif +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/prev-horizontal.gif +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/ie7/skin.css +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/credits.txt +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/next-horizontal.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/next-vertical.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/prev-horizontal.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/prev-vertical.png +0 -0
- data/{albums → mix-rails-albums}/app/assets/stylesheets/skins/tango/skin.css +0 -0
- data/{albums → mix-rails-albums}/app/controllers/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/controllers/admix/albums_controller.rb +0 -0
- data/{albums → mix-rails-albums}/app/controllers/admix/photos_controller.rb +0 -0
- data/{albums → mix-rails-albums}/app/controllers/albums_controller.rb +0 -0
- data/{albums → mix-rails-albums}/app/helpers/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/helpers/admix/albums_helper.rb +0 -0
- data/{albums → mix-rails-albums}/app/mailers/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/models/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/models/admix/albums_datagrid.rb +0 -0
- data/{albums → mix-rails-albums}/app/models/admix/photos_datagrid.rb +0 -0
- data/{albums → mix-rails-albums}/app/models/album.rb +0 -0
- data/{albums → mix-rails-albums}/app/models/photo.rb +0 -0
- data/{albums → mix-rails-albums}/app/uploaders/albums/image_uploader.rb +4 -0
- data/{albums → mix-rails-albums}/app/views/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/app/views/admix/albums/_form_fields.html.haml +0 -0
- data/{albums → mix-rails-albums}/app/views/admix/albums/_show.html.haml +0 -0
- data/{albums → mix-rails-albums}/app/views/admix/albums/_table_actions.html.haml +0 -0
- data/{albums → mix-rails-albums}/app/views/admix/photos/_upload.html.haml +0 -0
- data/{albums → mix-rails-albums}/app/views/admix/photos/index.html.haml +0 -0
- data/{albums → mix-rails-albums}/app/views/albums/index.html.haml +0 -0
- data/{albums → mix-rails-albums}/app/views/albums/show.html.haml +0 -0
- data/{albums → mix-rails-albums}/config/application.rb +0 -0
- data/{albums → mix-rails-albums}/config/initializers/albums.rb +0 -0
- data/{albums → mix-rails-albums}/config/initializers/carrierwave.rb +1 -0
- data/{albums → mix-rails-albums}/config/locales/albums.en.yml +0 -0
- data/{albums → mix-rails-albums}/config/locales/albums.pt-BR.yml +0 -0
- data/{albums → mix-rails-albums}/config/locales/photos.pt-BR.yml +0 -0
- data/{albums → mix-rails-albums}/config/routes.rb +0 -0
- data/{albums/lib/albums.rb → mix-rails-albums/lib/mix-rails-albums.rb} +2 -2
- data/{albums/lib/albums → mix-rails-albums/lib/mix-rails-albums}/engine.rb +1 -1
- data/mix-rails-albums/lib/mix-rails-albums/version.rb +10 -0
- data/{albums → mix-rails-albums}/lib/tasks/albums_tasks.rake +0 -0
- data/{albums → mix-rails-albums}/mix-rails-albums.gemspec +1 -2
- data/{albums → mix-rails-albums}/script/rails +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/README.rdoc +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/Rakefile +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/app/mailers/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/app/models/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config.ru +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/application.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/boot.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/environment.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/environments/development.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/environments/production.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/environments/test.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/initializers/inflections.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/initializers/session_store.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/locales/en.yml +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/mongoid.yml +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/config/routes.rb +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/lib/assets/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/log/.gitkeep +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/public/404.html +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/public/422.html +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/public/500.html +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/public/favicon.ico +0 -0
- data/{albums → mix-rails-albums}/spec/dummy/script/rails +0 -0
- data/{auth → mix-rails-auth}/.gitignore +0 -0
- data/{auth → mix-rails-auth}/Gemfile +0 -0
- data/{auth → mix-rails-auth}/MIT-LICENSE +0 -0
- data/{auth → mix-rails-auth}/README.rdoc +0 -0
- data/{auth → mix-rails-auth}/Rakefile +0 -0
- data/{auth → mix-rails-auth}/app/assets/images/auth/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/app/assets/javascripts/admix/users.js +0 -0
- data/{auth → mix-rails-auth}/app/assets/javascripts/auth/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/app/assets/stylesheets/admix/users.css +0 -0
- data/{auth → mix-rails-auth}/app/assets/stylesheets/auth/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/app/controllers/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/app/controllers/admix/users_controller.rb +0 -0
- data/{auth → mix-rails-auth}/app/helpers/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/app/helpers/admix/users_helper.rb +0 -0
- data/{auth → mix-rails-auth}/app/mailers/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/app/models/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/app/models/ability.rb +0 -0
- data/{auth → mix-rails-auth}/app/models/admix/users_datagrid.rb +0 -0
- data/{auth → mix-rails-auth}/app/models/user.rb +0 -0
- data/{auth → mix-rails-auth}/app/views/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/app/views/admix/users/_form_fields.html.haml +0 -0
- data/{auth → mix-rails-auth}/app/views/admix/users/_show.html.haml +0 -0
- data/{auth → mix-rails-auth}/app/views/admix/users/_table_actions.html.haml +0 -0
- data/{auth → mix-rails-auth}/config/initializers/devise.rb +0 -0
- data/{auth → mix-rails-auth}/config/locales/auth.en.yml +0 -0
- data/{auth → mix-rails-auth}/config/locales/auth.pt-BR.yml +0 -0
- data/{auth → mix-rails-auth}/config/locales/devise.en.yml +0 -0
- data/{auth → mix-rails-auth}/config/locales/devise.pt-BR.yml +0 -0
- data/{auth → mix-rails-auth}/config/routes.rb +0 -0
- data/mix-rails-auth/lib/mix-rails-auth.rb +5 -0
- data/{auth/lib/auth → mix-rails-auth/lib/mix-rails-auth}/engine.rb +1 -4
- data/mix-rails-auth/lib/mix-rails-auth/version.rb +10 -0
- data/{auth → mix-rails-auth}/lib/tasks/auth_tasks.rake +0 -0
- data/{auth → mix-rails-auth}/mix-rails-auth.gemspec +1 -3
- data/{auth → mix-rails-auth}/script/rails +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/README.rdoc +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/Rakefile +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/app/mailers/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/app/models/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config.ru +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/application.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/boot.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/environment.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/environments/development.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/environments/production.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/environments/test.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/initializers/inflections.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/initializers/session_store.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/locales/en.yml +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/config/routes.rb +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/lib/assets/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/log/.gitkeep +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/public/404.html +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/public/422.html +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/public/500.html +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/public/favicon.ico +0 -0
- data/{auth → mix-rails-auth}/spec/dummy/script/rails +0 -0
- data/{core → mix-rails-core}/.gitignore +0 -0
- data/{core → mix-rails-core}/.rspec +0 -0
- data/{core → mix-rails-core}/Gemfile +0 -1
- data/{core → mix-rails-core}/MIT-LICENSE +0 -0
- data/{core → mix-rails-core}/README.rdoc +0 -0
- data/{core → mix-rails-core}/Rakefile +0 -0
- data/mix-rails-core/app/assets/images/colorbox/border.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/controls.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/ie6/borderBottomCenter.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/ie6/borderBottomLeft.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/ie6/borderBottomRight.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/ie6/borderMiddleLeft.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/ie6/borderMiddleRight.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/ie6/borderTopCenter.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/ie6/borderTopLeft.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/ie6/borderTopRight.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/loading.gif +0 -0
- data/mix-rails-core/app/assets/images/colorbox/loading_background.png +0 -0
- data/mix-rails-core/app/assets/images/colorbox/overlay.png +0 -0
- data/{core → mix-rails-core}/app/assets/images/core/.gitkeep +0 -0
- data/mix-rails-core/app/assets/images/jplayer/jplayer.pink.flag.jpg +0 -0
- data/mix-rails-core/app/assets/javascripts/colorbox.js +3 -0
- data/mix-rails-core/app/assets/javascripts/colorbox/jquery.colorbox-min.js +6 -0
- data/{core → mix-rails-core}/app/assets/javascripts/core/.gitkeep +0 -0
- data/mix-rails-core/app/assets/javascripts/jplayer.js +3 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/Jplayer.swf +0 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/add-on/jplayer.playlist.min.js +30 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/add-on/jquery.jplayer.inspector.js +331 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/extras/jquery-1.8.2-ajax-deprecated.min.js +2 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/extras/jquery.jplayer.combo.min.js +100 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/extras/jquery.jplayer.playlist.combo.min.js +131 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/extras/readme.txt +31 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/jquery.jplayer.min.js +97 -0
- data/mix-rails-core/app/assets/javascripts/jquery.jplayer/popcorn/popcorn.jplayer.js +559 -0
- data/{core/app/assets/javascripts → mix-rails-core/app/assets/javascripts/jquery}/jquery.livequery.js +0 -0
- data/mix-rails-core/app/assets/javascripts/jquery/jquery.maskedinput-1.3.min.js +7 -0
- data/mix-rails-core/app/assets/javascripts/underscore.js +1221 -0
- data/mix-rails-core/app/assets/stylesheets/colorbox.css +3 -0
- data/mix-rails-core/app/assets/stylesheets/colorbox/colorbox.css.erb +86 -0
- data/{core → mix-rails-core}/app/assets/stylesheets/core/.gitkeep +0 -0
- data/mix-rails-core/app/assets/stylesheets/jplayer/jplayer.pink.flag.css +650 -0
- data/{core → mix-rails-core}/app/controllers/.gitkeep +0 -0
- data/{core → mix-rails-core}/app/controllers/gridfs_controller.rb +2 -4
- data/{core → mix-rails-core}/app/controllers/mix_controller.rb +0 -0
- data/{core → mix-rails-core}/app/helpers/.gitkeep +0 -0
- data/{core → mix-rails-core}/app/helpers/core_helper.rb +0 -0
- data/{core → mix-rails-core}/app/mailers/.gitkeep +0 -0
- data/{core → mix-rails-core}/app/models/.gitkeep +0 -0
- data/{core → mix-rails-core}/app/models/youtube_validator.rb +0 -0
- data/{core → mix-rails-core}/app/views/.gitkeep +0 -0
- data/{core → mix-rails-core}/app/views/application/_title.html.haml +0 -0
- data/{core → mix-rails-core}/config/locales/core.pt-BR.yml +7 -0
- data/{core → mix-rails-core}/config/routes.rb +0 -0
- data/{core → mix-rails-core}/lib/mix-rails-core.rb +6 -5
- data/{core/lib/mix-rails → mix-rails-core/lib/mix-rails-core}/concerns/engine.rb +1 -1
- data/{core/lib/mix-rails → mix-rails-core/lib/mix-rails-core}/engine.rb +1 -4
- data/{core/lib/mix-rails → mix-rails-core/lib/mix-rails-core}/railtie.rb +1 -1
- data/mix-rails-core/lib/mix-rails-core/version.rb +10 -0
- data/{core → mix-rails-core}/lib/tasks/mix-rails_tasks.rake +0 -0
- data/{core → mix-rails-core}/mix-rails-core.gemspec +5 -3
- data/{core → mix-rails-core}/script/rails +0 -0
- data/{core → mix-rails-core}/spec/dummy/README.rdoc +0 -0
- data/{core → mix-rails-core}/spec/dummy/Rakefile +0 -0
- data/{core → mix-rails-core}/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/{core → mix-rails-core}/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/{core → mix-rails-core}/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/app/mailers/.gitkeep +0 -0
- data/{core → mix-rails-core}/spec/dummy/app/models/.gitkeep +0 -0
- data/{core → mix-rails-core}/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config.ru +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/application.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/boot.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/environment.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/environments/development.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/environments/production.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/environments/test.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/initializers/inflections.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/initializers/session_store.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/locales/en.yml +0 -0
- data/{core → mix-rails-core}/spec/dummy/config/routes.rb +0 -0
- data/{core → mix-rails-core}/spec/dummy/lib/assets/.gitkeep +0 -0
- data/{core → mix-rails-core}/spec/dummy/log/.gitkeep +0 -0
- data/{core → mix-rails-core}/spec/dummy/public/404.html +0 -0
- data/{core → mix-rails-core}/spec/dummy/public/422.html +0 -0
- data/{core → mix-rails-core}/spec/dummy/public/500.html +0 -0
- data/{core → mix-rails-core}/spec/dummy/public/favicon.ico +0 -0
- data/{core → mix-rails-core}/spec/dummy/script/rails +0 -0
- data/{core → mix-rails-core}/spec/spec_helper.rb +0 -0
- data/{message-board → mix-rails-message-board}/.gitignore +0 -0
- data/{message-board → mix-rails-message-board}/Gemfile +0 -0
- data/{message-board → mix-rails-message-board}/MIT-LICENSE +0 -0
- data/{message-board → mix-rails-message-board}/README.rdoc +0 -0
- data/{message-board → mix-rails-message-board}/Rakefile +0 -0
- data/{message-board → mix-rails-message-board}/app/assets/images/message-board/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/app/assets/javascripts/message-board/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/app/assets/stylesheets/message-board/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/app/controllers/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/app/controllers/admix/board_messages_controller.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/controllers/admix/board_replies_controller.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/controllers/admix/dashboard_controller.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/controllers/board_messages_controller.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/helpers/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/app/mailers/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/app/mailers/message_board_mailer.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/models/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/app/models/admix/board_messages_datagrid.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/models/admix/board_replies_datagrid.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/models/board_message.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/models/board_reply.rb +0 -0
- data/{message-board → mix-rails-message-board}/app/views/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/app/views/admix/board_messages/_form_fields.html.haml +0 -0
- data/mix-rails-message-board/app/views/admix/board_messages/_show.html.haml +16 -0
- data/{message-board → mix-rails-message-board}/app/views/admix/board_messages/_table_actions.html.haml +0 -0
- data/{message-board → mix-rails-message-board}/app/views/admix/board_replies/_form_fields.html.haml +0 -0
- data/{message-board/app/views/admix/board_messages → mix-rails-message-board/app/views/admix/board_replies}/_show.html.haml +0 -0
- data/{message-board → mix-rails-message-board}/app/views/admix/board_replies/_table_actions.html.haml +0 -0
- data/{message-board → mix-rails-message-board}/app/views/admix/dashboard/index.html.haml +0 -0
- data/{message-board → mix-rails-message-board}/app/views/board_messages/_board_message.html.haml +0 -0
- data/{message-board → mix-rails-message-board}/app/views/board_messages/index.html.haml +0 -0
- data/{message-board → mix-rails-message-board}/app/views/board_messages/show.html.haml +0 -0
- data/{message-board → mix-rails-message-board}/app/views/message_board_mailer/message_replied.text.erb +0 -0
- data/{message-board → mix-rails-message-board}/config/locales/message-board.pt-BR.yml +0 -0
- data/{message-board → mix-rails-message-board}/config/routes.rb +0 -0
- data/mix-rails-message-board/lib/mix-rails-message-board.rb +4 -0
- data/{message-board/lib/message-board → mix-rails-message-board/lib/mix-rails-message-board}/engine.rb +1 -1
- data/mix-rails-message-board/lib/mix-rails-message-board/version.rb +10 -0
- data/{message-board → mix-rails-message-board}/lib/tasks/message-board_tasks.rake +0 -0
- data/{message-board → mix-rails-message-board}/mix-rails-message-board.gemspec +2 -2
- data/{message-board → mix-rails-message-board}/script/rails +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/README.rdoc +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/Rakefile +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/app/mailers/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/app/models/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config.ru +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/application.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/boot.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/environment.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/environments/development.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/environments/production.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/environments/test.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/inflections.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/session_store.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/locales/en.yml +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/config/routes.rb +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/lib/assets/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/log/.gitkeep +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/public/404.html +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/public/422.html +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/public/500.html +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/public/favicon.ico +0 -0
- data/{message-board → mix-rails-message-board}/spec/dummy/script/rails +0 -0
- data/{settings → mix-rails-settings}/.gitignore +0 -0
- data/{settings → mix-rails-settings}/Gemfile +0 -0
- data/{settings → mix-rails-settings}/MIT-LICENSE +0 -0
- data/{settings → mix-rails-settings}/README.rdoc +0 -0
- data/{settings → mix-rails-settings}/Rakefile +0 -0
- data/{settings → mix-rails-settings}/app/assets/images/settings/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/app/assets/javascripts/settings.js +0 -0
- data/{settings → mix-rails-settings}/app/assets/javascripts/settings/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/app/assets/stylesheets/scaffold.css +0 -0
- data/{settings → mix-rails-settings}/app/assets/stylesheets/settings.css +0 -0
- data/{settings → mix-rails-settings}/app/assets/stylesheets/settings/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/app/controllers/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/app/controllers/admix/settings_controller.rb +0 -0
- data/{settings → mix-rails-settings}/app/helpers/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/app/mailers/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/app/models/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/app/models/admix/settings_datagrid.rb +0 -0
- data/{settings → mix-rails-settings}/app/models/setting.rb +0 -0
- data/{settings → mix-rails-settings}/app/uploaders/settings/image_uploader.rb +0 -0
- data/{settings → mix-rails-settings}/app/views/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/app/views/admix/settings/_form_fields.html.haml +0 -0
- data/{settings → mix-rails-settings}/app/views/admix/settings/_show.html.haml +0 -0
- data/{settings → mix-rails-settings}/config/locales/settings.en.yml +0 -0
- data/{settings → mix-rails-settings}/config/locales/settings.pt-BR.yml +0 -0
- data/{settings → mix-rails-settings}/config/routes.rb +0 -0
- data/mix-rails-settings/lib/mix-rails-settings.rb +4 -0
- data/{settings/lib/settings → mix-rails-settings/lib/mix-rails-settings}/engine.rb +2 -4
- data/mix-rails-settings/lib/mix-rails-settings/version.rb +10 -0
- data/{settings → mix-rails-settings}/lib/tasks/settings_tasks.rake +0 -0
- data/{settings → mix-rails-settings}/mix-rails-settings.gemspec +1 -1
- data/{settings → mix-rails-settings}/script/rails +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/README.rdoc +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/Rakefile +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/app/mailers/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/app/models/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config.ru +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/application.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/boot.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/environment.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/environments/development.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/environments/production.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/environments/test.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/initializers/inflections.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/initializers/session_store.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/locales/en.yml +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/mongoid.yml +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/config/routes.rb +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/lib/assets/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/log/.gitkeep +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/public/404.html +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/public/422.html +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/public/500.html +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/public/favicon.ico +0 -0
- data/{settings → mix-rails-settings}/spec/dummy/script/rails +0 -0
- data/{videos → mix-rails-songs}/.gitignore +0 -0
- data/mix-rails-songs/Gemfile +17 -0
- data/{videos → mix-rails-songs}/MIT-LICENSE +0 -0
- data/mix-rails-songs/README.rdoc +3 -0
- data/mix-rails-songs/Rakefile +27 -0
- data/{videos/app/assets/images/videos → mix-rails-songs/app/assets/images/songs}/.gitkeep +0 -0
- data/{videos/app/assets/javascripts/videos → mix-rails-songs/app/assets/javascripts/songs}/.gitkeep +0 -0
- data/{videos/app/assets/stylesheets/videos → mix-rails-songs/app/assets/stylesheets/songs}/.gitkeep +0 -0
- data/{videos/app/helpers → mix-rails-songs/app/controllers}/.gitkeep +0 -0
- data/mix-rails-songs/app/controllers/admix/songs_controller.rb +3 -0
- data/mix-rails-songs/app/controllers/songs_controller.rb +16 -0
- data/{videos/app/mailers → mix-rails-songs/app/helpers}/.gitkeep +0 -0
- data/{videos/app/views → mix-rails-songs/app/mailers}/.gitkeep +0 -0
- data/{videos/spec/dummy/app/mailers → mix-rails-songs/app/models}/.gitkeep +0 -0
- data/mix-rails-songs/app/models/admix/songs_datagrid.rb +20 -0
- data/mix-rails-songs/app/models/song.rb +19 -0
- data/mix-rails-songs/app/uploaders/songs/song_uploader.rb +60 -0
- data/{videos/spec/dummy/app/models → mix-rails-songs/app/views}/.gitkeep +0 -0
- data/mix-rails-songs/app/views/admix/songs/_form_fields.html.haml +4 -0
- data/mix-rails-songs/app/views/admix/songs/_show.html.haml +12 -0
- data/{writer/app/views/admix/posts → mix-rails-songs/app/views/admix/songs}/_table_actions.html.haml +0 -0
- data/mix-rails-songs/app/views/songs/player.haml +99 -0
- data/mix-rails-songs/config/locales/songs.pt-BR.yml +4 -0
- data/mix-rails-songs/config/routes.rb +15 -0
- data/mix-rails-songs/lib/mix-rails-songs.rb +4 -0
- data/mix-rails-songs/lib/mix-rails-songs/engine.rb +19 -0
- data/mix-rails-songs/lib/mix-rails-songs/version.rb +10 -0
- data/mix-rails-songs/lib/tasks/songs_tasks.rake +4 -0
- data/mix-rails-songs/mix-rails-songs.gemspec +20 -0
- data/mix-rails-songs/script/rails +8 -0
- data/{videos → mix-rails-songs}/spec/dummy/README.rdoc +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/Rakefile +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/{videos/spec/dummy/lib/assets → mix-rails-songs/spec/dummy/app/mailers}/.gitkeep +0 -0
- data/{videos/spec/dummy/log → mix-rails-songs/spec/dummy/app/models}/.gitkeep +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config.ru +0 -0
- data/mix-rails-songs/spec/dummy/config/application.rb +65 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/boot.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/environment.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/environments/development.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/environments/production.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/environments/test.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/initializers/inflections.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/mix-rails-songs/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/initializers/session_store.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/locales/en.yml +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/config/routes.rb +0 -0
- data/{vouchers/app/assets/images/mix-vouchers → mix-rails-songs/spec/dummy/lib/assets}/.gitkeep +0 -0
- data/{vouchers/app/assets/javascripts/mix-vouchers → mix-rails-songs/spec/dummy/log}/.gitkeep +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/public/404.html +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/public/422.html +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/public/500.html +0 -0
- data/{videos → mix-rails-songs}/spec/dummy/public/favicon.ico +0 -0
- data/{writer → mix-rails-songs}/spec/dummy/script/rails +0 -0
- data/{vouchers → mix-rails-videos}/.gitignore +0 -0
- data/{videos → mix-rails-videos}/Gemfile +0 -0
- data/{vouchers → mix-rails-videos}/MIT-LICENSE +0 -0
- data/{videos → mix-rails-videos}/README.rdoc +0 -0
- data/{videos → mix-rails-videos}/Rakefile +0 -0
- data/{vouchers/app/assets/stylesheets/mix-vouchers → mix-rails-videos/app/assets/images/videos}/.gitkeep +0 -0
- data/{vouchers/app/helpers → mix-rails-videos/app/assets/javascripts/videos}/.gitkeep +0 -0
- data/{vouchers/app/mailers → mix-rails-videos/app/assets/stylesheets/videos}/.gitkeep +0 -0
- data/{videos → mix-rails-videos}/app/controllers/admix/videos_controller.rb +0 -0
- data/{videos → mix-rails-videos}/app/controllers/videos_controller.rb +0 -0
- data/{vouchers/app/views → mix-rails-videos/app/helpers}/.gitkeep +0 -0
- data/{vouchers/spec/dummy → mix-rails-videos}/app/mailers/.gitkeep +0 -0
- data/{videos → mix-rails-videos}/app/models/admix/videos_datagrid.rb +0 -0
- data/{videos → mix-rails-videos}/app/models/video.rb +0 -0
- data/{vouchers/spec/dummy/app/models → mix-rails-videos/app/views}/.gitkeep +0 -0
- data/{videos → mix-rails-videos}/app/views/admix/videos/_form_fields.html.haml +0 -0
- data/{videos → mix-rails-videos}/app/views/admix/videos/_show.html.haml +0 -0
- data/{videos → mix-rails-videos}/app/views/videos/_video.html.haml +0 -0
- data/{videos → mix-rails-videos}/app/views/videos/_video_show.html.haml +0 -0
- data/{videos → mix-rails-videos}/app/views/videos/index.html.haml +0 -0
- data/{videos → mix-rails-videos}/app/views/videos/show.html.haml +0 -0
- data/{videos → mix-rails-videos}/config/locales/videos.pt-BR.yml +0 -0
- data/{videos → mix-rails-videos}/config/routes.rb +0 -0
- data/mix-rails-videos/lib/mix-rails-videos.rb +5 -0
- data/{videos/lib/videos → mix-rails-videos/lib/mix-rails-videos}/engine.rb +1 -1
- data/mix-rails-videos/lib/mix-rails-videos/version.rb +10 -0
- data/{videos → mix-rails-videos}/lib/tasks/videos_tasks.rake +0 -0
- data/{videos → mix-rails-videos}/mix-rails-videos.gemspec +1 -1
- data/{videos → mix-rails-videos}/script/rails +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/README.rdoc +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/Rakefile +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/{vouchers/spec/dummy/lib/assets → mix-rails-videos/spec/dummy/app/mailers}/.gitkeep +0 -0
- data/{vouchers/spec/dummy/log → mix-rails-videos/spec/dummy/app/models}/.gitkeep +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config.ru +0 -0
- data/{videos → mix-rails-videos}/spec/dummy/config/application.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/boot.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/environment.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/environments/development.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/environments/production.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/environments/test.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/inflections.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/{videos → mix-rails-videos}/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/session_store.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/locales/en.yml +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/config/routes.rb +0 -0
- data/{writer/app/assets/images/writer → mix-rails-videos/spec/dummy/lib/assets}/.gitkeep +0 -0
- data/{writer/app/assets/javascripts/writer → mix-rails-videos/spec/dummy/log}/.gitkeep +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/public/404.html +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/public/422.html +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/public/500.html +0 -0
- data/{vouchers → mix-rails-videos}/spec/dummy/public/favicon.ico +0 -0
- data/{videos → mix-rails-videos}/spec/dummy/script/rails +0 -0
- data/{writer → mix-rails-vouchers}/.gitignore +0 -0
- data/{vouchers → mix-rails-vouchers}/Gemfile +0 -0
- data/{writer → mix-rails-vouchers}/MIT-LICENSE +0 -0
- data/{vouchers → mix-rails-vouchers}/README.rdoc +0 -0
- data/{vouchers → mix-rails-vouchers}/Rakefile +0 -0
- data/{writer/app/assets/stylesheets/writer → mix-rails-vouchers/app/assets/images/mix-vouchers}/.gitkeep +0 -0
- data/{writer/app/controllers → mix-rails-vouchers/app/assets/javascripts/mix-vouchers}/.gitkeep +0 -0
- data/{writer/app/helpers → mix-rails-vouchers/app/assets/stylesheets/mix-vouchers}/.gitkeep +0 -0
- data/{vouchers → mix-rails-vouchers}/app/controllers/admix/vouchers_controller.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/app/controllers/vouchers_controller.rb +0 -0
- data/{writer/app/mailers → mix-rails-vouchers/app/helpers}/.gitkeep +0 -0
- data/{writer/app/models → mix-rails-vouchers/app/mailers}/.gitkeep +0 -0
- data/{vouchers → mix-rails-vouchers}/app/mailers/voucher_mailer.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/app/models/admix/vouchers_datagrid.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/app/models/email_validator.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/app/models/voucher.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/app/models/voucher_user.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/app/models/vouchers/contact.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/app/uploaders/vouchers/photo_uploader.rb +0 -0
- data/{writer → mix-rails-vouchers}/app/views/.gitkeep +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/_form_fields.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/_show.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/_table_actions.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/print.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/admix/vouchers/users.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/voucher_mailer/send_confirmation_link.text.erb +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/vouchers/_voucher.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/vouchers/_voucher_show.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/vouchers/confirmation.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/vouchers/confirmation_error.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/vouchers/email_sent.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/vouchers/index.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/vouchers/print.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/app/views/vouchers/show.html.haml +0 -0
- data/{vouchers → mix-rails-vouchers}/config/initializers/carrier_wave.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/config/locales/vouchers.pt-BR.yml +0 -0
- data/{vouchers → mix-rails-vouchers}/config/routes.rb +0 -0
- data/mix-rails-vouchers/lib/mix-rails-vouchers.rb +5 -0
- data/{vouchers/lib/mix-vouchers → mix-rails-vouchers/lib/mix-rails-vouchers}/engine.rb +1 -1
- data/mix-rails-vouchers/lib/mix-rails-vouchers/version.rb +10 -0
- data/{vouchers → mix-rails-vouchers}/lib/tasks/mix-vouchers_tasks.rake +0 -0
- data/{vouchers → mix-rails-vouchers}/mix-rails-vouchers.gemspec +2 -2
- data/{vouchers → mix-rails-vouchers}/script/rails +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/README.rdoc +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/Rakefile +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/app/mailers/.gitkeep +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/app/models/.gitkeep +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config.ru +0 -0
- data/{vouchers → mix-rails-vouchers}/spec/dummy/config/application.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/boot.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/environment.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/environments/development.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/environments/production.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/environments/test.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/inflections.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/{vouchers → mix-rails-vouchers}/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/session_store.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/locales/en.yml +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/config/routes.rb +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/lib/assets/.gitkeep +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/log/.gitkeep +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/public/404.html +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/public/422.html +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/public/500.html +0 -0
- data/{writer → mix-rails-vouchers}/spec/dummy/public/favicon.ico +0 -0
- data/{vouchers → mix-rails-vouchers}/spec/dummy/script/rails +0 -0
- data/{vouchers → mix-rails-vouchers}/test/functional/voucher_mailer_test.rb +0 -0
- data/mix-rails-writer/.gitignore +7 -0
- data/{writer → mix-rails-writer}/Gemfile +0 -0
- data/mix-rails-writer/MIT-LICENSE +20 -0
- data/{writer → mix-rails-writer}/README.rdoc +0 -0
- data/{writer → mix-rails-writer}/Rakefile +0 -0
- data/{writer/app/assets/stylesheets/writer/posts/index.scss → mix-rails-writer/app/assets/images/writer/.gitkeep} +0 -0
- data/{writer/app/views/admix/posts/_thumb_image.html.haml → mix-rails-writer/app/assets/javascripts/writer/.gitkeep} +0 -0
- data/mix-rails-writer/app/assets/stylesheets/writer/.gitkeep +0 -0
- data/mix-rails-writer/app/assets/stylesheets/writer/posts/index.scss +0 -0
- data/mix-rails-writer/app/controllers/.gitkeep +0 -0
- data/{writer → mix-rails-writer}/app/controllers/admix/news_controller.rb +0 -0
- data/{writer → mix-rails-writer}/app/controllers/admix/posts_controller.rb +0 -0
- data/{writer → mix-rails-writer}/app/controllers/news_controller.rb +0 -0
- data/{writer → mix-rails-writer}/app/controllers/posts_controller.rb +0 -0
- data/mix-rails-writer/app/helpers/.gitkeep +0 -0
- data/mix-rails-writer/app/mailers/.gitkeep +0 -0
- data/mix-rails-writer/app/models/.gitkeep +0 -0
- data/{writer → mix-rails-writer}/app/models/admix/news_datagrid.rb +0 -0
- data/{writer → mix-rails-writer}/app/models/news.rb +0 -0
- data/{writer → mix-rails-writer}/app/models/post.rb +0 -0
- data/{writer → mix-rails-writer}/app/uploaders/writer/image_uploader.rb +0 -0
- data/mix-rails-writer/app/views/.gitkeep +0 -0
- data/{writer → mix-rails-writer}/app/views/admix/posts/_form_fields.html.haml +0 -0
- data/{writer → mix-rails-writer}/app/views/admix/posts/_show.html.haml +0 -0
- data/mix-rails-writer/app/views/admix/posts/_table_actions.html.haml +3 -0
- data/mix-rails-writer/app/views/admix/posts/_thumb_image.html.haml +0 -0
- data/{writer → mix-rails-writer}/app/views/templates/news/index.html.haml +0 -0
- data/{writer → mix-rails-writer}/config/locales/writer.pt-BR.yml +0 -0
- data/{writer → mix-rails-writer}/config/routes.rb +0 -0
- data/mix-rails-writer/lib/mix-rails-writer.rb +4 -0
- data/{writer/lib/writer → mix-rails-writer/lib/mix-rails-writer}/engine.rb +1 -1
- data/mix-rails-writer/lib/mix-rails-writer/version.rb +10 -0
- data/{writer → mix-rails-writer}/lib/tasks/writer_tasks.rake +0 -0
- data/{writer → mix-rails-writer}/mix-rails-writer.gemspec +2 -2
- data/{writer → mix-rails-writer}/script/rails +0 -0
- data/mix-rails-writer/spec/dummy/README.rdoc +261 -0
- data/mix-rails-writer/spec/dummy/Rakefile +7 -0
- data/mix-rails-writer/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/mix-rails-writer/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/mix-rails-writer/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/mix-rails-writer/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/mix-rails-writer/spec/dummy/app/mailers/.gitkeep +0 -0
- data/mix-rails-writer/spec/dummy/app/models/.gitkeep +0 -0
- data/mix-rails-writer/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/mix-rails-writer/spec/dummy/config.ru +4 -0
- data/{writer → mix-rails-writer}/spec/dummy/config/application.rb +0 -0
- data/mix-rails-writer/spec/dummy/config/boot.rb +10 -0
- data/mix-rails-writer/spec/dummy/config/environment.rb +5 -0
- data/mix-rails-writer/spec/dummy/config/environments/development.rb +31 -0
- data/mix-rails-writer/spec/dummy/config/environments/production.rb +64 -0
- data/mix-rails-writer/spec/dummy/config/environments/test.rb +35 -0
- data/mix-rails-writer/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/mix-rails-writer/spec/dummy/config/initializers/inflections.rb +15 -0
- data/mix-rails-writer/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/{writer → mix-rails-writer}/spec/dummy/config/initializers/secret_token.rb +0 -0
- data/mix-rails-writer/spec/dummy/config/initializers/session_store.rb +8 -0
- data/mix-rails-writer/spec/dummy/config/initializers/wrap_parameters.rb +10 -0
- data/mix-rails-writer/spec/dummy/config/locales/en.yml +5 -0
- data/mix-rails-writer/spec/dummy/config/routes.rb +58 -0
- data/mix-rails-writer/spec/dummy/lib/assets/.gitkeep +0 -0
- data/mix-rails-writer/spec/dummy/log/.gitkeep +0 -0
- data/mix-rails-writer/spec/dummy/public/404.html +26 -0
- data/mix-rails-writer/spec/dummy/public/422.html +26 -0
- data/mix-rails-writer/spec/dummy/public/500.html +25 -0
- data/mix-rails-writer/spec/dummy/public/favicon.ico +0 -0
- data/mix-rails-writer/spec/dummy/script/rails +6 -0
- data/mix-rails.gemspec +15 -3
- data/tasks/release.rb +123 -0
- data/version.rb +10 -0
- metadata +722 -609
- data/albums/lib/albums/version.rb +0 -3
- data/albums/lib/mix-rails-albums.rb +0 -1
- data/auth/lib/mix-rails-auth.rb +0 -5
- data/lib/mix-rails/version.rb +0 -3
- data/message-board/app/views/admix/board_replies/_show.html.haml +0 -11
- data/message-board/lib/message-board.rb +0 -4
- data/message-board/lib/mix-rails-message-board.rb +0 -1
- data/settings/lib/mix-rails-settings.rb +0 -1
- data/settings/lib/settings.rb +0 -4
- data/videos/lib/mix-rails-videos.rb +0 -1
- data/videos/lib/videos.rb +0 -5
- data/vouchers/lib/mix-rails-vouchers.rb +0 -5
- data/writer/lib/mix-rails-writer.rb +0 -1
- 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
|
+
*/
|
File without changes
|
File without changes
|
File without changes
|
@@ -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
|