For a few months in 2014, Scotland moved to the centre of international attention.