Skip to content

Commit 9b20d36

Browse files
Updated Versions of Pact Ruby applications
- Pact Mock Service is now v2.1.0 - Pact Provider Verifier is now v1.0.1 - Fixed a disconnect in the e2e tests where the consumer wrote to a different than the provider tests expected
1 parent 140f583 commit 9b20d36

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
v0.1.0, 2017-03-30 -- Basic support for authoring contracts against a separately running mock service
22
v0.2.0, 2017-04-22 -- Pact Python manages the Pact mock service
3+
v0.3.0, 2017-05-13 -- Upgraded Pact mock service to v2.1.0 and Pact provider verifier to v1.0.1

e2e/contracts/test_e2e.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
from pact.provider import Provider
99

1010

11-
pact = Consumer('consumer').has_pact_with(Provider('provider'))
11+
pact = Consumer('consumer').has_pact_with(
12+
Provider('provider'), pact_dir='./pacts')
13+
1214
pact.start_service()
1315
atexit.register(pact.stop_service)
1416

pact/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77

88
__all__ = ('Consumer', 'EachLike', 'Pact', 'Provider', 'SomethingLike', 'Term')
9-
__version__ = '0.2.0'
9+
__version__ = '0.3.0'

scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ package() {
4646

4747

4848
echo "Packaging the Mock Service for distribution."
49-
export GEM_VERSION=0.12.1
49+
export GEM_VERSION=2.1.0
5050
export RELEASE_VERSION=1
5151
export PACKAGE_VERSION=${GEM_VERSION}-${RELEASE_VERSION}
5252

@@ -79,7 +79,7 @@ export EXTENSION='tar.gz'
7979
package
8080

8181
echo "Packaging the Verifier for distribution."
82-
export GEM_VERSION=0.0.13
82+
export GEM_VERSION=1.0.1
8383
export RELEASE_VERSION=1
8484
export PACKAGE_VERSION=${GEM_VERSION}-${RELEASE_VERSION}
8585
export PROJECT_NAME='pact-provider-verifier'

0 commit comments

Comments
 (0)