Corrected with rubocop cop 'Style/SpaceBeforeBlockBraces'.

This commit is contained in:
Thorsten Eckel 2015-04-30 20:08:37 +02:00
parent dd4b2b88d1
commit 62b23c963e
2 changed files with 2 additions and 2 deletions

View file

@ -526,7 +526,7 @@ class Channel::EmailParser
def set_attributes_by_x_headers( item_object, header_name, mail )
# loop all x-zammad-hedaer-* headers
item_object.attributes.each{|key, value|
item_object.attributes.each {|key, value|
# ignore read only attributes
next if key == 'updated_at'

View file

@ -576,7 +576,7 @@ returns
end
def self.symbolize_keys(hash)
hash.inject({}){|result, (key, value)|
hash.inject({}) {|result, (key, value)|
new_key = case key
when String then key.to_sym
else key