Skip to content

Simplify the project structure

Yorick Peterse requested to merge proper-ruby-layout into master

This simplifies the project structure by making the following changes:

  1. The file/directory hierarchy now matches the pattern used for most Ruby projects. This means no more init.rb, and all code now resides in lib/release_tools/ instead of lib/.

  2. All classes and modules are namespaced to the ReleaseTools module, instead of them being defined at the top level.

  3. Dependencies are now loaded using regular require calls in lib/release_tools.rb, instead of relying on a mixture of require, require_relative, and autoload.

We're making these changes because the old structure makes it hard to maintain the release tools. This is important because we're planning on adding more automation in the short term. This new structure makes it much easier to work with the release tools.

Edited by Yorick Peterse

Merge request reports