Alessio Caiazza is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

nolith / habtm-with-deferred-save

Rails plugin. Defers saving the records you add to habtm association until you call model.save, allowing validation in the style of normal attributes.

Clone this repository (size: 195.2 KB): HTTPS / SSH
hg clone https://bitbucket.org/nolith/habtm-with-deferred-save
hg clone ssh://hg@bitbucket.org/nolith/habtm-with-deferred-save

habtm-with-deferred-save / has_and_belongs_to_many_with_deferred_save.gemspec

Branch
default
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name = %q{has_and_belongs_to_many_with_deferred_save}
  s.version = "0.2.0"

  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  s.authors = ["Tyler Rick", "Alessio Caiazza"]
  s.date = %q{2010-02-25}
  s.email = %q{github.com@tylerrick.com}
  s.files = [
    ".gitignore",
     "Rakefile",
     "Readme.markdown",
     "VERSION",
     "has_and_belongs_to_many_with_deferred_save.gemspec",
     "init.rb",
     "install.rb",
     "lib/has_and_belongs_to_many_with_deferred_save.rb",
     "spec/.gitignore",
     "spec/db/database.yml",
     "spec/db/schema.rb",
     "spec/has_and_belongs_to_many_with_deferred_save_spec.rb",
     "spec/models/door.rb",
     "spec/models/person.rb",
     "spec/models/room.rb",
     "spec/spec_helper.rb",
     "uninstall.rb"
  ]
  s.homepage = %q{http://github.com/TylerRick/has_and_belongs_to_many_with_deferred_save}
  s.rdoc_options = ["--charset=UTF-8"]
  s.require_paths = ["lib"]
  s.rubygems_version = %q{1.3.5}
  s.summary = %q{Make ActiveRecord defer/postpone saving the records you add to an habtm (has_and_belongs_to_many) association until you call model.save, allowing validation in the style of normal attributes.}
  s.test_files = [
    "spec/models/door.rb",
     "spec/models/room.rb",
     "spec/models/person.rb",
     "spec/has_and_belongs_to_many_with_deferred_save_spec.rb",
     "spec/spec_helper.rb",
     "spec/db/schema.rb"
  ]

  if s.respond_to? :specification_version then
    current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
    s.specification_version = 3

    if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
      s.add_runtime_dependency(%q<activerecord>, [">= 0"])
      s.add_development_dependency(%q<rspec>, [">= 0"])
    else
      s.add_dependency(%q<activerecord>, [">= 0"])
      s.add_dependency(%q<rspec>, [">= 0"])
    end
  else
    s.add_dependency(%q<activerecord>, [">= 0"])
    s.add_dependency(%q<rspec>, [">= 0"])
  end
end