minor: adding public and condition check to gemspec for signing