Gem::Specification.new do |s|
  s.name        = "mongoid-rails"
  s.version     = "4.0.0"
  s.author      = "Conrad Irwin"
  s.email       = "conrad.irwin@gmail.com"
  s.homepage    = "https://github.com/ConradIrwin/mongoid-rails"
  s.summary     = "Strong parameter integration between rails and mongoid"
  s.license     = "MIT"

  s.add_dependency("mongoid", ["~> 4.0"])

  s.files        = `git ls-files`.split("\n")
  s.require_path = 'lib'
end

Gem::Specification.new do |s|
  s.name        = "mongoid-rails"
  s.version     = "4.0.0"
  s.author      = "Conrad Irwin"
  s.email       = "conrad.irwin@gmail.com"
  s.homepage    = "https://github.com/ConradIrwin/mongoid-rails"
  s.summary     = "Strong parameter integration between rails and mongoid"
  s.license     = "MIT"

  s.add_dependency("mongoid", ["~> 5.0"])

  s.files        = `git ls-files`.split("\n")
  s.require_path = 'lib'
end

Allow gem to be used with mongoid 5
Allow gem to be used with mongoid 5

I did a quick audit and it seems that the monkey patches are still
compatible with [mongoid@5.1.3](https://github.com/mongodb/mongoid/tree/v5.1.3).
