add required ruby version to gemspec, format gemspec