1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

L #-: Disable SpaceAroundOperators rubocop layout

Also fix line too long offense
This commit is contained in:
Tino Vazquez 2019-08-22 13:20:00 +02:00
parent 3581561240
commit 7a76cb85ab
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE
2 changed files with 5 additions and 2 deletions

View File

@ -630,6 +630,9 @@ Layout/EmptyLineAfterGuardClause:
Layout/AlignHash:
Enabled: false
Layout/SpaceAroundOperators:
Enabled: false
###
#######

View File

@ -20,10 +20,10 @@ ONE_LOCATION = ENV['ONE_LOCATION'] unless defined?(ONE_LOCATION)
if !ONE_LOCATION
RUBY_LIB_LOCATION ||= '/usr/lib/one/ruby'
GEMS_LOCATION = '/usr/share/one/gems' unless defined?(GEMS_LOCATION)
GEMS_LOCATION = '/usr/share/one/gems' unless defined?(GEMS_LOCATION)
else
RUBY_LIB_LOCATION ||= ONE_LOCATION + '/lib/ruby'
GEMS_LOCATION = ONE_LOCATION + '/share/gems' unless defined?(GEMS_LOCATION)
GEMS_LOCATION = ONE_LOCATION + '/share/gems' unless defined?(GEMS_LOCATION)
end
if File.directory?(GEMS_LOCATION)