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

Adding documentation for creating a pact:verify task

0dad1b81e77b480d84fb8f8afb7a4562a078e8ef authored over 11 years ago by Beth <[email protected]>
Broke up horrible long PactSpecRunner.run method into separate methods.

726b9a86eed0086163bc0f9f9a3b1afa111f1d39 authored over 11 years ago by Beth <[email protected]>
Allowed the consumer to be specified in the PactVerification task, which allows each consumer to have its own namespaced set of producer states.

b64e231b1cbcb82bd5b24772afe92dc4a96aa883 authored over 11 years ago by Beth <[email protected]>
Renamed producer_module to consumer

4d7ac6e2ea3a01fe4a50089d80ebdb7a1729d944 authored over 11 years ago by Beth <[email protected]>
Initial attempt at namespaces

f28498bcc20ef0adee063ef9838394b6ac7e167d authored over 11 years ago by Duncan Bayne <[email protected]>
Added rake task description for pact:verify and changed RSpec formatter to the Documentation output

ad48fc568a56244cba592d2d2a9ef0b576fc55b1 authored over 11 years ago by Beth <[email protected]>
Added a rake pact:verify task that runs all the pact:verify:* tasks

47dcbfa0f2db365b5735443873e65ec5fa4707b7 authored over 11 years ago by Beth <[email protected]>
Added rake task to allow testing of consumer pacts from arbitrary URIs against the current producer codebase.

11e4702e272f604c59dad62deaa4d0ecee9c162e authored over 11 years ago by Beth <[email protected]>
Report file copy in pull task. :pear: Serge

888258cef5f2254a75225888aacc7a3c3af4185b authored over 11 years ago by Cameron Hine <[email protected]>
Update README.md

Add real example showing where to find latest pacts from Bamboo.

675b5da4c7db1354b9c45f2d64e061f982d4cb42 authored over 11 years ago by chine <[email protected]>
Update README.md

Fix typo

5b4b76852fa175542851e724c83b583714f399e4 authored over 11 years ago by chine <[email protected]>
Updated the read me

8d85f2b2a7cc64c060fc7b2bcd3ee58ae2e5eda9 authored over 11 years ago by Ronald Holshausen <[email protected]>
Previous change seems to have adversely affected CORS OPTIONS requests that do not include a query string as part of the expectation

85d8c262388b75e7b44d6671e6b2aa8fa9fb49cd authored over 11 years ago by Ronald Holshausen <[email protected]>
fixed diff where the expected value is a string and the actual is an empty string

3d715b778d0e4b8b24b14c13d312633e8d1f439a authored over 11 years ago by Ronald Holshausen <[email protected]>
Not git ignoring Gemfile.lock and upgraded rspec

3b24217d54abf14973c633d9563c827a2483e17e authored over 11 years ago by Greg Dziemidowicz <[email protected]>
Improved match_term failure message when one of the expected or actual values is nil.

e23a1608c1fc2028642950727b478a59d4c7a619 authored over 11 years ago by Beth <[email protected]>
Update README.md

Add how pact service can be used to help debug pact problems.

b812aaf3aa22e443b563e21868863df54682fed5 authored over 11 years ago by chine <[email protected]>
Added a very annoying warning message to alert people if their ActiveSupport JSON has clobbered the json gem. If someone can work out a better way to alert people, or to fix the problem, please do!

e6960885a7443be8b6becc66e9c8c1f54a4d2e5f authored over 11 years ago by Beth <[email protected]>
Default request query to nil. :pear: Cam

This allows it to be ignored if not specified.

e4c5360ee9e2e78c032b2d702a7626c7e6bd1cff authored over 11 years ago by Brent Snook <[email protected]>
Make query matching lenient. :pear: Cam

If there is no expected query, always match.

90023440ccf14b4b291e85cd8814f3e58ec8d7d0 authored over 11 years ago by Brent Snook <[email protected]>
Ensure tmp directory exists :pear: Cam

d592ce3cd0b1dbf1ed38b6d277d7fef8e5342602 authored over 11 years ago by Brent Snook <[email protected]>
Added test for ProducerState

5086242e38f161efdab3fafa019d14e02286d76a authored over 11 years ago by Beth <[email protected]>
Due to the impossibility of reliably specifying which implementation of json to use without clobbering the json choice of the calling code, the producer_state will always be serialised as a String, and we will look up the ProducerState in the producer code by checking for both the string and the symbol version of the producer_state. (json gem serialises a Symbol as {json_class: "Symbol", s: "value"}, where as ActiveSupport serialises it as a plain String.)

