app/models/property.rb in rmails-0.1.2 vs app/models/property.rb in rmails-0.1.3

- old
+ new

@@ -23,11 +23,16 @@ p.service = AWSTATS when :dspam p.service = DSPAM when :nginx p.service = NGINX + when :amavis + p.service = AMAVIS + when :spamassassin + p.service = SPAMASSASSIN else + p.service = APPLICATION end p.save end def self.all_new_values @@ -89,15 +94,16 @@ self.update_attribute :new_value, value end protected - APPLICATION = 0 + APPLICATION = 0 - POSTFIX = 1 - DOVECOT = 2 - NGINX = 3 - DSPAM = 4 - AMAVIS = 5 - AWSTATS = 6 + POSTFIX = 1 + DOVECOT = 2 + NGINX = 3 + DSPAM = 4 + AMAVIS = 5 + AWSTATS = 6 + SPAMASSASSIN = 7 end