Apparatus for measuring the gas content of coal or rock core samples [electronic resource]