gist_spec: remove some repetitive code
gist_spec: remove some repetitive code

scalixte-mdsol/pry,raeno/pry,icebreaker/pry,gfvcastro/pry,geoffreylitt/pry,ooohiroyukiooo/pry,caporta/pry,ooohiroyukiooo/pry,raeno/pry,bronzdoc/pry,sferik/pry,sideci-sample/sideci-sample-pry,josue804/debunker,jasnow/pry,geoffreylitt/pry,jasonm23/pry,jasnow/pry,nju520/pry,richo/pry,deivid-rodriguez/pry,pvdb/pry,bronzdoc/pry,shockone/pry,printercu/pry,printercu/pry,jasonm23/pry,sferik/pry,nju520/pry,ooohiroyukiooo/pry,shockone/pry,gfvcastro/pry,josue804/debunker,85x14/pry,nju520/pry,pvdb/pry,icebreaker/pry,scalixte-mdsol/pry,tdg5/pry,raeno/pry,jasonm23/pry,tdg5/pry,caporta/pry,shockone/pry,ngpestelos/pry,tdg5/pry,caporta/pry,jasnow/pry,ngpestelos/pry,85x14/pry,scalixte-mdsol/pry,85x14/pry