Skip to content

Commit a639aa1

Browse files
committed
[XPACK] Adds post installation deprecation warning
1 parent 3d9cfed commit a639aa1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

elasticsearch-xpack/elasticsearch-xpack.gemspec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ Gem::Specification.new do |spec|
4747
spec.add_dependency 'elasticsearch-api', '>= 6'
4848

4949
spec.add_development_dependency 'elasticsearch', '>= 6'
50-
spec.add_development_dependency 'elasticsearch-transport', '>= 6'
5150
spec.add_development_dependency 'elasticsearch-extensions'
51+
spec.add_development_dependency 'elasticsearch-transport', '>= 6'
5252

5353
spec.add_development_dependency 'activesupport'
5454
spec.add_development_dependency 'ansi'
@@ -58,4 +58,9 @@ Gem::Specification.new do |spec|
5858
spec.add_development_dependency 'pry'
5959
spec.add_development_dependency 'shoulda-context'
6060
spec.add_development_dependency 'yard'
61+
spec.post_install_message = <<~MSG
62+
WARNING: This library is deprecated
63+
64+
The API endpoints currently living in elasticsearch-xpack will be moved into elasticsearch-api in version 8.0.0 and forward. You should be able to keep using elasticsearch-xpack and the xpack namespace in 7.x. We're running the same tests in elasticsearch-xpack, but if you encounter any problems, please let us know in this issue: https://github.com/elastic/elasticsearch-ruby/issues/1274 \n
65+
MSG
6166
end

0 commit comments

Comments
 (0)