HomePhorge

(PUP-3900) Make loading of bindings resolve classes in current env
43665a0edfceUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3900) Make loading of bindings resolve classes in current env

Before this commit, the resolution of a class_name to instantiated
Class used an autoloader that ultimately ended up using the default
environment's location and module path.

As a consequence of fixing this, the bindings_composer_spec failed
due to current_environment not being set.

As a consequence of errors in class name to path resolution, naming
errors in fixtures went unnoticed. This commit changes the use of
'Puppetx' to the expected 'PuppetX', and changes path from 'puppetx', to
'puppet_x'.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUaadb534bc421: (maint) Remove commented out code
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU43665a0edfce: (PUP-3900) Make loading of bindings resolve classes in current env (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Jan 23 2015, 5:30 PM