mongoid_fulltext.gemspec in mongoid_fulltext-0.8.0 vs mongoid_fulltext.gemspec in mongoid_fulltext-0.8.2
- old
+ new
@@ -1,6 +1,6 @@
-$LOAD_PATH.push File.expand_path('../lib', __FILE__)
+$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'mongoid/full_text_search/version'
Gem::Specification.new do |s|
s.name = 'mongoid_fulltext'
s.version = Mongoid::FullTextSearch::VERSION
@@ -11,9 +11,10 @@
s.files = `git ls-files`.split("\n")
s.require_paths = ['lib']
s.homepage = 'https://github.com/mongoid/mongoid_fulltext'
s.licenses = ['MIT']
s.summary = 'Full-text search for the Mongoid ORM, using n-grams extracted from text.'
- s.add_dependency 'mongoid', '>= 3.0'
- s.add_dependency 'mongoid-compatibility'
+ s.add_dependency 'mongoid', '>= 3.0', '< 8'
+ s.add_dependency 'mongoid-compatibility', '>= 0.5.1'
s.add_dependency 'unicode_utils'
+ s.add_development_dependency 'database_cleaner'
end