attr_searchable.gemspec in attr_searchable-0.0.5 vs attr_searchable.gemspec in attr_searchable-0.0.6
- old
+ new
@@ -16,9 +16,22 @@
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
+ spec.post_install_message =<<MESSAGE
+----------------------------------------------------------------------------
+ DEPRECATION WARNING
+
+The 'attr_searchable' gem has been deprecated and replaced by 'search_cop',
+because the DSL has recently changed quite a bit to become even more simple,
+featureful and concise. Please migrate to 'search_cop' as soon as possible.
+
+search_cop: https://github.com/mrkamel/search_cop
+migration: https://github.com/mrkamel/search_cop/blob/master/MIGRATION.md
+----------------------------------------------------------------------------
+MESSAGE
+
spec.add_dependency "treetop"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "activerecord", ">= 3.0.0"