b3d9da97378dd82ace6cf23fae1cb46e9dfe9871 authored over 11 years ago by Beth <[email protected]>
Changed the ordering of the mock setup script to put the "given" before the "upon_recieving", which flows more naturally in English.

c33ee52600587ed4ddba8b7b0908ab645a06aff2 authored over 11 years ago by Beth <[email protected]>
Changed "when_in_state" to "given", and allowing both symbols and strings for producer state names.

b8c95d8a9ff7c579a6713d033a65c1b7ec19e065 authored over 11 years ago by Beth <[email protected]>
Cleaning up code, changed the way the producer_state DSL method is included into the global namespace

2af58745cf1669b1e086a85a82f82078fc953f1a authored over 11 years ago by Beth <[email protected]>
Fixing bug

4548d8acc5a753c024dca3afd48ca0d3e498f394 authored over 11 years ago by Beth <[email protected]>
Renamed InteractionFixture to ProducerState

5c903f27474327ecc4a69bccaa418318bd5f387f authored over 11 years ago by Beth <[email protected]>
A much classier implementation of fixtures.

8515c23be545f1d410476b5da46a670baac3b162 authored over 11 years ago by Beth <[email protected]>
Added tear down

b2589d48225acd87d30dbfa32e215ac23c57a55c authored over 11 years ago by Beth <[email protected]>
A very poor implementation of using a spec_fixture class

39204cdaf8198b1b0c32cfb38a2491afbf1c3dcf authored over 11 years ago by Beth <[email protected]>
Including fixture name in rspec describe description

147dbcd1dd7915cee377b72c1598daaa8ca76ffd authored over 11 years ago by Beth <[email protected]>
Added options to honor_pactfile method, fixed deprecated rspec warning

e239822aeaa6e3bdd873f15ce7aeb72625678b1c authored over 11 years ago by Beth <[email protected]>
Adding fixtures to pacts

a8ba4ed0134298b2113ac88f073db5544f0203c8 authored over 11 years ago by Beth <[email protected]>
Rake task to pull in updated pact files

d14a41992d097e31d0ae195f590db756bff2b136 authored over 11 years ago by Rob Hunter <[email protected]>
Added thin to gemspec. :pear: Seb

b60c0f28b7c07494559999354ec14e911e52f34e authored over 11 years ago by Martin Booth <[email protected]>
DRYing up case statement in match_term.

6804705cbe272ab9f6e7e8c9fb0e9ac3d74a9b99 authored over 11 years ago by Beth <[email protected]>
Removed accidentally committed puts.

5ac3c7f46763c7daef8870c993f3c77a48cb625d authored over 11 years ago by Beth <[email protected]>
Added in a more helpful message for match_term failures to indicate exactly which part of the two terms is different.

965fbbe97d2730ea1d968b9cc3c65680bc544ab3 authored over 11 years ago by Beth <[email protected]>
Changing mock service to allow it to accept and return an array as the top level element.

be031563cbb30c7952f20783b4c9ec9f5a9e82f1 authored over 11 years ago by Beth <[email protected]>
Updating Hashie version to be compatible with Grape required version of ~>2.0.5 (Bundler could not find compatible versions for gem "hashie" in Monitoring and Alerting Service)

0577a1f2c892662ed0355f37f1fe193abd48ed17 authored over 11 years ago by Beth <[email protected]>
Adding json gem to gemspec.

d9497aae619ae817c0a26933ef38b8bf84d45ae1 authored over 11 years ago by Beth <[email protected]>
Adding an "as_json" to the request in to_json because this seems to fix the "ArgumentError: wrong number of arguments (0 for 1)" and "ArgumentError: wrong number of arguments (1 for 0)" problems when using the the pact gem in MAS. I do not know why this fixes it, but I've spent far to long trying to debug it, and need to move on now.

