diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 9860e70..6578ab6 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,11 +34,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Ruby - uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 + uses: ruby/setup-ruby@v1 with: # The Ruby version is determined by either a `.ruby-version` or a `.tool-versions` file in root of the repo. bundler-cache: true # runs 'bundle install' and caches installed gems automatically - cache-version: 2 # Increment this number if you need to re-download cached gems + cache-version: 0 # Increment this number if you need to re-download cached gems - name: Install dependencies run: bundle install - name: Setup Pages diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a8c8628 --- /dev/null +++ b/.gitignore @@ -0,0 +1,184 @@ +# Staff script +upload-staff.py + +# Site Build +_site/ + +# Common Things +# DO NOT Commit student records to git reports. +# These are common names used by gradescope, etc. +# If you must add a file, use `git add --force` +*_roster*.csv +*grades.csv +*scores.csv +# *.csv # You might cosider this as a safety measure + +# Temp Files +.DS_Store +*~ +log/ +*.log +*log.txt + +# Editors +.idea/ + +# VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ +*.tmp + +# Office temporary +~$*.doc* +~$*.xls* +*.xlk +~$*.ppt* + +# Jekyll & Ruby +.bundle/ +*.gem +.jekyll-cache/ +.jekyll-metadata +.sass-cache/ +vendor/ + +# Misc Front-End +node_modules/ +!assets/vendor/ +tmp/ + +# Python Stuff Highlights from: +# https://github.com/github/gitignore/blob/main/Python.gitignore +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Jupyter Notebook +.ipynb_checkpoints +*/.ipynb_checkpoints/* + +# IPython +profile_default/ +ipython_config.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# C extensions +*.so +*.o + +# Node / JS +# https://github.com/github/gitignore/blob/main/Node.gitignore +# Logs +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# R +# https://github.com/github/gitignore/blob/main/R.gitignore +# History files +.Rhistory +.Rapp.history + +# Session Data files +.RData +.RDataTmp + +# User-specific files +.Ruserdata + +# Example code in package build process +*-Ex.R + +# Output files from R CMD build +/*.tar.gz + +# Output files from R CMD check +/*.Rcheck/ + +# RStudio files +.Rproj.user/ + +# Latex +# https://github.com/github/gitignore/blob/main/TeX.gitignore +## Core latex/pdflatex auxiliary files: +*.aux +*.lof +*.log +*.lot +*.fls +*.out +*.toc +*.fmt +*.fot +*.cb +*.cb2 +.*.lb + +## Intermediate documents: +*.dvi +*.xdv +*-converted-to.* + +## Generated if empty string is given at "Please type another file name for output:" +.pdf + +## Bibliography auxiliary files (bibtex/biblatex/biber): +*.bbl +*.bcf +*.blg +*-blx.aux +*-blx.bib +*.run.xml diff --git a/.rspec b/.rspec new file mode 100644 index 0000000..1841350 --- /dev/null +++ b/.rspec @@ -0,0 +1 @@ +-f documentation -f documentation --out tmp/rspec_output.txt -f json --out tmp/rspec_output.json -f html --out tmp/rspec_output.html diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..69fe204 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,18 @@ +require: + - rubocop-rspec + - rubocop-capybara + +AllCops: + NewCops: enable + +Metrics/AbcSize: + Enabled: false + +Metrics/CyclomaticComplexity: + Enabled: false + +Metrics/MethodLength: + Max: 100 + +Metrics/PerceivedComplexity: + Enabled: false diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..15a2799 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.3.0 diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..3294aed --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +ruby 3.3.0