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

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "addresses"
  s.authors     = ["Wilbert Ribeiro", "Joice Taciana"]
  s.email       = ["wkelyson@gmail.com", "joicetaciana@gmail.com"]
  s.version     = '1.0.9'
  s.homepage    = "http://www.github.com/wilbert/addresses"
  s.summary     = "This engine allows create default addresses models for any usage."
  s.description = "Create Country, State, City, Neighborhood and a polymorphic model called Address that can be related as addessable."
  s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
  s.test_files = Dir["spec/**/*"]
  s.licenses    = ['MIT']
  s.required_ruby_version = '~> 2.2'

  s.add_dependency "rails", '~> 5.0'

  s.add_development_dependency 'rspec-rails',           '3.5.2'
  s.add_development_dependency 'capybara',              '2.8.1'
  s.add_development_dependency 'factory_girl_rails',    '4.7.0'
end

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

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "addresses"
  s.authors     = ["Wilbert Ribeiro", "Joice Taciana"]
  s.email       = ["wkelyson@gmail.com", "joicetaciana@gmail.com"]
  s.version     = '2.0'
  s.homepage    = "http://www.github.com/wilbert/addresses"
  s.summary     = "This engine allows create default addresses models for any usage."
  s.description = "Create Country, State, City, Neighborhood and a polymorphic model called Address that can be related as addessable."
  s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
  s.test_files = Dir["spec/**/*"]
  s.licenses    = ['MIT']
  s.required_ruby_version = '~> 2.2'

  s.add_dependency "rails", '~> 6.0.0'

  s.add_development_dependency 'rspec-rails',           '3.8.2'
  s.add_development_dependency 'factory_bot_rails'
end

Upgrade to Rails 6 compatibility
Upgrade to Rails 6 compatibility
