pact-foundation / pact_broker

Enables your consumer driven contracts workflow
http://pactflow.io
MIT License
708 stars 177 forks source link

refactor: make file and module names consistent in preparation for introducing zeitwerk #661

Open bethesque opened 10 months ago

bethesque commented 10 months ago

Very boring PR. Just nod and smile.

Zeitwork is a gem which will auto load classes without having to have explicit "require" statements in every file. It's used by a few of our dependencies already, and I think it's worth introducing, as we occasionally have production errors due to missing require statements.

To do the auto loading, the names of the classes and the files must match according to a particular convention, and this PR tidies up a lot of unconventional file or class names.