-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from anynines/DS-5380_update_dependencies
[DS-5380] Update Dependencies
- Loading branch information
Showing
29 changed files
with
1,246 additions
and
906 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
inherit_from: .rubocop_todo.yml | ||
|
||
Layout/ClassStructure: | ||
Enabled: true | ||
Layout/FirstArgumentIndentation: | ||
EnforcedStyle: consistent | ||
Layout/FirstArrayElementIndentation: | ||
EnforcedStyle: consistent | ||
Layout/FirstHashElementIndentation: | ||
EnforcedStyle: consistent | ||
Layout/FirstArrayElementLineBreak: | ||
Enabled: true | ||
Layout/FirstHashElementLineBreak: | ||
Enabled: true | ||
Layout/FirstMethodArgumentLineBreak: | ||
Enabled: true | ||
Layout/FirstMethodParameterLineBreak: | ||
Enabled: true | ||
Layout/MultilineArrayLineBreaks: | ||
Enabled: true | ||
Layout/MultilineHashKeyLineBreaks: | ||
Enabled: true | ||
Layout/MultilineMethodArgumentLineBreaks: | ||
Enabled: true | ||
Layout/MultilineMethodCallIndentation: | ||
EnforcedStyle: indented | ||
|
||
Metrics/ClassLength: | ||
Max: 200 | ||
Metrics/MethodLength: | ||
Max: 25 | ||
|
||
Style/AccessorGrouping: | ||
Enabled: false | ||
Style/ClassAndModuleChildren: | ||
EnforcedStyle: compact | ||
Style/Documentation: | ||
Enabled: false | ||
Style/FrozenStringLiteralComment: | ||
Enabled: false | ||
Style/HashSyntax: | ||
EnforcedShorthandSyntax: never | ||
Style/RegexpLiteral: | ||
AllowInnerSlashes: true | ||
Style/SymbolArray: | ||
EnforcedStyle: brackets | ||
Style/SpecialGlobalVars: | ||
Enabled: false | ||
Style/WordArray: | ||
EnforcedStyle: brackets | ||
|
||
RSpec/ExampleLength: | ||
Max: 10 | ||
RSpec/ExpectChange: | ||
EnforcedStyle: 'block' | ||
RSpec/IndexedLet: | ||
Enabled: false | ||
RSpec/MultipleMemoizedHelpers: | ||
Max: 20 | ||
RSpec/NestedGroups: | ||
Max: 5 | ||
|
||
require: | ||
- rubocop-rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2024-11-07 16:14:10 UTC using RuboCop version 1.68.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: Severity, Include. | ||
# Include: **/*.gemspec | ||
Gemspec/RequiredRubyVersion: | ||
Exclude: | ||
- 'unit_tests_utils.gemspec' | ||
|
||
# Offense count: 4 | ||
Lint/RescueException: | ||
Exclude: | ||
- 'lib/unit_tests_utils/postgresql_web_service_client.rb' | ||
|
||
# Offense count: 2 | ||
Lint/ShadowingOuterLocalVariable: | ||
Exclude: | ||
- 'lib/unit_tests_utils/postgresql_web_service_client.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowComments, AllowNil. | ||
Lint/SuppressedException: | ||
Exclude: | ||
- 'lib/unit_tests_utils/turbulence.rb' | ||
|
||
# Offense count: 1 | ||
Lint/UnreachableCode: | ||
Exclude: | ||
- 'lib/unit_tests_utils/turbulence.rb' | ||
|
||
# Offense count: 16 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. | ||
Metrics/AbcSize: | ||
Max: 39 | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: CountComments, Max, CountAsOne. | ||
Metrics/ClassLength: | ||
Exclude: | ||
- 'lib/unit_tests_utils/postgresql_web_service_client.rb' | ||
- 'lib/unit_tests_utils/turbulence.rb' | ||
|
||
# Offense count: 4 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/CyclomaticComplexity: | ||
Max: 12 | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns. | ||
Metrics/MethodLength: | ||
Exclude: | ||
- 'lib/unit_tests_utils/turbulence.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: CountComments, CountAsOne. | ||
Metrics/ModuleLength: | ||
Max: 177 | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: AllowedMethods, AllowedPatterns. | ||
Metrics/PerceivedComplexity: | ||
Max: 12 | ||
|
||
# Offense count: 5 | ||
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros. | ||
# NamePrefix: is_, has_, have_ | ||
# ForbiddenPrefixes: is_, has_, have_ | ||
# AllowedMethods: is_a? | ||
# MethodDefinitionMacros: define_method, define_singleton_method | ||
Naming/PredicateName: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'lib/unit_tests_utils/postgresql_web_service_client.rb' | ||
- 'lib/unit_tests_utils/traversal.rb' | ||
- 'lib/unit_tests_utils/turbulence.rb' | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns. | ||
# SupportedStyles: snake_case, normalcase, non_integer | ||
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64 | ||
Naming/VariableNumber: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/manifest_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: Prefixes, AllowedPatterns. | ||
# Prefixes: when, with, without | ||
RSpec/ContextWording: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/manifest_spec.rb' | ||
- 'spec/lib/unit_tests_utils/traversal_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: Max, CountAsOne. | ||
RSpec/ExampleLength: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/bosh_spec.rb' | ||
|
||
# Offense count: 6 | ||
RSpec/ExpectInHook: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/bosh_spec.rb' | ||
- 'spec/lib/unit_tests_utils/internal_dns_spec.rb' | ||
|
||
# Offense count: 61 | ||
# Configuration parameters: . | ||
# SupportedStyles: have_received, receive | ||
RSpec/MessageSpies: | ||
EnforcedStyle: receive | ||
|
||
# Offense count: 54 | ||
RSpec/MultipleExpectations: | ||
Max: 7 | ||
|
||
# Offense count: 5 | ||
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples. | ||
# SupportedStyles: always, named_only | ||
RSpec/NamedSubject: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/cmd_spec.rb' | ||
- 'spec/lib/unit_tests_utils/template_render_spec.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedPatterns. | ||
# AllowedPatterns: ^expect_, ^assert_ | ||
RSpec/NoExpectationExample: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/credhub_spec.rb' | ||
|
||
# Offense count: 4 | ||
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. | ||
# Include: **/*_spec.rb | ||
RSpec/SpecFilePathFormat: | ||
Exclude: | ||
- '**/spec/routing/**/*' | ||
- 'spec/lib/unit_tests_utils/credhub_spec.rb' | ||
- 'spec/lib/unit_tests_utils/postgresql_client_spec.rb' | ||
- 'spec/lib/unit_tests_utils/postgresql_web_service_client_spec.rb' | ||
- 'spec/lib/unit_tests_utils/traversal_spec.rb' | ||
|
||
# Offense count: 4 | ||
RSpec/StubbedMock: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/bosh_spec.rb' | ||
- 'spec/lib/unit_tests_utils/internal_dns_spec.rb' | ||
|
||
# Offense count: 12 | ||
RSpec/SubjectStub: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/postgresql_client_spec.rb' | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. | ||
RSpec/VerifiedDoubles: | ||
Exclude: | ||
- 'spec/lib/unit_tests_utils/cmd_spec.rb' | ||
- 'spec/lib/unit_tests_utils/postgresql_web_service_client_spec.rb' | ||
|
||
# Offense count: 1 | ||
Style/ClassVars: | ||
Exclude: | ||
- 'lib/unit_tests_utils/manifest.rb' | ||
|
||
# Offense count: 4 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Style/IfUnlessModifier: | ||
Exclude: | ||
- 'lib/unit_tests_utils/bosh.rb' | ||
- 'lib/unit_tests_utils/cmd.rb' | ||
- 'lib/unit_tests_utils/consul.rb' | ||
|
||
# Offense count: 3 | ||
# Configuration parameters: AllowedMethods. | ||
# AllowedMethods: respond_to_missing? | ||
Style/OptionalBooleanParameter: | ||
Exclude: | ||
- 'lib/unit_tests_utils/bosh.rb' | ||
- 'lib/unit_tests_utils/manifest.rb' | ||
|
||
# Offense count: 24 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. | ||
# URISchemes: http, https | ||
Layout/LineLength: | ||
Max: 205 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'destructor' | ||
gem 'httparty', '0.22.0' | ||
gem 'pg', '1.5.9' | ||
gem 'rspec' | ||
gem 'rubocop' | ||
gem 'destructor' | ||
gem 'httparty', '0.21.0' | ||
gem 'pg', '0.21.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.