Skip to content

Commit

Permalink
Remove CAS and Covid. Clean. (#72)
Browse files Browse the repository at this point in the history
* Remove CAS and Covid

* Remove CAS and Covid

---------

Co-authored-by: Alexander <[email protected]>
  • Loading branch information
top4ek and Alexander committed Jan 20, 2024
1 parent 4b3f001 commit f03265a
Show file tree
Hide file tree
Showing 95 changed files with 263 additions and 1,919 deletions.
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

0 comments on commit f03265a

Please sign in to comment.