Sha256: 84925b0c7d85308f8429a8650a8e236052584298cbc234817bdb917aab585808
Contents?: true
Size: 1.78 KB
Versions: 2
Compression:
Stored size: 1.78 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/lomba/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") case ENV['SCHEMA_ASSOCIATIONS_RAILS_VERSION'] when '2.3' s.add_development_dependency("rails", "~> 2.3") when '3.0' s.add_development_dependency("rails", "~> 3.0") when '3.1' s.add_development_dependency("rails", ">= 3.1.0.pre1") end s.add_development_dependency("rake", "~> 0.8.7") s.add_development_dependency("rspec") s.add_development_dependency("sqlite3") s.add_development_dependency("simplecov") s.add_development_dependency("simplecov-gem-adapter") s.add_development_dependency("ruby-debug19") if RUBY_VERSION >= "1.9.2" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
schema_associations-0.1.2 | schema_associations.gemspec |
schema_associations-0.1.1 | schema_associations.gemspec |