gemspec adaptation