Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pact-foundation/pact-ruby

Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
https://github.com/pact-foundation/pact-ruby

Commenting.

1535d4612134efce816738bf163d9d66700ff16f authored over 11 years ago by Beth <[email protected]>
Cleaning.

bff7ad127e8c4b0e2c77402eb854b09786c6da97 authored over 11 years ago by Beth <[email protected]>
* Added pact/tasks as an easy way to load the rake tasks and classes into the client project

* Removed unused rake_task.rb file

cf4c9598177cde2690db018ecd5e3fefe64532b4 authored over 11 years ago by Beth <[email protected]>
bumping micro version

9409faf8594fd05cfe7f34fd94a78a76583e5a4a authored over 11 years ago by Beth <[email protected]>
pact_helper.rb is located and loaded automatically if a support_file is not defined in a pact:verify task

d848509b4e7bbe50b58f5c7a002ecb8f27cbcac8 authored over 11 years ago by Beth <[email protected]>
Bumping micro version

5c314ba4e470b9f861773fef209a338ae9b9e5ee authored over 11 years ago by Beth <[email protected]>
Adding a task to allow verification of a pactfile using a passed in URI rather than one hardcoded in the task

ea435c555785a0a5265af018ffac3d5f4a85d4f3 authored over 11 years ago by Beth <[email protected]>
Trying to improve how the code determine's whether to overwrite or update pactfile. Adding message to make this clearer.

cad6a8547b62b0f856c38e9abab335dbfc53d8b5 authored over 11 years ago by Beth <[email protected]>
Adding a new way of determining whether Rake is running using a system call. This is a bit hacky, would like a more elegant way.

82d0a6a0679b48acf2b252e2cffd494f0e24812b authored over 11 years ago by Beth <[email protected]>
Fixed bug where the NullExpectation present in the unmarshalled request caused a body to be sent in a replayed request

e7e0bab09a613b42c3d3949e61004ce4bcefa1b1 authored over 11 years ago by Beth <[email protected]>
Setting pactfile write mode to :overwrite by default, as the test for the presence of Rake does not work

02bc68929ac0b72ae09ba7c3975b504b4d530548 authored over 11 years ago by Beth <[email protected]>
I mean 1.0.0.

033999286ad5d46bcf8a639a0b3987dc378da0f0 authored over 11 years ago by Beth <[email protected]>
Updating version to 2.0.0.

738e52bb29ab06c897dc48cf2b8a0447da088700 authored over 11 years ago by Beth <[email protected]>
Removing whitespace.

e55414ec076f050ed2513013b96029c30370a3b4 authored over 11 years ago by Beth <[email protected]>
Removed dependancy on Capybara.

0c3b44428338168b7ad9df8d0cf85a1ff28d6111 authored over 11 years ago by Beth <[email protected]>
Removed dependancy on Capybara.

3b739d81ac2f0bb0017ed96b5df25ce769e673bb authored over 11 years ago by Beth <[email protected]>
Maintaining backwards compatiblity with pactfiles using the producer terminology

f91248416e7ded6cc49761cf072d601c13f19909 authored over 11 years ago by Beth <[email protected]>
WIP. Removing dependancy on Capybara gem by copying in code to run the servers.

bdaa0d0e7db65f205b0f3093e935fd8aefd82e9d authored over 11 years ago by Beth <[email protected]>
Cleaning up interface between ConsumerContractBuilder and InteractionBuilder.

4f8189f7ba9588b0a0ac8d5dfbd4b0bc38aeba70 authored over 11 years ago by Beth <[email protected]>
Standardising interactions file name.

b1a3f2fcc7d409a68a690a3cda0f291d9f5e4da7 authored over 11 years ago by Beth <[email protected]>
Making interactions filtering classes less magical and more straightforward.

b6d1b6a686319628923021451c56c62df16e6c81 authored over 11 years ago by Beth <[email protected]>
Cleaning code.

769f4d43679afffa705b24dd84188cc5491d57f1 authored over 11 years ago by Beth <[email protected]>
Making interactions tests more readable.

f90767cb70e7de36005a8f359e32b1f5f6e57de6 authored over 11 years ago by Beth <[email protected]>
A slight improvement on storing the interactions in a hash.

099dc3a74290e4057e1b5232f9c325b00796850c authored over 11 years ago by Beth <[email protected]>
Commenting.

