-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 045df6c
Showing
62 changed files
with
1,143 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# See https://help.github.com/articles/ignoring-files for more about ignoring files. | ||
# | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
# git config --global core.excludesfile '~/.gitignore_global' | ||
|
||
# Ignore bundler config. | ||
/.bundle | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/* | ||
/tmp/* | ||
!/log/.keep | ||
!/tmp/.keep | ||
|
||
# Ignore pidfiles, but keep the directory. | ||
/tmp/pids/* | ||
!/tmp/pids/ | ||
!/tmp/pids/.keep | ||
|
||
# Ignore uploaded files in development. | ||
/storage/* | ||
!/storage/.keep | ||
.byebug_history | ||
|
||
# Ignore master key for decrypting credentials and more. | ||
/config/master.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
require: | ||
- rubocop-rails | ||
|
||
Style/FrozenStringLiteralComment: | ||
EnforcedStyle: never | ||
|
||
Style/Documentation: | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby-2.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
source 'https://rubygems.org' | ||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
|
||
ruby '2.7.1' | ||
|
||
gem 'rubocop', '~> 0.89.1', require: false | ||
gem 'rubocop-rails', '~> 2.7.1', require: false | ||
|
||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | ||
gem 'rails', '~> 6.0.3', '>= 6.0.3.2' | ||
# Use postgresql as the database for Active Record | ||
gem 'pg', '>= 0.18', '< 2.0' | ||
# Use Puma as the app server | ||
gem 'puma', '~> 4.1' | ||
|
||
gem 'grape' | ||
gem 'grape_on_rails_routes' | ||
gem 'grape-swagger' | ||
|
||
# Use Redis adapter to run Action Cable in production | ||
# gem 'redis', '~> 4.0' | ||
# Use Active Model has_secure_password | ||
# gem 'bcrypt', '~> 3.1.7' | ||
|
||
# Use Active Storage variant | ||
# gem 'image_processing', '~> 1.2' | ||
|
||
# Reduces boot times through caching; required in config/boot.rb | ||
gem 'bootsnap', '>= 1.4.2', require: false | ||
|
||
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible | ||
gem 'rack-cors' | ||
|
||
group :development, :test do | ||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console | ||
gem 'byebug', platforms: %i[mri mingw x64_mingw] | ||
end | ||
|
||
group :development do | ||
gem 'listen', '~> 3.2' | ||
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | ||
gem 'spring' | ||
gem 'spring-watcher-listen', '~> 2.0.0' | ||
end | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,236 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
actionmailbox (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
activejob (= 6.0.3.2) | ||
activerecord (= 6.0.3.2) | ||
activestorage (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
mail (>= 2.7.1) | ||
actionmailer (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
actionview (= 6.0.3.2) | ||
activejob (= 6.0.3.2) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 2.0) | ||
actionpack (6.0.3.2) | ||
actionview (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
rack (~> 2.0, >= 2.0.8) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.2.0) | ||
actiontext (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
activerecord (= 6.0.3.2) | ||
activestorage (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
nokogiri (>= 1.8.5) | ||
actionview (6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
builder (~> 3.1) | ||
erubi (~> 1.4) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.1, >= 1.2.0) | ||
activejob (6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
globalid (>= 0.3.6) | ||
activemodel (6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
activerecord (6.0.3.2) | ||
activemodel (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
activestorage (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
activejob (= 6.0.3.2) | ||
activerecord (= 6.0.3.2) | ||
marcel (~> 0.3.1) | ||
activesupport (6.0.3.2) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 0.7, < 2) | ||
minitest (~> 5.1) | ||
tzinfo (~> 1.1) | ||
zeitwerk (~> 2.2, >= 2.2.2) | ||
ast (2.4.1) | ||
bootsnap (1.4.8) | ||
msgpack (~> 1.0) | ||
builder (3.2.4) | ||
byebug (11.1.3) | ||
concurrent-ruby (1.1.7) | ||
crass (1.0.6) | ||
dry-configurable (0.11.6) | ||
concurrent-ruby (~> 1.0) | ||
dry-core (~> 0.4, >= 0.4.7) | ||
dry-equalizer (~> 0.2) | ||
dry-container (0.7.2) | ||
concurrent-ruby (~> 1.0) | ||
dry-configurable (~> 0.1, >= 0.1.3) | ||
dry-core (0.4.9) | ||
concurrent-ruby (~> 1.0) | ||
dry-equalizer (0.3.0) | ||
dry-inflector (0.2.0) | ||
dry-logic (1.0.7) | ||
concurrent-ruby (~> 1.0) | ||
dry-core (~> 0.2) | ||
dry-equalizer (~> 0.2) | ||
dry-types (1.4.0) | ||
concurrent-ruby (~> 1.0) | ||
dry-container (~> 0.3) | ||
dry-core (~> 0.4, >= 0.4.4) | ||
dry-equalizer (~> 0.3) | ||
dry-inflector (~> 0.1, >= 0.1.2) | ||
dry-logic (~> 1.0, >= 1.0.2) | ||
erubi (1.9.0) | ||
ffi (1.13.1) | ||
globalid (0.4.2) | ||
activesupport (>= 4.2.0) | ||
grape (1.4.0) | ||
activesupport | ||
builder | ||
dry-types (>= 1.1) | ||
mustermann-grape (~> 1.0.0) | ||
rack (>= 1.3.0) | ||
rack-accept | ||
grape-swagger (1.2.1) | ||
grape (~> 1.3) | ||
grape_on_rails_routes (0.3.2) | ||
rails (>= 3.1.1) | ||
i18n (1.8.5) | ||
concurrent-ruby (~> 1.0) | ||
listen (3.2.1) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
loofah (2.6.0) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
mail (2.7.1) | ||
mini_mime (>= 0.1.1) | ||
marcel (0.3.3) | ||
mimemagic (~> 0.3.2) | ||
method_source (1.0.0) | ||
mimemagic (0.3.5) | ||
mini_mime (1.0.2) | ||
mini_portile2 (2.4.0) | ||
minitest (5.14.1) | ||
msgpack (1.3.3) | ||
mustermann (1.1.1) | ||
ruby2_keywords (~> 0.0.1) | ||
mustermann-grape (1.0.1) | ||
mustermann (>= 1.0.0) | ||
nio4r (2.5.2) | ||
nokogiri (1.10.10) | ||
mini_portile2 (~> 2.4.0) | ||
parallel (1.19.2) | ||
parser (2.7.1.4) | ||
ast (~> 2.4.1) | ||
pg (1.2.3) | ||
puma (4.3.5) | ||
nio4r (~> 2.0) | ||
rack (2.2.3) | ||
rack-accept (0.4.5) | ||
rack (>= 0.4) | ||
rack-cors (1.1.1) | ||
rack (>= 2.0.0) | ||
rack-test (1.1.0) | ||
rack (>= 1.0, < 3) | ||
rails (6.0.3.2) | ||
actioncable (= 6.0.3.2) | ||
actionmailbox (= 6.0.3.2) | ||
actionmailer (= 6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
actiontext (= 6.0.3.2) | ||
actionview (= 6.0.3.2) | ||
activejob (= 6.0.3.2) | ||
activemodel (= 6.0.3.2) | ||
activerecord (= 6.0.3.2) | ||
activestorage (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
bundler (>= 1.3.0) | ||
railties (= 6.0.3.2) | ||
sprockets-rails (>= 2.0.0) | ||
rails-dom-testing (2.0.3) | ||
activesupport (>= 4.2.0) | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.3.0) | ||
loofah (~> 2.3) | ||
railties (6.0.3.2) | ||
actionpack (= 6.0.3.2) | ||
activesupport (= 6.0.3.2) | ||
method_source | ||
rake (>= 0.8.7) | ||
thor (>= 0.20.3, < 2.0) | ||
rainbow (3.0.0) | ||
rake (13.0.1) | ||
rb-fsevent (0.10.4) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
regexp_parser (1.7.1) | ||
rexml (3.2.4) | ||
rubocop (0.89.1) | ||
parallel (~> 1.10) | ||
parser (>= 2.7.1.1) | ||
rainbow (>= 2.2.2, < 4.0) | ||
regexp_parser (>= 1.7) | ||
rexml | ||
rubocop-ast (>= 0.3.0, < 1.0) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 1.4.0, < 2.0) | ||
rubocop-ast (0.3.0) | ||
parser (>= 2.7.1.4) | ||
rubocop-rails (2.7.1) | ||
activesupport (>= 4.2.0) | ||
rack (>= 1.1) | ||
rubocop (>= 0.87.0) | ||
ruby-progressbar (1.10.1) | ||
ruby2_keywords (0.0.2) | ||
spring (2.1.0) | ||
spring-watcher-listen (2.0.1) | ||
listen (>= 2.7, < 4.0) | ||
spring (>= 1.2, < 3.0) | ||
sprockets (4.0.2) | ||
concurrent-ruby (~> 1.0) | ||
rack (> 1, < 3) | ||
sprockets-rails (3.2.1) | ||
actionpack (>= 4.0) | ||
activesupport (>= 4.0) | ||
sprockets (>= 3.0.0) | ||
thor (1.0.1) | ||
thread_safe (0.3.6) | ||
tzinfo (1.2.7) | ||
thread_safe (~> 0.1) | ||
unicode-display_width (1.7.0) | ||
websocket-driver (0.7.3) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
zeitwerk (2.4.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
bootsnap (>= 1.4.2) | ||
byebug | ||
grape | ||
grape-swagger | ||
grape_on_rails_routes | ||
listen (~> 3.2) | ||
pg (>= 0.18, < 2.0) | ||
puma (~> 4.1) | ||
rack-cors | ||
rails (~> 6.0.3, >= 6.0.3.2) | ||
rubocop (~> 0.89.1) | ||
rubocop-rails (~> 2.7.1) | ||
spring | ||
spring-watcher-listen (~> 2.0.0) | ||
tzinfo-data | ||
|
||
RUBY VERSION | ||
ruby 2.7.1p83 | ||
|
||
BUNDLED WITH | ||
2.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# SBHacks API | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require_relative 'config/application' | ||
|
||
Rails.application.load_tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class APIRoutes < Grape::API | ||
format :json | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module ApplicationCable | ||
class Channel < ActionCable::Channel::Base | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module ApplicationCable | ||
class Connection < ActionCable::Connection::Base | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class ApplicationController < ActionController::API | ||
end |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class ApplicationJob < ActiveJob::Base | ||
# Automatically retry jobs that encountered a deadlock | ||
# retry_on ActiveRecord::Deadlocked | ||
|
||
# Most jobs are safe to ignore if the underlying records are no longer available | ||
# discard_on ActiveJob::DeserializationError | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class ApplicationMailer < ActionMailer::Base | ||
default from: '[email protected]' | ||
layout 'mailer' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class ApplicationRecord < ActiveRecord::Base | ||
self.abstract_class = true | ||
end |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<style> | ||
/* Email styles need to be inline */ | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<%= yield %> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<%= yield %> |
Oops, something went wrong.