diff --git a/.rubocop.yml b/.rubocop.yml index a58e0422..14bf3abb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -17,6 +17,12 @@ Layout/LineLength: Exclude: - spec/**/* +Lint/RaiseException: + Enabled: true + +Lint/StructNewOverride: + Enabled: true + Metrics/BlockLength: Exclude: - spec/**/* @@ -36,7 +42,9 @@ Style/RegexpLiteral: Style/HashEachMethods: Enabled: true + Style/HashTransformKeys: Enabled: true + Style/HashTransformValues: Enabled: true diff --git a/.travis.yml b/.travis.yml index 4155faad..854ce637 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,9 @@ after_success: - bundle exec danger rvm: - - 2.5.7 - - 2.6.5 - - 2.7.0 + - 2.5.8 + - 2.6.6 + - 2.7.1 env: - GRAPE_VERSION=1.3.0 MODEL_PARSER=grape-swagger-entity - GRAPE_VERSION=1.3.0 MODEL_PARSER=grape-swagger-representable @@ -22,7 +22,7 @@ jobs: fast_finish: true include: - - rvm: 2.4.9 + - rvm: 2.4.10 env: - rvm: ruby-head env: @@ -30,6 +30,6 @@ jobs: env: allow_failures: - - rvm: 2.4.9 + - rvm: 2.4.10 - rvm: ruby-head - rvm: jruby-head