Gem::Specification.new do |s|
  s.name        = "temping"
  s.version     = "3.9.0"
  s.authors     = ["John Pignata"]
  s.email       = "john@pignata.com"
  s.homepage    = "http://github.com/jpignata/temping"
  s.summary     = "Create temporary table-backed ActiveRecord models for use in tests"

  s.files = ["lib/temping.rb"]

  s.add_dependency "activerecord", ">= 3.1"
  s.add_dependency "activesupport", ">= 3.1"

  if RUBY_PLATFORM =~ /java/
    s.add_development_dependency "activerecord-jdbcsqlite3-adapter", "~> 1.2.9"
  else
    s.add_development_dependency "sqlite3", "~> 1.3.10"
    s.add_development_dependency "pg", "~> 0.18.2"
    s.add_development_dependency "mysql2", "~> 0.3.18"
  end

  s.add_development_dependency "rspec", ">= 3.4.0"
  s.add_development_dependency "rake", ">= 10.0.4"
end

Gem::Specification.new do |s|
  s.name        = "temping"
  s.version     = "3.9.0"
  s.authors     = ["John Pignata"]
  s.email       = "john@pignata.com"
  s.homepage    = "http://github.com/jpignata/temping"
  s.summary     = "Create temporary table-backed ActiveRecord models for use in tests"

  s.files = ["lib/temping.rb"]

  s.add_dependency "activerecord", ">= 4.2"
  s.add_dependency "activesupport", ">= 4.2"

  if RUBY_PLATFORM =~ /java/
    s.add_development_dependency "activerecord-jdbcsqlite3-adapter", "~> 1.2.9"
  else
    s.add_development_dependency "sqlite3", "~> 1.3.10"
    s.add_development_dependency "pg", "~> 0.18.2"
    s.add_development_dependency "mysql2", "~> 0.3.18"
  end

  s.add_development_dependency "rspec", ">= 3.4.0"
  s.add_development_dependency "rake", ">= 10.0.4"
end

Set minimum dependency to ActiveRecord 4.2
Set minimum dependency to ActiveRecord 4.2
