Skip to content

Commit

Permalink
Add onsite racing (#550)
Browse files Browse the repository at this point in the history
Refer to the related PR for extended discussions and summaries of changes.

Co-authored-by: glacials <qhiiyr@gmail.com>
  • Loading branch information
BatedUrGonnaDie and glacials authored Aug 1, 2019
1 parent 387d398 commit e93d05a
Show file tree
Hide file tree
Showing 155 changed files with 6,297 additions and 958 deletions.
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
> 1%
defaults
32 changes: 32 additions & 0 deletions .envrc.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This file is just an example.
# cp it to .envrc then use `source` to apply its contents.
# .envrc is gitignored, so you won't accidentally commit your creds. :)
# Once copied, check out direnv (https://github.com/direnv/direnv) to automatically source it

# Google
# - Required for Google sign-in & linking
# - Create one at https://console.developers.google.com/apis/credentials
# - Set redirect URI to http://localhost:3000/auth/google/callback
export GOOGLE_CLIENT_ID=fafaf
export GOOGLE_CLIENT_SECRET=fafaf

# Patreon
# - Required for Patreon linking
# - Create one at https://www.patreon.com/portal/registration/register-clients
# - Set redirect URI to http://localhost:3000/auth/patreon/callback
export PATREON_CLIENT_ID=fafaf
export PATREON_CLIENT_SECRET=fafaf

# Splits.io
# - Required for some JavaScript->Rails API calls to work, including WebSockets features like races
# - Create one at http://localhost:3000/settings/applications/new
# - Set redirect URI to http://localhost:3000/auth/splitsio/callback
export SPLITSIO_CLIENT_ID=fafaf
export SPLITSIO_CLIENT_SECRET=fafaf

# Twitch
# - Required for Twitch sign-in & linking
# - Create one at https://dev.twitch.tv/dashboard/apps
# - Set redirect URI to http://localhost:3000/auth/twitch/callback
export TWITCH_CLIENT_ID=fafaf
export TWITCH_CLIENT_SECRET=fafaf
18 changes: 0 additions & 18 deletions .example.env

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ yarn-debug.log*
.envrc

.DS_Store

# local activestorage
storage
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ before_install: # Update docker-compose; Travis's built-in one is old
install:
- docker-compose build
script:
- docker-compose run -e RAILS_ENV=test web bundle exec rake db:migrate
- docker-compose run -e RAILS_ENV=test web bundle exec rspec
- docker-compose run -e RAILS_ENV=test web bash -c "bundle exec rake db:migrate && bundle exec rspec"
11 changes: 4 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

group :test, :development do
gem 'pry-rails'
gem 'rspec-rails', '~> 4.0.0.beta2'
end

group :test do
Expand All @@ -13,10 +14,6 @@ group :test do
gem 'json-schema'
gem 'json-schema-rspec'
gem 'rails-controller-testing'
gem 'rspec-rails', require: false, github: 'rspec/rspec-rails', branch: '4-0-dev'
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
gem lib, github: "rspec/#{lib}", branch: 'master'
end
gem 'simplecov', require: false
end

Expand Down Expand Up @@ -83,7 +80,7 @@ gem 'strong_migrations'

# errors+logging
gem 'newrelic_rpm'
gem 'skylight', '~> 4.0.0.beta2'
gem 'skylight', '~> 4.0.0'

# external communication
gem 'httparty'
Expand All @@ -93,7 +90,7 @@ gem 'rest-client'
gem 'nilify_blanks'

# parsing
gem 'descriptive_statistics'
gem 'descriptive_statistics', require: 'descriptive_statistics/safe'
gem 'moving_average'

# profiling
Expand All @@ -104,7 +101,7 @@ gem 'stackprof'

# server/environment
gem 'puma'
gem 'rails', '~> 6.0.0.beta3'
gem 'rails', '~> 6.0.0.rc1'
# see https://github.com/faye/websocket-driver-ruby/issues/58#issuecomment-394611125
gem 'websocket-driver', github: 'faye/websocket-driver-ruby', ref: 'ee39af83d03ae3059c775583e4c4b291641257b8'

Expand Down
Loading

0 comments on commit e93d05a

Please sign in to comment.