- First version of the vendor settings API
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 19 Aug 2009 13:44:39 +0000 (15:44 +0200)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 19 Aug 2009 13:44:39 +0000 (15:44 +0200)
commite7e556c48d5cb5190b6291fe298354ec60f982d9
treebb65f842eb60d8fd2e6fb296f35a9d8e673995ac
parent2fb831d895cf4b128c0f684ce094fc7c12a2371e
- First version of the vendor settings API

Includes:

YaST::ConfigFile, a generic class for accessing a configuration file
from an arbitrary or predefined location

YaST::SettingsModel

A class that, based on ConfigFile, allows to quickly create an
ActiveRecord like model

VendorSetting

A concrete class based on SettingsModel

Plus tests, and docs
webservice/app/models/vendor_setting.rb [new file with mode: 0644]
webservice/lib/yast/config_file.rb [new file with mode: 0644]
webservice/lib/yast/settings_model.rb [new file with mode: 0644]
webservice/lib/yast/vendor_settings.rb [new file with mode: 0644]
webservice/test/unit/vendor_setting_test.rb [new file with mode: 0644]
webservice/test/unit/yast/config_file_test.rb [new file with mode: 0644]
webservice/test/unit/yast/data/config/vendor.yml [new file with mode: 0644]
webservice/test/unit/yast/settings_model_test.rb [new file with mode: 0644]