$:.push File.expand_path('../lib', __FILE__)

# Maintain your gem's version:
require 'listable_collections/version'

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = 'listable_collections'
  s.version     = ListableCollections::VERSION
  s.authors     = ['mmontossi']
  s.email       = ['mmontossi@buyin.io']
  s.homepage    = 'https://github.com/mmontossi/listable_collections'
  s.summary     = 'Listable collections for rails.'
  s.description = 'Makes collections accessible from a string list in rails.'
  s.license     = 'MIT'

  s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
  s.test_files = Dir['test/**/*']

  s.required_ruby_version = '>= 2.1.0'

  s.add_dependency 'rails', (ENV['RAILS_VERSION'] ? "~> #{ENV['RAILS_VERSION']}" : ['>= 4.2.0', '< 4.3.0'])

  s.add_development_dependency 'mocha', '~> 1.1'
  s.add_development_dependency 'sqlite3', '~> 1.3'
end

$:.push File.expand_path('../lib', __FILE__)

# Maintain your gem's version:
require 'listable_collections/version'

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = 'listable_collections'
  s.version     = ListableCollections::VERSION
  s.authors     = ['mmontossi']
  s.email       = ['mmontossi@buyin.io']
  s.homepage    = 'https://github.com/mmontossi/listable_collections'
  s.summary     = 'Listable collections for rails.'
  s.description = 'Makes collections accessible from a string list in rails.'
  s.license     = 'MIT'

  s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
  s.test_files = Dir['test/**/*']

  s.required_ruby_version = '>= 2.1.0'

  s.add_dependency 'rails', (ENV['RAILS_VERSION'] ? "~> #{ENV['RAILS_VERSION']}" : ['>= 4.0.0', '< 4.3.0'])

  s.add_development_dependency 'mocha', '~> 1.1'
  s.add_development_dependency 'sqlite3', '~> 1.3'
end

Update gemspec rails versions range
Update gemspec rails versions range
