README.md in elasticsearch-transport-7.13.3 vs README.md in elasticsearch-transport-7.14.0.pre
- old
+ new
@@ -422,15 +422,12 @@
client = Elasticsearch::Client.new(host: 'localhost', port: '9200') do |f|
f.response :logger
f.adapter :patron
end
-You can use any standard Faraday middleware and plugins in the configuration block, for example sign the requests for the [AWS Elasticsearch service](https://aws.amazon.com/elasticsearch-service/). See [the AWS documentation](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-request-signing.html#es-request-signing-ruby) for an example.
+You can use any standard Faraday middleware and plugins in the configuration block. You can also initialize the transport class yourself, and pass it to the client constructor as the `transport` argument:
-You can also initialize the transport class yourself, and pass it to the client constructor
-as the `transport` argument:
-
```ruby
require 'patron'
transport_configuration = lambda do |f|
f.response :logger
@@ -559,19 +556,17 @@
## Development
To work on the code, clone and bootstrap the main repository first --
please see instructions in the main [README](../README.md#development).
-To run tests, launch a testing cluster -- again, see instructions
-in the main [README](../README.md#development) -- and use the Rake tasks:
+To run tests, launch a testing cluster and use the Rake tasks:
```
time rake test:unit
time rake test:integration
```
-Unit tests have to use Ruby 1.8 compatible syntax, integration tests
-can use Ruby 2.x syntax and features.
+Use `COVERAGE=true` before running a test task to check coverage with Simplecov.
## License
This software is licensed under the [Apache 2 license](./LICENSE).