8451ae53f929de24ff759ac47e5716a9dbfb550c authored over 11 years ago by Beth <[email protected]>
Fixed pact/issues/10

When using the same 'upon_receiving' description multiple times, the pact only includes the last ...

6c9a65fae64df10a093f8136691f2ccd35c0c126 authored over 11 years ago by Beth <[email protected]>
WIP. Working on feature to raise error if an interaction with the same description/provider state is added, but which is otherwise not equal.

96d15fbc5bd672bf31d445e9011aef3cfb6b97ef authored over 11 years ago by Beth <[email protected]>
Added interaction equality method and InteractionFactory

4e2657be1c12bc23f1749d37277a5e2cd15d67b9 authored over 11 years ago by Beth <[email protected]>
Moving interaction matching code into interaction.

cf696910cde0626ba7bfe7f376799d5e9585c092 authored over 11 years ago by Beth <[email protected]>
Splitting up interaction and interaction builder tests. Moving interaction into consumer contract folder.

5e3832865a12cf5a0b2ef8b793e25b4c5f49116e authored over 11 years ago by Beth <[email protected]>
Starting to move consumer contract classes into their own folder.

1b805c63dea16e25c98c4e1d894b6cca10017a9d authored over 11 years ago by Beth <[email protected]>
Removing deprecated consumer configuration DSL.

fe261dcee65daca60e9a0972634b48e9881d647f authored over 11 years ago by Beth <[email protected]>
Deleting ex condor files.

223632cf116c13932cf8c1d030676be27d3f8ec5 authored over 11 years ago by Beth <[email protected]>
Removing deprecated methods.

0cb0f519f408b9beb36dad8649883114adb9a21c authored over 11 years ago by Beth <[email protected]>
Removing old configuration dsl.

7f50dff1e01e22faa47cbe3bf263b044bc858332 authored over 11 years ago by Beth <[email protected]>
WIP - renaming producer to provider

fd32f83d5cd57b8b91b90cf8e34a49e75efea69e authored over 11 years ago by Beth <[email protected]>
Updated readme

b4498271a4e6c32d2e29fb7ce6c83c453174b7b6 authored over 11 years ago by Beth <[email protected]>
Fixing broken test

1037af79d746c5f99de9c5388ab834074ade467e authored over 11 years ago by Beth <[email protected]>
Changed active support checking code to only warn once.

62d1399b327f814236a52d6c1aa780bfb73405c0 authored over 11 years ago by Beth <[email protected]>
Bumping micro version

f3e0b074723a870bb27b87d26a34166ee9b403e0 authored over 11 years ago by Beth <[email protected]>
Fixed bug where unexpected requests were not recorded

bad2719d7c5a2da5034cceb3cdd8bd6b645de0f9 authored over 11 years ago by Beth <[email protected]>
Adding producer state to mock_service interaction. Adding descriptive methods to request.

f9e96065202a2fb8f931e7bb179b3b82fc40df78 authored over 11 years ago by Beth <[email protected]>
Improving structure_diff output.

240ac44343d6e206d88e7dbe0c55fdadb24c3d3f authored over 11 years ago by Beth <[email protected]>
Turning on verification by default.

492aaf9e6915718c196efcdea03758e1a3f41f2f authored over 11 years ago by Beth <[email protected]>
Fixing interaction finding bug for ACA tests - needs to call send on the interaction, not []

77bc9a14a338ce486e2f3a65f4e0baf748366fc7 authored over 11 years ago by Beth <[email protected]>
Bumped up a minor version of pact

4f70c94eb62a3b5f25712ec74a643dbff62843c3 authored over 11 years ago by Greg Dziemidowicz <[email protected]>
Merge pull request #17 from business-systems/wait_for_interaction

