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

Gem::Specification.new do |s|
  s.name        = "mongoid_magic_counter_cache"
  s.version     = Mongoid::MagicCounterCache::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Justin Herrick"]
  s.email       = ["justin@justinherrick.com"]
  s.homepage    = "https://github.com/jah2488/mongoid-magic-counter-cache"
  s.summary     = %q{Setup Counter Caches in Mongoid Documents}
  s.description = %q{A quick and easy way to add counter cache functionality to model/document associations in Mongoid}

  s.rubyforge_project = "mongoid_magic_counter_cache"

  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("mongoid", ">= 2.2", "<= 3.0.0.rc")
  s.add_dependency("rake")
  s.add_dependency("bson_ext","~> 1.5")
  s.add_development_dependency "rspec"
end

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

Gem::Specification.new do |s|
  s.name        = "mongoid_magic_counter_cache"
  s.version     = Mongoid::MagicCounterCache::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Justin Herrick"]
  s.email       = ["justin@justinherrick.com"]
  s.homepage    = "https://github.com/jah2488/mongoid-magic-counter-cache"
  s.summary     = %q{Setup Counter Caches in Mongoid Documents}
  s.description = %q{A quick and easy way to add counter cache functionality to model/document associations in Mongoid}

  s.rubyforge_project = "mongoid_magic_counter_cache"

  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("mongoid", ">= 2.2", "<= 3.0")
  s.add_dependency("rake")
  s.add_dependency("bson_ext","~> 1.5")
  s.add_development_dependency "rspec"
end

Allow mongoid versions up to 3.0.X
Allow mongoid versions up to 3.0.X
