Sha256: ae479609fdaa3ddd625de28f5dbb0d931a5496e9ede3f872c6e7e2bcef9d94de

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = "activerecord-databasevalidations"
  spec.version       = ActiveRecord::DatabaseValidations::VERSION
  spec.authors       = ["Willem van Bergen"]
  spec.email         = ["willem@railsdoctors.com"]
  spec.summary       = %q{Add validations to your ActiveRecord models based on MySQL database constraints.}
  spec.description   = %q{Opt-in validations for your ActiveRecord models based on your MySQL database constraints, including text field size, UTF-8 encoding issues, and NOT NULL constraints.}
  spec.homepage      = "https://github.com/wvanbergen/activerecord-database_validations"
  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.required_ruby_version = '>= 2.2.2'

  spec.add_runtime_dependency "activerecord", ">= 5.0"
  spec.add_runtime_dependency "rejectu"

  spec.add_development_dependency "bundler", "~> 1.5"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "minitest"
  spec.add_development_dependency "mysql2"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-databasevalidations-0.4.0 activerecord-databasevalidations.gemspec