Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Commit a39167e

Browse files
committed
app setup
0 parents  commit a39167e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1427
-0
lines changed

.gitignore

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore uploaded files in development
17+
/storage/*
18+
!/storage/.keep
19+
20+
/node_modules
21+
/yarn-error.log
22+
23+
/public/assets
24+
.byebug_history
25+
26+
# Ignore master key for decrypting credentials and more.
27+
/config/master.key

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "none",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true,
6+
"printWidth": 80
7+
}

.rubocop.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
inherit_from: .rubocop_todo.yml

.rubocop_todo.yml

+99
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# This configuration was generated by
2+
# `rubocop --auto-gen-config`
3+
# on 2019-01-05 11:11:04 -0800 using RuboCop version 0.62.0.
4+
# The point is for the user to remove these configuration records
5+
# one by one as the offenses are removed from the code base.
6+
# Note that changes in the inspected code, or installation of new
7+
# versions of RuboCop, may require this file to be generated again.
8+
9+
# Offense count: 1
10+
# Cop supports --auto-correct.
11+
# Configuration parameters: TreatCommentsAsGroupSeparators, Include.
12+
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
13+
Bundler/OrderedGems:
14+
Exclude:
15+
- 'Gemfile'
16+
17+
# Offense count: 2
18+
# Cop supports --auto-correct.
19+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
20+
# SupportedStyles: space, no_space, compact
21+
# SupportedStylesForEmptyBrackets: space, no_space
22+
Layout/SpaceInsideArrayLiteralBrackets:
23+
Exclude:
24+
- 'config/environments/production.rb'
25+
26+
# Offense count: 1
27+
# Cop supports --auto-correct.
28+
# Configuration parameters: AutoCorrect, EnforcedStyle.
29+
# SupportedStyles: nested, compact
30+
Style/ClassAndModuleChildren:
31+
Exclude:
32+
- 'test/test_helper.rb'
33+
34+
# Offense count: 4
35+
Style/Documentation:
36+
Exclude:
37+
- 'spec/**/*'
38+
- 'test/**/*'
39+
- 'app/helpers/application_helper.rb'
40+
- 'app/mailers/application_mailer.rb'
41+
- 'app/models/application_record.rb'
42+
- 'config/application.rb'
43+
44+
# Offense count: 2
45+
# Cop supports --auto-correct.
46+
Style/ExpandPathArguments:
47+
Exclude:
48+
- 'bin/rails'
49+
- 'bin/rake'
50+
51+
# Offense count: 38
52+
# Cop supports --auto-correct.
53+
# Configuration parameters: EnforcedStyle.
54+
# SupportedStyles: when_needed, always, never
55+
Style/FrozenStringLiteralComment:
56+
Enabled: false
57+
58+
# Offense count: 2
59+
Style/MixinUsage:
60+
Exclude:
61+
- 'bin/setup'
62+
- 'bin/update'
63+
64+
# Offense count: 1
65+
# Cop supports --auto-correct.
66+
Style/RedundantBegin:
67+
Exclude:
68+
- 'bin/yarn'
69+
70+
# Offense count: 2
71+
# Cop supports --auto-correct.
72+
Style/StderrPuts:
73+
Exclude:
74+
- 'bin/yarn'
75+
76+
# Offense count: 10
77+
# Cop supports --auto-correct.
78+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
79+
# SupportedStyles: single_quotes, double_quotes
80+
Style/StringLiterals:
81+
Exclude:
82+
- 'bin/spring'
83+
- 'bin/yarn'
84+
- 'config/environments/production.rb'
85+
- 'config/puma.rb'
86+
- 'test/application_system_test_case.rb'
87+
88+
# Offense count: 2
89+
# Cop supports --auto-correct.
90+
# Configuration parameters: MinSize.
91+
# SupportedStyles: percent, brackets
92+
Style/SymbolArray:
93+
EnforcedStyle: brackets
94+
95+
# Offense count: 27
96+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
97+
# URISchemes: http, https
98+
Metrics/LineLength:
99+
Max: 130

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.6.0

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"editor.formatOnSave": true
3+
}

Gemfile

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby '2.6.0'
5+
6+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7+
gem 'rails', '~> 5.2.2'
8+
# Use postgresql as the database for Active Record
9+
gem 'pg', '>= 0.18', '< 2.0'
10+
# Use Puma as the app server
11+
gem 'puma', '~> 3.11'
12+
# Use SCSS for stylesheets
13+
gem 'sass-rails', '~> 5.0'
14+
# Use Uglifier as compressor for JavaScript assets
15+
gem 'uglifier', '>= 1.3.0'
16+
# See https://github.com/rails/execjs#readme for more supported runtimes
17+
# gem 'mini_racer', platforms: :ruby
18+
19+
# Use CoffeeScript for .coffee assets and views
20+
gem 'coffee-rails', '~> 4.2'
21+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
22+
gem 'turbolinks', '~> 5'
23+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24+
gem 'jbuilder', '~> 2.5'
25+
# Use Redis adapter to run Action Cable in production
26+
# gem 'redis', '~> 4.0'
27+
# Use ActiveModel has_secure_password
28+
# gem 'bcrypt', '~> 3.1.7'
29+
30+
# Use ActiveStorage variant
31+
# gem 'mini_magick', '~> 4.8'
32+
33+
# Use Capistrano for deployment
34+
# gem 'capistrano-rails', group: :development
35+
36+
# Reduces boot times through caching; required in config/boot.rb
37+
gem 'bootsnap', '>= 1.1.0', require: false
38+
39+
group :development, :test do
40+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
41+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
42+
end
43+
44+
group :development do
45+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
46+
gem 'web-console', '>= 3.3.0'
47+
gem 'listen', '>= 3.0.5', '< 3.2'
48+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
49+
gem 'spring'
50+
gem 'spring-watcher-listen', '~> 2.0.0'
51+
end
52+
53+
group :test do
54+
# Adds support for Capybara system testing and selenium driver
55+
gem 'capybara', '>= 2.15'
56+
gem 'selenium-webdriver'
57+
# Easy installation and use of chromedriver to run system tests with Chrome
58+
gem 'chromedriver-helper'
59+
end
60+
61+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
62+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

0 commit comments

Comments
 (0)