README.md in u-service-0.11.0 vs README.md in u-service-0.12.0

- old
+ new

@@ -21,10 +21,12 @@ - [How to use the result hooks?](#how-to-use-the-result-hooks) - [How to create a pipeline of Service Objects?](#how-to-create-a-pipeline-of-service-objects) - [What is a strict Service Object?](#what-is-a-strict-service-object) - [How to validate Service Object attributes?](#how-to-validate-service-object-attributes) - [It's possible to compose pipelines with other pipelines?](#its-possible-to-compose-pipelines-with-other-pipelines) + - [Comparisons](#comparisons) + - [Benchmarks](#benchmarks) - [Development](#development) - [Contributing](#contributing) - [License](#license) - [Code of Conduct](#code-of-conduct) @@ -342,9 +344,23 @@ .call(numbers: %w[1 1 2 2 3 4]) .on_success { |value| p value[:numbers] } # [6, 6, 12, 12, 22, 36] ``` Note: You can blend any of the [syntaxes/approaches to create the pipelines](#how-to-create-a-pipeline-of-service-objects)) - [examples](https://github.com/serradura/u-service/blob/master/test/micro/service/pipeline/blend_test.rb#L7-L34). + +## Comparisons + +Check it out implementations of the same use case with different libs (abstractions). + +* [interactor](https://github.com/serradura/u-service/blob/master/comparisons/interactor.rb) +* [u-service](https://github.com/serradura/u-service/blob/master/comparisons/u-service.rb) + +## Benchmarks + +**[interactor](https://github.com/collectiveidea/interactor)** VS **[u-service](https://github.com/serradura/u-service)** + +https://github.com/serradura/u-service/tree/master/benchmarks/interactor + ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `./test.sh` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.