technion / ruby-argon2

A Ruby gem offering bindings for Argon2 password hashing
MIT License
229 stars 30 forks source link

Rubocop issues #36

Closed tenshiAMD closed 3 years ago

tenshiAMD commented 3 years ago

I've encountered issues regarding Rubocop (see stack trace below) since I've started to add this gem as a dependency in a gem I was working on.

vendor/bundle/gems/argon2-2.0.2/.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
Error: The `Layout/AlignArray` cop has been renamed to `Layout/ArrayAlignment`.
(obsolete configuration found in vendor/bundle/gems/argon2-2.0.2/.rubocop.yml, please update it)
The `Layout/AlignParameters` cop has been renamed to `Layout/ParameterAlignment`.
(obsolete configuration found in vendor/bundle/gems/argon2-2.0.2/.rubocop.yml, please update it)
The `Layout/IndentArray` cop has been renamed to `Layout/FirstArrayElementIndentation`.
(obsolete configuration found in vendor/bundle/gems/argon2-2.0.2/.rubocop.yml, please update it)
tenshiAMD commented 3 years ago

@technion I've created PR above, please take a look. Thanks~!

technion commented 3 years ago

I have merged the fix.