Updated gemspec to Thor 0.18 and higher. [ci skip]