Sha256: a085f09bd14e2a75fa519690d2e63a6133bff7710dc3a76f2fdfb425ac33f77e

Contents?: true

Size: 637 Bytes

Versions: 2

Compression:

Stored size: 637 Bytes

Contents

CONFIG = YMDP::Configuration::Config.new unless defined?(CONFIG)
SERVERS = YMDP::Configuration::Servers.new unless defined?(SERVERS)

@content_variables = YAML.load_file("#{CONFIG_PATH}/content.yml")

YMDP::Base.configure do |config|
  config.username = CONFIG["username"]
  config.password = CONFIG["password"]
  config.default_server = CONFIG["default_server"]
  config.growl = CONFIG["growl"]
  config.verbose = CONFIG["verbose"]
  config.compress = CONFIG["compress"]
  config.validate = CONFIG["validate"]
  
  config.add_path(:base_path, BASE_PATH)
  config.servers = SERVERS
  
  config.content_variables = @content_variables
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ymdp-0.1.7 lib/ymdp/configuration/constants.rb
ymdp-0.1.6 lib/ymdp/configuration/constants.rb