lib/railroader/tracker/config.rb in railroader-4.3.5 vs lib/railroader/tracker/config.rb in railroader-4.3.7
- old
+ new
@@ -45,11 +45,11 @@
def escape_html?
@escape_html
end
def escape_html_entities_in_json?
- #TODO add version-specific information here
+ # TODO add version-specific information here
@rails[:active_support] and
true? @rails[:active_support][:escape_html_entities_in_json]
end
def whitelist_attributes?
@@ -113,12 +113,12 @@
if version =~ /(\d+\.\d+\.\d+)/
self.ruby_version = $1
end
end
- #Returns true if low_version <= RAILS_VERSION <= high_version
+ # Returns true if low_version <= RAILS_VERSION <= high_version
#
- #If the Rails version is unknown, returns false.
+ # If the Rails version is unknown, returns false.
def version_between? low_version, high_version, current_version = nil
current_version ||= rails_version
return false unless current_version
version = current_version.split(".").map!(&:to_i)