Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CAS and Covid. Clean. #72

Merged
merged 2 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ PUMA_MIN_THREADS=2
PUMA_MAX_THREADS=5
WEB_CONCURRENCY=0

DATABASE_HOST=postgres
DATABASE_HOST=database
DATABASE_NAME=shizoid
DATABASE_PASSWORD=WoZ7w2e3
DATABASE_PORT=5432
DATABASE_USERNAME=shizoid
DB_POOL_SIZE=40

SIDEKIQ_CONCURRENCY=25
REDIS_HOST=redis
REDIS_HOST=cache
REDIS_PORT=6379
REDIS_SIDEKIQ_DB=1
REDIS_CONTEXT_DB=2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/shizoid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Perform specs
runs-on: ubuntu-latest
services:
postgres:
database:
image: postgres:alpine
env:
POSTGRES_USER: shizoid
Expand All @@ -20,7 +20,7 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis:
cache:
image: redis:alpine
ports:
- 6379:6379
Expand All @@ -31,7 +31,7 @@ jobs:
- name: 'Setup Ruby'
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.3.0
- name: "Install required system packages"
run: sudo apt-get update -y && sudo apt-get install openssh-client rsync libpq-dev cmake -y
- name: "Bundle install"
Expand Down
20 changes: 12 additions & 8 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ AllCops:
Documentation:
Enabled: false

Style/StringLiterals:
Exclude:
- 'config/application.rb'
- 'config/boot.rb'
- 'config/environments/*'
- 'config/environment.rb'
- 'config/initializers/backtrace_silencers.rb'
- 'config.ru'

RSpec/NestedGroups:
Max: 4

Metrics/LineLength:
Max: 130

Expand All @@ -29,13 +41,5 @@ Metrics/BlockLength:
- post
- delete

Style/NumericPredicate:
Exclude:
- spec/**/*

Style/HashSyntax:
Enabled: true
EnforcedStyle: ruby19

Metrics/AbcSize:
Max: 30
Loading
Loading