new cachable objects + factories
commit40f1c550ea52362374c384382440ac991de26e1b
authordormando <dormando@rydia.net>
Thu, 20 Jan 2011 08:48:00 +0000 (20 00:48 -0800)
committerdormando <dormando@rydia.net>
Wed, 1 Jun 2011 22:15:56 +0000 (1 15:15 -0700)
treee59e83d709c1dd5d7b086ba7bf2bac02c179d0f8
parent7dbfb44d4f443bc5a9c30d772f3842f564efb714
new cachable objects + factories

device/host aren't finished yet:
- need save to db and friends
- more tests
- some missing interfaces

MogFactory needs to be renamed to MogileFS::Factory and the other factories
moved underneath.

Most tests pass as of this commit.
12 files changed:
lib/MogileFS/Factory.pm [new file with mode: 0644]
lib/MogileFS/Factory/Class.pm [new file with mode: 0644]
lib/MogileFS/Factory/Device.pm [new file with mode: 0644]
lib/MogileFS/Factory/Domain.pm [new file with mode: 0644]
lib/MogileFS/Factory/Host.pm [new file with mode: 0644]
lib/MogileFS/NewClass.pm [new file with mode: 0644]
lib/MogileFS/NewDevice.pm [new file with mode: 0644]
lib/MogileFS/NewDomain.pm [new file with mode: 0644]
lib/MogileFS/NewHost.pm [new file with mode: 0644]
lib/MogileFS/Store.pm
t/01-domain-class.t [new file with mode: 0644]
t/02-host-device.t [new file with mode: 0644]