L #-: Disable SpaceAroundOperators rubocop layout

Also fix line too long offense
This commit is contained in:
Tino Vazquez committed 2019-08-22 13:20:00 +02:00
1 parent 3581561240
commit 7a76cb85ab
2 files changed
+5 -2

No files matched your search

+3
View File
@@ -630,6 +630,9 @@ Layout/EmptyLineAfterGuardClause:
Layout/AlignHash:
Enabled: false
Layout/SpaceAroundOperators:
Enabled: false
###
#######
+2 -2
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)