version = File.read(File.expand_path('../VERSION', __FILE__)).strip

Gem::Specification.new do |spec|
  spec.name          = 'jsonapi-validations'
  spec.version       = version
  spec.author        = 'Lucas Hosseini'
  spec.email         = 'lucas.hosseini@gmail.com'
  spec.summary       = 'Validate JSONAPI payloads.'
  spec.description   = 'Validate presence/absence of resource creation/update' \
                       ' and relationship update payloads, as well as types' \
                       ' related resources'
  spec.homepage      = 'https://github.com/beauby/jsonapi-validations'
  spec.license       = 'MIT'

  spec.files         = Dir['README.md', 'lib/**/*']
  spec.require_path  = 'lib'

  spec.add_dependency 'jsonapi-parser', '~> 0.1'

  spec.add_development_dependency 'rake', '>=0.9'
  spec.add_development_dependency 'rspec', '~>3.4'
end
