spokesoftware/aws_cloud_search — pull request #4 by darashi (2012-07-26 10:13:25+00:00)
Title: Make endopoints configurable.

We are now developing Groonga CluodSearch, an open source implementation of Amazon CloudSearch.
http://gcs.groonga.org/

Groonga CloudSearch can work with aws_cloud_search by monkey patching
that directs the requests toward the host running Groonga CloudSearch instead of Amazon CloudSearch.
http://gcs.groonga.org/blog/2012/07/25/work-with-aws-cloud-search-gem/

It would be great if aws_cloud_search can pick the base domain name of doc and search endpoints and URL of configuration endpoint. With this patch, we can initiate AWSCloudSearch::CloudSearch object like below:

```ruby
cloud_search = AWSCloudSearch::CloudSearch.new(
'example-00000000000000000000000000',
endpoint_base_domain: '127.0.0.1.xip.io:7575',
configuration_url: 'http://localhost:7575'
)
```

How do you think? I'd like to hear your thought.