v2.0.0
Breaking change
The index method no longer accepts shards as a parameter.
This change follows the implementation of a new settings method allowing you to pass any number of settings objects to build out the index.
Where the index method is currently being used as follows
index name: 'index_name', shards: 1
This should now look as follows.
index name 'index_name'
settings name: :number_of_shards, value: 1