-
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
Showing
54 changed files
with
1,096 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,22 @@ | ||
# Ignore bundler config. | ||
/.bundle | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/* | ||
/tmp/* | ||
!/log/.keep | ||
!/tmp/.keep | ||
|
||
# Ignore Byebug command history file. | ||
.byebug_history | ||
|
||
# Ignore tests stuff | ||
/coverage | ||
/spec/tmp | ||
/spec/examples.txt | ||
|
||
# Ignore application configuration | ||
/config/application.yml | ||
/config/database.yml | ||
|
||
/.idea |
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 @@ | ||
--color | ||
--require rails_helper |
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,52 @@ | ||
AllCops: | ||
TargetRubyVersion: 2.4 | ||
Include: | ||
- config.ru | ||
- lib/**/*.rake | ||
- Rakefile | ||
Exclude: | ||
- '**/templates/**/*' | ||
- '**/vendor/**/*' | ||
- bin/**/* | ||
- config/**/* | ||
- db/**/* | ||
- Gemfile | ||
|
||
Lint/AssignmentInCondition: | ||
Exclude: | ||
- 'bin/spring' | ||
|
||
Lint/HandleExceptions: | ||
Enabled: false | ||
|
||
Metrics/AbcSize: | ||
Max: 20 | ||
|
||
Metrics/LineLength: | ||
Max: 120 | ||
|
||
Metrics/MethodLength: | ||
Max: 20 | ||
|
||
Metrics/ModuleLength: | ||
Exclude: | ||
- "**/*_spec.rb" | ||
|
||
Metrics/BlockLength: | ||
Exclude: | ||
- "**/*_spec.rb" | ||
- "spec/support/**/*.rb" | ||
- lib/tasks/auto_annotate_models.rake | ||
|
||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Rails/FilePath: | ||
Exclude: | ||
- 'config/environments/development.rb' | ||
|
||
Rails: | ||
Enabled: true |
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.4.1@polygon |
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,15 @@ | ||
SimpleCov.start do | ||
add_filter "/spec/" | ||
|
||
add_filter "/config/" | ||
add_filter "/db/" | ||
|
||
add_group "Controllers", "app/controllers" | ||
add_group "Models", "app/models" | ||
add_group "Mailers", "app/mailers" | ||
add_group "Helpers", "app/helpers" | ||
add_group "Jobs", %w(app/jobs app/workers) | ||
add_group "Libraries", "lib" | ||
|
||
track_files "{app,lib}/**/*.rb" | ||
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,50 @@ | ||
source 'https://rubygems.org' | ||
ruby '2.4.1' | ||
|
||
git_source(:github) do |repo_name| | ||
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/') | ||
"https://github.com/#{repo_name}.git" | ||
end | ||
|
||
gem 'pg', '~> 0.18' | ||
gem 'rails', '~> 5.0.2' | ||
|
||
gem 'figaro' | ||
gem 'jbuilder', '~> 2.5' | ||
gem 'kaminari' | ||
gem 'net-ping' | ||
gem 'puma', '~> 3.0' | ||
gem 'sidekiq' | ||
|
||
group :development, :test do | ||
gem 'awesome_print' | ||
gem 'brakeman', require: false | ||
gem 'byebug', platform: :mri | ||
gem 'database_cleaner' | ||
gem 'factory_girl_rails' | ||
gem 'faker' | ||
gem 'rspec-rails', '~> 3.5' | ||
gem 'rubocop', require: false | ||
gem 'webmock', require: false | ||
end | ||
|
||
group :development do | ||
gem 'annotate' | ||
gem 'better_errors' | ||
gem 'binding_of_caller' | ||
gem 'bullet' | ||
gem 'listen', '~> 3.0.5' | ||
gem 'pry-rails' | ||
gem 'sextant' | ||
gem 'spring' | ||
gem 'spring-watcher-listen', '~> 2.0.0' | ||
gem 'web-console', '>= 3.3.0' | ||
end | ||
|
||
group :test do | ||
gem 'shoulda-matchers', '~> 3.1' | ||
gem 'simplecov', require: false | ||
end | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] |
Oops, something went wrong.