Sha256: cf64d3dadbbe9722fab08bdf16b208cd7b0beb420e2e862d230a45a5cd4a4301

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = "rails_4_invalid_foreign_key_migration_checker"
  spec.version       = Rails4InvalidForeignKeyMigrationChecker::VERSION
  spec.authors       = ["ota42y"]
  spec.email         = ["ota42y@gmail.com"]

  spec.summary       = 'check invalid foreign key migration'
  spec.description   = 'when there are users table and posts table, "remove_foreign_key :users, :post" is invalid migration but rails 4 not raise error and rails 5 raise error this gem check it'
  spec.homepage      = "https://github.com/ota42y/rails_4_invalid_foreign_key_migration_checker"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_runtime_dependency "activerecord", "< 5.0"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_4_invalid_foreign_key_migration_checker-0.1.0 rails_4_invalid_foreign_key_migration_checker.gemspec