name = 'parallel_cucumber'
require "./lib/#{name}/version"

Gem::Specification.new name, ParallelCucumber::VERSION do |spec|
  spec.name = 'parallel_cucumber'
  spec.authors = 'Alexander Bayandin'
  spec.email = 'a.bayandin@gmail.com'
  spec.summary = 'Run cucumber in parallel'
  spec.description = 'Our own parallel cucumber with queue and workers'
  spec.homepage = 'https://github.com/badoo/parallel_cucumber'
  spec.license = 'MIT'

  spec.files = Dir['{lib}/**/*.rb', 'bin/*', 'README.md']
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = 'lib'

  spec.add_runtime_dependency 'cucumber', '~> 2'
  spec.add_runtime_dependency 'parallel', '~> 1.12'
  spec.add_runtime_dependency 'redis', '~> 4.0'
  spec.add_development_dependency 'overcommit', '0.46.0'
  spec.add_development_dependency 'rubocop', '0.59.2'
end

name = 'parallel_cucumber'
require "./lib/#{name}/version"

Gem::Specification.new name, ParallelCucumber::VERSION do |spec|
  spec.name        = name
  spec.authors     = ['Alexander Bayandin']
  spec.email       = 'a.bayandin@gmail.com'
  spec.summary     = 'Run cucumber in parallel'
  spec.description = 'Our own parallel cucumber with queue and workers'
  spec.homepage    = 'https://github.com/badoo/parallel_cucumber'
  spec.license     = 'MIT'

  spec.files         = Dir['{lib}/**/*.rb', 'bin/*', 'README.md']
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = 'lib'

  spec.required_ruby_version = '>= 2.2.2' # Inherited from runtime dependencies

  spec.add_runtime_dependency 'cucumber', '~> 2'
  spec.add_runtime_dependency 'parallel', '~> 1.12'
  spec.add_runtime_dependency 'redis', '~> 4.0'
  spec.add_development_dependency 'overcommit', '0.46.0'
  spec.add_development_dependency 'rubocop', '0.59.2'
end

Add required_ruby_version to gemspec and clean it up
Add required_ruby_version to gemspec and clean it up
