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

# Maintain your gem's version:
require "active_admin/state_machine/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "active_admin-state_machine"
  s.version     = ActiveAdmin::StateMachine::VERSION
  s.authors     = ["Matt Brewer"]
  s.email       = ["matt.brewer@me.com"]
  s.homepage    = "https://github.com/macfanatic/active_admin-state_machine"
  s.summary     = "Provides easy DSL integration between ActiveAdmin & state_machine"
  s.description = "Provides easy DSL integration between ActiveAdmin & state_machine"
  s.license     = "MIT"
  s.metadata = {
    'changelog_uri' => 'https://github.com/macfanatic/active_admin-state_machine/blob/master/CHANGELOG.md'
  }

  s.files = Dir["lib/**/*"]
  s.extra_rdoc_files = Dir["README.md", "CHANGELOG.md", "MIT-LICENSE"]
  s.rdoc_options += [
    "--title", "ActiveAdmin StateMachine Integration",
    "--main", "README.md",
    "--line-numbers",
    "--inline-source",
    "--quiet"
  ]

  s.add_dependency "rails", '~> 6.0'
  s.add_dependency "activeadmin", "~> 2.0"
  s.add_dependency "state_machine"

  s.add_development_dependency "rake", "> 10.0"
  s.add_development_dependency "sqlite3"
  s.add_development_dependency 'listen'
  s.add_development_dependency "pg"
  s.add_development_dependency "rspec-rails"
  s.add_development_dependency "shoulda-matchers"
  s.add_development_dependency "capybara", '~> 3.35'
  s.add_development_dependency 'selenium-webdriver', '~> 3.142'
  s.add_development_dependency "webdrivers", '~> 4.6'
  s.add_development_dependency "database_cleaner"
  s.add_development_dependency "factory_bot_rails"
  s.add_development_dependency "devise", "~> 4.0"
end
