Sha256: c12ceef4d367c3ce9a64cbf510b679ce3324579492128ad8b9e3bcbd3b4db716

Contents?: true

Size: 1.51 KB

Versions: 3

Compression:

Stored size: 1.51 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "schema_associations/version"

Gem::Specification.new do |s|
  s.name        = "schema_associations"
  s.version     = SchemaAssociations::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Ronen Barzel", "Michał Łomnicki"]
  s.email       = ["ronen@barzel.org", "michal.lomnicki@gmail.com"]
  s.homepage    = "https://github.com/SchemaPlus/schema_associations"
  s.summary     = "ActiveRecord extension that automatically (DRY) creates associations based on the schema"
  s.description = "SchemaAssociations extends ActiveRecord to automatically create associations by inspecting the database schema.  This is more more DRY than the standard behavior, for which in addition to specifying the foreign key in the migration, you must also specify complementary associations in two model files (e.g. a :belongs_to and a :has_many)."

  s.rubyforge_project = "schema_associations"

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]

  s.add_dependency("schema_plus_foreign_keys", "~> 0.1")

  s.add_development_dependency("schema_dev", "~> 3.5")
  s.add_development_dependency("rake")
  s.add_development_dependency("rdoc")
  s.add_development_dependency("rspec")
  s.add_development_dependency("simplecov")
  s.add_development_dependency("simplecov-gem-profile")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
schema_associations-1.2.5 schema_associations.gemspec
schema_associations-1.2.4 schema_associations.gemspec
schema_associations-1.2.3 schema_associations.gemspec