├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── build_all.sh ├── bundle_all.sh ├── c2s01 ├── 00_preparations.sh ├── 01_first_steps.sh └── sportsball │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── components │ └── app_component │ │ ├── .gitignore │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── app_component │ │ │ │ │ └── .keep │ │ │ ├── javascripts │ │ │ │ └── app_component │ │ │ │ │ ├── application.js │ │ │ │ │ └── welcome.js │ │ │ └── stylesheets │ │ │ │ └── app_component │ │ │ │ ├── application.css │ │ │ │ └── welcome.css │ │ ├── controllers │ │ │ └── app_component │ │ │ │ ├── application_controller.rb │ │ │ │ └── welcome_controller.rb │ │ ├── helpers │ │ │ └── app_component │ │ │ │ ├── application_helper.rb │ │ │ │ └── welcome_helper.rb │ │ └── views │ │ │ ├── app_component │ │ │ └── welcome │ │ │ │ └── index.html.erb │ │ │ └── layouts │ │ │ └── app_component │ │ │ └── application.html.erb │ │ ├── app_component.gemspec │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── lib │ │ ├── app_component.rb │ │ ├── app_component │ │ │ ├── engine.rb │ │ │ └── version.rb │ │ └── tasks │ │ │ └── app_component_tasks.rake │ │ └── test │ │ ├── app_component_test.rb │ │ ├── controllers │ │ └── app_component │ │ │ └── welcome_controller_test.rb │ │ ├── dummy │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ ├── helpers │ │ │ │ └── application_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── assets.rb │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── lib │ │ │ └── assets │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ └── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ └── favicon.ico │ │ ├── helpers │ │ └── app_component │ │ │ └── welcome_helper_test.rb │ │ ├── integration │ │ └── navigation_test.rb │ │ └── test_helper.rb │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ └── seeds.rb │ ├── lib │ ├── assets │ │ └── .keep │ └── tasks │ │ └── .keep │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── test │ ├── controllers │ │ └── .keep │ ├── fixtures │ │ └── .keep │ ├── helpers │ │ └── .keep │ ├── integration │ │ └── .keep │ ├── mailers │ │ └── .keep │ ├── models │ │ └── .keep │ └── test_helper.rb │ └── vendor │ └── assets │ ├── javascripts │ └── .keep │ └── stylesheets │ └── .keep ├── c2s02 ├── 00_plugin_new.sh ├── bundle_gem.tree ├── bundle_gem │ ├── .gitignore │ ├── Gemfile │ ├── LICENSE.txt │ ├── README.md │ ├── Rakefile │ ├── bundle_gem.gemspec │ └── lib │ │ ├── bundle_gem.rb │ │ └── bundle_gem │ │ └── version.rb ├── full_engine.tree ├── full_engine │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.lock │ ├── MIT-LICENSE │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── full_engine │ │ │ │ │ └── .keep │ │ │ ├── javascripts │ │ │ │ └── full_engine │ │ │ │ │ └── .keep │ │ │ └── stylesheets │ │ │ │ └── full_engine │ │ │ │ └── .keep │ │ ├── controllers │ │ │ └── .keep │ │ ├── helpers │ │ │ └── .keep │ │ ├── mailers │ │ │ └── .keep │ │ ├── models │ │ │ └── .keep │ │ └── views │ │ │ └── .keep │ ├── bin │ │ └── rails │ ├── config │ │ └── routes.rb │ ├── full_engine.gemspec │ ├── lib │ │ ├── full_engine.rb │ │ ├── full_engine │ │ │ ├── engine.rb │ │ │ └── version.rb │ │ └── tasks │ │ │ └── full_engine_tasks.rake │ └── test │ │ ├── dummy │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ ├── helpers │ │ │ │ └── application_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── assets.rb │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── lib │ │ │ └── assets │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ └── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ └── favicon.ico │ │ ├── full_engine_test.rb │ │ ├── integration │ │ └── navigation_test.rb │ │ └── test_helper.rb ├── full_mountable_engine.tree ├── full_mountable_engine │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.lock │ ├── MIT-LICENSE │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── full_mountable_engine │ │ │ │ │ └── .keep │ │ │ ├── javascripts │ │ │ │ └── full_mountable_engine │ │ │ │ │ └── application.js │ │ │ └── stylesheets │ │ │ │ └── full_mountable_engine │ │ │ │ └── application.css │ │ ├── controllers │ │ │ └── full_mountable_engine │ │ │ │ └── application_controller.rb │ │ ├── helpers │ │ │ └── full_mountable_engine │ │ │ │ └── application_helper.rb │ │ └── views │ │ │ └── layouts │ │ │ └── full_mountable_engine │ │ │ └── application.html.erb │ ├── bin │ │ └── rails │ ├── config │ │ └── routes.rb │ ├── full_mountable_engine.gemspec │ ├── lib │ │ ├── full_mountable_engine.rb │ │ ├── full_mountable_engine │ │ │ ├── engine.rb │ │ │ └── version.rb │ │ └── tasks │ │ │ └── full_mountable_engine_tasks.rake │ └── test │ │ ├── dummy │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ ├── helpers │ │ │ │ └── application_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── assets.rb │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── lib │ │ │ └── assets │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ └── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ └── favicon.ico │ │ ├── full_mountable_engine_test.rb │ │ ├── integration │ │ └── navigation_test.rb │ │ └── test_helper.rb ├── mountable_engine.tree ├── mountable_engine │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.lock │ ├── MIT-LICENSE │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── mountable_engine │ │ │ │ │ └── .keep │ │ │ ├── javascripts │ │ │ │ └── mountable_engine │ │ │ │ │ ├── application.js │ │ │ │ │ └── users.js │ │ │ └── stylesheets │ │ │ │ ├── mountable_engine │ │ │ │ ├── application.css │ │ │ │ └── users.css │ │ │ │ └── scaffold.css │ │ ├── controllers │ │ │ └── mountable_engine │ │ │ │ ├── application_controller.rb │ │ │ │ └── users_controller.rb │ │ ├── helpers │ │ │ └── mountable_engine │ │ │ │ ├── application_helper.rb │ │ │ │ └── users_helper.rb │ │ ├── models │ │ │ └── mountable_engine │ │ │ │ └── user.rb │ │ └── views │ │ │ ├── layouts │ │ │ └── mountable_engine │ │ │ │ └── application.html.erb │ │ │ └── mountable_engine │ │ │ └── users │ │ │ ├── _form.html.erb │ │ │ ├── edit.html.erb │ │ │ ├── index.html.erb │ │ │ ├── new.html.erb │ │ │ └── show.html.erb │ ├── bin │ │ └── rails │ ├── config │ │ └── routes.rb │ ├── db │ │ └── migrate │ │ │ └── 20150102182901_create_mountable_engine_users.rb │ ├── lib │ │ ├── mountable_engine.rb │ │ ├── mountable_engine │ │ │ ├── engine.rb │ │ │ └── version.rb │ │ └── tasks │ │ │ └── mountable_engine_tasks.rake │ ├── mountable_engine.gemspec │ └── test │ │ ├── controllers │ │ └── mountable_engine │ │ │ └── users_controller_test.rb │ │ ├── dummy │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ ├── helpers │ │ │ │ └── application_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── assets.rb │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── lib │ │ │ └── assets │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ └── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ └── favicon.ico │ │ ├── fixtures │ │ └── mountable_engine │ │ │ └── users.yml │ │ ├── helpers │ │ └── mountable_engine │ │ │ └── users_helper_test.rb │ │ ├── integration │ │ └── navigation_test.rb │ │ ├── models │ │ └── mountable_engine │ │ │ └── user_test.rb │ │ ├── mountable_engine_test.rb │ │ └── test_helper.rb ├── plain_plugin.tree ├── plain_plugin │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.lock │ ├── MIT-LICENSE │ ├── README.rdoc │ ├── Rakefile │ ├── lib │ │ ├── plain_plugin.rb │ │ ├── plain_plugin │ │ │ └── version.rb │ │ └── tasks │ │ │ └── plain_plugin_tasks.rake │ ├── plain_plugin.gemspec │ └── test │ │ ├── dummy │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ ├── helpers │ │ │ │ └── application_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── assets.rb │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── lib │ │ │ └── assets │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ └── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ └── favicon.ico │ │ ├── plain_plugin_test.rb │ │ └── test_helper.rb ├── plain_plugin_rspec │ ├── .gitignore │ ├── .rspec │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── MIT-LICENSE │ ├── README.rdoc │ ├── Rakefile │ ├── lib │ │ ├── plain_plugin_rspec.rb │ │ ├── plain_plugin_rspec │ │ │ └── version.rb │ │ └── tasks │ │ │ └── plain_plugin_rspec_tasks.rake │ ├── plain_plugin_rspec.gemspec │ └── spec │ │ ├── dummy │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ ├── helpers │ │ │ │ └── application_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── assets.rb │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── lib │ │ │ └── assets │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ └── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ └── favicon.ico │ │ └── spec_helper.rb ├── rails_plugin_new.txt ├── rake_app_routes.txt └── rake_t.txt ├── c2s04 ├── 00_sportsball.sh ├── 01_dev_work.sh ├── app_migrations.tree ├── engine_migrations.tree └── sportsball │ ├── .gitignore │ ├── .rake_tasks~ │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── components │ └── app_component │ │ ├── .gitignore │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── app_component │ │ │ │ │ └── .keep │ │ │ ├── javascripts │ │ │ │ └── app_component │ │ │ │ │ ├── application.js │ │ │ │ │ ├── games.js │ │ │ │ │ ├── teams.js │ │ │ │ │ └── welcome.js │ │ │ └── stylesheets │ │ │ │ ├── app_component │ │ │ │ ├── application.css │ │ │ │ ├── games.css │ │ │ │ ├── teams.css │ │ │ │ └── welcome.css │ │ │ │ └── scaffold.css │ │ ├── controllers │ │ │ └── app_component │ │ │ │ ├── application_controller.rb │ │ │ │ ├── games_controller.rb │ │ │ │ ├── teams_controller.rb │ │ │ │ └── welcome_controller.rb │ │ ├── helpers │ │ │ └── app_component │ │ │ │ ├── application_helper.rb │ │ │ │ ├── games_helper.rb │ │ │ │ ├── teams_helper.rb │ │ │ │ └── welcome_helper.rb │ │ ├── models │ │ │ └── app_component │ │ │ │ ├── game.rb │ │ │ │ └── team.rb │ │ └── views │ │ │ ├── app_component │ │ │ ├── games │ │ │ │ ├── _form.html.erb │ │ │ │ ├── edit.html.erb │ │ │ │ ├── index.html.erb │ │ │ │ ├── new.html.erb │ │ │ │ └── show.html.erb │ │ │ ├── teams │ │ │ │ ├── _form.html.erb │ │ │ │ ├── edit.html.erb │ │ │ │ ├── index.html.erb │ │ │ │ ├── new.html.erb │ │ │ │ └── show.html.erb │ │ │ └── welcome │ │ │ │ └── index.html.erb │ │ │ └── layouts │ │ │ └── app_component │ │ │ └── application.html.erb │ │ ├── app_component.gemspec │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── db │ │ └── migrate │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ └── 20150110184219_create_app_component_games.rb │ │ ├── lib │ │ ├── app_component.rb │ │ ├── app_component │ │ │ ├── engine.rb │ │ │ └── version.rb │ │ └── tasks │ │ │ └── app_component_tasks.rake │ │ └── test │ │ ├── app_test.rb │ │ ├── controllers │ │ └── app_component │ │ │ ├── games_controller_test.rb │ │ │ ├── teams_controller_test.rb │ │ │ └── welcome_controller_test.rb │ │ ├── dummy │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ ├── helpers │ │ │ │ └── application_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── assets.rb │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── db │ │ │ └── schema.rb │ │ ├── lib │ │ │ └── assets │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ └── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ └── favicon.ico │ │ ├── fixtures │ │ └── app_component │ │ │ ├── games.yml │ │ │ └── teams.yml │ │ ├── helpers │ │ └── app_component │ │ │ ├── games_helper_test.rb │ │ │ ├── teams_helper_test.rb │ │ │ └── welcome_helper_test.rb │ │ ├── integration │ │ └── navigation_test.rb │ │ ├── models │ │ └── app_component │ │ │ ├── game_test.rb │ │ │ └── team_test.rb │ │ └── test_helper.rb │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── lib │ ├── assets │ │ └── .keep │ └── tasks │ │ └── .keep │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── test │ ├── controllers │ │ └── .keep │ ├── fixtures │ │ └── .keep │ ├── helpers │ │ └── .keep │ ├── integration │ │ └── .keep │ ├── mailers │ │ └── .keep │ ├── models │ │ └── .keep │ └── test_helper.rb │ └── vendor │ └── assets │ ├── javascripts │ └── .keep │ └── stylesheets │ └── .keep ├── c2s05 ├── 00_sportsball.sh ├── 01_dev_work.sh ├── app_migrations.tree ├── engine_migrations.tree └── sportsball │ ├── .gitignore │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── components │ └── app_component │ │ ├── .gitignore │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── app_component │ │ │ │ │ └── .keep │ │ │ ├── javascripts │ │ │ │ └── app_component │ │ │ │ │ ├── application.js │ │ │ │ │ ├── games.js │ │ │ │ │ ├── teams.js │ │ │ │ │ └── welcome.js │ │ │ └── stylesheets │ │ │ │ ├── app_component │ │ │ │ ├── application.css │ │ │ │ ├── games.css │ │ │ │ ├── teams.css │ │ │ │ └── welcome.css │ │ │ │ └── scaffold.css │ │ ├── controllers │ │ │ └── app_component │ │ │ │ ├── application_controller.rb │ │ │ │ ├── games_controller.rb │ │ │ │ ├── teams_controller.rb │ │ │ │ └── welcome_controller.rb │ │ ├── helpers │ │ │ └── app_component │ │ │ │ ├── application_helper.rb │ │ │ │ ├── games_helper.rb │ │ │ │ ├── teams_helper.rb │ │ │ │ └── welcome_helper.rb │ │ ├── models │ │ │ └── app_component │ │ │ │ ├── game.rb │ │ │ │ └── team.rb │ │ └── views │ │ │ ├── app_component │ │ │ ├── games │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ │ ├── teams │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ │ └── welcome │ │ │ │ └── index.html.slim │ │ │ └── layouts │ │ │ └── app_component │ │ │ └── application.html.erb │ │ ├── app_component.gemspec │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── db │ │ └── migrate │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ └── 20150110184219_create_app_component_games.rb │ │ ├── lib │ │ ├── app_component.rb │ │ ├── app_component │ │ │ ├── engine.rb │ │ │ └── version.rb │ │ └── tasks │ │ │ └── app_component_tasks.rake │ │ ├── spec │ │ ├── controllers │ │ │ └── app_component │ │ │ │ ├── games_controller_spec.rb │ │ │ │ ├── teams_controller_spec.rb │ │ │ │ └── welcome_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── helpers │ │ │ └── app_component │ │ │ │ ├── games_helper_spec.rb │ │ │ │ ├── teams_helper_spec.rb │ │ │ │ └── welcome_helper_spec.rb │ │ ├── models │ │ │ └── app_component │ │ │ │ ├── game_spec.rb │ │ │ │ └── team_spec.rb │ │ ├── routing │ │ │ └── app_component │ │ │ │ ├── games_routing_spec.rb │ │ │ │ └── teams_routing_spec.rb │ │ ├── spec_helper.rb │ │ └── views │ │ │ └── app_component │ │ │ ├── games │ │ │ ├── edit.html.slim_spec.rb │ │ │ ├── index.html.slim_spec.rb │ │ │ ├── new.html.slim_spec.rb │ │ │ └── show.html.slim_spec.rb │ │ │ ├── teams │ │ │ ├── edit.html.slim_spec.rb │ │ │ ├── index.html.slim_spec.rb │ │ │ ├── new.html.slim_spec.rb │ │ │ └── show.html.slim_spec.rb │ │ │ └── welcome │ │ │ └── index.html.slim_spec.rb │ │ └── test │ │ └── integration │ │ └── app │ │ ├── game_test.rb │ │ └── team_test.rb │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── lib │ ├── assets │ │ └── .keep │ └── tasks │ │ └── .keep │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── test │ ├── controllers │ │ └── .keep │ ├── fixtures │ │ └── .keep │ ├── helpers │ │ └── .keep │ ├── integration │ │ └── .keep │ ├── mailers │ │ └── .keep │ ├── models │ │ └── .keep │ └── test_helper.rb │ └── vendor │ └── assets │ ├── javascripts │ └── .keep │ └── stylesheets │ └── .keep ├── c2s06 ├── 00_analysis.sh ├── sportsball │ ├── .gitignore │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── bin │ │ ├── bundle │ │ ├── rails │ │ ├── rake │ │ └── spring │ ├── build.sh │ ├── components │ │ └── app_component │ │ │ ├── .gitignore │ │ │ ├── .rspec │ │ │ ├── Gemfile │ │ │ ├── Gemfile.lock │ │ │ ├── MIT-LICENSE │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ ├── games_controller.rb │ │ │ │ │ ├── predictions_controller.rb │ │ │ │ │ ├── teams_controller.rb │ │ │ │ │ └── welcomes_controller.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game.rb │ │ │ │ │ ├── prediction.rb │ │ │ │ │ ├── predictor.rb │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ ├── app_component │ │ │ │ ├── games │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ ├── new.html.slim │ │ │ │ │ └── show.html.slim │ │ │ │ ├── predictions │ │ │ │ │ ├── create.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ ├── teams │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ └── welcomes │ │ │ │ │ └── show.html.slim │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ │ ├── app_component.gemspec │ │ │ ├── bin │ │ │ └── rails │ │ │ ├── config │ │ │ └── routes.rb │ │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150110184219_create_app_component_games.rb │ │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ ├── engine.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── games_controller_spec.rb │ │ │ │ │ ├── predictions_controller_spec.rb │ │ │ │ │ ├── teams_controller_spec.rb │ │ │ │ │ └── welcomes_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game_spec.rb │ │ │ │ │ ├── predictor_spec.rb │ │ │ │ │ └── team_spec.rb │ │ │ ├── routing │ │ │ │ └── app_component │ │ │ │ │ ├── games_routing_spec.rb │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ ├── object_creation_methods.rb │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── app_component │ │ │ │ └── app │ │ │ │ ├── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ │ ├── test.sh │ │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ ├── config.ru │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── initializers │ │ │ ├── assets.rb │ │ │ ├── backtrace_silencers.rb │ │ │ ├── cookies_serializer.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ ├── inflections.rb │ │ │ ├── mime_types.rb │ │ │ ├── session_store.rb │ │ │ └── wrap_parameters.rb │ │ ├── locales │ │ │ └── en.yml │ │ ├── routes.rb │ │ └── secrets.yml │ ├── db │ │ ├── schema.rb │ │ └── seeds.rb │ ├── fix_app.sh │ ├── log │ │ └── .keep │ ├── public │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── favicon.ico │ │ └── robots.txt │ ├── spec │ │ ├── features │ │ │ └── app_spec.rb │ │ └── spec_helper.rb │ └── test.sh └── vendor.tree ├── c2s09 └── sportsball │ ├── .gitignore │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── build.sh │ ├── components │ └── app_component │ │ ├── .gitignore │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── app_component │ │ │ │ │ └── logo.png │ │ │ ├── javascripts │ │ │ │ └── app_component │ │ │ │ │ └── application.js │ │ │ └── stylesheets │ │ │ │ └── app_component │ │ │ │ └── application.css │ │ ├── controllers │ │ │ └── app_component │ │ │ │ ├── application_controller.rb │ │ │ │ ├── games_controller.rb │ │ │ │ ├── predictions_controller.rb │ │ │ │ ├── teams_controller.rb │ │ │ │ └── welcomes_controller.rb │ │ ├── helpers │ │ │ └── app_component │ │ │ │ ├── application_helper.rb │ │ │ │ └── predictions_helper.rb │ │ ├── models │ │ │ └── app_component │ │ │ │ ├── game.rb │ │ │ │ ├── prediction.rb │ │ │ │ ├── predictor.rb │ │ │ │ └── team.rb │ │ └── views │ │ │ ├── app_component │ │ │ ├── games │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ │ ├── predictions │ │ │ │ ├── create.html.slim │ │ │ │ └── new.html.slim │ │ │ ├── teams │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ └── new.html.slim │ │ │ └── welcomes │ │ │ │ └── show.html.slim │ │ │ └── layouts │ │ │ └── app_component │ │ │ └── application.html.slim │ │ ├── app_component.gemspec │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── db │ │ └── migrate │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ └── 20150110184219_create_app_component_games.rb │ │ ├── lib │ │ ├── app_component.rb │ │ ├── app_component │ │ │ ├── engine.rb │ │ │ └── version.rb │ │ └── tasks │ │ │ └── app_component_tasks.rake │ │ ├── spec │ │ ├── controllers │ │ │ └── app_component │ │ │ │ ├── games_controller_spec.rb │ │ │ │ ├── predictions_controller_spec.rb │ │ │ │ ├── teams_controller_spec.rb │ │ │ │ └── welcomes_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── features │ │ │ └── predictions_spec.rb │ │ ├── helpers │ │ │ └── app_component │ │ │ │ └── predictions_helper_spec.rb │ │ ├── models │ │ │ └── app_component │ │ │ │ ├── game_spec.rb │ │ │ │ ├── predictor_spec.rb │ │ │ │ └── team_spec.rb │ │ ├── routing │ │ │ └── app_component │ │ │ │ ├── games_routing_spec.rb │ │ │ │ └── teams_routing_spec.rb │ │ ├── spec_helper.rb │ │ ├── support │ │ │ ├── object_creation_methods.rb │ │ │ └── view_spec_fixes.rb │ │ └── views │ │ │ └── app_component │ │ │ └── app │ │ │ ├── games │ │ │ ├── edit.html.slim_spec.rb │ │ │ ├── index.html.slim_spec.rb │ │ │ ├── new.html.slim_spec.rb │ │ │ └── show.html.slim_spec.rb │ │ │ └── teams │ │ │ ├── edit.html.slim_spec.rb │ │ │ ├── index.html.slim_spec.rb │ │ │ └── new.html.slim_spec.rb │ │ ├── test.sh │ │ └── vendor │ │ └── assets │ │ ├── javascripts │ │ └── app_component │ │ │ ├── fastclick.js │ │ │ ├── foundation.min.js │ │ │ ├── jquery.cookie.js │ │ │ ├── modernizr.js │ │ │ └── placeholder.js │ │ └── stylesheets │ │ └── app_component │ │ ├── foundation.min.css │ │ └── normalize.css │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── fix_app.sh │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_spec.rb │ └── spec_helper.rb │ └── test.sh ├── c2s11 ├── sportsball │ ├── .gitignore │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── bin │ │ ├── bundle │ │ ├── rails │ │ ├── rake │ │ └── spring │ ├── build.sh │ ├── components │ │ └── app_component │ │ │ ├── .gitignore │ │ │ ├── .rspec │ │ │ ├── Gemfile │ │ │ ├── Gemfile.lock │ │ │ ├── MIT-LICENSE │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ ├── games_controller.rb │ │ │ │ │ ├── predictions_controller.rb │ │ │ │ │ ├── teams_controller.rb │ │ │ │ │ └── welcomes_controller.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game.rb │ │ │ │ │ ├── prediction.rb │ │ │ │ │ ├── predictor.rb │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ ├── app_component │ │ │ │ ├── games │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ ├── new.html.slim │ │ │ │ │ └── show.html.slim │ │ │ │ ├── predictions │ │ │ │ │ ├── create.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ ├── teams │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ └── welcomes │ │ │ │ │ └── show.html.slim │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ │ ├── app_component.gemspec │ │ │ ├── bin │ │ │ └── rails │ │ │ ├── config │ │ │ └── routes.rb │ │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150110184219_create_app_component_games.rb │ │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ ├── engine.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── games_controller_spec.rb │ │ │ │ │ ├── predictions_controller_spec.rb │ │ │ │ │ ├── teams_controller_spec.rb │ │ │ │ │ └── welcomes_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game_spec.rb │ │ │ │ │ ├── predictor_spec.rb │ │ │ │ │ └── team_spec.rb │ │ │ ├── routing │ │ │ │ └── app_component │ │ │ │ │ ├── games_routing_spec.rb │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ ├── object_creation_methods.rb │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── app_component │ │ │ │ └── app │ │ │ │ ├── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ │ ├── test.sh │ │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ ├── config.ru │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── initializers │ │ │ ├── assets.rb │ │ │ ├── backtrace_silencers.rb │ │ │ ├── cookies_serializer.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ ├── inflections.rb │ │ │ ├── mime_types.rb │ │ │ ├── session_store.rb │ │ │ └── wrap_parameters.rb │ │ ├── locales │ │ │ └── en.yml │ │ ├── routes.rb │ │ └── secrets.yml │ ├── db │ │ ├── schema.rb │ │ └── seeds.rb │ ├── fix_app.sh │ ├── log │ │ └── .keep │ ├── public │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── favicon.ico │ │ └── robots.txt │ ├── spec │ │ ├── features │ │ │ └── app_spec.rb │ │ └── spec_helper.rb │ └── test.sh └── sportsball_version_gem │ ├── .gitignore │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── bue_gemfile.sh │ ├── build.sh │ ├── components │ ├── app_component │ │ ├── .gitignore │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ ├── games_controller.rb │ │ │ │ │ ├── predictions_controller.rb │ │ │ │ │ ├── teams_controller.rb │ │ │ │ │ └── welcomes_controller.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game.rb │ │ │ │ │ ├── prediction.rb │ │ │ │ │ ├── predictor.rb │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ ├── app_component │ │ │ │ ├── games │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ ├── new.html.slim │ │ │ │ │ └── show.html.slim │ │ │ │ ├── predictions │ │ │ │ │ ├── create.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ ├── teams │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ └── welcomes │ │ │ │ │ └── show.html.slim │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ ├── app_component.gemspec │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150110184219_create_app_component_games.rb │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ ├── engine.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── games_controller_spec.rb │ │ │ │ │ ├── predictions_controller_spec.rb │ │ │ │ │ ├── teams_controller_spec.rb │ │ │ │ │ └── welcomes_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game_spec.rb │ │ │ │ │ ├── predictor_spec.rb │ │ │ │ │ └── team_spec.rb │ │ │ ├── routing │ │ │ │ └── app_component │ │ │ │ │ ├── games_routing_spec.rb │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ ├── object_creation_methods.rb │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── app_component │ │ │ │ └── app │ │ │ │ ├── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ ├── test.sh │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ └── rails_version │ │ └── rails_version.gemspec │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── fix_app.sh │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_spec.rb │ └── spec_helper.rb │ └── test.sh ├── c2s12 ├── 00_analysis.sh ├── rails_structure.tree ├── sportsball │ ├── .gitignore │ ├── .travis.yml │ ├── components │ │ └── app_component │ │ │ ├── .gitignore │ │ │ ├── .rspec │ │ │ ├── Gemfile │ │ │ ├── Gemfile.lock │ │ │ ├── MIT-LICENSE │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ ├── games_controller.rb │ │ │ │ │ ├── predictions_controller.rb │ │ │ │ │ ├── teams_controller.rb │ │ │ │ │ └── welcomes_controller.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game.rb │ │ │ │ │ ├── prediction.rb │ │ │ │ │ ├── predictor.rb │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ ├── app_component │ │ │ │ ├── games │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ ├── new.html.slim │ │ │ │ │ └── show.html.slim │ │ │ │ ├── predictions │ │ │ │ │ ├── create.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ ├── teams │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ └── welcomes │ │ │ │ │ └── show.html.slim │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ │ ├── app_component.gemspec │ │ │ ├── bin │ │ │ └── rails │ │ │ ├── config │ │ │ └── routes.rb │ │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150110184219_create_app_component_games.rb │ │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ ├── engine.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── games_controller_spec.rb │ │ │ │ │ ├── predictions_controller_spec.rb │ │ │ │ │ ├── teams_controller_spec.rb │ │ │ │ │ └── welcomes_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game_spec.rb │ │ │ │ │ ├── predictor_spec.rb │ │ │ │ │ └── team_spec.rb │ │ │ ├── routing │ │ │ │ └── app_component │ │ │ │ │ ├── games_routing_spec.rb │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ ├── object_creation_methods.rb │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── app_component │ │ │ │ └── app │ │ │ │ ├── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ │ ├── test.sh │ │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ ├── deploy_to_cloudfoundry.sh │ ├── deploy_to_heroku.sh │ ├── manifest.yml │ ├── prepare_deploy_directory.sh │ └── web_container │ │ ├── .bundle │ │ └── config │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.bac │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── bin │ │ ├── bundle │ │ ├── rails │ │ ├── rake │ │ └── spring │ │ ├── build.sh │ │ ├── config.ru │ │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── initializers │ │ │ ├── assets.rb │ │ │ ├── backtrace_silencers.rb │ │ │ ├── cookies_serializer.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ ├── inflections.rb │ │ │ ├── mime_types.rb │ │ │ ├── session_store.rb │ │ │ └── wrap_parameters.rb │ │ ├── locales │ │ │ └── en.yml │ │ ├── routes.rb │ │ └── secrets.yml │ │ ├── db │ │ ├── schema.rb │ │ └── seeds.rb │ │ ├── log │ │ └── .keep │ │ ├── public │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── favicon.ico │ │ └── robots.txt │ │ ├── rails_server.sh │ │ ├── spec │ │ ├── features │ │ │ └── app_spec.rb │ │ └── spec_helper.rb │ │ └── test.sh └── structure.tree ├── c3s01 └── Complexities.xlsx ├── c3s02 ├── 00_analysis.sh ├── old_app_component_app.tree └── predictor_structure.tree ├── c3s03 ├── 00_analysis.sh ├── old_app_app.tree ├── predictor_structure.tree └── sportsball │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── build.sh │ ├── components │ ├── app_component │ │ ├── .gitignore │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ ├── games_controller.rb │ │ │ │ │ ├── predictions_controller.rb │ │ │ │ │ ├── teams_controller.rb │ │ │ │ │ └── welcomes_controller.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game.rb │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ ├── app_component │ │ │ │ ├── games │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ ├── new.html.slim │ │ │ │ │ └── show.html.slim │ │ │ │ ├── predictions │ │ │ │ │ ├── create.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ ├── teams │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ └── welcomes │ │ │ │ │ └── show.html.slim │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ ├── app_component.gemspec │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150110184219_create_app_component_games.rb │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ ├── engine.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── games_controller_spec.rb │ │ │ │ │ ├── predictions_controller_spec.rb │ │ │ │ │ ├── teams_controller_spec.rb │ │ │ │ │ └── welcomes_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game_spec.rb │ │ │ │ │ └── team_spec.rb │ │ │ ├── routing │ │ │ │ └── app_component │ │ │ │ │ ├── games_routing_spec.rb │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ ├── object_creation_methods.rb │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── app_component │ │ │ │ └── app │ │ │ │ ├── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ ├── test.sh │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ └── predictor │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── Rakefile │ │ ├── lib │ │ ├── predictor.rb │ │ └── predictor │ │ │ ├── prediction.rb │ │ │ ├── predictor.rb │ │ │ └── version.rb │ │ ├── predictor.gemspec │ │ ├── spec │ │ ├── predictor_spec.rb │ │ └── spec_helper.rb │ │ └── test.sh │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_component_spec.rb │ └── spec_helper.rb │ └── test.sh ├── c3s05 ├── 00_refactor_generate_and_move.sh └── sportsball │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── build.sh │ ├── components │ ├── app_component │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ ├── predictions_controller.rb │ │ │ │ │ ├── teams_controller.rb │ │ │ │ │ └── welcomes_controller.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game.rb │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ ├── app_component │ │ │ │ ├── predictions │ │ │ │ │ ├── create.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ ├── teams │ │ │ │ │ ├── _form.html.slim │ │ │ │ │ ├── edit.html.slim │ │ │ │ │ ├── index.html.slim │ │ │ │ │ └── new.html.slim │ │ │ │ └── welcomes │ │ │ │ │ └── show.html.slim │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ ├── app_component.gemspec │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150110184219_create_app_component_games.rb │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ ├── engine.rb │ │ │ │ └── test_helpers.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app_component │ │ │ │ │ ├── predictions_controller_spec.rb │ │ │ │ │ ├── teams_controller_spec.rb │ │ │ │ │ └── welcomes_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ ├── predictions_spec.rb │ │ │ │ └── teams_spec.rb │ │ │ ├── helpers │ │ │ │ └── app_component │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game_spec.rb │ │ │ │ │ └── team_spec.rb │ │ │ ├── routing │ │ │ │ └── app_component │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ ├── object_creation_methods.rb │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── app_component │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ ├── test.sh │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ ├── games_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── games_controller.rb │ │ │ ├── helpers │ │ │ │ └── games_admin │ │ │ │ │ └── application_helper.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── games_admin.gemspec │ │ ├── lib │ │ │ ├── games_admin.rb │ │ │ ├── games_admin │ │ │ │ ├── engine.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── games_admin_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ └── games_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── games_spec.rb │ │ │ ├── routing │ │ │ │ └── games_admin │ │ │ │ │ └── games_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ └── test.sh │ └── predictor │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── Rakefile │ │ ├── lib │ │ ├── predictor.rb │ │ └── predictor │ │ │ ├── prediction.rb │ │ │ ├── predictor.rb │ │ │ └── version.rb │ │ ├── predictor.gemspec │ │ ├── spec │ │ ├── predictor_spec.rb │ │ └── spec_helper.rb │ │ └── test.sh │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_spec.rb │ └── spec_helper.rb │ └── test.sh ├── c3s05_finished ├── 00_refactor_generate_and_move.sh └── sportsball │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── build.sh │ ├── components │ ├── app_component │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game.rb │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ ├── app_component.gemspec │ │ ├── bin │ │ │ └── rails │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150110184219_create_app_component_games.rb │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ ├── engine.rb │ │ │ │ └── test_helpers.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ ├── game_spec.rb │ │ │ │ │ └── team_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ ├── object_creation_methods.rb │ │ │ │ └── view_spec_fixes.rb │ │ ├── test.sh │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ ├── games_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── games_controller.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── games_admin.gemspec │ │ ├── lib │ │ │ ├── games_admin.rb │ │ │ ├── games_admin │ │ │ │ └── engine.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ └── games_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── games_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── games_admin │ │ │ │ │ └── games_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ └── test.sh │ ├── predictor │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── predictor.rb │ │ │ └── predictor │ │ │ │ ├── prediction.rb │ │ │ │ ├── predictor.rb │ │ │ │ └── version.rb │ │ ├── predictor.gemspec │ │ ├── spec │ │ │ ├── predictor_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── predictor_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── predictions_controller.rb │ │ │ ├── helpers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ └── views │ │ │ │ └── predictor_ui │ │ │ │ └── predictions │ │ │ │ ├── create.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── predictor_ui.rb │ │ │ ├── predictor_ui │ │ │ │ └── engine.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── predictor_ui.gemspec │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── predictions_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── teams_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── teams_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── teams_controller.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── app_tasks.rake │ │ │ ├── teams_admin.rb │ │ │ └── teams_admin │ │ │ │ └── engine.rb │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── teams_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── teams_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── teams_admin │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ ├── teams_admin.gemspec │ │ └── test.sh │ └── welcome_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── controllers │ │ │ └── welcome_ui │ │ │ │ ├── application_controller.rb │ │ │ │ └── welcomes_controller.rb │ │ └── views │ │ │ └── welcome_ui │ │ │ └── welcomes │ │ │ └── show.html.slim │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── lib │ │ ├── tasks │ │ │ └── app_tasks.rake │ │ ├── welcome_ui.rb │ │ └── welcome_ui │ │ │ └── engine.rb │ │ ├── spec │ │ ├── controllers │ │ │ └── welcomes_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ └── spec_helper.rb │ │ ├── test.sh │ │ └── welcome_ui.gemspec │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_spec.rb │ └── spec_helper.rb │ └── test.sh ├── c3s06 ├── 00_refactor_generate_and_move.sh └── sportsball │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── build.sh │ ├── components │ ├── app_component │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ └── game.rb │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ ├── app_component.gemspec │ │ ├── bin │ │ │ └── rails │ │ ├── db │ │ │ └── migrate │ │ │ │ └── 20150110184219_create_app_component_games.rb │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ ├── engine.rb │ │ │ │ └── test_helpers.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── app_component │ │ │ │ │ └── game_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ ├── object_creation_methods.rb │ │ │ │ └── view_spec_fixes.rb │ │ ├── test.sh │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ ├── games_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── games_controller.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── games_admin.gemspec │ │ ├── lib │ │ │ ├── games_admin.rb │ │ │ ├── games_admin │ │ │ │ ├── engine.rb │ │ │ │ └── test_helpers.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ └── games_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── games_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── games_admin │ │ │ │ │ └── games_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ └── test.sh │ ├── predictor │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── predictor.rb │ │ │ └── predictor │ │ │ │ ├── prediction.rb │ │ │ │ ├── predictor.rb │ │ │ │ └── version.rb │ │ ├── predictor.gemspec │ │ ├── spec │ │ │ ├── predictor_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── predictor_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── predictions_controller.rb │ │ │ ├── helpers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ └── views │ │ │ │ └── predictor_ui │ │ │ │ └── predictions │ │ │ │ ├── create.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── predictor_ui.rb │ │ │ ├── predictor_ui │ │ │ │ └── engine.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── predictor_ui.gemspec │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── predictions_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── teams │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── teams │ │ │ │ │ │ └── .keep │ │ │ │ └── stylesheets │ │ │ │ │ └── teams │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── teams │ │ │ │ │ └── application_controller.rb │ │ │ ├── helpers │ │ │ │ └── teams │ │ │ │ │ └── application_helper.rb │ │ │ ├── models │ │ │ │ └── teams │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── teams │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150825215500_move_team_from_app_component_to_teams.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── teams_tasks.rake │ │ │ ├── teams.rb │ │ │ └── teams │ │ │ │ ├── engine.rb │ │ │ │ ├── test_helpers.rb │ │ │ │ └── version.rb │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── teams │ │ │ │ │ └── team_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── object_creation_methods.rb │ │ ├── teams.gemspec │ │ └── test.sh │ ├── teams_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── teams_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── teams_controller.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── app_tasks.rake │ │ │ ├── teams_admin.rb │ │ │ └── teams_admin │ │ │ │ └── engine.rb │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── teams_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── teams_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── teams_admin │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ ├── teams_admin.gemspec │ │ └── test.sh │ └── welcome_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── controllers │ │ │ └── welcome_ui │ │ │ │ ├── application_controller.rb │ │ │ │ └── welcomes_controller.rb │ │ └── views │ │ │ └── welcome_ui │ │ │ └── welcomes │ │ │ └── show.html.slim │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── lib │ │ ├── tasks │ │ │ └── app_tasks.rake │ │ ├── welcome_ui.rb │ │ └── welcome_ui │ │ │ └── engine.rb │ │ ├── spec │ │ ├── controllers │ │ │ └── welcomes_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ └── spec_helper.rb │ │ ├── test.sh │ │ └── welcome_ui.gemspec │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_spec.rb │ └── spec_helper.rb │ └── test.sh ├── c3s06_finished ├── 00_refactor_generate_and_move.sh └── sportsball │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── build.sh │ ├── components │ ├── app_component │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── app_component │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── app_component │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── app_component │ │ │ │ │ └── application.css │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── app_component │ │ │ │ └── application.html.slim │ │ ├── app_component.gemspec │ │ ├── bin │ │ │ └── rails │ │ ├── lib │ │ │ ├── app_component.rb │ │ │ ├── app_component │ │ │ │ └── engine.rb │ │ │ └── tasks │ │ │ │ └── app_component_tasks.rake │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── view_spec_fixes.rb │ │ ├── test.sh │ │ └── vendor │ │ │ └── assets │ │ │ ├── javascripts │ │ │ └── app_component │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── app_component │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ ├── games │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── games │ │ │ │ │ │ └── .keep │ │ │ │ └── stylesheets │ │ │ │ │ └── games │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── games │ │ │ │ │ └── application_controller.rb │ │ │ ├── helpers │ │ │ │ └── games │ │ │ │ │ └── application_helper.rb │ │ │ ├── models │ │ │ │ └── games │ │ │ │ │ └── game.rb │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── games │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110184219_create_app_component_games.rb │ │ │ │ └── 20150820071900_move_game_from_app_component_to_games.rb │ │ ├── games.gemspec │ │ ├── lib │ │ │ ├── games.rb │ │ │ ├── games │ │ │ │ ├── engine.rb │ │ │ │ ├── test_helpers.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── games_tasks.rake │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── games │ │ │ │ │ └── game_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── object_creation_methods.rb │ │ └── test.sh │ ├── games_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── games_controller.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── games_admin.gemspec │ │ ├── lib │ │ │ ├── games_admin.rb │ │ │ ├── games_admin │ │ │ │ ├── engine.rb │ │ │ │ └── test_helpers.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ └── games_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── games_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── games_admin │ │ │ │ │ └── games_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ └── test.sh │ ├── predictor │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── predictor.rb │ │ │ └── predictor │ │ │ │ ├── prediction.rb │ │ │ │ ├── predictor.rb │ │ │ │ └── version.rb │ │ ├── predictor.gemspec │ │ ├── spec │ │ │ ├── predictor_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── predictor_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── predictions_controller.rb │ │ │ ├── helpers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ └── views │ │ │ │ └── predictor_ui │ │ │ │ └── predictions │ │ │ │ ├── create.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── predictor_ui.rb │ │ │ ├── predictor_ui │ │ │ │ └── engine.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── predictor_ui.gemspec │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── predictions_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── teams │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── teams │ │ │ │ │ │ └── .keep │ │ │ │ └── stylesheets │ │ │ │ │ └── teams │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── teams │ │ │ │ │ └── application_controller.rb │ │ │ ├── helpers │ │ │ │ └── teams │ │ │ │ │ └── application_helper.rb │ │ │ ├── models │ │ │ │ └── teams │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── teams │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150825215500_move_team_from_app_component_to_teams.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── teams_tasks.rake │ │ │ ├── teams.rb │ │ │ └── teams │ │ │ │ ├── engine.rb │ │ │ │ ├── test_helpers.rb │ │ │ │ └── version.rb │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── teams │ │ │ │ │ └── team_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── object_creation_methods.rb │ │ ├── teams.gemspec │ │ └── test.sh │ ├── teams_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── teams_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── teams_controller.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── app_tasks.rake │ │ │ ├── teams_admin.rb │ │ │ └── teams_admin │ │ │ │ └── engine.rb │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── teams_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── teams_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── teams_admin │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ ├── teams_admin.gemspec │ │ └── test.sh │ └── welcome_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── controllers │ │ │ └── welcome_ui │ │ │ │ ├── application_controller.rb │ │ │ │ └── welcomes_controller.rb │ │ └── views │ │ │ └── welcome_ui │ │ │ └── welcomes │ │ │ └── show.html.slim │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── lib │ │ ├── tasks │ │ │ └── app_tasks.rake │ │ ├── welcome_ui.rb │ │ └── welcome_ui │ │ │ └── engine.rb │ │ ├── spec │ │ ├── controllers │ │ │ └── welcomes_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ └── spec_helper.rb │ │ ├── test.sh │ │ └── welcome_ui.gemspec │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_spec.rb │ └── spec_helper.rb │ └── test.sh ├── c3s07 ├── 00_refactor_generate_and_move.sh └── sportsball │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── build.sh │ ├── components │ ├── games │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── games │ │ │ │ │ │ └── .keep │ │ │ │ └── stylesheets │ │ │ │ │ └── games │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── games │ │ │ │ │ └── application_controller.rb │ │ │ ├── helpers │ │ │ │ └── games │ │ │ │ │ └── application_helper.rb │ │ │ ├── models │ │ │ │ └── games │ │ │ │ │ └── game.rb │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── games │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110184219_create_app_component_games.rb │ │ │ │ └── 20150820071900_move_game_from_app_component_to_games.rb │ │ ├── games.gemspec │ │ ├── lib │ │ │ ├── games.rb │ │ │ ├── games │ │ │ │ ├── engine.rb │ │ │ │ ├── test_helpers.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── games_tasks.rake │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── games │ │ │ │ │ └── game_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── object_creation_methods.rb │ │ └── test.sh │ ├── games_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── games_controller.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── games_admin.gemspec │ │ ├── lib │ │ │ ├── games_admin.rb │ │ │ ├── games_admin │ │ │ │ ├── engine.rb │ │ │ │ └── test_helpers.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ └── games_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── games_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── games_admin │ │ │ │ │ └── games_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ └── test.sh │ ├── predictor │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── predictor.rb │ │ │ └── predictor │ │ │ │ ├── prediction.rb │ │ │ │ ├── predictor.rb │ │ │ │ └── version.rb │ │ ├── predictor.gemspec │ │ ├── spec │ │ │ ├── predictor_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── predictor_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── predictions_controller.rb │ │ │ ├── helpers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ └── views │ │ │ │ └── predictor_ui │ │ │ │ └── predictions │ │ │ │ ├── create.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── predictor_ui.rb │ │ │ ├── predictor_ui │ │ │ │ └── engine.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── predictor_ui.gemspec │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── predictions_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── teams │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── teams │ │ │ │ │ │ └── .keep │ │ │ │ └── stylesheets │ │ │ │ │ └── teams │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ └── teams │ │ │ │ │ └── application_controller.rb │ │ │ ├── helpers │ │ │ │ └── teams │ │ │ │ │ └── application_helper.rb │ │ │ ├── models │ │ │ │ └── teams │ │ │ │ │ └── team.rb │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── teams │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150825215500_move_team_from_app_component_to_teams.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── teams_tasks.rake │ │ │ ├── teams.rb │ │ │ └── teams │ │ │ │ ├── engine.rb │ │ │ │ ├── test_helpers.rb │ │ │ │ └── version.rb │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── teams │ │ │ │ │ └── team_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── object_creation_methods.rb │ │ ├── teams.gemspec │ │ └── test.sh │ ├── teams_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── teams_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── teams_controller.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── app_tasks.rake │ │ │ ├── teams_admin.rb │ │ │ └── teams_admin │ │ │ │ └── engine.rb │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── teams_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── teams_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── teams_admin │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ ├── teams_admin.gemspec │ │ └── test.sh │ ├── web_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── web_ui │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── web_ui │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── web_ui │ │ │ │ │ └── application.css │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── web_ui │ │ │ │ └── application.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── web_ui_tasks.rake │ │ │ ├── web_ui.rb │ │ │ └── web_ui │ │ │ │ └── engine.rb │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── view_spec_fixes.rb │ │ ├── test.sh │ │ ├── vendor │ │ │ └── assets │ │ │ │ ├── javascripts │ │ │ │ └── web_ui │ │ │ │ │ ├── fastclick.js │ │ │ │ │ ├── foundation.min.js │ │ │ │ │ ├── jquery.cookie.js │ │ │ │ │ ├── modernizr.js │ │ │ │ │ └── placeholder.js │ │ │ │ └── stylesheets │ │ │ │ └── web_ui │ │ │ │ ├── foundation.min.css │ │ │ │ └── normalize.css │ │ └── web_ui.gemspec │ └── welcome_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── controllers │ │ │ └── welcome_ui │ │ │ │ ├── application_controller.rb │ │ │ │ └── welcomes_controller.rb │ │ └── views │ │ │ └── welcome_ui │ │ │ └── welcomes │ │ │ └── show.html.slim │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── lib │ │ ├── tasks │ │ │ └── app_tasks.rake │ │ ├── welcome_ui.rb │ │ └── welcome_ui │ │ │ └── engine.rb │ │ ├── spec │ │ ├── controllers │ │ │ └── welcomes_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ └── spec_helper.rb │ │ ├── test.sh │ │ └── welcome_ui.gemspec │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_spec.rb │ └── spec_helper.rb │ └── test.sh ├── c4s01 ├── extract_persistence.sh ├── r4ia_examples │ └── ticketee │ │ ├── .gitignore │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── Procfile │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── .keep │ │ │ ├── javascripts │ │ │ │ ├── admin │ │ │ │ │ ├── application.coffee │ │ │ │ │ ├── projects.coffee │ │ │ │ │ ├── states.coffee │ │ │ │ │ └── users.coffee │ │ │ │ ├── api │ │ │ │ │ └── tickets.coffee │ │ │ │ ├── application.js │ │ │ │ ├── attachments.coffee │ │ │ │ ├── comments.coffee │ │ │ │ ├── projects.coffee │ │ │ │ ├── tags.coffee │ │ │ │ └── tickets.coffee │ │ │ └── stylesheets │ │ │ │ ├── admin │ │ │ │ ├── application.scss │ │ │ │ ├── projects.scss │ │ │ │ ├── states.scss │ │ │ │ └── users.scss │ │ │ │ ├── api │ │ │ │ └── tickets.scss │ │ │ │ ├── application.css.scss │ │ │ │ ├── attachments.scss │ │ │ │ ├── comments.scss │ │ │ │ ├── projects.scss │ │ │ │ ├── responsive.scss │ │ │ │ ├── tags.scss │ │ │ │ └── tickets.scss │ │ ├── controllers │ │ │ ├── admin │ │ │ │ ├── application_controller.rb │ │ │ │ ├── projects_controller.rb │ │ │ │ ├── states_controller.rb │ │ │ │ └── users_controller.rb │ │ │ ├── api │ │ │ │ ├── application_controller.rb │ │ │ │ ├── tickets_controller.rb │ │ │ │ └── v2 │ │ │ │ │ └── tickets.rb │ │ │ ├── application_controller.rb │ │ │ ├── attachments_controller.rb │ │ │ ├── comments_controller.rb │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ ├── projects_controller.rb │ │ │ ├── tags_controller.rb │ │ │ └── tickets_controller.rb │ │ ├── helpers │ │ │ ├── admin │ │ │ │ ├── application_helper.rb │ │ │ │ ├── projects_helper.rb │ │ │ │ ├── states_helper.rb │ │ │ │ └── users_helper.rb │ │ │ ├── api │ │ │ │ └── tickets_helper.rb │ │ │ ├── application_helper.rb │ │ │ ├── attachments_helper.rb │ │ │ ├── comments_helper.rb │ │ │ ├── projects_helper.rb │ │ │ ├── tags_helper.rb │ │ │ └── tickets_helper.rb │ │ ├── mailers │ │ │ ├── .keep │ │ │ ├── application_mailer.rb │ │ │ └── comment_notifier.rb │ │ ├── models │ │ │ ├── .keep │ │ │ ├── attachment.rb │ │ │ ├── comment.rb │ │ │ ├── concerns │ │ │ │ └── .keep │ │ │ ├── project.rb │ │ │ ├── role.rb │ │ │ ├── state.rb │ │ │ ├── tag.rb │ │ │ ├── ticket.rb │ │ │ └── user.rb │ │ ├── policies │ │ │ ├── application_policy.rb │ │ │ ├── attachment_policy.rb │ │ │ ├── comment_policy.rb │ │ │ ├── project_policy.rb │ │ │ └── ticket_policy.rb │ │ ├── serializers │ │ │ └── ticket_serializer.rb │ │ ├── services │ │ │ └── comment_creator.rb │ │ ├── uploaders │ │ │ └── attachment_uploader.rb │ │ └── views │ │ │ ├── admin │ │ │ ├── application │ │ │ │ └── index.html.erb │ │ │ ├── projects │ │ │ │ ├── _form.html.erb │ │ │ │ └── new.html.erb │ │ │ ├── states │ │ │ │ ├── _form.html.erb │ │ │ │ ├── index.html.erb │ │ │ │ └── new.html.erb │ │ │ └── users │ │ │ │ ├── _form.html.erb │ │ │ │ ├── edit.html.erb │ │ │ │ ├── index.html.erb │ │ │ │ ├── new.html.erb │ │ │ │ └── show.html.erb │ │ │ ├── attachments │ │ │ ├── _form.html.erb │ │ │ └── new.html.erb │ │ │ ├── comment_notifier │ │ │ └── created.text.erb │ │ │ ├── comments │ │ │ ├── _comment.html.erb │ │ │ └── _form.html.erb │ │ │ ├── devise │ │ │ ├── confirmations │ │ │ │ └── new.html.erb │ │ │ ├── mailer │ │ │ │ ├── confirmation_instructions.html.erb │ │ │ │ ├── reset_password_instructions.html.erb │ │ │ │ └── unlock_instructions.html.erb │ │ │ ├── passwords │ │ │ │ ├── edit.html.erb │ │ │ │ └── new.html.erb │ │ │ ├── registrations │ │ │ │ ├── edit.html.erb │ │ │ │ └── new.html.erb │ │ │ ├── sessions │ │ │ │ └── new.html.erb │ │ │ ├── shared │ │ │ │ └── _links.html.erb │ │ │ └── unlocks │ │ │ │ └── new.html.erb │ │ │ ├── layouts │ │ │ ├── application.html.erb │ │ │ ├── mailer.html.erb │ │ │ └── mailer.text.erb │ │ │ ├── projects │ │ │ ├── _form.html.erb │ │ │ ├── edit.html.erb │ │ │ ├── index.html.erb │ │ │ └── show.html.erb │ │ │ ├── states │ │ │ └── _state.html.erb │ │ │ ├── tags │ │ │ ├── _form.html.erb │ │ │ └── _tag.html.erb │ │ │ └── tickets │ │ │ ├── _form.html.erb │ │ │ ├── edit.html.erb │ │ │ ├── new.html.erb │ │ │ └── show.html.erb │ │ ├── bin │ │ ├── bundle │ │ ├── rails │ │ ├── rake │ │ ├── setup │ │ └── spring │ │ ├── config.ru │ │ ├── config │ │ ├── application.rb │ │ ├── boot.rb │ │ ├── database.yml │ │ ├── environment.rb │ │ ├── environments │ │ │ ├── development.rb │ │ │ ├── production.rb │ │ │ └── test.rb │ │ ├── initializers │ │ │ ├── assets.rb │ │ │ ├── backtrace_silencers.rb │ │ │ ├── carrierwave.rb │ │ │ ├── cookies_serializer.rb │ │ │ ├── devise.rb │ │ │ ├── filter_parameter_logging.rb │ │ │ ├── inflections.rb │ │ │ ├── mime_types.rb │ │ │ ├── session_store.rb │ │ │ ├── simple_form.rb │ │ │ ├── simple_form_bootstrap.rb │ │ │ └── wrap_parameters.rb │ │ ├── locales │ │ │ ├── devise.en.yml │ │ │ ├── en.yml │ │ │ └── simple_form.en.yml │ │ ├── routes.rb │ │ └── secrets.yml │ │ ├── db │ │ ├── migrate │ │ │ ├── 20150314100956_create_projects.rb │ │ │ ├── 20150318033648_create_tickets.rb │ │ │ ├── 20150321110052_devise_create_users.rb │ │ │ ├── 20150322065031_add_author_to_tickets.rb │ │ │ ├── 20150322084252_add_admin_to_users.rb │ │ │ ├── 20150323072600_add_archived_at_to_users.rb │ │ │ ├── 20150325092856_create_roles.rb │ │ │ ├── 20150401104001_add_attachment_to_tickets.rb │ │ │ ├── 20150402090612_create_attachments.rb │ │ │ ├── 20150402090619_remove_attachment_from_tickets.rb │ │ │ ├── 20150403021520_create_comments.rb │ │ │ ├── 20150403044120_create_states.rb │ │ │ ├── 20150403070314_add_previous_state_to_comments.rb │ │ │ ├── 20150403084623_add_default_to_states.rb │ │ │ ├── 20150404113718_create_tags.rb │ │ │ ├── 20150404113820_create_join_table_tags_tickets.rb │ │ │ ├── 20150405052036_create_join_table_ticket_watchers.rb │ │ │ └── 20150406055658_add_apii_key_to_users.rb │ │ ├── schema.rb │ │ └── seeds.rb │ │ ├── lib │ │ ├── assets │ │ │ └── .keep │ │ ├── heartbeat │ │ │ ├── application.rb │ │ │ ├── config.ru │ │ │ └── test_application.rb │ │ ├── link_jumbler.rb │ │ ├── tasks │ │ │ └── .keep │ │ └── templates │ │ │ └── erb │ │ │ └── scaffold │ │ │ └── _form.html.erb │ │ ├── log │ │ └── .keep │ │ ├── public │ │ ├── 404.html │ │ ├── 422.html │ │ ├── 500.html │ │ ├── favicon.ico │ │ └── robots.txt │ │ ├── spec │ │ ├── controllers │ │ │ ├── admin │ │ │ │ ├── application_controller_spec.rb │ │ │ │ ├── projects_controller_spec.rb │ │ │ │ └── states_controller_spec.rb │ │ │ ├── api │ │ │ │ └── tickets_controller_spec.rb │ │ │ ├── attachments_controller_spec.rb │ │ │ ├── comments_controller_spec.rb │ │ │ ├── projects_controller_spec.rb │ │ │ ├── tags_controller_spec.rb │ │ │ └── tickets_controller_spec.rb │ │ ├── factories │ │ │ ├── attachment_factory.rb │ │ │ ├── comment_factory.rb │ │ │ ├── project_factory.rb │ │ │ ├── state_factory.rb │ │ │ ├── ticket_factory.rb │ │ │ └── user_factory.rb │ │ ├── features │ │ │ ├── admin │ │ │ │ ├── archiving_users_spec.rb │ │ │ │ ├── creating_projects_spec.rb │ │ │ │ ├── creating_states_spec.rb │ │ │ │ ├── creating_users_spec.rb │ │ │ │ ├── deleting_projects_spec.rb │ │ │ │ ├── editing_users_spec.rb │ │ │ │ ├── managing_roles_spec.rb │ │ │ │ └── managing_states_spec.rb │ │ │ ├── creating_comments_spec.rb │ │ │ ├── creating_tickets_spec.rb │ │ │ ├── deleting_tags_spec.rb │ │ │ ├── deleting_tickets_spec.rb │ │ │ ├── editing_projects_spec.rb │ │ │ ├── editing_tickets_spec.rb │ │ │ ├── hidden_links_spec.rb │ │ │ ├── searching_spec.rb │ │ │ ├── signing_in_spec.rb │ │ │ ├── signing_out_spec.rb │ │ │ ├── signing_up_spec.rb │ │ │ ├── ticket_notifications_spec.rb │ │ │ ├── viewing_attachments_spec.rb │ │ │ ├── viewing_projects_spec.rb │ │ │ ├── viewing_tickets_spec.rb │ │ │ └── watching_tickets_spec.rb │ │ ├── fixtures │ │ │ ├── gradient.txt │ │ │ ├── speed.txt │ │ │ └── spin.txt │ │ ├── mailers │ │ │ ├── comment_notifier_spec.rb │ │ │ └── previews │ │ │ │ └── comment_notifier_preview.rb │ │ ├── models │ │ │ ├── attachment_spec.rb │ │ │ ├── comment_spec.rb │ │ │ ├── project_spec.rb │ │ │ ├── role_spec.rb │ │ │ ├── state_spec.rb │ │ │ ├── tag_spec.rb │ │ │ ├── ticket_spec.rb │ │ │ └── user_spec.rb │ │ ├── policies │ │ │ ├── attachment_policy_spec.rb │ │ │ ├── comment_policy_spec.rb │ │ │ ├── project_policy_spec.rb │ │ │ └── ticket_policy_spec.rb │ │ ├── rails_helper.rb │ │ ├── requests │ │ │ └── api │ │ │ │ ├── tickets_spec.rb │ │ │ │ └── v2 │ │ │ │ └── tickets_spec.rb │ │ ├── spec_helper.rb │ │ └── support │ │ │ ├── authorization_helpers.rb │ │ │ ├── capybara_finders.rb │ │ │ ├── capybara_matchers.rb │ │ │ ├── database_cleaning.rb │ │ │ ├── email_spec.rb │ │ │ └── pundit_matcher.rb │ │ └── vendor │ │ └── assets │ │ ├── javascripts │ │ └── .keep │ │ └── stylesheets │ │ └── .keep └── r4ia_examples_result │ └── ticketee │ ├── .gitignore │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.lock │ ├── Procfile │ ├── README.rdoc │ ├── Rakefile │ ├── app │ ├── assets │ │ ├── images │ │ │ └── .keep │ │ ├── javascripts │ │ │ ├── admin │ │ │ │ ├── application.coffee │ │ │ │ ├── projects.coffee │ │ │ │ ├── states.coffee │ │ │ │ └── users.coffee │ │ │ ├── api │ │ │ │ └── tickets.coffee │ │ │ ├── application.js │ │ │ ├── attachments.coffee │ │ │ ├── comments.coffee │ │ │ ├── projects.coffee │ │ │ ├── tags.coffee │ │ │ └── tickets.coffee │ │ └── stylesheets │ │ │ ├── admin │ │ │ ├── application.scss │ │ │ ├── projects.scss │ │ │ ├── states.scss │ │ │ └── users.scss │ │ │ ├── api │ │ │ └── tickets.scss │ │ │ ├── application.css.scss │ │ │ ├── attachments.scss │ │ │ ├── comments.scss │ │ │ ├── projects.scss │ │ │ ├── responsive.scss │ │ │ ├── tags.scss │ │ │ └── tickets.scss │ ├── controllers │ │ ├── admin │ │ │ ├── application_controller.rb │ │ │ ├── projects_controller.rb │ │ │ ├── states_controller.rb │ │ │ └── users_controller.rb │ │ ├── api │ │ │ ├── application_controller.rb │ │ │ ├── tickets_controller.rb │ │ │ └── v2 │ │ │ │ └── tickets.rb │ │ ├── application_controller.rb │ │ ├── attachments_controller.rb │ │ ├── comments_controller.rb │ │ ├── concerns │ │ │ └── .keep │ │ ├── projects_controller.rb │ │ ├── tags_controller.rb │ │ └── tickets_controller.rb │ ├── helpers │ │ ├── admin │ │ │ ├── application_helper.rb │ │ │ ├── projects_helper.rb │ │ │ ├── states_helper.rb │ │ │ └── users_helper.rb │ │ ├── api │ │ │ └── tickets_helper.rb │ │ ├── application_helper.rb │ │ ├── attachments_helper.rb │ │ ├── comments_helper.rb │ │ ├── projects_helper.rb │ │ ├── tags_helper.rb │ │ └── tickets_helper.rb │ ├── mailers │ │ ├── .keep │ │ ├── application_mailer.rb │ │ └── comment_notifier.rb │ ├── models │ │ └── .keep │ ├── policies │ │ ├── application_policy.rb │ │ ├── attachment_policy.rb │ │ ├── comment_policy.rb │ │ ├── project_policy.rb │ │ └── ticket_policy.rb │ ├── serializers │ │ └── ticket_serializer.rb │ ├── services │ │ └── comment_creator.rb │ └── views │ │ ├── admin │ │ ├── application │ │ │ └── index.html.erb │ │ ├── projects │ │ │ ├── _form.html.erb │ │ │ └── new.html.erb │ │ ├── states │ │ │ ├── _form.html.erb │ │ │ ├── index.html.erb │ │ │ └── new.html.erb │ │ └── users │ │ │ ├── _form.html.erb │ │ │ ├── edit.html.erb │ │ │ ├── index.html.erb │ │ │ ├── new.html.erb │ │ │ └── show.html.erb │ │ ├── attachments │ │ ├── _form.html.erb │ │ └── new.html.erb │ │ ├── comment_notifier │ │ └── created.text.erb │ │ ├── comments │ │ ├── _comment.html.erb │ │ └── _form.html.erb │ │ ├── devise │ │ ├── confirmations │ │ │ └── new.html.erb │ │ ├── mailer │ │ │ ├── confirmation_instructions.html.erb │ │ │ ├── reset_password_instructions.html.erb │ │ │ └── unlock_instructions.html.erb │ │ ├── passwords │ │ │ ├── edit.html.erb │ │ │ └── new.html.erb │ │ ├── registrations │ │ │ ├── edit.html.erb │ │ │ └── new.html.erb │ │ ├── sessions │ │ │ └── new.html.erb │ │ ├── shared │ │ │ └── _links.html.erb │ │ └── unlocks │ │ │ └── new.html.erb │ │ ├── layouts │ │ ├── application.html.erb │ │ ├── mailer.html.erb │ │ └── mailer.text.erb │ │ ├── projects │ │ ├── _form.html.erb │ │ ├── edit.html.erb │ │ ├── index.html.erb │ │ └── show.html.erb │ │ ├── states │ │ └── _state.html.erb │ │ ├── tags │ │ ├── _form.html.erb │ │ └── _tag.html.erb │ │ └── tickets │ │ ├── _form.html.erb │ │ ├── edit.html.erb │ │ ├── new.html.erb │ │ └── show.html.erb │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ ├── setup │ └── spring │ ├── build.sh │ ├── components │ └── persistence │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── models │ │ │ ├── attachment.rb │ │ │ ├── comment.rb │ │ │ ├── project.rb │ │ │ ├── role.rb │ │ │ ├── state.rb │ │ │ ├── tag.rb │ │ │ ├── ticket.rb │ │ │ └── user.rb │ │ └── uploaders │ │ │ └── attachment_uploader.rb │ │ ├── bin │ │ └── rails │ │ ├── config │ │ ├── initializers │ │ │ └── devise.rb │ │ └── routes.rb │ │ ├── db │ │ └── migrate │ │ │ ├── 20150314100956_create_projects.rb │ │ │ ├── 20150318033648_create_tickets.rb │ │ │ ├── 20150321110052_devise_create_users.rb │ │ │ ├── 20150322065031_add_author_to_tickets.rb │ │ │ ├── 20150322084252_add_admin_to_users.rb │ │ │ ├── 20150323072600_add_archived_at_to_users.rb │ │ │ ├── 20150325092856_create_roles.rb │ │ │ ├── 20150401104001_add_attachment_to_tickets.rb │ │ │ ├── 20150402090612_create_attachments.rb │ │ │ ├── 20150402090619_remove_attachment_from_tickets.rb │ │ │ ├── 20150403021520_create_comments.rb │ │ │ ├── 20150403044120_create_states.rb │ │ │ ├── 20150403070314_add_previous_state_to_comments.rb │ │ │ ├── 20150403084623_add_default_to_states.rb │ │ │ ├── 20150404113718_create_tags.rb │ │ │ ├── 20150404113820_create_join_table_tags_tickets.rb │ │ │ ├── 20150405052036_create_join_table_ticket_watchers.rb │ │ │ └── 20150406055658_add_apii_key_to_users.rb │ │ ├── lib │ │ ├── persistence.rb │ │ └── persistence │ │ │ ├── engine.rb │ │ │ └── version.rb │ │ ├── persistence.gemspec │ │ ├── spec │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ ├── rake │ │ │ │ └── setup │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── models │ │ │ ├── attachment_spec.rb │ │ │ ├── comment_spec.rb │ │ │ ├── project_spec.rb │ │ │ ├── role_spec.rb │ │ │ ├── state_spec.rb │ │ │ ├── tag_spec.rb │ │ │ ├── ticket_spec.rb │ │ │ └── user_spec.rb │ │ ├── rails_helper.rb │ │ └── spec_helper.rb │ │ └── test.sh │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── carrierwave.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ ├── simple_form.rb │ │ ├── simple_form_bootstrap.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ ├── devise.en.yml │ │ ├── en.yml │ │ └── simple_form.en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── lib │ ├── assets │ │ └── .keep │ ├── heartbeat │ │ ├── application.rb │ │ ├── config.ru │ │ └── test_application.rb │ ├── link_jumbler.rb │ ├── tasks │ │ └── .keep │ └── templates │ │ └── erb │ │ └── scaffold │ │ └── _form.html.erb │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── controllers │ │ ├── admin │ │ │ ├── application_controller_spec.rb │ │ │ ├── projects_controller_spec.rb │ │ │ └── states_controller_spec.rb │ │ ├── api │ │ │ └── tickets_controller_spec.rb │ │ ├── attachments_controller_spec.rb │ │ ├── comments_controller_spec.rb │ │ ├── projects_controller_spec.rb │ │ ├── tags_controller_spec.rb │ │ └── tickets_controller_spec.rb │ ├── factories │ │ ├── attachment_factory.rb │ │ ├── comment_factory.rb │ │ ├── project_factory.rb │ │ ├── state_factory.rb │ │ ├── ticket_factory.rb │ │ └── user_factory.rb │ ├── features │ │ ├── admin │ │ │ ├── archiving_users_spec.rb │ │ │ ├── creating_projects_spec.rb │ │ │ ├── creating_states_spec.rb │ │ │ ├── creating_users_spec.rb │ │ │ ├── deleting_projects_spec.rb │ │ │ ├── editing_users_spec.rb │ │ │ ├── managing_roles_spec.rb │ │ │ └── managing_states_spec.rb │ │ ├── creating_comments_spec.rb │ │ ├── creating_tickets_spec.rb │ │ ├── deleting_tags_spec.rb │ │ ├── deleting_tickets_spec.rb │ │ ├── editing_projects_spec.rb │ │ ├── editing_tickets_spec.rb │ │ ├── hidden_links_spec.rb │ │ ├── searching_spec.rb │ │ ├── signing_in_spec.rb │ │ ├── signing_out_spec.rb │ │ ├── signing_up_spec.rb │ │ ├── ticket_notifications_spec.rb │ │ ├── viewing_attachments_spec.rb │ │ ├── viewing_projects_spec.rb │ │ ├── viewing_tickets_spec.rb │ │ └── watching_tickets_spec.rb │ ├── fixtures │ │ ├── gradient.txt │ │ ├── speed.txt │ │ └── spin.txt │ ├── mailers │ │ ├── comment_notifier_spec.rb │ │ └── previews │ │ │ └── comment_notifier_preview.rb │ ├── policies │ │ ├── attachment_policy_spec.rb │ │ ├── comment_policy_spec.rb │ │ ├── project_policy_spec.rb │ │ └── ticket_policy_spec.rb │ ├── rails_helper.rb │ ├── requests │ │ └── api │ │ │ ├── tickets_spec.rb │ │ │ └── v2 │ │ │ └── tickets_spec.rb │ ├── spec_helper.rb │ └── support │ │ ├── authorization_helpers.rb │ │ ├── capybara_finders.rb │ │ ├── capybara_matchers.rb │ │ ├── database_cleaning.rb │ │ ├── email_spec.rb │ │ └── pundit_matcher.rb │ ├── test.sh │ └── vendor │ └── assets │ ├── javascripts │ └── .keep │ └── stylesheets │ └── .keep ├── c5s01 └── sportsball │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.bac │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring │ ├── build.sh │ ├── components │ ├── games │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ └── models │ │ │ │ └── games │ │ │ │ └── game.rb │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110184219_create_app_component_games.rb │ │ │ │ └── 20150820071900_move_game_from_app_component_to_games.rb │ │ ├── games.gemspec │ │ ├── lib │ │ │ ├── games.rb │ │ │ ├── games │ │ │ │ ├── engine.rb │ │ │ │ ├── test_helpers.rb │ │ │ │ └── version.rb │ │ │ └── tasks │ │ │ │ └── games_tasks.rake │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── games │ │ │ │ │ └── game_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── object_creation_methods.rb │ │ └── test.sh │ ├── games_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── games_controller.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ ├── new.html.slim │ │ │ │ └── show.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── games_admin.gemspec │ │ ├── lib │ │ │ ├── games_admin.rb │ │ │ ├── games_admin │ │ │ │ ├── engine.rb │ │ │ │ └── test_helpers.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── games_admin │ │ │ │ │ └── games_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── games_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── games_admin │ │ │ │ │ └── games_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── games_admin │ │ │ │ └── games │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ ├── new.html.slim_spec.rb │ │ │ │ └── show.html.slim_spec.rb │ │ └── test.sh │ ├── predict_game │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── predict_game.rb │ │ │ └── predict_game │ │ │ │ └── predict_game.rb │ │ ├── predict_game.gemspec │ │ ├── spec │ │ │ ├── predict_game_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── predictor │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.md │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── predictor.rb │ │ │ └── predictor │ │ │ │ ├── prediction.rb │ │ │ │ ├── prediction_error.rb │ │ │ │ ├── predictor.rb │ │ │ │ └── version.rb │ │ ├── predictor.gemspec │ │ ├── spec │ │ │ ├── predictor_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── predictor_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── predictions_controller.rb │ │ │ ├── helpers │ │ │ │ └── predictor_ui │ │ │ │ │ ├── application_helper.rb │ │ │ │ │ └── predictions_helper.rb │ │ │ └── views │ │ │ │ └── predictor_ui │ │ │ │ └── predictions │ │ │ │ ├── create.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── predictor_ui.rb │ │ │ ├── predictor_ui │ │ │ │ └── engine.rb │ │ │ └── tasks │ │ │ │ └── app_tasks.rake │ │ ├── predictor_ui.gemspec │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── predictions_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── predictions_spec.rb │ │ │ ├── helpers │ │ │ │ └── app │ │ │ │ │ └── predictions_helper_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── publisher │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── Rakefile │ │ ├── lib │ │ │ └── publisher.rb │ │ ├── publisher.gemspec │ │ ├── spec │ │ │ ├── publisher_spec.rb │ │ │ └── spec_helper.rb │ │ └── test.sh │ ├── teams │ │ ├── .gitignore │ │ ├── .rspec │ │ ├── .travis.yml │ │ ├── Gemfile │ │ ├── README.md │ │ ├── Rakefile │ │ ├── bin │ │ │ ├── console │ │ │ └── setup │ │ ├── lib │ │ │ ├── teams.rb │ │ │ └── teams │ │ │ │ ├── team.rb │ │ │ │ └── version.rb │ │ ├── spec │ │ │ ├── spec_helper.rb │ │ │ └── teams_spec.rb │ │ ├── teams.gemspec │ │ └── test.sh │ ├── teams_admin │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── teams_admin │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── teams_controller.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── _form.html.slim │ │ │ │ ├── edit.html.slim │ │ │ │ ├── index.html.slim │ │ │ │ └── new.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── app_tasks.rake │ │ │ ├── teams_admin.rb │ │ │ └── teams_admin │ │ │ │ └── engine.rb │ │ ├── spec │ │ │ ├── controllers │ │ │ │ └── app │ │ │ │ │ └── teams_controller_spec.rb │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── features │ │ │ │ └── teams_spec.rb │ │ │ ├── nav_entry_spec.rb │ │ │ ├── routing │ │ │ │ └── teams_admin │ │ │ │ │ └── teams_routing_spec.rb │ │ │ ├── spec_helper.rb │ │ │ ├── support │ │ │ │ └── view_spec_fixes.rb │ │ │ └── views │ │ │ │ └── teams_admin │ │ │ │ └── teams │ │ │ │ ├── edit.html.slim_spec.rb │ │ │ │ ├── index.html.slim_spec.rb │ │ │ │ └── new.html.slim_spec.rb │ │ ├── teams_admin.gemspec │ │ └── test.sh │ ├── teams_store │ ├── teams_store_db │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ └── models │ │ │ │ └── teams_store │ │ │ │ └── team_repository.rb │ │ ├── bin │ │ │ └── rails │ │ ├── config │ │ │ └── routes.rb │ │ ├── db │ │ │ └── migrate │ │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ │ └── 20150825215500_move_team_from_app_component_to_teams.rb │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── teams_tasks.rake │ │ │ ├── teams_store.rb │ │ │ └── teams_store │ │ │ │ ├── engine.rb │ │ │ │ ├── test_helpers.rb │ │ │ │ └── version.rb │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ ├── log │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── models │ │ │ │ └── teams │ │ │ │ │ └── team_repository_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── object_creation_methods.rb │ │ ├── teams.gemspec │ │ └── test.sh │ ├── teams_store_mem │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── MIT-LICENSE │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── lib │ │ │ ├── teams_store.rb │ │ │ └── teams_store │ │ │ │ ├── db.rb │ │ │ │ ├── team_repository.rb │ │ │ │ └── test_helpers.rb │ │ ├── spec │ │ │ ├── models │ │ │ │ └── teams │ │ │ │ │ └── team_repository_spec.rb │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── object_creation_methods.rb │ │ ├── teams.gemspec │ │ └── test.sh │ ├── web_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── web_ui │ │ │ │ │ │ └── logo.png │ │ │ │ ├── javascripts │ │ │ │ │ └── web_ui │ │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── web_ui │ │ │ │ │ └── application.css │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── web_ui │ │ │ │ └── application.html.slim │ │ ├── bin │ │ │ └── rails │ │ ├── lib │ │ │ ├── tasks │ │ │ │ └── web_ui_tasks.rake │ │ │ ├── web_ui.rb │ │ │ └── web_ui │ │ │ │ └── engine.rb │ │ ├── spec │ │ │ ├── dummy │ │ │ │ ├── README.rdoc │ │ │ │ ├── Rakefile │ │ │ │ ├── app │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── images │ │ │ │ │ │ │ └── .keep │ │ │ │ │ │ ├── javascripts │ │ │ │ │ │ │ └── application.js │ │ │ │ │ │ └── stylesheets │ │ │ │ │ │ │ └── application.css │ │ │ │ │ ├── controllers │ │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── helpers │ │ │ │ │ │ └── application_helper.rb │ │ │ │ │ ├── mailers │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── models │ │ │ │ │ │ ├── .keep │ │ │ │ │ │ └── concerns │ │ │ │ │ │ │ └── .keep │ │ │ │ │ └── views │ │ │ │ │ │ └── layouts │ │ │ │ │ │ └── application.html.erb │ │ │ │ ├── bin │ │ │ │ │ ├── bundle │ │ │ │ │ ├── rails │ │ │ │ │ └── rake │ │ │ │ ├── config.ru │ │ │ │ ├── config │ │ │ │ │ ├── application.rb │ │ │ │ │ ├── boot.rb │ │ │ │ │ ├── database.yml │ │ │ │ │ ├── environment.rb │ │ │ │ │ ├── environments │ │ │ │ │ │ ├── development.rb │ │ │ │ │ │ ├── production.rb │ │ │ │ │ │ └── test.rb │ │ │ │ │ ├── initializers │ │ │ │ │ │ ├── assets.rb │ │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ │ ├── inflections.rb │ │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ │ ├── session_store.rb │ │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ │ ├── locales │ │ │ │ │ │ └── en.yml │ │ │ │ │ ├── routes.rb │ │ │ │ │ └── secrets.yml │ │ │ │ ├── db │ │ │ │ │ └── schema.rb │ │ │ │ ├── lib │ │ │ │ │ └── assets │ │ │ │ │ │ └── .keep │ │ │ │ └── public │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 422.html │ │ │ │ │ ├── 500.html │ │ │ │ │ └── favicon.ico │ │ │ ├── spec_helper.rb │ │ │ └── support │ │ │ │ └── view_spec_fixes.rb │ │ ├── test.sh │ │ ├── vendor │ │ │ └── assets │ │ │ │ ├── javascripts │ │ │ │ └── web_ui │ │ │ │ │ ├── fastclick.js │ │ │ │ │ ├── foundation.min.js │ │ │ │ │ ├── jquery.cookie.js │ │ │ │ │ ├── modernizr.js │ │ │ │ │ └── placeholder.js │ │ │ │ └── stylesheets │ │ │ │ └── web_ui │ │ │ │ ├── foundation.min.css │ │ │ │ └── normalize.css │ │ └── web_ui.gemspec │ └── welcome_ui │ │ ├── .rspec │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ ├── controllers │ │ │ └── welcome_ui │ │ │ │ ├── application_controller.rb │ │ │ │ └── welcomes_controller.rb │ │ └── views │ │ │ └── welcome_ui │ │ │ └── welcomes │ │ │ └── show.html.slim │ │ ├── bin │ │ └── rails │ │ ├── config │ │ └── routes.rb │ │ ├── lib │ │ ├── tasks │ │ │ └── app_tasks.rake │ │ ├── welcome_ui.rb │ │ └── welcome_ui │ │ │ └── engine.rb │ │ ├── spec │ │ ├── controllers │ │ │ └── welcomes_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ └── spec_helper.rb │ │ ├── test.sh │ │ └── welcome_ui.gemspec │ ├── config.ru │ ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml │ ├── db │ ├── schema.rb │ └── seeds.rb │ ├── log │ └── .keep │ ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt │ ├── spec │ ├── features │ │ └── app_spec.rb │ └── spec_helper.rb │ └── test.sh └── c5s02 ├── 00_refactor_generate_and_move.sh └── sportsball ├── .rspec ├── .travis.yml ├── Gemfile ├── Gemfile.bac ├── Gemfile.lock ├── README.md ├── Rakefile ├── bin ├── bundle ├── rails ├── rake └── spring ├── build.sh ├── components ├── games │ ├── .rspec │ ├── Gemfile │ ├── Gemfile.lock │ ├── MIT-LICENSE │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ └── models │ │ │ └── games │ │ │ └── game.rb │ ├── config │ │ └── routes.rb │ ├── db │ │ └── migrate │ │ │ ├── 20150110184219_create_app_component_games.rb │ │ │ └── 20150820071900_move_game_from_app_component_to_games.rb │ ├── games.gemspec │ ├── lib │ │ ├── games.rb │ │ └── games │ │ │ ├── engine.rb │ │ │ ├── test_helpers.rb │ │ │ └── version.rb │ ├── spec │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── models │ │ │ └── games │ │ │ │ └── game_spec.rb │ │ ├── spec_helper.rb │ │ └── support │ │ │ └── object_creation_methods.rb │ └── test.sh ├── games_admin │ ├── .rspec │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ ├── controllers │ │ │ └── games_admin │ │ │ │ ├── application_controller.rb │ │ │ │ └── games_controller.rb │ │ └── views │ │ │ └── games_admin │ │ │ └── games │ │ │ ├── _form.html.slim │ │ │ ├── edit.html.slim │ │ │ ├── index.html.slim │ │ │ ├── new.html.slim │ │ │ └── show.html.slim │ ├── config │ │ └── routes.rb │ ├── games_admin.gemspec │ ├── lib │ │ ├── games_admin.rb │ │ └── games_admin │ │ │ ├── engine.rb │ │ │ └── test_helpers.rb │ ├── spec │ │ ├── controllers │ │ │ └── games_admin │ │ │ │ └── games_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── features │ │ │ └── games_spec.rb │ │ ├── nav_entry_spec.rb │ │ ├── routing │ │ │ └── games_admin │ │ │ │ └── games_routing_spec.rb │ │ ├── spec_helper.rb │ │ ├── support │ │ │ └── view_spec_fixes.rb │ │ └── views │ │ │ └── games_admin │ │ │ └── games │ │ │ ├── edit.html.slim_spec.rb │ │ │ ├── index.html.slim_spec.rb │ │ │ ├── new.html.slim_spec.rb │ │ │ └── show.html.slim_spec.rb │ └── test.sh ├── predictor │ ├── .rspec │ ├── .travis.yml │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.md │ ├── Rakefile │ ├── lib │ │ ├── predictor.rb │ │ └── predictor │ │ │ ├── prediction.rb │ │ │ ├── prediction_error.rb │ │ │ ├── role │ │ │ ├── contender.rb │ │ │ ├── historical_performance_indicator.rb │ │ │ └── predictor.rb │ │ │ └── version.rb │ ├── predictor.gemspec │ ├── spec │ │ ├── predictor_spec.rb │ │ └── spec_helper.rb │ └── test.sh ├── predictor_ui │ ├── .rspec │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ ├── controllers │ │ │ └── predictor_ui │ │ │ │ ├── application_controller.rb │ │ │ │ └── predictions_controller.rb │ │ ├── helpers │ │ │ └── predictor_ui │ │ │ │ ├── application_helper.rb │ │ │ │ └── predictions_helper.rb │ │ └── views │ │ │ └── predictor_ui │ │ │ └── predictions │ │ │ ├── create.html.slim │ │ │ └── new.html.slim │ ├── config │ │ └── routes.rb │ ├── lib │ │ ├── predictor_ui.rb │ │ └── predictor_ui │ │ │ └── engine.rb │ ├── predictor_ui.gemspec │ ├── spec │ │ ├── controllers │ │ │ └── app │ │ │ │ └── predictions_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── features │ │ │ └── predictions_spec.rb │ │ ├── helpers │ │ │ └── app │ │ │ │ └── predictions_helper_spec.rb │ │ ├── nav_entry_spec.rb │ │ └── spec_helper.rb │ └── test.sh ├── teams │ ├── .rspec │ ├── Gemfile │ ├── Gemfile.lock │ ├── MIT-LICENSE │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ └── models │ │ │ └── teams │ │ │ └── team.rb │ ├── config │ │ └── routes.rb │ ├── db │ │ └── migrate │ │ │ ├── 20150110181102_create_app_component_teams.rb │ │ │ └── 20150825215500_move_team_from_app_component_to_teams.rb │ ├── lib │ │ ├── teams.rb │ │ └── teams │ │ │ ├── engine.rb │ │ │ ├── test_helpers.rb │ │ │ └── version.rb │ ├── spec │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── models │ │ │ └── teams │ │ │ │ └── team_spec.rb │ │ ├── spec_helper.rb │ │ └── support │ │ │ └── object_creation_methods.rb │ ├── teams.gemspec │ └── test.sh ├── teams_admin │ ├── .rspec │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ ├── controllers │ │ │ └── teams_admin │ │ │ │ ├── application_controller.rb │ │ │ │ └── teams_controller.rb │ │ └── views │ │ │ └── teams_admin │ │ │ └── teams │ │ │ ├── _form.html.slim │ │ │ ├── edit.html.slim │ │ │ ├── index.html.slim │ │ │ └── new.html.slim │ ├── config │ │ └── routes.rb │ ├── lib │ │ ├── teams_admin.rb │ │ └── teams_admin │ │ │ └── engine.rb │ ├── spec │ │ ├── controllers │ │ │ └── app │ │ │ │ └── teams_controller_spec.rb │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── main_nav.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ ├── log │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── features │ │ │ └── teams_spec.rb │ │ ├── nav_entry_spec.rb │ │ ├── routing │ │ │ └── teams_admin │ │ │ │ └── teams_routing_spec.rb │ │ ├── spec_helper.rb │ │ ├── support │ │ │ └── view_spec_fixes.rb │ │ └── views │ │ │ └── teams_admin │ │ │ └── teams │ │ │ ├── edit.html.slim_spec.rb │ │ │ ├── index.html.slim_spec.rb │ │ │ └── new.html.slim_spec.rb │ ├── teams_admin.gemspec │ └── test.sh ├── web_ui │ ├── .rspec │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── web_ui │ │ │ │ │ └── logo.png │ │ │ ├── javascripts │ │ │ │ └── web_ui │ │ │ │ │ └── application.js │ │ │ └── stylesheets │ │ │ │ └── web_ui │ │ │ │ └── application.css │ │ └── views │ │ │ └── layouts │ │ │ └── web_ui │ │ │ └── application.html.slim │ ├── lib │ │ ├── web_ui.rb │ │ └── web_ui │ │ │ └── engine.rb │ ├── spec │ │ ├── dummy │ │ │ ├── README.rdoc │ │ │ ├── Rakefile │ │ │ ├── app │ │ │ │ ├── assets │ │ │ │ │ ├── images │ │ │ │ │ │ └── .keep │ │ │ │ │ ├── javascripts │ │ │ │ │ │ └── application.js │ │ │ │ │ └── stylesheets │ │ │ │ │ │ └── application.css │ │ │ │ ├── controllers │ │ │ │ │ ├── application_controller.rb │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ ├── mailers │ │ │ │ │ └── .keep │ │ │ │ ├── models │ │ │ │ │ ├── .keep │ │ │ │ │ └── concerns │ │ │ │ │ │ └── .keep │ │ │ │ └── views │ │ │ │ │ └── layouts │ │ │ │ │ └── application.html.erb │ │ │ ├── bin │ │ │ │ ├── bundle │ │ │ │ ├── rails │ │ │ │ └── rake │ │ │ ├── config.ru │ │ │ ├── config │ │ │ │ ├── application.rb │ │ │ │ ├── boot.rb │ │ │ │ ├── database.yml │ │ │ │ ├── environment.rb │ │ │ │ ├── environments │ │ │ │ │ ├── development.rb │ │ │ │ │ ├── production.rb │ │ │ │ │ └── test.rb │ │ │ │ ├── initializers │ │ │ │ │ ├── assets.rb │ │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ │ ├── cookies_serializer.rb │ │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ │ ├── inflections.rb │ │ │ │ │ ├── mime_types.rb │ │ │ │ │ ├── session_store.rb │ │ │ │ │ └── wrap_parameters.rb │ │ │ │ ├── locales │ │ │ │ │ └── en.yml │ │ │ │ ├── routes.rb │ │ │ │ └── secrets.yml │ │ │ ├── db │ │ │ │ └── schema.rb │ │ │ ├── lib │ │ │ │ └── assets │ │ │ │ │ └── .keep │ │ │ └── public │ │ │ │ ├── 404.html │ │ │ │ ├── 422.html │ │ │ │ ├── 500.html │ │ │ │ └── favicon.ico │ │ ├── spec_helper.rb │ │ └── support │ │ │ └── view_spec_fixes.rb │ ├── test.sh │ ├── vendor │ │ └── assets │ │ │ ├── javascripts │ │ │ └── web_ui │ │ │ │ ├── fastclick.js │ │ │ │ ├── foundation.min.js │ │ │ │ ├── jquery.cookie.js │ │ │ │ ├── modernizr.js │ │ │ │ └── placeholder.js │ │ │ └── stylesheets │ │ │ └── web_ui │ │ │ ├── foundation.min.css │ │ │ └── normalize.css │ └── web_ui.gemspec └── welcome_ui │ ├── .rspec │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.rdoc │ ├── Rakefile │ ├── app │ ├── controllers │ │ └── welcome_ui │ │ │ ├── application_controller.rb │ │ │ └── welcomes_controller.rb │ └── views │ │ └── welcome_ui │ │ └── welcomes │ │ └── show.html.slim │ ├── config │ └── routes.rb │ ├── lib │ ├── welcome_ui.rb │ └── welcome_ui │ │ └── engine.rb │ ├── spec │ ├── controllers │ │ └── welcomes_controller_spec.rb │ ├── dummy │ │ ├── README.rdoc │ │ ├── Rakefile │ │ ├── app │ │ │ ├── assets │ │ │ │ ├── images │ │ │ │ │ └── .keep │ │ │ │ ├── javascripts │ │ │ │ │ └── application.js │ │ │ │ └── stylesheets │ │ │ │ │ └── application.css │ │ │ ├── controllers │ │ │ │ ├── application_controller.rb │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ ├── helpers │ │ │ │ └── application_helper.rb │ │ │ ├── mailers │ │ │ │ └── .keep │ │ │ ├── models │ │ │ │ ├── .keep │ │ │ │ └── concerns │ │ │ │ │ └── .keep │ │ │ └── views │ │ │ │ └── layouts │ │ │ │ └── application.html.erb │ │ ├── bin │ │ │ ├── bundle │ │ │ ├── rails │ │ │ └── rake │ │ ├── config.ru │ │ ├── config │ │ │ ├── application.rb │ │ │ ├── boot.rb │ │ │ ├── database.yml │ │ │ ├── environment.rb │ │ │ ├── environments │ │ │ │ ├── development.rb │ │ │ │ ├── production.rb │ │ │ │ └── test.rb │ │ │ ├── initializers │ │ │ │ ├── assets.rb │ │ │ │ ├── backtrace_silencers.rb │ │ │ │ ├── cookies_serializer.rb │ │ │ │ ├── filter_parameter_logging.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── mime_types.rb │ │ │ │ ├── session_store.rb │ │ │ │ └── wrap_parameters.rb │ │ │ ├── locales │ │ │ │ └── en.yml │ │ │ ├── routes.rb │ │ │ └── secrets.yml │ │ ├── db │ │ │ └── schema.rb │ │ ├── lib │ │ │ └── assets │ │ │ │ └── .keep │ │ ├── log │ │ │ └── .keep │ │ └── public │ │ │ ├── 404.html │ │ │ ├── 422.html │ │ │ ├── 500.html │ │ │ └── favicon.ico │ └── spec_helper.rb │ ├── test.sh │ └── welcome_ui.gemspec ├── config.ru ├── config ├── application.rb ├── boot.rb ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── assets.rb │ ├── backtrace_silencers.rb │ ├── cookies_serializer.rb │ ├── filter_parameter_logging.rb │ ├── inflections.rb │ ├── mime_types.rb │ ├── session_store.rb │ └── wrap_parameters.rb ├── locales │ └── en.yml ├── routes.rb └── secrets.yml ├── db ├── schema.rb └── seeds.rb ├── delete_obsolete.sh ├── log └── .keep ├── public ├── 404.html ├── 422.html ├── 500.html ├── favicon.ico └── robots.txt ├── spec ├── features │ └── app_spec.rb └── spec_helper.rb └── test.sh /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .DS_Store 3 | *.log 4 | tmp/ 5 | deploy/ 6 | *.sqlite3 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # This repo is out of date. Please check out its newer version at https://github.com/shageman/component-based-rails-applications-book 2 | -------------------------------------------------------------------------------- /c2s01/00_preparations.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rvm get stable 4 | rvm install 2.3.1 5 | gem install rails 6 | 7 | -------------------------------------------------------------------------------- /c2s01/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = AppComponent 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/app/helpers/app_component/welcome_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module WelcomeHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/app/views/app_component/welcome/index.html.erb: -------------------------------------------------------------------------------- 1 |
Find me in app/views/app_component/welcome/index.html.erb
3 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/config/routes.rb: -------------------------------------------------------------------------------- 1 | AppComponent::Engine.routes.draw do 2 | root to: "welcome#index" 3 | end 4 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/lib/app_component.rb: -------------------------------------------------------------------------------- 1 | require "app_component/engine" 2 | 3 | module AppComponent 4 | end 5 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/lib/app_component/engine.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | class Engine < ::Rails::Engine 3 | isolate_namespace AppComponent 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app_component do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/test/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s01/sportsball/components/app_component/test/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c2s01/sportsball/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c2s01/sportsball/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/lib/assets/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/lib/tasks/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/lib/tasks/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/log/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c2s01/sportsball/test/controllers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/test/controllers/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/test/fixtures/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/test/fixtures/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/test/helpers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/test/helpers/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/test/integration/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/test/integration/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/test/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/test/mailers/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/test/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/test/models/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/vendor/assets/javascripts/.keep -------------------------------------------------------------------------------- /c2s01/sportsball/vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s01/sportsball/vendor/assets/stylesheets/.keep -------------------------------------------------------------------------------- /c2s02/bundle_gem.tree: -------------------------------------------------------------------------------- 1 | bundle_gem 2 | └── lib 3 | └── bundle_gem 4 | 5 | 2 directories 6 | -------------------------------------------------------------------------------- /c2s02/bundle_gem/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # Specify your gem's dependencies in bundle_gem.gemspec 4 | gemspec 5 | -------------------------------------------------------------------------------- /c2s02/bundle_gem/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | 3 | -------------------------------------------------------------------------------- /c2s02/bundle_gem/lib/bundle_gem.rb: -------------------------------------------------------------------------------- 1 | require "bundle_gem/version" 2 | 3 | module BundleGem 4 | # Your code goes here... 5 | end 6 | -------------------------------------------------------------------------------- /c2s02/bundle_gem/lib/bundle_gem/version.rb: -------------------------------------------------------------------------------- 1 | module BundleGem 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s02/full_engine/README.rdoc: -------------------------------------------------------------------------------- 1 | = FullEngine 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s02/full_engine/app/controllers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/app/controllers/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/app/helpers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/app/helpers/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/app/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/app/mailers/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/app/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/app/models/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/app/views/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/app/views/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /c2s02/full_engine/lib/full_engine.rb: -------------------------------------------------------------------------------- 1 | require "full_engine/engine" 2 | 3 | module FullEngine 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/full_engine/lib/full_engine/engine.rb: -------------------------------------------------------------------------------- 1 | module FullEngine 2 | class Engine < ::Rails::Engine 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/full_engine/lib/full_engine/version.rb: -------------------------------------------------------------------------------- 1 | module FullEngine 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s02/full_engine/lib/tasks/full_engine_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :full_engine do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s02/full_engine/test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s02/full_engine/test/dummy/app/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/test/dummy/app/mailers/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/test/dummy/app/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/test/dummy/app/models/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/test/dummy/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s02/full_engine/test/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s02/full_engine/test/dummy/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/test/dummy/lib/assets/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/test/dummy/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/test/dummy/log/.keep -------------------------------------------------------------------------------- /c2s02/full_engine/test/dummy/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_engine/test/dummy/public/favicon.ico -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/README.rdoc: -------------------------------------------------------------------------------- 1 | = FullMountableEngine 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/app/helpers/full_mountable_engine/application_helper.rb: -------------------------------------------------------------------------------- 1 | module FullMountableEngine 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/config/routes.rb: -------------------------------------------------------------------------------- 1 | FullMountableEngine::Engine.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/lib/full_mountable_engine.rb: -------------------------------------------------------------------------------- 1 | require "full_mountable_engine/engine" 2 | 3 | module FullMountableEngine 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/lib/full_mountable_engine/version.rb: -------------------------------------------------------------------------------- 1 | module FullMountableEngine 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/lib/tasks/full_mountable_engine_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :full_mountable_engine do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/test/dummy/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/test/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/test/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount FullMountableEngine::Engine => "/full_mountable_engine" 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/full_mountable_engine/test/dummy/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s02/full_mountable_engine/test/dummy/log/.keep -------------------------------------------------------------------------------- /c2s02/mountable_engine/README.rdoc: -------------------------------------------------------------------------------- 1 | = MountableEngine 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s02/mountable_engine/app/controllers/mountable_engine/application_controller.rb: -------------------------------------------------------------------------------- 1 | module MountableEngine 2 | class ApplicationController < ActionController::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/mountable_engine/app/helpers/mountable_engine/application_helper.rb: -------------------------------------------------------------------------------- 1 | module MountableEngine 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/mountable_engine/app/helpers/mountable_engine/users_helper.rb: -------------------------------------------------------------------------------- 1 | module MountableEngine 2 | module UsersHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/mountable_engine/app/models/mountable_engine/user.rb: -------------------------------------------------------------------------------- 1 | module MountableEngine 2 | class User < ActiveRecord::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s02/mountable_engine/app/views/mountable_engine/users/new.html.erb: -------------------------------------------------------------------------------- 1 |Find me in app/views/app_component/welcome/index.html.erb
3 | -------------------------------------------------------------------------------- /c2s04/sportsball/components/app_component/config/routes.rb: -------------------------------------------------------------------------------- 1 | AppComponent::Engine.routes.draw do 2 | resources :games 3 | 4 | resources :teams 5 | 6 | root to: "welcome#index" 7 | end 8 | -------------------------------------------------------------------------------- /c2s04/sportsball/components/app_component/lib/app_component.rb: -------------------------------------------------------------------------------- 1 | require "app_component/engine" 2 | 3 | module AppComponent 4 | end 5 | -------------------------------------------------------------------------------- /c2s04/sportsball/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s04/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app_component do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s04/sportsball/components/app_component/test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s04/sportsball/components/app_component/test/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s04/sportsball/components/app_component/test/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c2s04/sportsball/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c2s04/sportsball/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/lib/assets/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/lib/tasks/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/lib/tasks/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/log/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c2s04/sportsball/test/controllers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/test/controllers/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/test/fixtures/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/test/fixtures/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/test/helpers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/test/helpers/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/test/integration/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/test/integration/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/test/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/test/mailers/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/test/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/test/models/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/vendor/assets/javascripts/.keep -------------------------------------------------------------------------------- /c2s04/sportsball/vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s04/sportsball/vendor/assets/stylesheets/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/app/helpers/app_component/games_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module GamesHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/app/helpers/app_component/teams_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module TeamsHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/app/helpers/app_component/welcome_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module WelcomeHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/app/models/app_component/game.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | class Game < ActiveRecord::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/app/models/app_component/team.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | class Team < ActiveRecord::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/app/views/app_component/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path 6 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/app/views/app_component/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path 6 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/lib/app_component.rb: -------------------------------------------------------------------------------- 1 | require "slim-rails" 2 | 3 | module AppComponent 4 | require "app_component/engine" 5 | end 6 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c2s05/sportsball/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c2s05/sportsball/lib/assets/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/lib/assets/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/lib/tasks/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/lib/tasks/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/log/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c2s05/sportsball/test/controllers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/test/controllers/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/test/fixtures/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/test/fixtures/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/test/helpers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/test/helpers/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/test/integration/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/test/integration/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/test/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/test/mailers/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/test/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/test/models/.keep -------------------------------------------------------------------------------- /c2s05/sportsball/vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s05/sportsball/vendor/assets/javascripts/.keep -------------------------------------------------------------------------------- /c2s06/00_analysis.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | tree sportsball/components/app_component/vendor > vendor.tree 3 | -------------------------------------------------------------------------------- /c2s06/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s06/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/app/views/app_component/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/app/views/app_component/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/app/views/app_component/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c2s06/sportsball/components/app_component/spec/models/app_component/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe AppComponent::Team do 2 | it { should validate_presence_of :name } 3 | end 4 | -------------------------------------------------------------------------------- /c2s06/sportsball/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c2s06/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s06/sportsball/log/.keep -------------------------------------------------------------------------------- /c2s06/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s06/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c2s09/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s09/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/app/views/app_component/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/app/views/app_component/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/app/views/app_component/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c2s09/sportsball/components/app_component/spec/models/app_component/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe AppComponent::Team do 2 | it { should validate_presence_of :name } 3 | end 4 | -------------------------------------------------------------------------------- /c2s09/sportsball/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c2s09/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s09/sportsball/log/.keep -------------------------------------------------------------------------------- /c2s09/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s09/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c2s11/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s11/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/app/views/app_component/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/app/views/app_component/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/app/views/app_component/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c2s11/sportsball/components/app_component/spec/models/app_component/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe AppComponent::Team do 2 | it { should validate_presence_of :name } 3 | end 4 | -------------------------------------------------------------------------------- /c2s11/sportsball/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c2s11/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s11/sportsball/log/.keep -------------------------------------------------------------------------------- /c2s11/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s11/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/app/views/app_component/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/components/app_component/spec/models/app_component/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe AppComponent::Team do 2 | it { should validate_presence_of :name } 3 | end 4 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c2s11/sportsball_version_gem/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s11/sportsball_version_gem/log/.keep -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/app/views/app_component/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/app/views/app_component/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/app/views/app_component/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c2s12/sportsball/components/app_component/spec/models/app_component/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe AppComponent::Team do 2 | it { should validate_presence_of(:name) } 3 | end 4 | -------------------------------------------------------------------------------- /c2s12/sportsball/web_container/.bundle/config: -------------------------------------------------------------------------------- 1 | --- 2 | BUNDLE_FROZEN: '1' 3 | BUNDLE_PATH: vendor/bundle 4 | BUNDLE_DISABLE_SHARED_GEMS: '1' 5 | -------------------------------------------------------------------------------- /c2s12/sportsball/web_container/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c2s12/sportsball/web_container/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c2s12/sportsball/web_container/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c2s12/sportsball/web_container/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c2s12/sportsball/web_container/log/.keep -------------------------------------------------------------------------------- /c2s12/sportsball/web_container/rails_server.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | pushd rails_container > /dev/null 4 | rails s 5 | popd > /dev/null 6 | -------------------------------------------------------------------------------- /c3s01/Complexities.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s01/Complexities.xlsx -------------------------------------------------------------------------------- /c3s03/00_analysis.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | tree --dirsfirst sportsball/components/predictor > predictor_structure.tree 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s03/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/app/views/app_component/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/app/views/app_component/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/app/views/app_component/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/lib/app_component/version.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/app_component/spec/models/app_component/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe AppComponent::Team do 2 | it { should validate_presence_of(:name) } 3 | end 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/predictor/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/predictor/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2.2 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/predictor/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | require "rspec/core/rake_task" 3 | 4 | RSpec::Core::RakeTask.new(:spec) 5 | 6 | task :default => :spec 7 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/predictor/lib/predictor/version.rb: -------------------------------------------------------------------------------- 1 | module Predictor 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/components/predictor/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) 2 | require 'predictor' 3 | require 'ostruct' 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | mount AppComponent::Engine, at: "/" 3 | end 4 | -------------------------------------------------------------------------------- /c3s03/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s03/sportsball/log/.keep -------------------------------------------------------------------------------- /c3s03/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s03/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c3s05/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/app/helpers/app_component/application_helper.rb: -------------------------------------------------------------------------------- 1 | module AppComponent 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/app/views/app_component/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/app/views/app_component/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/lib/app_component/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/app_component/spec/models/app_component/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe AppComponent::Team do 2 | it { should validate_presence_of(:name) } 3 | end 4 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/Gemfile: -------------------------------------------------------------------------------- 1 | 2 | source 'https://rubygems.org' 3 | 4 | gemspec 5 | 6 | path '..' do 7 | gem 'app_component' 8 | end 9 | 10 | 11 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = GamesAdmin 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/app/helpers/games_admin/application_helper.rb: -------------------------------------------------------------------------------- 1 | module GamesAdmin 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/app/views/games_admin/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | 2 | GamesAdmin::Engine.routes.draw do 3 | resources :games 4 | end 5 | 6 | 7 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/lib/games_admin.rb: -------------------------------------------------------------------------------- 1 | require "games_admin/engine" 2 | 3 | module GamesAdmin 4 | end 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/lib/games_admin/version.rb: -------------------------------------------------------------------------------- 1 | module GamesAdmin 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/lib/tasks/games_admin_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :games_admin do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/games_admin/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount GamesAdmin::Engine => "/games_admin" 4 | end 5 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/predictor/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s05/sportsball/components/predictor/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2.2 4 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/predictor/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | require "rspec/core/rake_task" 3 | 4 | RSpec::Core::RakeTask.new(:spec) 5 | 6 | task :default => :spec 7 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/predictor/lib/predictor/version.rb: -------------------------------------------------------------------------------- 1 | module Predictor 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /c3s05/sportsball/components/predictor/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) 2 | require 'predictor' 3 | require 'ostruct' 4 | -------------------------------------------------------------------------------- /c3s05/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s05/sportsball/log/.keep -------------------------------------------------------------------------------- /c3s05/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s05/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c3s05_finished/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/app_component/lib/app_component/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/app_component/spec/models/app_component/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe AppComponent::Team do 2 | it { should validate_presence_of(:name) } 3 | end 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/games_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/games_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = GamesAdmin 2 | 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/games_admin/app/views/games_admin/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/games_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | GamesAdmin::Engine.routes.draw do 2 | resources :games 3 | end 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/games_admin/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/games_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/games_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/games_admin/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | GamesAdmin.nav_entry 4 | ] 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2.2 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor/lib/predictor/version.rb: -------------------------------------------------------------------------------- 1 | module Predictor 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) 2 | require 'predictor' 3 | require 'ostruct' 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = PredictorUi 2 | 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor_ui/app/helpers/predictor_ui/application_helper.rb: -------------------------------------------------------------------------------- 1 | module PredictorUi 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor_ui/config/routes.rb: -------------------------------------------------------------------------------- 1 | PredictorUi::Engine.routes.draw do 2 | resource :prediction, only: [:new, :create] 3 | end 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor_ui/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/predictor_ui/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | PredictorUi.nav_entry 4 | ] -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/teams_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/teams_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = TeamsAdmin 2 | 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/teams_admin/app/views/teams_admin/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/teams_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | TeamsAdmin::Engine.routes.draw do 2 | resources :teams 3 | end 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/teams_admin/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/teams_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/teams_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/teams_admin/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | TeamsAdmin.nav_entry 4 | ] 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/welcome_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/welcome_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = WelcomeUi 2 | 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/welcome_ui/app/views/welcome_ui/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/welcome_ui/config/routes.rb: -------------------------------------------------------------------------------- 1 | WelcomeUi::Engine.routes.draw do 2 | resource :welcome, only: [:show] 3 | root to: "welcomes#show" 4 | end 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/welcome_ui/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/welcome_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/components/welcome_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s05_finished/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s05_finished/sportsball/log/.keep -------------------------------------------------------------------------------- /c3s05_finished/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s05_finished/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c3s06/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/app_component/lib/app_component/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = GamesAdmin 2 | 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/app/views/games_admin/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | GamesAdmin::Engine.routes.draw do 2 | resources :games 3 | end 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/lib/games_admin/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/games_admin/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | GamesAdmin.nav_entry 4 | ] 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2.2 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | require "rspec/core/rake_task" 3 | 4 | RSpec::Core::RakeTask.new(:spec) 5 | 6 | task :default => :spec 7 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor/lib/predictor/version.rb: -------------------------------------------------------------------------------- 1 | module Predictor 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) 2 | require 'predictor' 3 | require 'ostruct' 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = PredictorUi 2 | 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor_ui/app/helpers/predictor_ui/application_helper.rb: -------------------------------------------------------------------------------- 1 | module PredictorUi 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor_ui/config/routes.rb: -------------------------------------------------------------------------------- 1 | PredictorUi::Engine.routes.draw do 2 | resource :prediction, only: [:new, :create] 3 | end 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor_ui/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/predictor_ui/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | PredictorUi.nav_entry 4 | ] -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/Gemfile: -------------------------------------------------------------------------------- 1 | 2 | source 'https://rubygems.org' 3 | 4 | gemspec 5 | 6 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/README.rdoc: -------------------------------------------------------------------------------- 1 | = Teams 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/app/controllers/teams/application_controller.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | class ApplicationController < ActionController::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/app/helpers/teams/application_helper.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/app/models/teams/team.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | class Team < ActiveRecord::Base 3 | validates :name, presence: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/config/routes.rb: -------------------------------------------------------------------------------- 1 | Teams::Engine.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/lib/tasks/teams_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :teams do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/lib/teams.rb: -------------------------------------------------------------------------------- 1 | require "teams/engine" 2 | 3 | module Teams 4 | end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/lib/teams/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/lib/teams/version.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount Teams::Engine => "/teams" 4 | end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams/spec/models/teams/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe Teams::Team do 2 | it { should validate_presence_of(:name) } 3 | end 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = TeamsAdmin 2 | 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/app/views/teams_admin/teams/edit.html.slim: -------------------------------------------------------------------------------- 1 | h1 Editing team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | 7 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/app/views/teams_admin/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | TeamsAdmin::Engine.routes.draw do 2 | resources :teams 3 | end 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/teams_admin/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | TeamsAdmin.nav_entry 4 | ] 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/welcome_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/welcome_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = WelcomeUi 2 | 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/welcome_ui/app/views/welcome_ui/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/welcome_ui/config/routes.rb: -------------------------------------------------------------------------------- 1 | WelcomeUi::Engine.routes.draw do 2 | resource :welcome, only: [:show] 3 | root to: "welcomes#show" 4 | end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/welcome_ui/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/welcome_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06/sportsball/components/welcome_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s06/sportsball/log/.keep -------------------------------------------------------------------------------- /c3s06/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s06/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c3s06_finished/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/app_component/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/app_component/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/app_component/lib/tasks/app_component_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/app_component/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/app_component/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/app_component/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount AppComponent::Engine => "/app_component" 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/Gemfile: -------------------------------------------------------------------------------- 1 | 2 | source "https://rubygems.org" 3 | 4 | gemspec 5 | 6 | path "../" do 7 | gem "teams" 8 | end 9 | 10 | 11 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/README.rdoc: -------------------------------------------------------------------------------- 1 | = Games 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/app/controllers/games/application_controller.rb: -------------------------------------------------------------------------------- 1 | module Games 2 | class ApplicationController < ActionController::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/app/helpers/games/application_helper.rb: -------------------------------------------------------------------------------- 1 | module Games 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/config/routes.rb: -------------------------------------------------------------------------------- 1 | Games::Engine.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/lib/games.rb: -------------------------------------------------------------------------------- 1 | require "games/engine" 2 | 3 | module Games 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/lib/games/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/lib/games/version.rb: -------------------------------------------------------------------------------- 1 | module Games 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/lib/tasks/games_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :games do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount Games::Engine => "/games" 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = GamesAdmin 2 | 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/app/views/games_admin/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | GamesAdmin::Engine.routes.draw do 2 | resources :games 3 | end 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/lib/games_admin/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/games_admin/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | GamesAdmin.nav_entry 4 | ] 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2.2 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor/lib/predictor/version.rb: -------------------------------------------------------------------------------- 1 | module Predictor 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) 2 | require 'predictor' 3 | require 'ostruct' 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = PredictorUi 2 | 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor_ui/app/helpers/predictor_ui/application_helper.rb: -------------------------------------------------------------------------------- 1 | module PredictorUi 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor_ui/config/routes.rb: -------------------------------------------------------------------------------- 1 | PredictorUi::Engine.routes.draw do 2 | resource :prediction, only: [:new, :create] 3 | end 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor_ui/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/predictor_ui/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | PredictorUi.nav_entry 4 | ] -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/Gemfile: -------------------------------------------------------------------------------- 1 | 2 | source 'https://rubygems.org' 3 | 4 | gemspec 5 | 6 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/README.rdoc: -------------------------------------------------------------------------------- 1 | = Teams 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/app/controllers/teams/application_controller.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | class ApplicationController < ActionController::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/app/helpers/teams/application_helper.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/app/models/teams/team.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | class Team < ActiveRecord::Base 3 | validates :name, presence: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/config/routes.rb: -------------------------------------------------------------------------------- 1 | Teams::Engine.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/lib/tasks/teams_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :teams do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/lib/teams.rb: -------------------------------------------------------------------------------- 1 | require "teams/engine" 2 | 3 | module Teams 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/lib/teams/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/lib/teams/version.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount Teams::Engine => "/teams" 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams/spec/models/teams/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe Teams::Team do 2 | it { should validate_presence_of(:name) } 3 | end 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = TeamsAdmin 2 | 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams_admin/app/views/teams_admin/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | TeamsAdmin::Engine.routes.draw do 2 | resources :teams 3 | end 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams_admin/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/teams_admin/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | TeamsAdmin.nav_entry 4 | ] 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/welcome_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/welcome_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = WelcomeUi 2 | 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/welcome_ui/app/views/welcome_ui/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/welcome_ui/config/routes.rb: -------------------------------------------------------------------------------- 1 | WelcomeUi::Engine.routes.draw do 2 | resource :welcome, only: [:show] 3 | root to: "welcomes#show" 4 | end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/welcome_ui/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/welcome_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/components/welcome_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s06_finished/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s06_finished/sportsball/log/.keep -------------------------------------------------------------------------------- /c3s06_finished/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s06_finished/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c3s07/sportsball/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/Gemfile: -------------------------------------------------------------------------------- 1 | 2 | source "https://rubygems.org" 3 | 4 | gemspec 5 | 6 | path "../" do 7 | gem "teams" 8 | end 9 | 10 | 11 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/README.rdoc: -------------------------------------------------------------------------------- 1 | = Games 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/app/controllers/games/application_controller.rb: -------------------------------------------------------------------------------- 1 | module Games 2 | class ApplicationController < ActionController::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/app/helpers/games/application_helper.rb: -------------------------------------------------------------------------------- 1 | module Games 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/config/routes.rb: -------------------------------------------------------------------------------- 1 | Games::Engine.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/lib/games.rb: -------------------------------------------------------------------------------- 1 | require "games/engine" 2 | 3 | module Games 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/lib/games/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/lib/games/version.rb: -------------------------------------------------------------------------------- 1 | module Games 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/lib/tasks/games_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :games do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount Games::Engine => "/games" 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = GamesAdmin 2 | 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/app/views/games_admin/games/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New game 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', games_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | GamesAdmin::Engine.routes.draw do 2 | resources :games 3 | end 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/lib/games_admin/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/games_admin/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | GamesAdmin.nav_entry 4 | ] 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2.2 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | require "rspec/core/rake_task" 3 | 4 | RSpec::Core::RakeTask.new(:spec) 5 | 6 | task :default => :spec 7 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor/lib/predictor/version.rb: -------------------------------------------------------------------------------- 1 | module Predictor 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) 2 | require 'predictor' 3 | require 'ostruct' 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = PredictorUi 2 | 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor_ui/app/helpers/predictor_ui/application_helper.rb: -------------------------------------------------------------------------------- 1 | module PredictorUi 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor_ui/config/routes.rb: -------------------------------------------------------------------------------- 1 | PredictorUi::Engine.routes.draw do 2 | resource :prediction, only: [:new, :create] 3 | end 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor_ui/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/predictor_ui/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | PredictorUi.nav_entry 4 | ] -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/Gemfile: -------------------------------------------------------------------------------- 1 | 2 | source 'https://rubygems.org' 3 | 4 | gemspec 5 | 6 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/README.rdoc: -------------------------------------------------------------------------------- 1 | = Teams 2 | 3 | This project rocks and uses MIT-LICENSE. -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/app/controllers/teams/application_controller.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | class ApplicationController < ActionController::Base 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/app/helpers/teams/application_helper.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | module ApplicationHelper 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/app/models/teams/team.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | class Team < ActiveRecord::Base 3 | validates :name, presence: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/config/routes.rb: -------------------------------------------------------------------------------- 1 | Teams::Engine.routes.draw do 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/lib/tasks/teams_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :teams do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/lib/teams.rb: -------------------------------------------------------------------------------- 1 | require "teams/engine" 2 | 3 | module Teams 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/lib/teams/test_helpers.rb: -------------------------------------------------------------------------------- 1 | 2 | require_relative "../../spec/support/object_creation_methods.rb" 3 | 4 | 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/lib/teams/version.rb: -------------------------------------------------------------------------------- 1 | module Teams 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount Teams::Engine => "/teams" 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams/spec/models/teams/team_spec.rb: -------------------------------------------------------------------------------- 1 | RSpec.describe Teams::Team do 2 | it { should validate_presence_of(:name) } 3 | end 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/README.rdoc: -------------------------------------------------------------------------------- 1 | = TeamsAdmin 2 | 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/app/views/teams_admin/teams/edit.html.slim: -------------------------------------------------------------------------------- 1 | h1 Editing team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | 7 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/app/views/teams_admin/teams/new.html.slim: -------------------------------------------------------------------------------- 1 | h1 New team 2 | 3 | == render 'form' 4 | 5 | = link_to 'Back', teams_path, class: "button" 6 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/config/routes.rb: -------------------------------------------------------------------------------- 1 | TeamsAdmin::Engine.routes.draw do 2 | resources :teams 3 | end 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/teams_admin/spec/dummy/config/initializers/main_nav.rb: -------------------------------------------------------------------------------- 1 | Rails.application.config.main_nav = 2 | [ 3 | TeamsAdmin.nav_entry 4 | ] 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/web_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/web_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = App 2 | 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/web_ui/app/assets/stylesheets/web_ui/application.css: -------------------------------------------------------------------------------- 1 | /* 2 | *= require web_ui/normalize 3 | *= require web_ui/foundation.min 4 | *= require_self 5 | */ 6 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/web_ui/lib/tasks/web_ui_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/web_ui/lib/web_ui.rb: -------------------------------------------------------------------------------- 1 | 2 | require "slim-rails" 3 | require "jquery-rails" 4 | 5 | module WebUi 6 | require "web_ui/engine" 7 | end 8 | 9 | 10 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/web_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/web_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/web_ui/spec/dummy/config/routes.rb: -------------------------------------------------------------------------------- 1 | Rails.application.routes.draw do 2 | 3 | mount WebUi::Engine => "/web_ui" 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/welcome_ui/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/welcome_ui/README.rdoc: -------------------------------------------------------------------------------- 1 | = WelcomeUi 2 | 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/welcome_ui/app/views/welcome_ui/welcomes/show.html.slim: -------------------------------------------------------------------------------- 1 | h1 Sportsball! 2 | h2 Predicting the outcome of matches since 2015. 3 | 4 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/welcome_ui/config/routes.rb: -------------------------------------------------------------------------------- 1 | WelcomeUi::Engine.routes.draw do 2 | resource :welcome, only: [:show] 3 | root to: "welcomes#show" 4 | end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/welcome_ui/lib/tasks/app_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :app do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/welcome_ui/spec/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /c3s07/sportsball/components/welcome_ui/spec/dummy/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require_relative '../config/boot' 3 | require 'rake' 4 | Rake.application.run 5 | -------------------------------------------------------------------------------- /c3s07/sportsball/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s07/sportsball/log/.keep -------------------------------------------------------------------------------- /c3s07/sportsball/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c3s07/sportsball/public/favicon.ico -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/Procfile: -------------------------------------------------------------------------------- 1 | web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development} 2 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/helpers/admin/projects_helper.rb: -------------------------------------------------------------------------------- 1 | module Admin::ProjectsHelper 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/helpers/admin/states_helper.rb: -------------------------------------------------------------------------------- 1 | module Admin::StatesHelper 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/helpers/admin/users_helper.rb: -------------------------------------------------------------------------------- 1 | module Admin::UsersHelper 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/helpers/api/tickets_helper.rb: -------------------------------------------------------------------------------- 1 | module API::TicketsHelper 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/helpers/attachments_helper.rb: -------------------------------------------------------------------------------- 1 | module AttachmentsHelper 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/helpers/comments_helper.rb: -------------------------------------------------------------------------------- 1 | module CommentsHelper 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/helpers/projects_helper.rb: -------------------------------------------------------------------------------- 1 | module ProjectsHelper 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/helpers/tags_helper.rb: -------------------------------------------------------------------------------- 1 | module TagsHelper 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/mailers/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c4s01/r4ia_examples/ticketee/app/mailers/.keep -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: "from@example.com" 3 | layout 'mailer' 4 | end 5 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/models/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shageman/cbra_book_code/8cfded8d7ebb69005928b7c45974a271c7f1393a/c4s01/r4ia_examples/ticketee/app/models/.keep -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/models/attachment.rb: -------------------------------------------------------------------------------- 1 | class Attachment < ActiveRecord::Base 2 | belongs_to :ticket 3 | 4 | mount_uploader :file, AttachmentUploader 5 | end 6 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/models/tag.rb: -------------------------------------------------------------------------------- 1 | class Tag < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/policies/comment_policy.rb: -------------------------------------------------------------------------------- 1 | class CommentPolicy < TicketPolicy 2 | end 3 | -------------------------------------------------------------------------------- /c4s01/r4ia_examples/ticketee/app/views/admin/projects/new.html.erb: -------------------------------------------------------------------------------- 1 |