Just to speed up creating these builds.
The template.html, index-template.html and print-template.html now all reference the same CSS files, allowing us to generate an hashed app.css from it which in all three cases results in exactly the same hash - so instead of three files we get just one CSS file. Include prettify library also to concatenated CSS/JS. Fix how JsDuck::TemplateDir copies over the files - ensuring that it also copies the files containing MD5 hash in their names.
This way when CSS or JS changes, the URL-s of those files will change too, ensuring that that those files won't be read from cache when docs are generated with new JSDuck version.
For some reason I don't manage to get the loading of build-js.html file to work.
Instead of dropping and recreating the database we now drop all the tables and then recreate them. This is because in our staging server I currently have just one database available and I can't drop and recreate it to run tests in it. Additionally eliminated the update_votes.sql script - the triggers themselves take care of votes being calculated.
The :jasmine task now populates comments_test with test data and then runs the testsuite against it.
Include jasmine-node into our comments backend dependencies. Write comments.spec.js to test all methods in Comments class. For now we're using the actual full database - must replace with a test database. Add :jasmine task to Rakefile.