gurke.gemspec in gurke-2.0.0.dev.1.b20 vs gurke.gemspec in gurke-2.0.0.dev.1.b22
- old
+ new
@@ -6,24 +6,33 @@
Gem::Specification.new do |spec|
spec.name = 'gurke'
spec.version = Gurke::VERSION
spec.authors = ['Jan Graichen']
spec.email = %w(jg@altimos.de)
- spec.description = %q{An alternative gherkin feature runner inspired by rspec and turnip.}
- spec.summary = %q{An alternative gherkin feature runner inspired by rspec and turnip.}
spec.homepage = 'https://github.com/jgraichen/gurke'
spec.license = 'MIT'
- spec.files = Dir['**/*'].grep(%r{^((bin|lib|test|spec|features)/|.*\.gemspec|.*LICENSE.*|.*README.*|.*CHANGELOG.*)})
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.description = \
+ %q(An alternative gherkin feature runner inspired by rspec and turnip.)
+ spec.summary = \
+ %q(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.add_dependency 'trollop'
spec.add_dependency 'gherkin'
spec.add_dependency 'colorize'
spec.add_development_dependency 'bundler', '~> 1.3'
- # Append travis build number for auto-releases
- spec.version = "#{spec.version}.1.b#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV['TRAVIS_BUILD_NUMBER']
+ if ENV['TRAVIS_BUILD_NUMBER']
+ # Append travis build number for auto-releases
+ spec.version = "#{spec.version}.1.b#{ENV['TRAVIS_BUILD_NUMBER']}"
+ end
end