{"issue":{"milestone":null,"title":"== is broken for Colors","created_at":"2012-01-01T13:44:16Z","user":{"id":606517,"login":"PragTob","url":"https://api.github.com/users/PragTob","avatar_url":"https://secure.gravatar.com/avatar/8480daec7137f28565bc2d2e666b915a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8480daec7137f28565bc2d2e666b915a"},"labels":[],"updated_at":"2012-01-01T13:44:16Z","state":"open","id":2697183,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/shoes/shoes/issues/175","closed_at":null,"body":"Run the following script in shows:\r\n\r\n    Shoes.app do\r\n      c1 = rgb 255, 120, 0\r\n      c2 = rgb 0, 255, 120\r\n\r\n      if c1 == c2\r\n        alert \"Same!!!\" \r\n      else\r\n        alert \"Different!!!\"\r\n      end\r\n    end\r\n\r\nIt will claim that the 2 colors are the same although they are not :-/ It seems that shoes only checks for the presence of all the values and not whether or not they are in the right order (e.g. assigned to red or blue). \r\n\r\nUnfortunately I failed to find the right place for this in the source (and fear that it is in C ;-)  ) - however if someone points me to the right place I'd try to fix it myself :-)\r\n\r\ncheers,\r\nTobi","number":175,"url":"https://api.github.com/repos/shoes/shoes/issues/175","comments":0,"assignee":null},"action":"opened"}