054bfcfa7e21a01a1514ce26defb4ef08060f31a authored over 11 years ago by Beth <[email protected]>
Changed JSON.parse to JSON.load in production_spec.rb, as more recent versions of JSON.parse ignore the json_class (http://stackoverflow.com/a/15708244).

d1346a089f5f0f722c35e1ffeb3e848e87217b68 authored over 11 years ago by Beth <[email protected]>
Prevent warnings in specs.

f338594ba98ecbe4fb45c567e1eade6b9e5f7225 authored over 11 years ago by Sergei Matheson <[email protected]>
Don't use thin, as it was causing problems.

7788dd4bd6e61a5fdfb5e843df48e2dbeb8579ce authored over 11 years ago by Sergei Matheson <[email protected]>
handle the case where we try match against a missing attribute

f5d16cb84a167dc111249a959bc27e0e6e1ed071 authored over 11 years ago by Ronald Holshausen <[email protected]>
added a method to check if an app is already registered :pear: Erik

3fb43413bae3f876b3e4b05c5804d4226765c291 authored over 11 years ago by Ronald Holshausen <[email protected]>
WIP - Latop is dying

5a74fad6b066b7328bfc540fc2b94408be6dfd82 authored over 11 years ago by Erik Danielsen <[email protected]>
Removed some debug.

0d3e00c633ac99282b663c3241178616f047ddd0 authored over 11 years ago by Sergei Matheson <[email protected]>
Use thin for cli service

ee0a250861b828866f17c27f3e11029662c9b87f authored over 11 years ago by Sergei Matheson <[email protected]>
reduced the dependancy on rspec from 2.12.x to 2.x

2bf4ab7f8b3340321d00f43049f6a27e80ea956a authored over 11 years ago by Ronald Holshausen <[email protected]>
Clean up pact app.

99e742d83fbc3e8966476c416aa3686111cca747 authored over 11 years ago by Sergei Matheson <[email protected]>
Added pact executable

pact command now allows a mock service to be started
from the command line.

d3651a91370b692c5f85e46a87cd8248f26b6759 authored over 11 years ago by Sergei Matheson <[email protected]>
Clean up some indentation.

d875993385e17e3530a24c5681a5a92b44f94f63 authored over 11 years ago by Sergei Matheson <[email protected]>
Use a logger for messages.

f20b3c1845261f3e3dd444644e6e0eaa5e7f5385 authored over 11 years ago by Sergei Matheson <[email protected]>
Return code 500, not 404, for missing interaction.

22aabf3866aab5e570ff64b399e29ad67a8f4404 authored over 11 years ago by Sergei Matheson <[email protected]>
Always merge query into json representation.

4967247129584e052a54a4b11a0cf1447f8796a9 authored over 11 years ago by Sergei Matheson <[email protected]>
Handle matching arrays in requests.

b2e40a0a7e58ed28e65fc2de7bf3cc0c441afcb8 authored over 11 years ago by Ronald Holshausen <[email protected]>
Add query to path when trying to honour pact.

dd0d0bd3b87372438cd1c106769d4711dd048edd authored over 11 years ago by Sergei Matheson <[email protected]>
Added support for query strings in pacts.

bc8d530ab663cc6f283b3ef82a22c5004fdf0231 authored over 11 years ago by Sergei Matheson <[email protected]>
Pretty print pact files, for easier visual diffing

25e2154773ffcc67c80f2f47f5481d22a1255dbc authored over 11 years ago by Ronald Holshausen <[email protected]>
Don't check keys that don't exist in request

a178b90681b89348466679170dcc29319069e052 authored over 11 years ago by Sergei Matheson <[email protected]>
Handle matching arrays in requests.

223712b6a92775348600eed254228891a2c15253 authored over 11 years ago by Sergei Matheson <[email protected]>
Handle non-JSON response in producer rspec.

389dd3d503698fde73c77748e1aa47dce2396e72 authored over 11 years ago by James Fraser <[email protected]>
Correctly match expected against actual in diff.

41e5664bdfe59735698e171b041a0a034a481dde authored over 11 years ago by James Fraser <[email protected]>
Improve diff output by removing noise.

Pair: Serge

88dc2502793c48b82b14997f1fbbde27a65ac00b authored over 11 years ago by James Fraser <[email protected]>
Shows diffs for matching routes.

When no matching interaction is found for a request, show a diff
of the interactions that match ...

8bccd33fc9e8262b11026f33ffbb735c22f1118f authored over 11 years ago by James Fraser <[email protected]>
Remove commented-out guff

1295c2041de40a44ef46a9ca61df47e2ace3a819 authored over 11 years ago by James Fraser <[email protected]>
Eagerly spawn registered apps post spawn-all.

Pair: Serge

7e415230bb3a3e9b2c5d9f8485e10d1f82a6995a authored over 11 years ago by James Fraser <[email protected]>
Rename Term#matches? to #match.

We can now match Terms and Regexps polymorphically.

5851704f6c7a62da0c2616eb9941ee3811eb2f12 authored over 11 years ago by James Fraser <[email protected]>
Rename Term 'match' attr to 'matcher' so that we can use Term#match polymorphically with regexes

d353673cb4c69bb5a9c7ab46ebe4622c482f3504 authored over 11 years ago by James Fraser <[email protected]>
Rename ResponseGenerator to Reification because it is now used for Requests too.

321ea6fdc53608c3832b6bace8cf35ac8d723f93 authored over 11 years ago by James Fraser <[email protected]>
Match requests containing raw regexes

5d118eeb69cc01832839ef483c564200a68c0792 authored over 11 years ago by James Fraser <[email protected]>
Fix stupid order dependent hash equality VCR failure.

b79369631c54680b0c343df4a67482955778981c authored over 11 years ago by James Fraser <[email protected]>
Bump version.

2b487d9df29fb422579fe2b2595d1fd264a86403 authored over 11 years ago by James Fraser <[email protected]>
Generate requests that involve terms.

Also, include expected headers in Requests. These were not being
written to the pactfile.

9647f409fe3ce7407bff1c41b4cfeeceed0918ef authored over 11 years ago by James Fraser <[email protected]>
Remove weird double assignment.

5c5bbaa97c1561400e9dbd055d65acd1339f20b2 authored over 11 years ago by James Fraser <[email protected]>
Add proper equality method for Term

124d189a8ad4defd4e4be8d68c4abf4517ee5809 authored over 11 years ago by James Fraser <[email protected]>
Move Request up from Consumer module

70a7cebe19d050b0e1a37434416e8692086d990d authored over 11 years ago by James Fraser <[email protected]>
Remove nasty Term equality override

6ce4df3c8649c6029b7672b4487d17a2fe642402 authored over 11 years ago by James Fraser <[email protected]>
Bump version.

0d832540378928e8f93478722dff675b2a12637c authored over 11 years ago by James Fraser <[email protected]>
Support Pact Terms in expected requests.

ae1de92fbb0d23f7fc04b9b3549cb6ef73b3b7a1 authored over 11 years ago by James Fraser <[email protected]>
Support matching array terms. Pair: Serge

Also added some basic testing around the 'match_term' matcher.

Bump version to 0.0.6

2113359743a55d0fa8d2bea17848749ec2223d86 authored over 11 years ago by Ronald Holshausen <[email protected]>
Allow consumer name to be specified and use in pactfile name.

bb2d3c26d12a1704adf5dc80af890c2416ee29db authored almost 12 years ago by Brent Snook <[email protected]>
Disabled release task.

d6cc5f34d93ad55bf44c7b605f6673da36629478 authored almost 12 years ago by Sergei Matheson <[email protected]>
Bump version to 0.0.5

8557b7fc7d97d65aecebab1dd3a357583bd4950e authored almost 12 years ago by Brent Snook <[email protected]>
Awesome print unrecognised interactions and errors.

d35f0be964ab5206e5be30b52d7b514067d1adad authored almost 12 years ago by Brent Snook <[email protected]>
Ensure production spec uses json format.

72a2edfc642c563242810593a7934eaf59b9ed31 authored almost 12 years ago by James Fraser <[email protected]>
Add matcher and bump version

Pair: Serge

2f93a871fa7abc25c1b65408a209499c9cea6483 authored almost 12 years ago by James Fraser <[email protected]>
Bump version.

66e8be5bbf7b08c7928c83669e431b6f8dcfcef5 authored almost 12 years ago by James Fraser <[email protected]>
Refactored producer feature to rspec include.

dc36424a11cecd213ef7fd95a76bf0da92a0f943 authored almost 12 years ago by Sergei Matheson <[email protected]>
Removed trailing whitespace from production_spec.

7dc799924785db5a38a15b76b8aadafabfe38c5e authored almost 12 years ago by Sergei Matheson <[email protected]>
Bumped version to 0.0.2

5a95a53b49c896b320715378baf823a568866e73 authored almost 12 years ago by James Fraser <[email protected]>
Correct Pact Term json serialisation.

Pair: Serge

f58def0c1914c1b71db08e9c5dc56ffe702036c5 authored almost 12 years ago by James Fraser <[email protected]>
Moved Term to Pact::Term

Also, renamed consumption spec dir to consumer

Pair: Serge

ae3fe5e87a5bfaa820aae6cea2d0585424902fb8 authored almost 12 years ago by James Fraser <[email protected]>
Add Term class.

Term allows responses to be specified with separate generators
and matchers.

Pair: Serge

ba3fa7f9fa89d6490d61ba886202941130f1e27b authored almost 12 years ago by James Fraser <[email protected]>
Underscorise Pactfile names.

Pair: Serge

39079539653380d3e78a6996169e6b2b32898567 authored almost 12 years ago by James Fraser <[email protected]>
Make interaction addition idempotent.

Pair: Serge

67b50a01cf145fde7d633d6fbcc48c9affbcff98 authored almost 12 years ago by James Fraser <[email protected]>
Renamed consumption and production modules

Changed Consumption to consumer, and production to producer

d34340c5866c3fb084962a1dc87b84eea7adfb36 authored almost 12 years ago by James Fraser <[email protected]>