require File.expand_path('../lib/enumerate_it/version', __FILE__)

Gem::Specification.new do |gem|
  gem.authors       = ['Cássio Marques', 'Lucas Caton']
  gem.summary       = 'Ruby Enumerations'
  gem.description   = 'Enumerations for Ruby with some magic powers!'
  gem.homepage      = 'https://github.com/lucascaton/enumerate_it'

  gem.files         = `git ls-files`.split("\n")
  gem.test_files    = `git ls-files -- spec/*`.split("\n")
  gem.name          = 'enumerate_it'
  gem.require_paths = ['lib']
  gem.version       = EnumerateIt::VERSION

  gem.add_dependency 'activesupport', '>= 3.0.0'

  gem.add_development_dependency 'appraisal'
  gem.add_development_dependency 'bundler'
  gem.add_development_dependency 'pry'
  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'rspec'

  if RUBY_VERSION >= '2.2.0'
    gem.add_development_dependency 'rubocop'
    gem.add_development_dependency 'rubocop-rspec'
  end
end

require File.expand_path('../lib/enumerate_it/version', __FILE__)

Gem::Specification.new do |gem|
  gem.authors       = ['Cássio Marques', 'Lucas Caton']
  gem.summary       = 'Ruby Enumerations'
  gem.description   = 'Enumerations for Ruby with some magic powers!'
  gem.homepage      = 'https://github.com/lucascaton/enumerate_it'

  gem.files         = `git ls-files`.split("\n")
  gem.test_files    = `git ls-files -- spec/*`.split("\n")
  gem.name          = 'enumerate_it'
  gem.require_paths = ['lib']
  gem.version       = EnumerateIt::VERSION
  gem.required_ruby_version = '>= 1.9.3'

  gem.add_dependency 'activesupport', '>= 3.0.0'

  gem.add_development_dependency 'appraisal'
  gem.add_development_dependency 'bundler'
  gem.add_development_dependency 'pry'
  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'rspec'

  if RUBY_VERSION >= '2.2.0'
    gem.add_development_dependency 'rubocop'
    gem.add_development_dependency 'rubocop-rspec'
  end
end

Set required Ruby version (>= 1.9.3)
Set required Ruby version (>= 1.9.3)