diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1b8be0f9..2acc9598 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,5 +1,6 @@ -# This configuration was generated by `rubocop --auto-gen-config` -# on 2015-08-28 09:19:29 -0500 using RuboCop version 0.32.1. +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2017-02-23 16:58:23 +0100 using RuboCop version 0.39.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 @@ -7,28 +8,44 @@ # Offense count: 2 Lint/NestedMethodDefinition: - Enabled: false + Exclude: + - 'libraries/matchers.rb' + +# Offense count: 11 +Metrics/AbcSize: + Max: 39 + +# Offense count: 1 +Metrics/PerceivedComplexity: + Max: 13 # Offense count: 9 -Metrics/AbcSize: - Max: 40 - -# Offense count: 2 -Metrics/PerceivedComplexity: - Max: 14 - -# Offense count: 10 # Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: nested, compact Style/ClassAndModuleChildren: - Enabled: false + Exclude: + - 'libraries/cli.rb' + - 'libraries/config_helpers.rb' + - 'libraries/endpoints.rb' + - 'libraries/network.rb' + - 'libraries/parse.rb' + - 'libraries/passwords.rb' + - 'libraries/search.rb' + - 'libraries/uri.rb' + - 'libraries/wrappers.rb' -# Offense count: 2 +# Offense count: 1 +# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. +# SupportedStyles: skip_modifier_ifs, always Style/Next: - Enabled: false + Exclude: + - 'libraries/parse.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. +# IgnoredMethods: respond_to Style/SymbolProc: - Enabled: false + Exclude: + - 'libraries/parse.rb' diff --git a/metadata.rb b/metadata.rb index be0215e5..407469dd 100644 --- a/metadata.rb +++ b/metadata.rb @@ -6,7 +6,7 @@ source_url 'https://github.com/openstack/cookbook-openstack-common' if respond_t license 'Apache 2.0' description 'Common OpenStack attributes, libraries and recipes.' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '14.0.0' +version '15.0.0' recipe 'openstack-common', 'Installs/Configures common recipes' recipe 'openstack-common::logging', 'Installs/Configures common logging'