Under the conditions that you outlined in your question, the correct choice in punctuation would be the first example - "'...'".
The proper way to punctuate a quote when it arrives adjacent to another set of quotation marks is to put no space between the two sets of quotation marks. Though it may appear awkward, with the occasional three apostrophes in such close quarters, the answer to your question is to insert no space between the apostrophe and the set of quotation marks.
Therefore, I will repeat, "Under the conditions that you outline in your question, the correct choice in punctuation would be the first example - "'...'"."
Thank you very much for your query. Proper punctuation is an essential element in the proper recording of words and their meanings.