Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
Trying to deploy
  • Loading branch information
jonifallon committed Apr 26, 2017
0 parents commit 0bf3b87
Show file tree
Hide file tree
Showing 88 changed files with 3,427 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

[*.rb]
indent_style = space
indent_size = 2

[*.hbs]
insert_final_newline = false
indent_style = space
indent_size = 2

[*.css]
indent_style = space
indent_size = 2

[*.html]
indent_style = space
indent_size = 2

[*.{diff,md}]
trim_trailing_whitespace = false
150 changes: 150 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@

# Created by https://www.gitignore.io/api/macos,linux

### macOS ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk


### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

# End of https://www.gitignore.io/api/macos,linux

# Created by https://www.gitignore.io/api/ruby

### Ruby ###
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/

# Used by dotenv library to load environment variables.
# .env

## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/

## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# vendor/Pods/

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# End of https://www.gitignore.io/api/ruby

# Created by https://www.gitignore.io/api/rails

### Rails ###
*.rbc
capybara-*.html
.rspec
/log
/tmp
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
/coverage/
/spec/tmp
**.orig
rerun.txt
pickle-email-*.html

# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
# config/initializers/secret_token.rb

# Only include if you have production secrets in this file, which is no longer a Rails default
# config/secrets.yml

# dotenv
# TODO Comment out this rule if environment variables can be committed
.env

## Environment normalization:
/.bundle
/vendor/bundle

# these should all be checked in to normalize the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# if using bower-rails ignore default bower_components path bower.json files
/vendor/assets/bower_components
*.bowerrc # shouldn't be an issue in rails-api repositories
bower.json # same

# Ignore pow environment settings
.powenv

# Ignore Byebug command history file.
.byebug_history

# End of https://www.gitignore.io/api/rails
Expand Down
23 changes: 23 additions & 0 deletions .remarkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"plugins": {
"remark-lint": {
"blockquote-indentation": "2",
"checkbox-character-style": {
"checked": "x",
"unchecked": " "
},
"code-block-style": "fenced",
"heading-style": "atx",
"list-item-spacing": false,
"no-html": false,
"no-shortcut-reference-link": true,
"no-undefined-references": true,
"ordered-list-marker-value": "one",
"rule-style": "---",
"unordered-list-marker-style": "-"
}
},
"settings": {
"commonmark": true
}
}
18 changes: 18 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Style/Documentation:
Exclude:
- 'app/**/*'
- 'db/migrate/**'

Metrics/BlockLength:
Exclude:
- 'spec/**/*'

AllCops:
TargetRubyVersion:
2.3
Exclude:
- 'bin/*'
- 'config/database.yml'
- 'db/schema.rb'
- 'spec/rails_helper.rb'
- 'spec/spec_helper.rb'
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.3.1
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Contributing

If you would like to contribute, please follow the [style guide](STYLE.md).
Issues labeled ["help
wanted"](https://github.com/ga-wdi-boston/meta/labels/help%20wanted) are a good
place to start!

To contribute, clone this repository. If you don't have commit access: fork,
clone, then pull request.

Feel free to comment on any issue, including proposed changes. If you have any
questions or want to discuss a new change, don't hesitate to file an issue.
31 changes: 31 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# frozen_string_literal: true
#
source 'https://rubygems.org'
ruby '2.3.1'

gem 'active_model_serializers', '~> 0.10.0'
gem 'bcrypt', '~> 3.1.11'
gem 'pg'
gem 'puma', '~> 3.0'
gem 'rack-cors', require: 'rack/cors'
gem 'rails', '~> 5.0.1'

group :development, :test do
gem 'byebug', platform: :mri
gem 'dotenv-rails', '~> 2.1', '>= 2.1.1'
gem 'pry', '~> 0.10'
gem 'pry-byebug', '~> 3.3'
gem 'rspec-rails', '~> 3.5'
gem 'rubocop', '~> 0.46'
end

group :development do
gem 'listen', '~> 3.0.5'
gem 'pry-rails', '~> 0.3.4'
gem 'spring', '~> 1.6'
gem 'spring-commands-rspec', '~> 1.0'
end

group :production do
gem 'rails_12factor', '~> 0.0.3'
end
Loading

0 comments on commit 0bf3b87

Please sign in to comment.