crowbar/barclamp-crowbar — pull request #366 by cloudedge (2013-01-30 16:48:49+00:00)
Title: Update Barclamp namespace to match pattern for post-Engines [1/2]

This small change reflects the coming changes for the engines refactoring.

Basically, we are trying to not repeat the barclamp name if it is already
included in the namespace.

The key change here is to allow the Barclamp model to automatically use
the correct barclamp models when they are created and have a fallback
option if they are not.

Eventually, the fallback could be removed.

NOTE: Also fixed deprication warnings in BDD.

BDD/crowbar_rest.erl | 6 +--
BDD/dashboard.erl | 4 +-
crowbar_framework/app/models/barclamp.rb | 6 +--
crowbar_framework/app/models/crowbar/barclamp.rb | 47 ++++++++++++++++++++
.../app/models/crowbar/barclamp_crowbar.rb | 46 -------------------
crowbar_framework/test/unit/barclamp_model_test.rb | 4 +-
6 files changed, 57 insertions(+), 56 deletions(-)

Crowbar-Pull-ID: 6d4d45007b2fdd505a113d7442908e03d9c00241

Crowbar-Release: development