Zendesk is a project mainly written in ..., it's free.
Test 1:
Test 2:
The folder has 3 files to be compressed:
The respective compressed files are multiline_compressed.css, multiline_css_compressed.css, simple_compressed.css. compressed.css is the expected output file as per problem description and the tests compare against it.
Assumption: I did not remove spaces between the css selector and the open brace or close brace
Test 3:
a_plus = Grade.new("A+") a = Grade.new("A") a_plus > a => true [a_plus, a].sort => A, A+
All the code has been tested on ruby 1.9.2 and test-unit 1.2.3 and requires 'rest-client' gem.