Fix most auto-correctable rubocop issues

This commit is contained in:
Tom Hughes 2015-02-16 19:02:59 +00:00
parent 34e3e51456
commit ef7f3d800c
206 changed files with 2925 additions and 3473 deletions

View file

@ -19,7 +19,7 @@ class MergeAclAddressAndMask < ActiveRecord::Migration
while netmask != "0.0.0.0"
netmask = netmask << 1
prefix = prefix + 1
prefix += 1
end
acl.address = "#{address.mask(prefix)}/#{prefix}"