Src C0 Coverage Information - RCov

common_config.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
common_config.rb 25 18
100.00%
100.00%

Key

Code reported as executed by Ruby looks like this...and this: this line is also marked as covered.Lines considered as run by rcov, but not reported by Ruby, look like this,and this: these lines were inferred by rcov (using simple heuristics).Finally, here's a line marked as not executed.

Coverage Details

1 # This file has configs than both rack and rspec need that
2 # it seems we cannot put in the same file
3 
4 require 'configserver'
5 
6 root_dir = File.dirname(__FILE__)
7 version = ENV['AEOLUS_CONFSERVER_VERSION'] || '@VERSION@'
8 storage_dir = ENV['STORAGE_DIR'] || '/tmp/audrey'
9 instance_config_rng = ENV['INSTANCE_CONFIG_RNG'] ||
10     '/var/lib/aeolus-configserver/schema/instance-config.rng'
11 
12 proxy_type=ENV['PROXY_TYPE']
13 # when apache is handling auth
14 proxy_auth_file = ENV['PROXY_AUTH_FILE']
15 
16 set :app_log,             ENV['APPLICATION_LOG']
17 set :storage_dir,         storage_dir
18 set :instance_config_rng, instance_config_rng
19 set :root,                root_dir
20 set :version,             version
21 set :proxy_type,          proxy_type
22 set :proxy_auth_file,     proxy_auth_file
23 set :app_file,            File.join(root_dir, 'hello.rb')
24 ConfigServer::Model.storage_dir = settings.storage_dir
25 disable :run

Generated on Wed Dec 14 16:00:31 -0500 2011 with rcov 0.9.11