tork.gemspec in tork-18.2.2 vs tork.gemspec in tork-18.2.3

- old
+ new

@@ -4,11 +4,12 @@ Gem::Specification.new do |s| s.name = 'tork' s.version = Tork::VERSION s.authors, - s.email = File.read('LICENSE').force_encoding('UTF-8'). - scan(/Copyright \d+ (.+) <(.+?)>/).transpose + s.email = File.read(*['LICENSE', + ({:encoding => 'utf-8'} if RUBY_VERSION >= '1.9') + ].compact).scan(/Copyright \d+ (.+) <(.+?)>/).transpose s.homepage = 'http://github.com/sunaku/tork' s.summary = 'test with fork' s.description = 'Runs your tests as they change, in parallel.' s.files = `git ls-files`.split("\n") + Dir['man/**/*']