README.md in pacto-0.3.0 vs README.md in pacto-0.3.1
- old
+ new
@@ -5,11 +5,11 @@
[![Coverage Status](https://coveralls.io/repos/thoughtworks/pacto/badge.png)](https://coveralls.io/r/thoughtworks/pacto)
**If you're viewing this at https://github.com/thoughtworks/pacto,
you're reading the documentation for the master branch.
[View documentation for the latest release
-(0.2.5).](https://github.com/thoughtworks/pacto/tree/v0.2.5)**
+(0.3.0).](https://github.com/thoughtworks/pacto/tree/v0.3.0)**
# Pacto
Pacto is a judge that arbitrates contract disputes between a **service provider** and one or more **consumers**. In other words, it is a framework for [Integration Contract Testing](http://martinfowler.com/bliki/IntegrationContractTest.html), and helps guide service evolution patterns like [Consumer-Driven Contracts](http://thoughtworks.github.io/pacto/patterns/cdc/) or [Documentation-Driven Contracts](http://thoughtworks.github.io/pacto/patterns/documentation_driven/).
@@ -42,10 +42,12 @@
- Pacto will provide additional Contract Writers for converting from apiblueprint, WADL, or other documentation formats in the future. It's part of our goal to support [Documentation-Driven Contracts](http://thoughtworks.github.io/pacto/patterns/documentation_driven/)
- Pacto reserves the right to consider other clauses in the future, like security and compliance to industry specifications.
## Usage
+**See also: http://thoughtworks.github.io/pacto/usage/**
+
Pacto can perform three activities: generating, validating, or stubbing services. You can do each of these activities against either live or stubbed services.
### Configuration
In order to start with Pacto, you just need to require it and optionally customize the default [Configuration](https://www.relishapp.com/maxlinc/pacto/docs/configuration). For example:
@@ -119,9 +121,11 @@
contracts = Pacto.load_contracts('contracts/services', 'http://example.com')
contracts.stub_all(request_id: 14, name: "Marcos")
```
## Pacto Server (non-Ruby usage)
+
+**See also: http://thoughtworks.github.io/pacto/patterns/polyglot/**
It is really easy to embed Pacto inside a small server. We haven't bundled a server inside of Pacto, but check out [pacto-demo](https://github.com/thoughtworks/pacto-demo) to see how easily you can expose Pacto via server.
That demo lets you easily run a server in several modes:
```sh