Improve code liability by test for Linux and macOS system. Test for multiple ruby versions. Add release with gem publishing on github registry and rubygem.