```ruby
# -*- 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", "~> 3.0.0")
  s.add_dependency("rake")
  s.add_development_dependency "rspec"
end
```

Remove mongoid version because we want to support both Mongoid 2.x and 3.x.
user
```ruby
# -*- 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")
  s.add_dependency("rake")
  s.add_development_dependency "rspec"
end
```
assistant