Skip to content

Commit

Permalink
fix renamed rubocop cop
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak authored and jsok committed Jan 31, 2020
1 parent 411bfd6 commit 906b676
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Lint/UselessComparison:
Lint/EnsureReturn:
Enabled: True

Lint/HandleExceptions:
Lint/SuppressedException:
Enabled: True

Lint/ShadowingOuterLocalVariable:
Expand Down Expand Up @@ -103,7 +103,7 @@ Lint/ParenthesesAsGroupedExpression:
Lint/RescueException:
Enabled: True

Lint/StringConversionInInterpolation:
Lint/RedundantStringCoercion:
Enabled: True

Lint/UnusedBlockArgument:
Expand All @@ -130,13 +130,13 @@ Naming/AccessorMethodName:
Style/Alias:
Enabled: True

Layout/AlignArray:
Layout/ArrayAlignment:
Enabled: True

Layout/AlignHash:
Layout/HashAlignment:
Enabled: True

Layout/AlignParameters:
Layout/ParameterAlignment:
Enabled: True

Metrics/BlockNesting:
Expand Down Expand Up @@ -188,7 +188,7 @@ Style/WhenThen:
Style/WordArray:
Enabled: True

Style/UnneededPercentQ:
Style/RedundantPercentQ:
Enabled: True

Layout/Tab:
Expand All @@ -197,7 +197,7 @@ Layout/Tab:
Layout/SpaceBeforeSemicolon:
Enabled: True

Layout/TrailingBlankLines:
Layout/TrailingEmptyLines:
Enabled: True

Layout/LeadingCommentSpace:
Expand Down Expand Up @@ -273,10 +273,10 @@ Style/EachWithObject:
Layout/EmptyLineBetweenDefs:
Enabled: True

Layout/IndentFirstArrayElement:
Layout/FirstArrayElementIndentation:
Enabled: True

Layout/IndentFirstHashElement:
Layout/FirstHashElementIndentation:
Enabled: True

Layout/IndentationConsistency:
Expand Down Expand Up @@ -520,7 +520,7 @@ RSpec/ContextWording:
Enabled: False

# this is broken on ruby1.9
Layout/IndentHeredoc:
Layout/HeredocIndentation:
Enabled: False

# disable Yaml safe_load. This is needed to support ruby2.0.0 development envs
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Please see [The official documentation](https://www.vaultproject.io/docs/configu

* `manage_service_file`: Manages the service file regardless of the defaults. Default: See [Installation parameters](#installation-parameters).

* `api_addr`: Specifies the address (full URL) to advertise to other Vault servers in the cluster for client redirection. This value is also used for plugin backends. This can also be provided via the environment variable VAULT_API_ADDR. In general this should be set as a full URL that points to the value of the listener address

### Installation parameters

#### When `install_method` is `repo`
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/vault_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
}
end

context 'when disable mlock' do
context 'when api address is set' do
let(:params) do
{
api_addr: 'something'
Expand Down

0 comments on commit 906b676

Please sign in to comment.