require_relative "lib/ransack_search_element/version"

Gem::Specification.new do |spec|
  spec.name = "ransack_search_element"
  spec.version = RansackSearchElement::VERSION
  spec.authors = ["Arthur Dzieniszewski"]
  spec.email = ["arthurdzieniszewski@gmail.com"]
  spec.homepage = "https://github.com/adzienis/ransack-search-element"
  spec.summary     = "Generic, advanced search element for Ransack."
  spec.description = "Generic, advanced search element for Ransack."
  spec.license = "MIT"

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  spec.metadata["allowed_push_host"] = "https://rubygems.org/"

  spec.metadata["homepage_uri"] = spec.homepage
  spec.metadata["source_code_uri"] = "https://github.com/adzienis/ransack-search-element"
  spec.metadata["changelog_uri"] = "https://github.com/adzienis/ransack-search-element/CHANGELOG.md"

  spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]

  spec.add_dependency "rails", "~> 6.1.4"
end
