$: << File.expand_path('../lib', __FILE__)
require 'overcommit/version'

Gem::Specification.new do |s|
  s.name              = 'overcommit'
  s.version           = Overcommit::VERSION
  s.license           = 'MIT'

  s.summary     = 'Opinionated Git hook manager'
  s.description = 'Overcommit is a utility to install and extend Git hooks'

  s.authors  = ['Causes Engineering']
  s.email    = 'eng@causes.com'
  s.homepage = 'http://github.com/causes/overcommit'

  s.require_paths = %w[lib]

  s.executables = ['overcommit']

  s.files = Dir['lib/**/*.rb'] +
            Dir['bin/**/*'] +
            Dir['config/*.yml']

  s.add_dependency 'wopen3'

  s.add_development_dependency 'rspec', '2.14.1'
  s.add_development_dependency 'image_optim', '0.10.2'
end

$: << File.expand_path('../lib', __FILE__)
require 'overcommit/version'

Gem::Specification.new do |s|
  s.name              = 'overcommit'
  s.version           = Overcommit::VERSION
  s.license           = 'MIT'

  s.summary     = 'Opinionated Git hook manager'
  s.description = 'Overcommit is a utility to install and extend Git hooks'

  s.authors  = ['Causes Engineering']
  s.email    = 'eng@causes.com'
  s.homepage = 'http://github.com/causes/overcommit'

  s.require_paths = %w[lib]

  s.executables = ['overcommit']

  s.files = Dir['lib/**/*.rb'] +
            Dir['bin/**/*'] +
            Dir['config/*.yml']

  s.required_ruby_version = '>= 1.8.7'

  s.add_dependency 'wopen3'

  s.add_development_dependency 'rspec', '2.14.1'
  s.add_development_dependency 'image_optim', '0.10.2'
end

Add Ruby version to gemspec
Add Ruby version to gemspec

Change-Id: I70bc75d10abfedd7d602f015f2cbf45341b53c93
Reviewed-on: http://gerrit.causes.com/35582
Reviewed-by: Shane da Silva <6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@causes.com>
Tested-by: Shane da Silva <6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@causes.com>