Added mock_service.wait_for_interactions(wait_max_seconds, poll_interval...

2b0e00a104d12e5c2867d8e5085697655047a683 authored over 11 years ago by gdziemidowicz <[email protected]>
Added mock_service.wait_for_interactions(wait_max_seconds, poll_interval)

Calling this will wait up to 'wait_max_seconds' for interactions to
happen, checking every 'poll...

461bdfa1027e77e2af9110774a6cc5005e121336 authored over 11 years ago by Greg Dziemidowicz <[email protected]>
Bumping micro version

0569fad7038447644ca411a70c07ad6c9d86d41f authored over 11 years ago by Beth <[email protected]>
Creating tmp dir before saving file to tmp dir.

95f2f2a0b68399f8176b9614f24579e9c0ef9429 authored over 11 years ago by Beth <[email protected]>
Bumping micro version

ae65f64ab250e4492a8a145f0d38b8efb09867b6 authored over 11 years ago by Beth <[email protected]>
Adding option to specify whether the request body should be allowed to have unexpected keys or not. This is to allow Condor tests to function, while tightening up the restrictions on other projects. It is an intermediate step before we develop better matchers.

c63a9349fa1ee6c65dde8ff7d842e223677a7d5e authored over 11 years ago by Beth <[email protected]>
Added option to diff code to disallow unxpected keys

a022d9953eedbdd2ce6804f23205e24274a29128 authored over 11 years ago by Beth <[email protected]>
Updating zoo-app spec

4acb77dde793d3775c5201b1eac787bcfb63037d authored over 11 years ago by Beth <[email protected]>
Removed empty Rakefile

2ea765f0fc4b9defa733d396393eb5f7eaf382a2 authored over 11 years ago by Beth <[email protected]>
Addedd an example consumer

f828822bd8bc390edf436c44bda129abf1fbd229 authored over 11 years ago by Beth <[email protected]>
Bumping micro version

a48efeaca1c258f0f3c7720428d4d0513cc2170b authored over 11 years ago by Beth <[email protected]>
Adding pact/provider/rspec as an alias to pact/producer/rspec

32cf8aa5b5e0818a0b2a9d241bee099786651a13 authored over 11 years ago by Beth <[email protected]>
Bumping micro version

ff7b46db91c48e112ff526248830f864bc040d0a authored over 11 years ago by Beth <[email protected]>
Updating README.

e861cb0c97eb05b8cba12a5678751f77bccc9c2a authored over 11 years ago by Beth <[email protected]>
Renaming producer_state to provider_state.

dbd88c1d7fa8f87095b0ba43ea6bca6d97dec324 authored over 11 years ago by Beth <[email protected]>
Fixing version file require.

62809c1b1786671f65480eeefb6b57428df43057 authored over 11 years ago by Beth <[email protected]>
Bumping micro version

02ca46a7e959c1cb5837c56cca21a031e8cdafaa authored over 11 years ago by Beth <[email protected]>
Updating README and examples to use the new service_provider syntax.

7e3e7f63d9be76eeee701049b3bb02bcd5d71a65 authored over 11 years ago by Beth Skurrie <[email protected]>
Adding service_provider DSL.

3789a3fd8faf016fa7a6893a843e8dea77f26e1d authored over 11 years ago by Beth Skurrie <[email protected]>
Updated README and consumption spec with new syntax.

e4c6bae7909182521dda8a624bdb7577f0d8c0c1 authored over 11 years ago by Beth Skurrie <[email protected]>
New syntax for declaring consumer and providers.

d81a22103d3c796297fd87b2e4e533436c99f061 authored over 11 years ago by Beth Skurrie <[email protected]>
Started renaming producer to 'service provider' and consumer to 'service consumer'

a3aa4b69fb2e23255d0a9c69a35797c50bfd77e2 authored over 11 years ago by Beth <[email protected]>
Updated logging message.

f1fe549af0572617dd3eb9162d6ec0fc36922b89 authored over 11 years ago by Beth <[email protected]>
Fixing spelling mistake.

fb3084bf85201f0521bc1313f497063d89ceaad4 authored over 11 years ago by Beth <[email protected]>
Cleaning up diff code.

2e23f25f30ddee1b87a2f263a0ab204c6e4e672d authored over 11 years ago by Beth <[email protected]>
Cleaning up code.

6f3eb925c96ae74c9d468262c992893b23974890 authored over 11 years ago by Beth <[email protected]>
added license to gemspec

9c151b729ef0d6d4ec075cdd55c68f4c738818f9 authored over 11 years ago by Ronald Holshausen <[email protected]>
updated author details in gemspec

07cea1f36b7e7db2885bef13ef23aa64fe6995b4 authored over 11 years ago by Ronald Holshausen <[email protected]>
Include the expectation description when logging unhandled requests

102acd5dff0628c3a7bf28c0590e330ffd52ec60 authored over 11 years ago by Ronald Holshausen <[email protected]>
Bumping micro version

64ca831ee91c0793ac1f67d327deb059dfafcaa8 authored over 11 years ago by Beth <[email protected]>
Adding better logging of example start to try and track down issue in Condor.

c6a226749e2b899c0c67b889f47360b8ed845e6a authored over 11 years ago by Beth <[email protected]>
Bumping micro version

321cd2db34ed53485abce771f9578da65af84210 authored over 11 years ago by Beth <[email protected]>
Addd example description to verify request so that we can identify the logs of the failing examples better.

7226a659bc7fc5505cabcf27798c0430a3e84d94 authored over 11 years ago by Beth <[email protected]>
Bumping micro version

ed943352a7f80f3ee093afd0a66d9c7acd0294dd authored over 11 years ago by Beth <[email protected]>
Renamed MockProducer to ConsumerContractBuilder as it isn't actually a MockProducer.

2dc83593311f4dd1b209305e4585a7b05b0a67e3 authored over 11 years ago by Beth Skurrie <[email protected]>
Cleaning up unused methods and moving specs.

2c6d642ca747d81f33751de455064be70e0ae73d authored over 11 years ago by Beth Skurrie <[email protected]>
Renaming attributes arg name.

9159622ca8ca92bb7c0b8ba2d502bb034cda2af3 authored over 11 years ago by Beth Skurrie <[email protected]>
Moving port configuration into mock producer initialiser.

ac855daa2b1500f249cd482cee39e4dc88dc8442 authored over 11 years ago by Beth Skurrie <[email protected]>
Cleaning up some object envy in mock producer.

4d0b0802dda90e95cc04c76a31b1a232d3ab8269 authored over 11 years ago by Beth Skurrie <[email protected]>
Removed producer reference from interaction. It removes some flexibility in defining the interactions, but it cleans up the code nicely and I've never multiple interaction definitions strung together in the wild.

b4266f7796ccfaea1f1fd45d48c184d96bd68952 authored over 11 years ago by Beth Skurrie <[email protected]>
Moved the code that calls the mock service out of the interaction into the mock producer.

8e6ac2487e3f7a9925dc827b15aa8c9e73abeaaa authored over 11 years ago by Beth Skurrie <[email protected]>
Making specs work with Request object rather than Hash.

7a920e8eda846240a46021aa151a6f4d2041073e authored over 11 years ago by Beth Skurrie <[email protected]>
WIP. Added logic to load existing interactions if a pact file already exists.

2501d523376b2409ba321c1b73a944c00fe6da18 authored over 11 years ago by Beth Skurrie <[email protected]>
Moving stuff out of MockProducer.

dec389562f67a9cef2f80c231b10eefbb1ba1810 authored over 11 years ago by Beth Skurrie <[email protected]>
Moving instance variables out of MockProducer into ConsumerContract

0b3cb32e734069b7e17d16f71bc19bbb5bdf460f authored over 11 years ago by Beth Skurrie <[email protected]>
Renaming json_create to from_hash. Seeing as they're all hash constructors anyway, not sure what the purpose of from_hash is though.

78b2feeeafcf599044de2ce4e2e55641efe20d60 authored over 11 years ago by Beth Skurrie <[email protected]>
Deserializing interactions to objects instead of hashes.

66213994d21d585420420fd8bb9e9ce429c2e101 authored over 11 years ago by Beth Skurrie <[email protected]>
Pulled the interaction object out of the interaction builder.

42e1bec89b1ac08744ffe1b7bd21d123324676d5 authored over 11 years ago by Beth Skurrie <[email protected]>
Added code to allow a structure_diff - expects the classes at each key to be the same, but not the values.

6cd911312f992e134c775cc0137f111298e11f64 authored over 11 years ago by Beth Skurrie <[email protected]>
Bumping micro version

8468ae9c9195dea26ec72869095171c34e52e68e authored over 11 years ago by Beth <[email protected]>
Due to complaints, have removed date from pact file!

ee8edc6c009f284737552a17955d68562414e709 authored over 11 years ago by Beth <[email protected]>
Adding log file location to error message when verification has failed.

28dd579cf81955f55d3e5ff08dadbb40e348f111 authored over 11 years ago by Beth <[email protected]>
Bumping micro version.

d9ed4056a0dc9d1431a6dad6cb9db07d5c067f68 authored over 11 years ago by Beth Skurrie <[email protected]>
Changed service to mock_service in pact dsl. This makes it clearer what you're actually setting up.

44a55f65acc864931f9427564bb135e7a847b811 authored over 11 years ago by Beth Skurrie <[email protected]>