grantr/rubberband — pull request #32 by grantr (2012-02-13 21:33:12+00:00)
Title: Set default index and type from server url

Allows server url to include the default index and type:

```
client = ElasticSearch.new("http://127.0.0.1:9200/my_index/my_type"
client.default_index #=> "my_index"
client.default_type #=> "my_type"

Heroku's ELASTICSEARCH_URL as mentioned in #31 uses this scheme.