app/helpers/shipit/stacks_helper.rb in shipit-engine-0.29.0 vs app/helpers/shipit/stacks_helper.rb in shipit-engine-0.30.0

- old
+ new

@@ -84,7 +84,11 @@ t('commit.unlock_with_author', author: commit.lock_author.name) else t('commit.unlock') end end + + def positive_negative_class(value) + value.to_f >= 0 ? 'positive' : 'negative' + end end end