Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a2fdae1b7f
Fetching contributors…

Cannot retrieve contributors at this time

file 25 lines (20 sloc) 1.162 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)

$:.unshift(lib) unless $:.include?(lib)

require 'eager_record/version'

Gem::Specification.new do |s|
  s.name = 'eager_record'
  s.version = EagerRecord::VERSION
  s.platform = Gem::Platform::RUBY
  s.authors = ['Mat Brown']
  s.email = 'mat@patch.com'
  s.homepage = 'http://github.com/outoftime/eager_record'
  s.summary = 'Automatic association preloading for ActiveRecord collections.'
  s.description = %q(EagerRecord extends ActiveRecord to automate association preloading. Each time a collection of more than one record is loaded from the database, each record remembers the collection that it is part of; then when one of those records has an association accessed, EagerRecord triggers a preload_associations for all the records in the originating collection. Never worry about that :include option again!)
  s.rubyforge_project = 'eager_record'

  s.add_dependency 'activerecord', '~> 2.3.0'
  s.add_development_dependency 'rspec'
  s.add_development_dependency 'sqlite3-ruby'
  
  s.files = Dir.glob('{rails,lib}/**/*') + %w(README.rdoc History.txt)
  s.require_path = 'lib'
end
Something went wrong with that request. Please try again.