marcusg/foreign_key_validation

View on GitHub
foreign_key_validation.gemspec

Summary

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

Gem::Specification.new do |spec|
  spec.name          = 'foreign_key_validation'
  spec.version       = ForeignKeyValidation::VERSION
  spec.authors       = ['Marcus Geißler']
  spec.email         = ['marcus3006@gmail.com']
  spec.summary       = %q{Protect the foreign keys in your Rails models.}
  spec.description   = %q{Protect the foreign keys in your Rails models by checking the user_id of self against the user_id of all relations.}
  spec.homepage      = 'https://github.com/marcusg/foreign_key_validation'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_runtime_dependency "activerecord", ">= 3.2"
  spec.add_runtime_dependency "activesupport", ">= 3.2"

  spec.add_development_dependency 'appraisal', '~> 1.0'
  spec.add_development_dependency 'coveralls', '~> 0.7'
  spec.add_development_dependency 'bundler', '~> 1.6'
  spec.add_development_dependency 'rake', '~> 10.1'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'database_cleaner', '~> 1.3'
  spec.add_development_dependency 'sqlite3', '~> 1.3'
  spec.add_development_dependency 'pry', '~> 0.10'
end