Skip to content

Commit

Permalink
bumps 22-12-2022 (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartes authored Dec 22, 2022
1 parent a7585fd commit 2d3cd09
Show file tree
Hide file tree
Showing 62 changed files with 358 additions and 527 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ aliases:
- &rails-6
environment:
BUNDLE_GEMFILE: gemfiles/rails_6.gemfile
- &rails-7
environment:
BUNDLE_GEMFILE: gemfiles/rails_7.gemfile
- &ruby-2_4_9
docker:
- image: circleci/ruby:2.4.9
Expand Down Expand Up @@ -79,6 +82,10 @@ jobs:
<<: *ruby-3_0
<<: *rails-6
<<: *job-defaults
ruby-3_0-rails-7:
<<: *ruby-3_0
<<: *rails-7
<<: *job-defaults
workflows:
main:
jobs:
Expand All @@ -91,3 +98,4 @@ workflows:
- ruby-2_7-rails-5
- ruby-2_7-rails-6
- ruby-3_0-rails-6
- ruby-3_0-rails-7
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ tags
/doc/
/.yardoc/
gemfiles/vendor
/lint/
47 changes: 42 additions & 5 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
.bundle/
vendor/
coverage/
/.bundle
/.bin
/vendor
/coverage
/db
/tmp
/app/assets
/node_modules
/public
/spec/files
/spec/fixtures
/spec/javascripts
/bower_components
/doc
/content
**/*.json
**/*.haml
**/*.html
**/*.yml
**/*.md
**/*.sh
**/.*
Gemfile.lock
bin/
tags
Procfile
package-lock.json
/log
/build
/script
/profile
/.circleci
/.coditsu
/.git
/.github
**/*.erb
**/*.tgz
**/*.feature
**/*.sql
**/*.csv
*.lock
/bin
/lint
Gemfile
apps/apps/karafka_consumer/Gemfile
4 changes: 3 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"printWidth": 99
"printWidth": 120,
"rubyPlugins": "plugin/single_quotes",
"singleQuote": true
}
9 changes: 0 additions & 9 deletions .rubocop-performance.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .rubocop-rspec.yml

This file was deleted.

115 changes: 96 additions & 19 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,114 @@
require:
- rubocop-rspec
- rubocop-performance

inherit_gem:
prettier: rubocop.yml

AllCops:
TargetRubyVersion: 2.5
NewCops: enable
Exclude:
- bin/**/*
- db/schema.rb
- .*/**/*
- coverage/**/*
- log/**/*
- tmp/**/*
- vendor/**/*
- spec/fixtures/**/*
- spec/files/**/*
- lint/**/*
- .gemspec/**/*
- gemfiles/**/*
- .bundle/**/*
- vendor/**/*
- db/migrate/**/*
- '**/dummy**/*'
- Appraisals
- !ruby/regexp /old_and_unused\.rb$/

Metrics/ClassLength:
CountComments: false
Max: 200
Style/IfUnlessModifier:
Enabled: false

RSpec/MultipleExpectations:
Enabled: true
Max: 3

RSpec/NestedGroups:
Enabled: true
Max: 4

RSpec/ExampleLength:
Enabled: true
Max: 10

RSpec/MultipleMemoizedHelpers:
Enabled: true
Max: 15

RSpec/EmptyExampleGroup:
Enabled: false

RSpec/Rails/InferredSpecType:
Enabled: false

Layout/LineLength:
Max: 99
Exclude:
- "spec/integration/rails/rails_spec.rb"
Max: 120

Metrics/MethodLength:
CountComments: false
Max: 20
Enabled: false

Metrics/AbcSize:
Max: 25
Metrics/ClassLength:
Enabled: false

Metrics/BlockLength:
IgnoredMethods: ['describe', 'context', 'let']
Enabled: false

Metrics/AbcSize:
Max: 30

Metrics/CyclomaticComplexity:
Max: 12

Naming/FileName:
Exclude:
- '*.gemspec'
- 'lib/castle-rb.rb'

Style/NumericLiterals:
Enabled: false

Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver

Style/RedundantFetchBlock:
Enabled: false

Style/StringLiterals:
EnforcedStyle: single_quotes
SupportedStyles:
- single_quotes
- double_quotes

Security/YAMLLoad:
Enabled: false

Style/FormatStringToken:
Enabled: false

Style/DoubleNegation:
Enabled: false

Style/RedundantParentheses:
Enabled: false

Style/HashEachMethods:
Enabled: false

Performance/Sum:
Enabled: false

Performance/StringInclude:
Enabled: false

RSpec/Rails/HttpStatus:
Enabled: false

RSpec/Rails/HaveHttpStatus:
Enabled: false

Lint/AmbiguousBlockAssociation:
AllowedMethods: [change]
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.5
2.7.7
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ gem 'rake'

group :development, :test do
gem 'byebug'
gem 'prettier'
gem 'rubocop'
gem 'rubocop-performance'
gem 'rubocop-rspec'
end

group :test do
Expand Down
69 changes: 20 additions & 49 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ PATH
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
appraisal (2.4.1)
bundler
rake
thor (>= 0.14.0)
ast (2.4.2)
byebug (11.1.3)
coveralls_reborn (0.23.1)
coveralls_reborn (0.25.0)
simplecov (>= 0.18.1, < 0.22.0)
term-ansicolor (~> 1.6)
thor (>= 0.20.3, < 2.0)
Expand All @@ -24,46 +23,23 @@ GEM
diff-lcs (1.5.0)
docile (1.4.0)
hashdiff (1.0.1)
parallel (1.21.0)
parser (3.1.1.0)
ast (~> 2.4.1)
prettier (2.0.0)
public_suffix (4.0.6)
rack (2.2.3)
rainbow (3.1.1)
public_suffix (5.0.1)
rack (3.0.2)
rake (13.0.6)
regexp_parser (2.2.1)
rexml (3.2.5)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
rubocop (1.26.0)
parallel (~> 1.10)
parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.16.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.16.0)
parser (>= 3.1.1.0)
rubocop-performance (1.13.3)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.9.0)
rubocop (~> 1.19)
ruby-progressbar (1.11.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand All @@ -74,11 +50,10 @@ GEM
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (1.2.1)
timecop (0.9.5)
tins (1.31.0)
timecop (0.9.6)
tins (1.32.1)
sync
unicode-display_width (2.1.0)
webmock (3.14.0)
webmock (3.18.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand All @@ -91,16 +66,12 @@ DEPENDENCIES
byebug
castle-rb!
coveralls_reborn
prettier
rack
rake
rspec
rubocop
rubocop-performance
rubocop-rspec
simplecov
timecop
webmock

BUNDLED WITH
2.3.9
2.3.26
Loading

0 comments on commit 2d3cd09

Please sign in to comment.