Sha256: 0d0efaf0efbaede7268b95eeefd110a2b9e96fcb32507da50df83bc14ca1bd63

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

# 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_development_dependency "rails", "~> 4.0.0"
  spec.add_development_dependency "bundler", "~> 1.6"
  spec.add_development_dependency "rake", "~> 10.1"
  spec.add_development_dependency "rspec-rails", "~> 3.0"
  spec.add_development_dependency "sqlite3", '~> 1.3'
  spec.add_development_dependency "pry", '~> 0.10'

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreign_key_validation-0.0.7 foreign_key_validation.gemspec
foreign_key_validation-0.0.6 foreign_key_validation.gemspec
foreign_key_validation-0.0.5 foreign_key_validation.gemspec