Skip to content

Commit 113d4f1

Browse files
cycomacheadactions-user
authored andcommitted
automated commit
0 parents  commit 113d4f1

File tree

306 files changed

+31656
-0
lines changed

Some content is hidden

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

306 files changed

+31656
-0
lines changed

.browserslistrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
defaults
2+

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# EditorConfig helps developers define and maintain consistent
3+
# coding styles between different editors and IDEs
4+
# editorconfig.org
5+
6+
root = true
7+
8+
[*]
9+
10+
# We recommend you to keep these unchanged
11+
end_of_line = lf
12+
charset = utf-8
13+
trim_trailing_whitespace = true
14+
insert_final_newline = true
15+
16+
# Change these settings to your own preference
17+
indent_style = space
18+
indent_size = 4
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/node_modules/*
2+
/public/*
3+
postcss.config.js

.eslintrc.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
module.exports = {
3+
env: {
4+
browser: true,
5+
commonjs: true,
6+
es6: true,
7+
jquery: true
8+
},
9+
extends: [
10+
'airbnb-base'
11+
],
12+
globals: {
13+
Atomics: 'readonly',
14+
SharedArrayBuffer: 'readonly',
15+
},
16+
parserOptions: {
17+
ecmaVersion: 2018,
18+
},
19+
rules: {
20+
indent: ['error', 4],
21+
'linebreak-style': ['error', 'unix'],
22+
},
23+
};
24+

.github/ISSUE_TEMPLATE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- This is a recommended template you may edit as you wish! -->
2+
3+
## Describe the issue
4+
5+
Is this a... ?:
6+
- [ ] Feature
7+
- [ ] Bug
8+
- [ ] Chore
9+
10+
...
11+
12+
## Are there any blockers or related stories?
13+
<!-- Link other issues -->
14+
15+
### Checklist
16+
17+
- [ ] Fillout the GitHub Tags / Assign to teammates when ready
18+
- [ ] Is this a 1-point story? If not, note why above
19+
- [ ] Has this story been prioritized? (Go to the project board)

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## What does this PR do?
2+
3+
<!-- Be sure to link the relevant issues. -->
4+
5+
### Who else worked on this?
6+
<!-- If you're pairing, make sure to tag your partner(s) -->
7+
8+
## How should this be tested?
9+
10+
- [ ] Are there rspec tests? (Or are they not needed? Why?)
11+
- [ ] Are there cucumber tests? (Or are they not needed? Why?)
12+
13+
<!-- Add notes about testing -->
14+
15+
## Is there anything that needs special attention?
16+
17+
<!-- Data migrations, for example? Are there dependent stories? -->
18+
19+
### Checklist
20+
21+
- [ ] Assign someone to review
22+
- [ ] CI is all Green / Passing
23+
- [ ] Resolved all code linter comments, review comments, etc.
24+
- [ ] Is `main` up to date? Is there rebasing / merging needed?

.github/workflows/linters.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Code Linters
2+
on:
3+
- pull_request
4+
- workflow_dispatch
5+
6+
jobs:
7+
pronto:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
- name: Setup Ruby
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
bundler-cache: true
18+
- name: Install pronto
19+
run: bundle install --without default development test production
20+
- name: Run Pronto
21+
run: bundle exec pronto run -f github_combined_status github_pr_review -c origin/${{ github.base_ref }}
22+
env:
23+
PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }}
24+
PRONTO_GITHUB_ACCESS_TOKEN: "${{ github.token }}"

.github/workflows/specs.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: All Specs
2+
on:
3+
- push
4+
- pull_request
5+
- workflow_dispatch
6+
7+
jobs:
8+
# TODO: Environment variables?
9+
build:
10+
runs-on: '${{ matrix.os }}'
11+
strategy:
12+
matrix:
13+
os:
14+
- ubuntu-latest
15+
steps:
16+
- name: Cache multiple paths
17+
uses: actions/cache@v2
18+
with:
19+
path: |-
20+
node_modules
21+
vendor/bundle
22+
key: '${{ runner.os }}-${{ hashFiles(''TODO'') }}'
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-node@v3
25+
with:
26+
node-version: 13.14.0
27+
- uses: ruby/setup-ruby@v1
28+
with:
29+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
30+
- run: gem install bundler:2.1.4
31+
- run: npm install -g [email protected]
32+
- run: bundle install
33+
- run: yarn install
34+
- run: bundle exec rake db:setup
35+
- run: bundle exec rake db:test:prepare
36+
- run: bundle exec rspec
37+
- run: CUCUMBER_PUBLISH_QUIET=true bundle exec cucumber

.gitignore

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
2+
*.rbc
3+
capybara-*.html
4+
.rspec
5+
db/*.sqlite3
6+
db/*.sqlite3-journal
7+
db/*.sqlite3-[0-9]*
8+
public/system
9+
coverage/
10+
spec/tmp
11+
*.orig
12+
rerun.txt
13+
pickle-email-*.html
14+
15+
# Ignore all logfiles and tempfiles.
16+
log/*
17+
tmp/*
18+
!log/.keep
19+
!tmp/.keep
20+
21+
# Note: It is not OK to publish secrets in repo, use figaro instead.
22+
config/initializers/secret_token.rb
23+
config/master.key
24+
25+
# Only include if you have production secrets in this file, which is no longer a Rails default
26+
# config/secrets.yml
27+
28+
# dotenv, dotenv-rails
29+
# TODO Comment out these rules if environment variables can be committed
30+
.env
31+
.env.*
32+
33+
## Environment normalization:
34+
.bundle
35+
vendor/bundle
36+
37+
# these should all be checked in to normalize the environment:
38+
# Gemfile.lock, .ruby-version, .ruby-gemset
39+
40+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
41+
.rvmrc
42+
43+
# Ignore erb files generated by rails_real_favicon
44+
# Instead use `bundle exec rails haml:erb2haml app/views/application/_favicon.html.erb` to convert to haml.
45+
app/views/application/_favicon.html.erb
46+
47+
# if using bower-rails ignore default bower_components path bower.json files
48+
vendor/assets/bower_components
49+
*.bowerrc
50+
bower.json
51+
52+
# Ignore pow environment settings
53+
.powenv
54+
55+
# Ignore Byebug command history file.
56+
.byebug_history
57+
58+
# Ignore node_modules
59+
/node_modules
60+
61+
# Use yarn instead of npm
62+
package-lock.json
63+
64+
# Ignore precompiled javascript packs
65+
/public/packs
66+
/public/packs-test
67+
/public/assets
68+
69+
# Ignore yarn files
70+
/yarn-error.log
71+
yarn-debug.log*
72+
.yarn-integrity
73+
74+
# Ignore uploaded files in development
75+
/storage/*
76+
!/storage/.keep
77+
/public/uploads
78+
79+
80+
# Ignore master key for decrypting credentials and more.
81+
/config/master.key

.haml-lint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
linters:
3+
LineLength:
4+
max: 120
5+
severity: error
6+
Indentation: # For consistency with default rubocop rules.
7+
character: space
8+
width: 4
9+
severity: error
10+
exclude:
11+
- 'node_modules/**/*'
12+
- 'vendor/**/*'
13+

0 commit comments

Comments
 (0)