gurke.gemspec in gurke-2.4.2 vs gurke.gemspec in gurke-3.0.0
- old
+ new
@@ -1,34 +1,35 @@
-# coding: utf-8
+# frozen_string_literal: true
+
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'gurke/version'
Gem::Specification.new do |spec|
spec.name = 'gurke'
spec.version = Gurke::VERSION
spec.authors = ['Jan Graichen']
- spec.email = %w(jg@altimos.de)
+ spec.email = %w[jg@altimos.de]
spec.homepage = 'https://github.com/jgraichen/gurke'
spec.license = 'MIT'
spec.description = \
- %q(An alternative gherkin feature runner inspired by rspec and turnip.)
+ 'An alternative gherkin feature runner inspired by rspec and turnip.'
spec.summary = \
- %q(An alternative gherkin feature runner inspired by rspec and turnip.)
+ 'An alternative gherkin feature runner inspired by rspec and turnip.'
spec.files = Dir['**/*'].grep %r{^(
(bin/|lib/|test/|spec/|features/)|
(\w*\.gemspec|LICENSE.*|README.*|CHANGELOG.*)$
)}x
- spec.executables = spec.files.grep(/^bin\//) {|f| File.basename(f) }
- spec.test_files = spec.files.grep(/^(test|spec|features)\//)
- spec.require_paths = %w(lib)
+ spec.executables = spec.files.grep(%r{^bin/}) {|f| File.basename(f) }
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.require_paths = %w[lib]
- spec.add_dependency 'trollop'
- spec.add_dependency 'gherkin', '~> 2.0'
spec.add_dependency 'colorize'
+ spec.add_dependency 'gherkin', '~> 2.0'
+ spec.add_dependency 'trollop'
spec.add_development_dependency 'bundler', '~> 1.3'
if ENV['TRAVIS_BUILD_NUMBER']
# Append travis build number for auto-releases