mongoid-locker.gemspec in mongoid-locker-1.0.0 vs mongoid-locker.gemspec in mongoid-locker-1.0.1
- old
+ new
@@ -11,11 +11,10 @@
spec.summary = 'Document-level locking for MongoDB via Mongoid.'
spec.description = 'Allows multiple processes to operate on individual documents in MongoDB while ensuring that only one can act at a time.'
spec.homepage = 'https://github.com/mongoid/mongoid-locker'
spec.license = 'MIT'
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|demo)/}) }
spec.require_paths = ['lib']
- spec.add_runtime_dependency 'mongoid', '>= 2.8'
- spec.add_runtime_dependency 'mongoid-compatibility', '>= 0.4.1'
+ spec.add_runtime_dependency 'mongoid', '>= 4.0', '< 8'
end