From 3f357f30e5b4a9a7b5092464a855cd5e09b9861e Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 4 Apr 2012 12:29:12 +0200 Subject: [PATCH] Fix compatibility with Ruby 1.9 --- .../WEB-INF/app/controllers/profiles_controller.rb | 8 ++++---- .../main/webapp/WEB-INF/app/helpers/roles_helper.rb | 12 ++++++------ .../main/webapp/WEB-INF/app/models/measure_color.rb | 12 ++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb index 9e8741431e2..08795e95357 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb @@ -353,10 +353,10 @@ class ProfilesController < ApplicationController @sames=[] diffs_by_rule.values.sort.each do |diff| case diff.status - when DIFF_IN1: @in1<