Sha256: 6b47a002fac527c7524d73163408f7473cddbcfcde92f1d0f7bc6f3d3d865631
Contents?: true
Size: 379 Bytes
Versions: 54
Compression:
Stored size: 379 Bytes
Contents
totals = @object.relation.group(:errata_type).count.with_indifferent_access node :security do |_presenter| totals[:security].to_i end node :bugfix do |_presenter| totals[:bugfix].to_i + totals[:recommended].to_i end node :enhancement do |_presenter| totals[:enhancement].to_i + totals[:optional].to_i end node :total do |_presenter| totals.values.inject(:+).to_i end
Version data entries
54 entries across 54 versions & 1 rubygems