Version check gets how many versions behind you are, and shows judgemental faces on the dashboard

This commit is contained in:
Neil Lalonde
2013-03-05 18:14:51 -05:00
parent 3c1388bbd7
commit f8e04a5c48
7 changed files with 38 additions and 20 deletions

View File

@ -5,7 +5,7 @@ class DiscourseVersionCheck
include ActiveAttr::MassAssignment
include ActiveModel::Serialization
attr_accessor :latest_version, :critical_updates, :installed_version, :installed_sha
attr_accessor :latest_version, :critical_updates, :installed_version, :installed_sha, :missing_versions_count
def active_model_serializer
DiscourseVersionCheckSerializer