├── .editorconfig ├── .gitignore ├── .remarkrc ├── .rspec ├── .rubocop.yml ├── .ruby-version ├── CONTRIBUTING.md ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── Procfile ├── README.md ├── Rakefile ├── STYLE.md ├── app ├── controllers │ ├── application_controller.rb │ ├── concerns │ │ └── .keep │ ├── games_controller.rb │ ├── open_read_controller.rb │ ├── protected_controller.rb │ └── users_controller.rb ├── models │ ├── concerns │ │ ├── authentication.rb │ │ ├── listen_notify.rb │ │ └── tic_tac_toe_validation.rb │ ├── game.rb │ └── user.rb └── serializers │ ├── game_serializer.rb │ ├── user_login_serializer.rb │ └── user_serializer.rb ├── bin ├── bundle ├── rails ├── rake ├── rspec ├── setup └── spring ├── config.ru ├── config ├── application.rb ├── boot.rb ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── active_model_serializers.rb │ ├── filter_parameter_logging.rb │ └── wrap_parameters.rb ├── locales │ └── en.yml ├── puma.rb ├── routes.rb └── secrets.yml ├── db ├── examples.rb ├── migrate │ ├── 20150602144919_create_users.rb │ └── 20150626193830_create_games.rb ├── schema.rb └── seeds.rb ├── lib └── tasks │ └── db.rake ├── log └── .keep ├── public ├── 404.html ├── 422.html ├── 500.html ├── favicon.ico ├── js │ └── resource-watcher-0.1.0.js └── robots.txt ├── scripts ├── change-password.sh ├── sign-in.sh ├── sign-out.sh ├── sign-up.sh ├── user.sh └── users.sh └── spec ├── controllers └── users_spec.rb ├── models └── user_spec.rb ├── rails_helper.rb ├── requests └── users_spec.rb ├── routing └── users_spec.rb └── spec_helper.rb /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.remarkrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/.remarkrc -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | --format documentation 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.3.1 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/Rakefile -------------------------------------------------------------------------------- /STYLE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/STYLE.md -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/games_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/controllers/games_controller.rb -------------------------------------------------------------------------------- /app/controllers/open_read_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/controllers/open_read_controller.rb -------------------------------------------------------------------------------- /app/controllers/protected_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/controllers/protected_controller.rb -------------------------------------------------------------------------------- /app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /app/models/concerns/authentication.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/models/concerns/authentication.rb -------------------------------------------------------------------------------- /app/models/concerns/listen_notify.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/models/concerns/listen_notify.rb -------------------------------------------------------------------------------- /app/models/concerns/tic_tac_toe_validation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/models/concerns/tic_tac_toe_validation.rb -------------------------------------------------------------------------------- /app/models/game.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/models/game.rb -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/models/user.rb -------------------------------------------------------------------------------- /app/serializers/game_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/serializers/game_serializer.rb -------------------------------------------------------------------------------- /app/serializers/user_login_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/serializers/user_login_serializer.rb -------------------------------------------------------------------------------- /app/serializers/user_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/app/serializers/user_serializer.rb -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/bin/rspec -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/spring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/bin/spring -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/database.yml -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/initializers/active_model_serializers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/initializers/active_model_serializers.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/puma.rb -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/config/secrets.yml -------------------------------------------------------------------------------- /db/examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/db/examples.rb -------------------------------------------------------------------------------- /db/migrate/20150602144919_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/db/migrate/20150602144919_create_users.rb -------------------------------------------------------------------------------- /db/migrate/20150626193830_create_games.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/db/migrate/20150626193830_create_games.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /lib/tasks/db.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/lib/tasks/db.rake -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/public/500.html -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/js/resource-watcher-0.1.0.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/public/js/resource-watcher-0.1.0.js -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/public/robots.txt -------------------------------------------------------------------------------- /scripts/change-password.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/scripts/change-password.sh -------------------------------------------------------------------------------- /scripts/sign-in.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/scripts/sign-in.sh -------------------------------------------------------------------------------- /scripts/sign-out.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/scripts/sign-out.sh -------------------------------------------------------------------------------- /scripts/sign-up.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/scripts/sign-up.sh -------------------------------------------------------------------------------- /scripts/user.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/scripts/user.sh -------------------------------------------------------------------------------- /scripts/users.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/scripts/users.sh -------------------------------------------------------------------------------- /spec/controllers/users_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/spec/controllers/users_spec.rb -------------------------------------------------------------------------------- /spec/models/user_spec.rb: -------------------------------------------------------------------------------- 1 | require 'rails_helper' 2 | 3 | RSpec.describe User do 4 | end 5 | -------------------------------------------------------------------------------- /spec/rails_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/spec/rails_helper.rb -------------------------------------------------------------------------------- /spec/requests/users_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/spec/requests/users_spec.rb -------------------------------------------------------------------------------- /spec/routing/users_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/spec/routing/users_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ga-wdi-boston/game-project-api/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------