The first commit in this series ports the Autoload tests over to rspec
and fixes the autoload/Ruby loader interaction so Ruby doesn't try to
reload files that Puppet loaded.

The second commit fixes the actual bug by moving class instances variables
up a level so they aren't lost when the type is reloaded.

lib/puppet/type.rb                |   32 ++++++----
lib/puppet/util/autoload.rb       |    1 +
spec/integration/type.rb          |   22 +++++++
spec/integration/util/autoload.rb |   91 +++++++++++++++++++++++++++++
spec/unit/util/autoload.rb        |   17 +++++-
test/util/autoload.rb             |  116 -------------------------------------
6 files changed, 150 insertions(+), 129 deletions(-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to