# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'virtus/multiparams/version'

Gem::Specification.new do |spec|
  spec.name = "virtus-multiparams"
  spec.version = Virtus::Multiparams::VERSION
  spec.author = "Samuel Cochran"
  spec.email = "sj26@sj26.com"

  spec.summary = "Rails multiparams support for virtus models"
  spec.description = <<-END.gsub(/^ {4}/, "")
    Rails date and time fields generate multiple parameters which need t which
    need to be combined to create a coercible value. Teach virtus the trick
    with virtus-multiparams.
  END
  spec.homepage = "https://github.com/sj26/virtus-multiparams"
  spec.license = "MIT"

  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  spec.require_paths = ["lib"]

  spec.add_dependency "virtus", "~> 1.0"

  spec.add_development_dependency "bundler", "~> 1.9"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"
end
